]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
mutex: Fix robust mutex lock acquire (Bug 21778)
[thirdparty/glibc.git] / ChangeLog
1 2017-07-29 Torvald Riegel <triegel@redhat.com>
2 Carlos O'Donell <carlos@redhat.com>
3
4 [BZ 21778]
5 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Update
6 oldval if the CAS fails.
7 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8 * nptl/tst-mutex7.c: Add comments explaining template test.
9 (ROBUST, DELAY_NSEC, ROUNDS, N): New.
10 (tf, do_test): Use them.
11 * nptl/tst-mutex7robust.c: New file.
12 * nptl/Makefile (tests): Add new test.
13
14 2017-07-28 Nathan Rossi <nathan@nathanrossi.com>
15
16 [BZ #21779]
17 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
18
19 * sysdeps/microblaze/libm-test-ulps: Update.
20
21 2017-07-28 Chung-Lin Tang <cltang@codesourcery.com>
22
23 * sysdeps/nios2/libm-test-ulps: Update.
24
25 2017-07-28 Torvald Riegel <triegel@redhat.com>
26 Carlos O'Donell <carlos@redhat.com>
27
28 [BZ #21298]
29 * nptl/Makefile (tests-internal): Add tst-rwlock20.
30 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Fix
31 explicit hand-over.
32 (__pthread_rwlock_wrlock_full): Likewise.
33 * nptl/tst-rwlock20.c: New file.
34 * support/Makefile (libsupport-routines): Add xpthread_rwlock_init,
35 xpthread_rwlock_rdlock, xpthread_rwlock_unlock,
36 xpthread_rwlock_wrlock, xpthread_rwlockattr_init, and
37 xpthread_rwlockattr_setkind_np.
38 * support/xpthread_rwlock_init.c: New file.
39 * support/xpthread_rwlock_rdlock.c: New file.
40 * support/xpthread_rwlock_unlock.c: New file.
41 * support/xpthread_rwlock_wrlock.c: New file.
42 * support/xpthread_rwlockattr_init.c: New file.
43 * support/xpthread_rwlockattr_setkind_np.c: New file.
44 * support/xthread.h: Add xpthread_rwlock_init, xpthread_rwlock_rdlock,
45 xpthread_rwlock_unlock, xpthread_rwlock_wrlock,
46 xpthread_rwlockattr_init, and xpthread_rwlockattr_setkind_np
47 prototypes.
48
49 2017-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
50
51 * sysdeps/alpha/fpu/libm-test-ulps: Update.
52
53 2017-07-27 Mike FABIAN <mfabian@redhat.com>
54
55 * locale/iso-639.def: add North and South Azerbaijani.
56
57 2017-07-27 Rical Jasan <ricaljasan@pacific.net>
58
59 * manual/lang.texi (CHAR_BIT): Convert from an @table to an
60 @deftypevr. Change standard from ISO to C90. Mention the
61 POSIX.1-2001 requirement of the value 8.
62
63 2017-07-27 Rical Jasan <ricaljasan@pacific.net>
64
65 * manual/creature.texi (_REENTRANT): Annotate as obsolete.
66 (_THREAD_SAFE): Likewise.
67
68 2017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
69
70 * po/bg.po: Update translations.
71 * po/cs.po: Likewise.
72 * po/de.po: Likewise.
73 * po/pl.po: Likewise.
74 * po/uk.po: Likewise.
75 * po/vi.po: Likewise.
76
77 2017-07-26 Mike FABIAN <mfabian@redhat.com>
78
79 [BZ #21828]
80 * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes.
81
82 2017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
83
84 * po/sv.po: Update Translation.
85
86 2017-07-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
87 Paul Eggert <eggert@cs.ucla.edu>
88
89 * timezone.zic (PRIdLINENO): Remove.
90 (verror): Use PRIdMAX.
91 * po/libc.pot: Regenerate.
92
93 2017-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
94 H.J. Lu <hongjiu.lu@intel.com>
95
96 [BZ #21744]
97 * elf/dl-tunables.c: Include not-errno.h header.
98 * include/unistd.h (__access_noerrno): Remove definition.
99 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
100 * sysdeps/generic/not-errno.h: New file.
101 * sysdeps/unix/sysv/linux/not-errno.h: Likewise.
102
103 2017-07-24 H.J. Lu <hongjiu.lu@intel.com>
104
105 [BZ #21752]
106 * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down
107 __libc_argv[0] if we aren't doing backtrace. Rename do_backtrace
108 to need_backtrace.
109 * sysdeps/posix/libc_fatal.c (__libc_message): Don't call
110 __libc_secure_getenv if we aren't doing backtrace.
111
112 2017-07-24 Andreas Schwab <schwab@suse.de>
113
114 [BZ #21804]
115 * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA)
116 [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove
117 trailing semicolon.
118 (struct __pthread_mutex_s): Remove semicolon after
119 __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END.
120 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
121 (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add
122 semicolon.
123
124 2017-07-23 Dmitry V. Levin <ldv@altlinux.org>
125
126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H ||
127 _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined
128 later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER,
129 and PTRACE_SEIZE_DEVEL that are not defined by Linux headers.
130
131 2017-07-23 John David Anglin <danglin@gcc.gnu.org>
132
133 [BZ 19170]
134 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment.
135
136 2017-07-21 DJ Delorie <dj@redhat.com>
137
138 * nss/tst-nss-test5.c: Correct test configuration.
139
140 2017-07-21 Steve Ellcey <sellcey@cavium.com>
141
142 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
143 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
144 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
145 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
146 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
147
148 2017-07-21 Steve Ellcey <sellcey@cavium.com>
149
150 * nss/nss_test1.c (default_npwd_data): Fix definition.
151
152 2017-07-21 Steve Ellcey <sellcey@cavium.com>
153
154 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
155 math_force_eval.
156
157 2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
158
159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
160
161 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
162 passing to syscall exit.
163
164 2017-07-19 DJ Delorie <dj@delorie.com>
165
166 * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
167
168 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
169
170 [BZ #21741]
171 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
172 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
173 in libc.so.
174
175 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
176
177 [BZ #21740]
178 * debug/Makefile (elide-routines.o): New.
179
180 2017-07-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
181
182 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
183 (_dl_aarch64_cap_flags): Update.
184 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
185 (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
186
187 2017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
188
189 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
190 (_dl_hwcap_string): Check range.
191
192 2017-07-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
193
194 [BZ #21707]
195 * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
196 relocations before or after initializing the TCB on statically
197 linked executables. That's a per-architecture definition.
198 * elf/rtld.c (dl_main): Add a comment about thread-local
199 variables initialization.
200 * sysdeps/generic/libc-start.h: New file. Define
201 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
202 * sysdeps/powerpc/Makefile:
203 [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
204 tst-tlsifunc-static.
205 [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
206 (tests-internal): Add tst-tlsifunc.
207 * sysdeps/powerpc/tst-tlsifunc.c: New file.
208 * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
209 * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
210 variable.
211 [$(subdir) = math] (test-float128% test-ifloat128%): Force
212 linking to the loader after linking to libgcc.
213 [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
214 (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
215 (tst-strfrom-locale strfrom-skeleton): Likewise.
216 * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define
217 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
218
219 2017-07-17 DJ Delorie <dj@redhat.com>
220
221 * nss/nss_test.h: New.
222 * nss/nss_test1.h: Rewrite to use test-provided data. Add group
223 tests. Parameterize to allow multiple instances.
224 * nss/nss_test2.h: New. Second instance.
225 * nss/nss_test.ver: New.
226 * nss/nss_test1.c: Update to use new framework.
227 * nss/nss_test2.c: New.
228 * nss/nss_test3.c: New.
229 * nss/nss_test4.c: New.
230 * nss/nss_test5.c: New.
231 * nss/Makefile: Build new tests.
232 * shlib-versions: Add libnss_test2.
233
234 2017-07-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
235
236 [BZ #21512]
237 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
238 passing to syscall exit.
239
240 2017-07-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
241
242 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
243 (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
244
245 2017-07-16 John David Anglin <danglin@gcc.gnu.org>
246
247 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
248 if _dl_fixup fails.
249
250 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
251 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
252 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
253 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
254
255 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
256 offset for r19 load.
257
258 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
259
260 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
261 Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack
262 pointer offset. Correct PIC register offset. Don't mention frame
263 related instructions in epilogue.
264 (PUSHARGS_1): Correct offset.
265 (PUSHARGS_2): Likewise.
266 (PUSHARGS_3): Likewise.
267 (PUSHARGS_4): Likewise.
268 (PUSHARGS_5): Likewise.
269 (PUSHARGS_6): Likewise.
270 (POPARGS_1): Don't mention register restore.
271 (POPARGS_2): Likewise.
272 (POPARGS_3): Likewise.
273 (POPARGS_4): Likewise.
274 (POPARGS_5): Likewise.
275 (POPARGS_6): Likewise.
276 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
277 copy of PIC register.
278 (LOAD_PIC): Likewise don't mention restore.
279 (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of
280 .cfi_offset. Don't record stack pointer offset. Correct PIC register
281 offset. Don't mention frame related instructions in epilogue.
282
283 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
284
285 * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
286
287 [BZ 20098]
288 * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
289 (_dl_lookup_address): Return address if it is not consistent with
290 being a linker defined function pointer. Likewise, return address
291 if address and function descriptor addresses are not accessible.
292
293 2017-07-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
294
295 * po/libc.pot: Regenerate.
296
297 2017-07-15 John David Anglin <danglin@gcc.gnu.org>
298
299 [BZ locale/19838]
300 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
301
302 * nptl/allocatestack.c (allocate_stack): Align old and new guard
303 addresses to page boundaries when the stack grows up.
304
305 * sysdeps/hppa/math-tests.h: New.
306
307 2017-07-14 DJ Delorie <dj@redhat.com>
308
309 [BZ #21654]
310 * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
311 alignment not char alignment.
312 (__merge_grp): Likewise.
313
314 2017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
315 Florian Weimer <fweimer@redhat.com>
316
317 * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
318 * libio/wmemstream.c (open_wmemstream): Likewise.
319 * nptl/tst-memstream.c: New.
320
321 2017-07-12 Jiong Wang <jiong.wang@arm.com>
322
323 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
324 of pcrel_address under Thumb mode.
325
326 2017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
327
328 [BZ #21207]
329 * locale/iso-639.def: Add Fiji Hindi (hif).
330
331 2017-07-12 John David Anglin <danglin@gcc.gnu.org>
332
333 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
334
335 2017-07-12 H.J. Lu <hongjiu.lu@intel.com>
336
337 * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
338 -fstack-protector-all.
339
340 2017-07-11 Chris Leonard <cjl@sugarlabs.org>
341
342 [BZ #20496]
343 * locale/iso-639.def: Add Awajún / Aguaruna (agr).
344
345 2017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
346
347 * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
348 to iterate over all possible object suffixes. Add a comment
349 explaining the use of sysdep-CFLAGS instead of CFLAGS.
350
351 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
352
353 [BZ #12189]
354 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
355 (tests): Add tst-ssp-1 if -fstack-protector works.
356 * debug/fortify_fail.c: Include <stdbool.h>.
357 (_fortify_fail_abort): New function.
358 (__fortify_fail): Call _fortify_fail_abort.
359 (__fortify_fail_abort): Add a hidden definition.
360 * debug/stack_chk_fail.c: Include <stdbool.h>.
361 (__stack_chk_fail): Call __fortify_fail_abort, instead of
362 __fortify_fail.
363 * debug/tst-ssp-1.c: New file.
364 * include/stdio.h (__libc_message_action): New enum.
365 (__libc_message): Replace int with enum __libc_message_action.
366 (__fortify_fail_abort): New hidden prototype.
367 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
368 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
369 with enum __libc_message_action. Call BEFORE_ABORT only if
370 action includes do_backtrace.
371 (__libc_fatal): Update __libc_message call.
372
373 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
374
375 [BZ #21738]
376 * manual/llio.texi (RWF_NOWAIT): New item.
377 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
378 Add RWF_NOWAIT check.
379 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
380
381 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
382
383 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
384 Support running on kernels without PTRACE_SINGLEBLOCK.
385
386 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
387
388 [BZ #21742]
389 * elf/Makefile (dl-routines): Move dl-conflict to ...
390 (rtld-routines): Here.
391
392 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
393
394 [BZ #21741]
395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
396 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
397 in libc.so.
398
399 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
400
401 * sysdeps/hppa/fpu/libm-test-ulps: Update.
402
403 [BZ #21016]
404 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
405 Fix typo.
406 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
407 bits/types/struct_timespec.h.
408 (PTHREAD_MUTEX_INITIALIZER): Revise define.
409 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
410 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
411 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
412 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
413 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
414 (PTHREAD_COND_INITIALIZER): Likewise.
415 Remove old definitions.
416 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
417 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
418 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
419 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
420 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
421 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
422
423 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
424
425 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
426 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
427 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
428 * sysdeps/x86_64/multiarch/memset.c: Likewise.
429 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
430 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
431 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
432 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
433 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
434 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
435 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
436 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
437 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
438 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
439 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
440 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
441
442 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
443
444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
445
446 2017-07-09 Helge Deller <deller@gmx.de>
447
448 [BZ #21049]
449 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
450 up to avoid clobbering r26.
451
452 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
453
454 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
455 profiled objects.
456
457 2017-07-06 DJ Delorie <dj@redhat.com>
458
459 * manual/tunables.texi: Add missing @end deftp.
460
461 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
462
463 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
464 (do_test): Call it.
465
466 2017-07-06 DJ Delorie <dj@redhat.com>
467
468 * config.make.in: Enable experimental malloc option.
469 * configure.ac: Likewise.
470 * configure: Regenerate.
471 * manual/install.texi: Document it.
472 * INSTALL: Regenerate.
473 * malloc/Makefile: Likewise.
474 * malloc/malloc.c: Add per-thread cache (tcache).
475 (tcache_put): New.
476 (tcache_get): New.
477 (tcache_thread_freeres): New.
478 (tcache_init): New.
479 (__libc_malloc): Use cached chunks if available.
480 (__libc_free): Initialize tcache if needed.
481 (__libc_realloc): Likewise.
482 (__libc_calloc): Likewise.
483 (_int_malloc): Prefill tcache when appropriate.
484 (_int_free): Likewise.
485 (do_set_tcache_max): New.
486 (do_set_tcache_count): New.
487 (do_set_tcache_unsorted_limit): New.
488 * manual/probes.texi: Document new probes.
489 * malloc/arena.c: Add new tcache tunables.
490 * elf/dl-tunables.list: Likewise.
491 * manual/tunables.texi: Document them.
492 * NEWS: Mention the per-thread cache.
493
494 2017-07-06 Joseph Myers <joseph@codesourcery.com>
495
496 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
497 * misc/tst-tsearch.c (TIMEOUT): Remove.
498 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
499 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
500 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
501 * string/tst-cmp.c (TIMEOUT): Define to 600.
502
503 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
504
505 [BZ #21715]
506 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
507 on definition.
508
509 2017-07-06 Florian Weimer <fweimer@redhat.com>
510 H.J. Lu <hongjiu.lu@intel.com>
511
512 [BZ #21609]
513 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
514 (gen-as-const-headers): Add rtld-offsets.sym.
515 * sysdeps/x86_64/dl-tls.c: New file.
516 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
517 * sysdeps/x86_64/tls_get_addr.S: Likewise.
518 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
519 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
520 (TI_OFFSET_OFFSET): Likwise.
521
522 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
523
524 [BZ# 21697]
525 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
526
527 2017-07-05 Florian Weimer <fweimer@redhat.com>
528
529 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
530 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
531 * resolv/tst-resolv-threads.c: New file.
532
533 2017-07-05 Florian Weimer <fweimer@redhat.com>
534
535 support: Add resolver testing mode which does not patch _res.
536 * support/resolv_test.h (struct resolv_redirect_config): Add
537 disable_redirect, server_address_overrides.
538 * support/resolv_test.c (make_server_sockets_for_address): New
539 function.
540 (resolv_test_start): Call it.
541
542 2017-07-05 Florian Weimer <fweimer@redhat.com>
543
544 * support/namespace.h (struct support_chroot_configuration)
545 (struct support_chroot): Define.
546 (support_chroot_create, support_chroot_free): New functions.
547 * support/support_chroot.c: New file.
548 * support/Makefile (libsupport-routines): Add support_chroot.
549 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
550 (path_resolv_conf): Remove definitions.
551 (chroot_env): New variable.
552 (prepare): Call support_chroot_create.
553 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
554 (special_test_callback, do_test): Likewise.
555
556 2017-07-05 Florian Weimer <fweimer@redhat.com>
557
558 Add subtest to check isolation of multiple loopback addresses.
559 * support/tst-support-namespace.c (test_localhost_bind): New function.
560 (do_test): Call it.
561
562 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
563
564 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
565 * libio/libioP.h (_IO_enable_locks): Declare.
566 * libio/Versions (_IO_enable_locks): New symbol.
567 * libio/genops.c (_IO_enable_locks): Define.
568 (_IO_old_init): Initialize flags2.
569 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
570 * libio/ferror.c (_IO_ferror): Likewise.
571 * libio/fputc.c (fputc): Likewise.
572 * libio/putc.c (_IO_putc): Likewise.
573 * libio/getc.c (_IO_getc): Likewise.
574 * libio/getchar.c (getchar): Likewise.
575 * libio/ioungetc.c (_IO_ungetc): Likewise.
576 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
577 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
578 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
579
580 2017-07-04 Florian Weimer <fweimer@redhat.com>
581
582 [BZ #21542]
583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
584 two if no accurate information is available.
585 * posix/tst-sysconf-empty-chroot.c: New file.
586 * posix/Makefile (tests): Add it.
587
588 2017-07-04 Florian Weimer <fweimer@redhat.com>
589
590 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
591 server and sort list counts. Fix improper check for empty search
592 path (completely missing domain name) leading to assertion failure
593 in update_from_conf.
594 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
595 hostname member.
596 (run_res_init): Set host name if requested.
597 (test_cases): Update.
598
599 2017-07-04 Joseph Myers <joseph@codesourcery.com>
600
601 * scripts/build-many-glibcs.py (Context.checkout): Default
602 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
603 kernel version to 4.12.
604
605 2017-07-04 Florian Weimer <fweimer@redhat.com>
606
607 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
608 list management and the role of free_list_start.
609 (decrement_at_index): Put zero at the end of the free list.
610 (__resolv_conf_attach): Fix bogus assert.
611 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
612 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
613
614 2017-07-03 Florian Weimer <fweimer@redhat.com>
615
616 resolv: Introduce free list for resolv_conf index slosts.
617 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
618 type to uintptr_t.
619 (struct resolv_conf_global): Add free_list_start member.
620 (resolv_conf_get_1): Check for free list entry.
621 (decrement_at_index): Put freed slot on the free list.
622 (__resolv_conf_attach): Obtain new slot from the free list.
623 * resolv/tst-resolv-res_ninit.c: New file.
624 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
625 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
626 (generated): Add mtrace-tst-resolv-res_ninit.out,
627 tst-resolv-res_ninit.mtrace.
628 (mtrace-tst-resolv-res_ninit.out): Add target.
629
630 2017-06-30 Florian Weimer <fweimer@redhat.com>
631
632 [BZ #984]
633 Reload /etc/resolv.conf if has been changed on disk.
634 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
635 (__resolv_conf_load, __resolv_conf_get_current): Declare.
636 * resolv/resolv_conf.c (struct resolv_conf_global): Add
637 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
638 (__resolv_conf_get_current): New function.
639 (__resolv_conf_allocate): Do not initialize initstamp.
640 (freeres): Deallocate global->conf_current.
641 * resolv/resolv.h (RES_NORELOAD): Define.
642 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
643 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
644 * resolv/resolv_context.c (replicated_configuration_matches): New.
645 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
646 the current configration.
647 * resolv/res_init.c (__res_initstamp): Remove variable definition.
648 (has_preinit_values): New function.
649 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
650 parameter and do not call __resolv_conf_attach.
651 (__res_vinit): Reimplement based __resolv_conf_load.
652 (res_options): Handle no-reload.
653 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
654 (lock): Remove.
655 (res_int): Do not update __res_initstamp.
656 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
657 RES_NORELOAD.
658 (test_cases): Test no-reload.
659 (special_test_call_res_init): Remove.
660 (special_test_callback): Rely on automated reloading. Add tests
661 for no-reload.
662
663 2017-06-30 Florian Weimer <fweimer@redhat.com>
664
665 Mirror the entire resolver configuration in struct resolv_conf.
666 * resolv/resolv_context.h (__resolv_context_nameserver_count)
667 (__resolv_context_nameserver): New functions.
668 (__resolv_context_sort_count, __resolv_context_sort_entry):
669 Likewise.
670 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
671 resolv_context parameter.
672 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
673 (addrsort): Switch to struct resolv_context.
674 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
675 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
676 sort_list, sort_list_size, options, retrans, retry, ndots members.
677 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
678 (same_address): New functions.
679 (resolv_conf_matches): Compare the new array members.
680 (__resolv_conf_allocate): Allocate and copy the new array members.
681 (update_from_conf): Copy the entire configuration.
682 * resolv/res_init.c (struct nameserver_list, struct sort_list):
683 Define using dynarray.
684 (struct resolv_conf_parser): Add nameserver_list, sort_list,
685 template members.
686 (resolv_conf_parser_init): Add preinit argument. Initialize the
687 new members.
688 (resolv_conf_parser_free): Deallocate the new arrays.
689 (allocate_address_v4): New function.
690 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
691 (res_vinit_1): Drop res_state parameter. Write all parsed date to
692 the parser object instead. Use allocate_address_v4 to allocate
693 IPv4 addresses.
694 (__res_vinit): Adjust.
695 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
696 extended name server list.
697 (test_cases): Adjust.
698
699 2017-06-30 Florian Weimer <fweimer@redhat.com>
700
701 [BZ #19569]
702 [BZ #21475]
703 Support an arbitrary number of search domains.
704 * resolv/resolv_context.h (__resolv_context_search_list): New.
705 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
706 search_list_size members.
707 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
708 (__resolv_conf_allocate): Allocate and and copy search list.
709 (update_from_conf): Copy the search list.
710 * resolv/res_init.c (struct search_list): Define using dynarray.
711 (struct resolv_conf_parser): Define.
712 (resolv_conf_parser_init, resolv_conf_parser_free)
713 (domain_from_hostname): New functions.
714 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
715 struct search_list to collect search list entries. Call
716 domain_from_hostname to obtain the fallback domain name.
717 (__res_vinit): Create and destroy parser object. Pass search list
718 to __resolv_conf_allocate.
719 * resolv/res_query.c (__res_context_search): Use
720 __resolv_context_search_list to obtain search list entries.
721 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
722 from extended resolver context.
723 (test_cases): Update.
724
725 2017-06-30 Florian Weimer <fweimer@redhat.com>
726
727 Add extended resolver state/configuration (struct resolv_conf).
728 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
729 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
730 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
731 (__res_vinit): Call __resolv_conf_allocate and
732 __resolv_conf_attach.
733 * resolv/resolv_context.h (struct resolv_context): Add conf member
734 of type struct resolv_conf.
735 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
736 resolv_conf. Update conf member after initialization.
737 * resolv/Makefile (routines): Add resolv_conf.
738 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
739 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
740 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
741 _u._ext.__glibc_reserved.
742
743 2017-06-30 Florian Weimer <fweimer@redhat.com>
744
745 [BZ #21668]
746 Introduce temporary resolver contexts (struct resolv_conf).
747 * resolv/resolv-internal.h (__res_context_mkquery)
748 (__res_context_searchl __res_context_query, __res_context_send)
749 (__res_context_hostalias): Declare.
750 (__res_nopt): Switch to struct resolv_context.
751 * resolv/res_use_inet6.h: New file.
752 * resolv/resolv_context.h: Likewise.
753 * resolv/resolv_context.c: Likewise.
754 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
755 Renamed from res_gethostbyname2. Use struct resolv_context.
756 (res_gethostbyname2): New function. Implement using
757 res_gethostbyname2_context.
758 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
759 struct resolv_context.
760 (res_gethostbyaddr): New function. Implement using
761 res_gethostbyaddr_context.
762 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
763 resolv_context.
764 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
765 _nss_dns_gethostbyname3_r. Use struct resolv_context.
766 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
767 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
768 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
769 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
770 (_nss_dns_getnetbyaddr_r): Likewise.
771 * resolv/res-close.c (res_thread_freeres): Call
772 __resolv_context_freeres.
773 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
774 maybe_init in resolv/resolv_context.c.
775 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
776 res_nmkquery. Use struct resolv_context.
777 (context_mkquery_common): New function.
778 (res_nmkquery, res_mkquery): Use it.
779 (res_nopt): Switch to struct resolv_context.
780 * resolv/res_query.c (__res_context_querydomain): Renamed from
781 __libc_res_nquerydomain. Use struct resolv_context.
782 (__res_context_query): Renamed from __libc_res_nquery. Use struct
783 resolv_context.
784 (context_query_common): New function.
785 (res_nquery, res_query): Use it.
786 (__res_context_search): Renamed from __libc_res_nsearch. Use
787 struct resolv_context.
788 (context_search_common): New function.
789 (res_nsearch, res_search): Use it.
790 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
791 Use struct resolv_context.
792 (context_querydomain_common): New function.
793 (res_nquerydomain, res_querydomain): Use it.
794 (__res_context_hostalias): Rename from res_hostalias. Use struct
795 resolv_context.
796 (context_hostalias_common): New function.
797 (res_hostalias, hostalias): Use it.
798 * resolv/res_send.c (__res_context_send): Renamed from
799 __libc_res_nsend. Use struct resolv_context.
800 (context_send_common): New function.
801 (res_nsend, res_send): Use it.
802 * resolv/Makefile (routines): Add resolv_context.
803 * resolv/Versions (libc): Export __resolv_context_get,
804 __resolv_context_get_preinit, __resolv_context_get_override,
805 __resolv_context_put. Remove __res_maybe_init.
806 (libresolv): Export __res_context_query, __res_context_search,
807 __res_context_hostalias. Remove __libc_res_nquery,
808 __libc_res_nsearch.
809 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
810 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
811 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
812 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
813 prototypes.
814 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
815 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
816 from __nss_hostname_digits_dots. Use struct resolv_context.
817 (__nss_hostname_digits_dots): New function.
818 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
819 struct resolv_context object. Call new function
820 __nss_hostname_digits_dots_context.
821 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
822 * nss/getnssent_r.c (__nss_setent): Likewise.
823 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
824 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
825 instead of direct _res manipulation.
826 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
827
828 2017-07-03 Florian Weimer <fweimer@redhat.com>
829
830 * resolv/tst-resolv-res_init-skeleton.c
831 (special_tests_count, special_test_call_res_init)
832 (special_test_callback, special_test_thread_func)
833 (run_special_test_on_thread, special_test): Define.
834 (do_test): call special_test.
835 (test_init_names): Fix typo.
836
837 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
838
839 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
840 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
841
842 2017-07-01 Florian Weimer <fweimer@redhat.com>
843 H.J. Lu <hongjiu.lu@intel.com>
844
845 [BZ #21696]
846 * posix/sched_cpucount.c: Don't include <limits.h>.
847 (__sched_cpucount): Use __builtin_popcount.
848
849 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
850
851 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
852 Fix typo.
853
854 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
855
856 * include/math.h (__signbitf128): Define as hidden.
857 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
858 Reimplement without builtins.
859 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
860 (__builtin_signbitf128): Define to __signbitf128.
861 * sysdeps/powerpc/bits/floatn.h: Likewise.
862 * sysdeps/x86/bits/floatn.h: Likewise.
863
864 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
865
866 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
867 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
868 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
869 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
870 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
871 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
872 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
873 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
875 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
876 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
877 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
878 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
879 fcntl_common and add check for F_GETOWN.
880 (__libc_fcntl): Use SYSCALL_CANCEL macro.
881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
882 use default implementation.
883
884 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
885
886 * elf/dl-tunables.h (tunable_is_name): Move from...
887 * elf/dl-tunables.c (is_name): ... here.
888 (parse_tunables, __tunables_init): Adjust.
889 * manual/tunables.texi: Document glibc.tune.cpu.
890 * sysdeps/aarch64/dl-tunables.list: New file.
891 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
892 cpu_list): New type.
893 (cpu_list): New list of CPU names and their MIDR.
894 (get_midr_from_mcpu): New function.
895 (init_cpu_features): Override MIDR if necessary.
896
897 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
898 (__libc_ifunc_impl_list): Unconditionally select thunderx
899 routine for testing.
900
901 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
902
903 [BZ #21120]
904 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
905 * sysdeps/generic/malloc-alignment.h: Here. New file.
906 * sysdeps/i386/malloc-alignment.h: Likewise.
907 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
908
909 2017-06-30 Florian Weimer <fweimer@redhat.com>
910
911 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
912 variable.
913 (test_file_contents): Use it.
914
915 2017-06-30 Florian Weimer <fweimer@redhat.com>
916
917 * resolv/res_init.c (res_setoptions): Remove source argument.
918 (res_vinit_1): Adjust.
919
920 2017-06-30 Florian Weimer <fweimer@redhat.com>
921
922 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
923
924 2017-06-30 Florian Weimer <fweimer@redhat.com>
925
926 * resolv/res_data.c: Reformat to GNU style.
927 (res_close): Update comments.
928
929 2017-06-30 Florian Weimer <fweimer@redhat.com>
930
931 * resolv/res_data.c (res_query, res_search, res_querydomain)
932 (hostalias): Move to ...
933 * resolv/res_Send.c (res_query, res_search, res_querydomain)
934 (hostalias): here.
935
936 2017-06-30 Florian Weimer <fweimer@redhat.com>
937
938 * resolv/res_data.c (res_isourserver, res_send): Move to ...
939 * resolv/res_send.c (res_isourserver, res_send): here.
940
941 2017-06-30 Florian Weimer <fweimer@redhat.com>
942
943 * resolv/res_debug.c (_res_opcodes): Rename ...
944 (res_opcodes): ... as compatibility symbol.
945 (fp_nquery): Use res_opcodes.
946 * include/resolv.h (_res_opcodes): Remove declaration.
947
948 2017-06-30 Florian Weimer <fweimer@redhat.com>
949
950 * include/resolv.h (res_pquery): Remove declaration.
951 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
952 functions.
953 (_res_opcodes): Remove variable.
954 * resolv/res_debug.c (do_section): Receive pfcode instead of
955 statp.
956 (res_pquery): Rename ...
957 (fp_nquery): to this function. Skip unnecessary _res
958 initialization.
959 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
960
961 2017-06-30 Florian Weimer <fweimer@redhat.com>
962
963 * resolv/res_debug.h: Remove file.
964 * resolv/README: Adjust.
965
966 2017-06-30 Florian Weimer <fweimer@redhat.com>
967
968 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
969 conditionals.
970 (Aerror, Perror): Remove function definitions.
971
972 2017-06-30 Florian Weimer <fweimer@redhat.com>
973
974 * resolv/res_data.c (res_mkquery): Move ...
975 * resolv/res_mkquery.c (res_mkquery): to here.
976
977 2017-06-30 Florian Weimer <fweimer@redhat.com>
978
979 * resolv/res_mkquery.c: Reformat to GNU style.
980 (T_OPT): Remove definition. It is present in the header file.
981
982 2017-06-30 Florian Weimer <fweimer@redhat.com>
983
984 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
985 conditionals.
986
987 2017-06-30 Florian Weimer <fweimer@redhat.com>
988
989 * support/support_capture_subprocess_check.c
990 (support_capture_subprocess_check): Report actual exit status.
991
992 2017-06-30 Florian Weimer <fweimer@redhat.com>
993
994 [BZ #19570]
995 * resolv/res_send.c (nameserver_offset): New function.
996 (__libc_res_nsend): Use it to implement RES_ROTATE.
997 (get_nsaddr): Add assert with name server
998 range check.
999 * resolv/Makefile (xtests): Add tst-resolv-rotate.
1000 (tst-resolv-rotate): Link against libpthread.
1001 * resolv/tst-resolv-rotate.c: New file.
1002
1003 2017-06-29 Joseph Myers <joseph@codesourcery.com>
1004
1005 [BZ #21457]
1006 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
1007 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
1008 [__WORDSIZE == 64] (MC_PC): Likewise.
1009 [__WORDSIZE == 64] (MC_NPC): Likewise.
1010 [__WORDSIZE == 64] (MC_Y): Likewise.
1011 [__WORDSIZE == 64] (MC_G1): Likewise.
1012 [__WORDSIZE == 64] (MC_G2): Likewise.
1013 [__WORDSIZE == 64] (MC_G3): Likewise.
1014 [__WORDSIZE == 64] (MC_G4): Likewise.
1015 [__WORDSIZE == 64] (MC_G5): Likewise.
1016 [__WORDSIZE == 64] (MC_G6): Likewise.
1017 [__WORDSIZE == 64] (MC_G7): Likewise.
1018 [__WORDSIZE == 64] (MC_O0): Likewise.
1019 [__WORDSIZE == 64] (MC_O1): Likewise.
1020 [__WORDSIZE == 64] (MC_O2): Likewise.
1021 [__WORDSIZE == 64] (MC_O3): Likewise.
1022 [__WORDSIZE == 64] (MC_O4): Likewise.
1023 [__WORDSIZE == 64] (MC_O5): Likewise.
1024 [__WORDSIZE == 64] (MC_O6): Likewise.
1025 [__WORDSIZE == 64] (MC_O7): Likewise.
1026 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
1027 __MC_NGREG if [__USE_MISC].
1028 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
1029 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
1030 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
1031 Define fields using __ctx.
1032 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
1033 using __ctx.
1034 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
1035 (REG_PSR): Define only for [__USE_MISC].
1036 (REG_PC): Likewise.
1037 (REG_nPC): Likewise.
1038 (REG_Y): Likewise.
1039 (REG_G1): Likewise.
1040 (REG_G2): Likewise.
1041 (REG_G3): Likewise.
1042 (REG_G4): Likewise.
1043 (REG_G5): Likewise.
1044 (REG_G6): Likewise.
1045 (REG_G7): Likewise.
1046 (REG_O0): Likewise.
1047 (REG_O1): Likewise.
1048 (REG_O2): Likewise.
1049 (REG_O3): Likewise.
1050 (REG_O4): Likewise.
1051 (REG_O5): Likewise.
1052 (REG_O6): Likewise.
1053 (REG_O7): Likewise.
1054 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
1055 [__WORDSIZE == 64] (REG_FPRS): Likewise.
1056 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
1057 (gregset_t): Define using __NGREG.
1058 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
1059 __SPARC_MAXREGWINDOW if [__USE_MISC].
1060 (struct rwindow): Rename to struct __rwindow. Define fields using
1061 __ctx.
1062 (rw_fp): Define only for [__USE_MISC].
1063 (rw_rtn): Likewise.
1064 (gwindows_t): Remove struct tag. Define fields using __ctx and
1065 __SPARC_MAXREGWINDOW.
1066 (MAXFPQ): Define only for [__USE_MISC].
1067 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
1068 (struct fq): Rename to struct __fq. Define fields using __ctx.
1069 (FPU_REGS_TYPE): Define only for [__USE_MISC].
1070 (FPU_DREGS_TYPE): Likewise.
1071 (V7_FPU_FSR_TYPE): Likewise.
1072 (V9_FPU_FSR_TYPE): Likewise.
1073 (V9_FPU_FPRS_TYPE): Likewise.
1074 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
1075 using __ctx.
1076 [__WORDSIZE != 64] (fpregset_t): Likewise.
1077 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
1078 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
1079 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
1080 Rename field filler to __glibc_reserved1.
1081 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
1082 (MC_FILLER): Remove.
1083
1084 2017-06-29 Florian Weimer <fweimer@redhat.com>
1085
1086 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
1087 Adjust format string.
1088 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
1089 dependency.
1090
1091 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1092
1093 * sysdeps/posix/spawni.c (__spawni_child): New function.
1094 (__spawni): Rename to __spawnix.
1095
1096 2017-06-29 Florian Weimer <fweimer@redhat.com>
1097
1098 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
1099 Use it to make the temporary copy at the start of the work buffer.
1100 (process_arg): Adjust call to group_number.
1101
1102 2017-06-29 Florian Weimer <fweimer@redhat.com>
1103
1104 * stdio-common/vfprintf.c (printf_positional): Use struct
1105 scratch_buffer to allocate backing storage for the args_value,
1106 args_size, args_type arrays.
1107
1108 2017-06-29 Florian Weimer <fweimer@redhat.com>
1109
1110 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
1111 scratch_buffer.
1112
1113 2017-06-29 Florian Weimer <fweimer@redhat.com>
1114
1115 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
1116 wchar_t builds.
1117
1118 2017-06-29 Florian Weimer <fweimer@redhat.com>
1119
1120 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
1121 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
1122
1123 2017-06-29 Florian Weimer <fweimer@redhat.com>
1124
1125 * stdio-common/tst-vfprintf-user-type.c: New file.
1126 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
1127
1128 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1129
1130 * posix/tst-spawn2.c (do_test): Use libsupport.
1131 * posix/tst-spawn3.c (do_test): Likewise.
1132
1133 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1134
1135 * math/gen-tgmath-tests.py (Tests.__init__): Define
1136 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
1137
1138 * math/tgmath.h: Include <bits/libc-header-start.h> and
1139 <bits/floatn.h>.
1140 (__TGMATH_F128): New macro.
1141 (__TGMATH_CF128): Likewise.
1142 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1143 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1144 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1145 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1146 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1147 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1148 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1149 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1150 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1151 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1152 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1153 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1154 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1155 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1156 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1157 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1158 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1159 _FloatNx types if the corresponding HUGE_VAL macros are defined.
1160
1161 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1162 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1163 complex arguments.
1164
1165 [BZ #21687]
1166 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1167 (totalorder): Use it.
1168 (totalordermag): Likewise.
1169 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1170 totalorder and totalordermag.
1171 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1172 totalordermag in arguments of calls to those functions.
1173 (NCALLS): Change to 134.
1174
1175 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1176 cast to return type argument.
1177 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1178 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1179 (llrint): Likewise.
1180 (lround): Likewise.
1181 (llround): Likewise.
1182 (ilogb): Likewise.
1183 (llogb): Likewise.
1184 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1185 (ufromfp): Likewise.
1186 (fromfpx): Likewise.
1187 (ufromfpx): Likewise.
1188
1189 [BZ #21607]
1190 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1191 [LDBL_MANT_DIG > DBL_MANT_DIG].
1192 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1193 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1194 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1195 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1196 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1197 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1198 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1199 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1200 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1201 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1202 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1203 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1204 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1205 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1206 * math/test-tgmath.c: Include <float.h>.
1207 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1208 DBL_MANT_DIG].
1209 * math/test-tgmath2.c: Include <float.h>.
1210 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1211 DBL_MANT_DIG].
1212
1213 * math/gen-tgmath-tests.py: New file.
1214 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1215 [PYTHON] (generated): Add test-tgmath3.c.
1216 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1217 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1218
1219 * configure.ac (AS): Require binutils 2.25 or later.
1220 (LD): Likewise.
1221 * configure: Regenerated.
1222 * sysdeps/s390/configure.ac (AS): Remove version check.
1223 * sysdeps/s390/configure: Regenerated.
1224 * sysdeps/x86_64/configure.ac (AS): Remove version check.
1225 * sysdeps/x86_64/configure: Regenerated.
1226 * manual/install.texi (Tools for Compilation): Document
1227 requirement for binutils 2.25 or later.
1228 * INSTALL: Regenerated.
1229
1230 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 [BZ #14995]
1233 * configure.ac: Allow gold 1.14 or above to configire glibc
1234 * configure: Regenerated.
1235
1236 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1237
1238 [BZ #21457]
1239 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1240 struct tag.
1241 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1244 Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1246 Declare struct type with __ctx.
1247 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1248 tag.
1249 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1250 and regs field name.
1251
1252 2017-06-27 Joseph Myers <joseph@codesourcery.com>
1253
1254 * elf/loadtest.c (OUT): Define using do { } while (0).
1255
1256 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1257 (DO_NUMBER_SPACEPAD): Likewise.
1258
1259 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
1260
1261 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1262 sysdep_routines.
1263 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1264 __memchr_neon.
1265 Add ifunc definitions for __memchr_neon and __memchr_noneon.
1266 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1267 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1268 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1269
1270 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1271
1272 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1273 Use vector and cu21 instruction.
1274 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1275 Add __to_utf8_loop_vx_cu in ifunc resolver.
1276
1277 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1278
1279 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1280 Use vector and cu24 instruction.
1281
1282 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1283
1284 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1285 Use vector and cu42 instruction.
1286 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1287 Add __to_utf16_loop_vx_cu in ifunc resolver.
1288
1289 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1290
1291 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1292 Use vector and cu41 instruction.
1293 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1294 in ifunc resolver.
1295
1296 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1297
1298 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1299 Add vxd, vxe, gs flag.
1300 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1301 HWCAP_S390_GS capability.
1302 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1303 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1304
1305 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1308 the first 32 bytes before checking size when size >= 32 bytes.
1309 Replace vpmovmskb/subl/jnz with vptest/jnc.
1310
1311 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1312
1313 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1314 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1315
1316 2017-06-27 Florian Weimer <fweimer@redhat.com>
1317
1318 Work around test timeouts with ICMP rate limiting on localhost.
1319 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1320 function.
1321 (do_test): Call it.
1322
1323 2017-06-27 Florian Weimer <fweimer@redhat.com>
1324
1325 Call _res_hconf_init from __res_vinit.
1326 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1327 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1328 (NEED__RES): Define.
1329 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1330 (NEED__RES): Define.
1331 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1332 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1333 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1334 (NEED__RES): Define.
1335 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1336 _res_hconf_init.
1337 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1338 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1340 _res_hconf_init.
1341
1342 2017-06-26 Joseph Myers <joseph@codesourcery.com>
1343
1344 * sysdeps/ia64/Implies: Add ieee754/float128.
1345 * sysdeps/ia64/bits/floatn.h: New file.
1346 * sysdeps/ia64/float128-abi.h: Likewise.
1347 * manual/math.texi (Mathematics): Document support for _Float128
1348 on ia64.
1349 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1350 Makefile variable.
1351 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1352 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1353 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1354 * sysdeps/ia64/math-tests.h: New file.
1355 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1356 based on TEST_COND_binary128 for [__ia64__].
1357 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1358 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1359
1360 [BZ #21457]
1361 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1362 ucontext_t.
1363 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1364 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1365 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1366 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1367 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1368 ucontext): Likewise.
1369 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1370 Likewise.
1371 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1372 Likewise.
1373 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1374 Likewise.
1375 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1376 Likewise.
1377 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1378 Likewise.
1379 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1380 Likewise.
1381 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1382 Likewise.
1383 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1384 ucontext): Likewise.
1385 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1386 Likewise.
1387 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1388 Likewise.
1389 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1390 Likewise.
1391 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1392 Likewise.
1393 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1394 Likewise.
1395 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1396 rt_signal_frame_32): Likewise.
1397 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1398 Likewise.
1399 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1400 kernel_rt_sigframe): Likewise.
1401 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1402 Likewise.
1403 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1404 Likewise.
1405 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1406 Likewise.
1407 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1408 (__profil_counter): Likewise.
1409 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1410 (SIGCONTEXT): Likewise.
1411 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1412 kernel_rt_sigframe): Likewise.
1413 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1414 kernel_rt_sigframe): Likewise.
1415 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1416 Likewise.
1417 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1418 Likewise.
1419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1420 (__start_context): Likewise.
1421 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1422 Likewise.
1423 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1424 Likewise.
1425 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1426 Likewise.
1427
1428 * sysdeps/i386/Implies: Add ieee754/float128.
1429 * sysdeps/x86_64/Implies: Likewise.
1430 * sysdeps/x86/bits/floatn.h: New file.
1431 * sysdeps/x86/float128-abi.h: Likewise.
1432 * manual/math.texi (Mathematics): Document support for _Float128
1433 on x86_64 and x86.
1434 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1435 (math_opt_barrier): Do not put _Float128 values in floating-point
1436 registers.
1437 (math_force_eval): Likewise.
1438 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1439 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1440 to Makefile variable.
1441 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1442 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1443 * sysdeps/x86/math-tests.h: New file.
1444 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1445 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1446 XFAIL_FLOAT128_PAYLOAD.
1447 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1448 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1449 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1450 Likewise.
1451 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1452 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1453 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1454 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1455 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1456 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1457 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1458 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1460
1461 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1462
1463 [BZ #21512]
1464 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1465 syscall instead of jump to _exit.
1466 (CLONE_VM_BIT): Remove unused define.
1467 (CLONE_VM): Likewise.
1468 (CLONE_THREAD_BIT): Likewise.
1469 (CLONE_THREAD): Likewise.
1470 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1471 (CLONE_VM): Remove unused define.
1472 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1473 (CLONE_VM): Remove unused define.
1474 (CLONE_THREAD): Likewise.
1475 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1476 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1477 syscall instead of jump to _exit.
1478 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1479 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1480 (CLONE_VM): Remove unused define.
1481 (CLONE_THREAD): Likewise.
1482 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1483 (CLONE_VM): Remove unused define.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1485 Likewise.
1486 (CLONE_VM): Remove unused define.
1487 (CLONE_THREAD): Likewise.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1489 Likewise.
1490 (CLONE_VM): Remove unused define.
1491 (CLONE_THREAD): Likewise.
1492 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1493 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1494 (CLONE_VM): Remove unused define.
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1496 (CLONE_VM): Remove unused define.
1497 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1498 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1499 (CLONE_VM): Remove unused define.
1500 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1501 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1502
1503 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1504 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1505
1506 * manual/math.texi (Mathematics): Mention the enabling of float128
1507 for powerpc64le.
1508 * sysdeps/powerpc/bits/floatn.h: New file.
1509 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1510 * sysdeps/powerpc/fpu/math_private.h:
1511 (__ieee754_sqrtf128): New inline override.
1512 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1513 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1514 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1515 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1516 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1518 Updated.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1520 Likewise.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1522 New file.
1523
1524 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1525
1526 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1527 * sysdeps/powerpc/powerpc64le/configure: Update.
1528
1529 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1530 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1531
1532 * INSTALL: Regenerate.
1533 * manual/install.texi (Recommended Tools for Compilation): Mention
1534 the powerpc64le-specific requirement in the manual.
1535 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1536 for the compiler features required for building float128.
1537 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1538
1539 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1540
1541 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1542 before comparing with another char.
1543
1544 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1545
1546 * manual/math.texi: Fix a grammatical error.
1547
1548 2017-06-24 Florian Weimer <fweimer@redhat.com>
1549
1550 [BZ #21295]
1551 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1552
1553 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1554
1555 [BZ #21295]
1556 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1557 Append addresses at the end of the list.
1558
1559 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 [BZ #21666]
1562 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1563 (loc2): Likewise.
1564 (locs): Likewise.
1565
1566 2017-06-23 Florian Weimer <fweimer@redhat.com>
1567
1568 [BZ #16637]
1569 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1570 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1571 digits between colons.
1572 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1573
1574 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1575 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1576
1577 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1578 (__sched_get_prioriry_min): Likewise.
1579 * include/sys/mman.h (__mmap): Likewise.
1580 (__mmap64): Likewise.
1581 (__munmap): Likewise.
1582 (__mprotect): Likewise.
1583 * include/termios.h (__tcsetattr): Likewise.
1584 * include/time.h (__nanosleep): Use hidden_proto instead of
1585 libc_hidden_proto.
1586 * posix/nanosleep.c (__nanosleep): Likewise.
1587 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1588 __sched_get_priority_min, and __sched_get_priority_max under
1589 GLIBC_PRIVATE.
1590 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1591 libc symbols.
1592 (change_stack_perm): Likewise.
1593 (change_stack_perm): Likewise.
1594 (allocate_stack): Likewise.
1595 * sysdeps/posix/gethostname.c: Likewise.
1596 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1597 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1598 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1599 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1600 (__pthread_key_delete): Likewise.
1601 (__pthread_detach): Likewise.
1602 (__pthread_cancel): Likewise.
1603 (__pthread_mutex_trylock): Likewise.
1604 (__pthread_mutexattr_init): Likewise.
1605 (__pthread_mutexattr_settype): Likewise.
1606 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1607 create alias for exported one.
1608 * nptl/pthread_join.c (pthread_join): Likewise.
1609 * nptl/pthread_detach.c (pthread_detach): Likewise.
1610 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1611 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1612 * nptl/pthread_create.c: Change static requirements for pthread
1613 symbols.
1614 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1615 for internal definition.
1616 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1617 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1618 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1619 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1620 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1621 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1622 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1623 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1624 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1625 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1626 Likewise.
1627 * nptl/pthread_self.c (__pthread_self): Likewise.
1628 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1629 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1630 * misc/mmap.c (__mmap): Add internal symbol definition.
1631 * misc/mmap.c (__mmap64): Likewise.
1632 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1634 (__mmap64): Likewise.
1635 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1636 Add __uname.
1637
1638 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/i386/fpu/libm-test-ulps: Update.
1641 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1642
1643 * libm-test-support.c (check_float_internal): Clear exceptions at
1644 end of function.
1645 (check_int): Likewise.
1646 (check_long): Likewise.
1647 (check_bool): Likewise.
1648 (check_longlong): Likewise.
1649 (check_intmax_t): Likewise.
1650 (check_uintmax_t): Likewise.
1651
1652 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1653 Do not declare.
1654 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1655 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1656 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1657
1658 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1661 Replace movzbl and orl with movb.
1662
1663 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1664
1665 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1666 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1667 and HUGE_VAL_FNx.
1668 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1669 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1670 are in math.h, to avoid having to list the _FloatN and _FloatNx
1671 variants as well. Likewise for the cabs functions.
1672 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1673 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1674 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1675 come from TS 18661-3, since this section explicitly states that
1676 these functions come from BSD.
1677 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1678 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1679 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1680 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1681 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1682 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1683 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1684 remainderfNx.
1685 (Setting and modifying single bits of FP values): Document
1686 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1687 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1688 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1689 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1690 (Floating-Point Comparison Functions): Document totalorderfN,
1691 totalorderfNx, totalordermagfN, totalordermagfNx.
1692 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1693 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1694 fdimfN, fdimfNx, fmafN, fmafNx.
1695 (Complex Numbers): Document the complex types: _FloatN complex and
1696 _FloatNx complex.
1697 (rojections, Conjugates, and Decomposing of Complex Numbers):
1698 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1699 cargfN, cargfNx, cprojfN, cprojfNx.
1700 * manual/math.texi (Mathematics): Mention that the _FloatN and
1701 _FloatNx variants of the math functions come from TS 18661-3,
1702 unless otherwise stated.
1703 (Predefined Mathematical Constants): Document the _FloatN and
1704 _FloatNx variants of the macros prefixed with M_.
1705 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1706 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1707 ccosfNx, ctanfN, ctanfNx.
1708 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1709 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1710 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1711 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1712 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1713 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1714 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1715 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1716 cpowfNx.
1717 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1718 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1719 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1720 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1721 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1722 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1723 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1724 ynfN, ynfNx.
1725
1726 2017-06-23 Florian Weimer <fweimer@redhat.com>
1727
1728 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1729
1730 2017-06-23 Florian Weimer <fweimer@redhat.com>
1731
1732 * resolv/res_libc.c: Reformat to GNU style.
1733
1734 2017-06-23 Florian Weimer <fweimer@redhat.com>
1735
1736 * resolv/resolv-internal.h (__res_initstamp): Declare.
1737 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1738 It is implied by the declaration.
1739 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1740
1741 2017-06-23 Florian Weimer <fweimer@redhat.com>
1742
1743 [BZ #21662]
1744 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1745 Use only 24 bits of the register before the subtraction.
1746 * string/test-memcmp.c (check1): Check with different lengths.
1747
1748 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1749
1750 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1751 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1752
1753 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1754
1755 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1756 Enable generation of float128 entries on the error table.
1757
1758 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1759
1760 * include/float.h: Include libc-header-start.h to get the
1761 definition of __GLIBC_USE.
1762
1763 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1764
1765 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1766 rearranged code and doubles float types.
1767
1768 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1769
1770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1771 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1772
1773 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1774
1775 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1776 to errno, and simplify remaining related code.
1777
1778 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1779
1780 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1781 PPC_FEATURE2_SCV.
1782 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1783 and darn.
1784
1785 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1786
1787 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1788 the implementation-specific function name and remove unneeded macros
1789 definition.
1790 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1791 function name if not defined and pass as parameter to macros
1792 accordingly.
1793
1794 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1795
1796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1797 (libm-sysdep_routines): Add s_llroundf-ppc64.
1798 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1799 (__llroundf): Define as strong alias of __llround.
1800 (llroundf): Define as weak alias of __llround.
1801 (__lroundf): Define as strong alias of __llround.
1802 (lroundf): Define as weak alias of __llround.
1803 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1804 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1807 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1808 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1809 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1810
1811 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1812
1813 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1814 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1815
1816 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1817 (MATH_TESTS_TG): New macro.
1818 (SNAN_TESTS_float128): Likewise.
1819 (ROUNDING_TESTS_float128): Likewise.
1820 (EXCEPTION_TESTS_float128): Likewise.
1821 (SNAN_TESTS): Define using MATH_TESTS_TG.
1822 (ROUNDING_TESTS): Likewise.
1823 (EXCEPTION_TESTS): Likewise.
1824
1825 * sysdeps/ieee754/float128/float128_private.h
1826 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1827 pass it to SET_RESTORE_ROUNDF128.
1828
1829 * sysdeps/ieee754/float128/float128_private.h: Include
1830 <ieee754.h>.
1831
1832 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1833 typeof to argument passed to __builtin_types_compatible_p.
1834 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1835
1836 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1837 <errno.h>.
1838 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1839 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1840 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1841 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1842 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1843 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1844 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1845 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1846 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1847 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1848 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1849 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1850 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1851 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1852 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1853 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1854 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1855 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1856 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1857 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1858 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1859 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1860
1861 * sysdeps/ieee754/float128/strtof128_l.c: Include
1862 <bits/types/locale_t.h> instead of <xlocale.h>.
1863 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1864 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1865
1866 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1867
1868 * benchtests/scripts/benchout_strings.schema.json: New file.
1869 * benchtests/scripts/compare_strings.py: New file.
1870
1871 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1872 (do_one_test): Print json.
1873 (do_test): Likewise.
1874 (test_main): Likewise.
1875 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1876 (do_one_test): Print json.
1877 (do_test): Likewise.
1878 (test_main): Likewise.
1879 * benchtests/bench-memcpy.c: Include json-lib.h.
1880 (do_one_test): Print json.
1881 (do_test): Likewise.
1882 (test_main): Likewise.
1883
1884 * benchtests/json-lib.h: Include inttypes.h.
1885 (json_attr_int, json_attr_int, json_element_string,
1886 json_element_int, json_element_uint): New functions.
1887 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1888 json_element_string, json_element_int, json_element_uint): New
1889 functions.
1890
1891 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1892
1893 * manual/arith.texi (Remainder Functions): Describe remainder as
1894 primary and drem as an alternative name. Change the comment on
1895 remainder to ISO, since it is defined in ISO C99.
1896
1897 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1898
1899 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1900 macro expansion.
1901 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1902
1903 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1904
1905 [BZ #21533]
1906 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1907 201706L for Unicode 10.0.
1908
1909 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1910
1911 [BZ #21657]
1912 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1913 on node-local addresses.
1914 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1915
1916 2017-06-21 Florian Weimer <fweimer@redhat.com>
1917
1918 * intl/loadmsgcat.c: Remove alloca support.
1919 (_nl_load_domain): Use calloc instead of alloca.
1920
1921 2017-04-21 Florian Weimer <fweimer@redhat.com>
1922
1923 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1924 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1925 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1926 alloc_buffer_create_failure.
1927 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1928 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1929 (__libc_alloc_buffer_copy_string)
1930 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1931 * malloc/alloc_buffer_alloc_array.c: New file.
1932 * malloc/alloc_buffer_allocate.c: Likewise.
1933 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1934 * malloc/alloc_buffer_copy_string.c: Likewise.
1935 * malloc/alloc_buffer_create_failure.c: Likewise.
1936 * malloc/tst-alloc_buffer.c: Likewise.
1937
1938 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1941 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1942 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1943 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1944 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1945 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1946 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1947 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1948 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1949 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1950 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1951 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1952 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1953 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1954 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1955 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1956 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1957 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1958 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1959 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1960 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1961 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1962 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1963 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1964 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1966 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1967 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1968 "locale-defines.h".
1969 (UPDATE_STRNCMP_COUNTER): New.
1970 (SECTION): Likewise.
1971 (GLABEL): Likewise.
1972 (LABEL): Likewise.
1973 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1974 for libc.a.
1975
1976 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1977
1978 [BZ #21622]
1979 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1980 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1981 __USE_MISC].
1982 (SA_NODEFER): Likewise.
1983 (SA_RESETHAND): Likewise.
1984
1985 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1988 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1989 Remove security_level on all fields.
1990 * manual/tunables.texi: Replace ifunc with hwcaps.
1991 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1992 Renamed to ..
1993 (TUNABLE_CALLBACK (set_hwcaps)): This.
1994 (init_cpu_features): Updated.
1995 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1996 data_cache_size, data_cache_size and non_temporal_threshold to
1997 unsigned long int.
1998 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1999 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
2000 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
2001 use DEFAULT_STRLEN.
2002
2003 2017-06-21 Florian Weimer <fweimer@redhat.com>
2004
2005 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
2006 asprintf to construct an absolute pathname.
2007
2008 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2009
2010 * misc/tst-preadvwritev2-common.c: New file.
2011 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
2012 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2013
2014 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2015
2016 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
2017 annotation.
2018 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2019
2020 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2021
2022 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
2023 hidden __GI__dl_argv symbol.
2024
2025 2017-06-21 Florian Weimer <fweimer@redhat.com>
2026
2027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
2028 to parse addresses with IPv6 scope IDs.
2029
2030 2017-06-21 Florian Weimer <fweimer@redhat.com>
2031
2032 Add the __inet_pton_length helper function.
2033 * resolv/resolv-internal.h (__inet_pton_length): Declare.
2034 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
2035 Add length argument.
2036 (__inet_pton): New function.
2037 (inet_pton4): Add length argument.
2038 (hex_digit_value): New function.
2039 (inet_pton6): Add length argument. Call hex_digit_value. Use
2040 memmove and memset to fill :: gap.
2041 * resolv/Makefile (tests, tsts-static, tests-internal): Add
2042 tst-inet_pton.
2043 * resolv/tst-inet_pton.c: New file.
2044 * support/Makefile (libsupport-routines): Add xmprotect.
2045 * support/xunistd.h (xmprotect): Declare.
2046 * support/xmprotect.c: New file.
2047
2048 2017-06-21 Florian Weimer <fweimer@redhat.com>
2049
2050 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
2051 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
2052 (call_gai, check_ai): New functions.
2053 (expect_failure, expect_success): Use them. Add logging.
2054
2055 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2056
2057 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2058 (sysdep_routines): Add memchr_power8.
2059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2060 (memchr): Add __memchr_power8 to list of memchr functions.
2061 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
2062 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
2063 (memchr): Add __memchr_power8 to ifunc list.
2064 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
2065
2066 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2067
2068 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
2069 (__llrintf): Define as strong alias of __llrint.
2070 (llrintf): Define as weak alias of __llrint.
2071 (__lrintf): Define as strong alias of __llrint.
2072 (lrintf): Define as weak alias of __llrint.
2073 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2074 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2075 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
2076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
2077
2078 2017-06-20 Zack Weinberg <zackw@panix.com>
2079
2080 * bits/signum-generic.h: Renamed from bits/signum.h.
2081 Add proper multiple include guard and misuse check.
2082 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
2083 Move definition of SIGIO to "archaic names for compatibility" section.
2084 * bits/signum.h: New file which just includes bits/signum-generic.h.
2085 * sysdeps/unix/bsd/bits/signum.h
2086 * sysdeps/unix/sysv/linux/bits/signum.h
2087 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
2088 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
2089 * sysdeps/unix/sysv/linux/mips/bits/signum.h
2090 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
2091 Just include <bits/signum-generic.h> and then add or adjust
2092 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
2093
2094 * signal/Makefile: Install bits/signum-generic.h.
2095 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
2096
2097 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
2098 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
2099
2100 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
2101 * sysdeps/unix/sysv/linux/Makefile: Run it.
2102
2103 2017-06-20 Zack Weinberg <zackw@panix.com>
2104
2105 * locale/xlocale.h: Rename to...
2106 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
2107 Only define struct __locale_struct and __locale_t, not locale_t.
2108 * locale/bits/types/locale_t.h: New file; define locale_t here.
2109 * locale/Makefile (headers): Update to match.
2110
2111 * include/xlocale.h: Delete wrapper.
2112 * include/bits/types/__locale_t.h: New wrapper.
2113 * include/bits/types/locale_t.h: New wrapper.
2114
2115 * ctype/ctype.h, include/printf.h, include/time.h
2116 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
2117 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
2118 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
2119 Correct outdated comments regarding the standardization status of
2120 the functions that take locale_t arguments.
2121
2122 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
2123 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2124 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2125 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2126 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2127 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
2128 Don't include xlocale.h. If necessary, include locale.h instead.
2129
2130 * stdlib/strtold_l.c: Unconditionally include wchar.h.
2131
2132 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
2133 * include/monetary.h, include/stdlib.h, include/time.h
2134 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
2135 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
2136 * locale/localeinfo.h, locale/newlocale.c
2137 * locale/nl_langinfo_l.c, locale/uselocale.c
2138 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2139 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2140 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2141 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2142 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2143 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2144 * string/strings.h, string/strncase.c, string/strxfrm_l.c
2145 * sysdeps/ieee754/float128/strtof128_l.c
2146 * sysdeps/ieee754/float128/wcstof128.c
2147 * sysdeps/ieee754/float128/wcstof128_l.c
2148 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2149 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2150 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2151 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2152 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2153 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2154 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2155 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2156 * sysdeps/x86_64/strcasecmp_l-nonascii.c
2157 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2158 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2159 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2160 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2161 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2162 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2163 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2164 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2165 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2166 Change all uses of __locale_t to locale_t.
2167
2168 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2169
2170 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2171 for !__OFF_T_MATCHES_OFF64_T.
2172 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2173 implementation based on open64.
2174 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2175 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2176
2177 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 * elf/dl-tunables.list: Move x86 specific tunables to ...
2180 * sysdeps/x86/dl-tunables.list: Here. New file.
2181
2182 2017-06-20 Joseph Myers <joseph@codesourcery.com>
2183
2184 [BZ #21635]
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2186 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2187 * conform/data/signal.h-data (uc_mcontext): XFAIL for
2188 powerpc32-linux.
2189 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2190
2191 [BZ #21634]
2192 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2193 (conformtest-xfail-conds): New variable.
2194 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2195 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2196
2197 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2198
2199 * benchtests/powf-inputs: Add reduced trace from wrf.
2200
2201 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2202 Erich Elsen <eriche@google.com>
2203
2204 * elf/dl-tunables.list (tune): Add ifunc,
2205 x86_non_temporal_threshold,
2206 x86_data_cache_size and x86_shared_cache_size.
2207 * manual/tunables.texi: Document glibc.tune.ifunc,
2208 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2209 and glibc.tune.x86_non_temporal_threshold.
2210 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2211 * sysdeps/x86/cpu-tunables.c: Likewise.
2212 * sysdeps/x86/cacheinfo.c
2213 (init_cacheinfo): Check and get data cache size, shared cache
2214 size and non temporal threshold from cpu_features.
2215 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2216 New.
2217 [HAVE_TUNABLES] Include <unistd.h>.
2218 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2219 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2220 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2221 IFUNC selection, data cache size, shared cache size and non
2222 temporal threshold.
2223 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2224 shared_cache_size and non_temporal_threshold.
2225
2226 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2227
2228 * benchtests/README: Describe workload feature.
2229 * benchtests/bench-skeleton.c (main): Add support for
2230 benchmarking traces from workloads.
2231
2232 2017-06-20 Zack Weinberg <zackw@panix.com>
2233
2234 * string/string.h (__mempcpy_inline): Delete.
2235 * sysdeps/x86_64/multiarch/mempcpy.c
2236 * sysdeps/x86_64/multiarch/stpcpy.c:
2237 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2238 before including string.h.
2239
2240 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
2241
2242 * benchtests/Makefile (bench-math): Add powf.
2243 * benchtests/powf-inputs: New file.
2244
2245 2017-06-20 Zack Weinberg <zackw@panix.com>
2246
2247 * bits/string.h, string/bits/string.h
2248 * sysdeps/aarch64/bits/string.h
2249 * sysdeps/m68k/m680x0/m68020/bits/string.h
2250 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2251 * sysdeps/x86/bits/string.h: Delete file.
2252
2253 * string/string.h: Don't include bits/string.h.
2254 * string/bits/string3.h: Rename to bits/string_fortified.h.
2255 No need to undef various symbols that the removed headers
2256 might have defined as macros.
2257 * string/Makefile (headers): Remove bits/string.h, change
2258 bits/string3.h to bits/string_fortified.h.
2259 * string/string-inlines.c: Update commentary. Remove definitions
2260 of various macros that nothing looks at anymore. Don't directly
2261 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2262 compiler-predefined macros.
2263 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2264 _is_ defined, provide internal hidden alias __strncat.
2265 * include/string.h: Declare internal hidden alias __strncat.
2266 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2267 not defined.
2268 * include/bits/string3.h: Rename to bits/string_fortified.h,
2269 update to match above.
2270
2271 * sysdeps/i386/string-inlines.c: Define compat symbols for
2272 everything formerly defined by sysdeps/x86/bits/string.h.
2273 Make existing definitions into compat symbols as well.
2274 Remove some no-longer-necessary messing around with macros.
2275
2276 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2277 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2278 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2279 * sysdeps/s390/multiarch/mempcpy.c
2280 No need to define _HAVE_STRING_ARCH_mempcpy.
2281 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2282
2283 * sysdeps/i386/i686/multiarch/strncat-c.c
2284 * sysdeps/s390/multiarch/strncat-c.c
2285 * sysdeps/x86_64/multiarch/strncat-c.c
2286 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
2287
2288 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
2289
2290 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2291 (LDBL_DIG): Likewise.
2292 (LDBL_MIN_EXP): Likewise.
2293 (LDBL_MIN_10_EXP): Likewise.
2294 (LDBL_MAX_EXP): Likewise.
2295 (LDBL_MAX_10_EXP): Likewise.
2296 (LDBL_MAX): Likewise.
2297 (LDBL_MIN): Likewise.
2298 (LDBL_EPSILON): Likewise.
2299 (FLT_ROUNDS): Change standard from ISO to C90.
2300 (FLT_RADIX): Likewise.
2301 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2302 (FLT_DIG, DBL_DIG): Likewise.
2303 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2304 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2305 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2306 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2307 (FLT_MAX, DBL_MAX): Likewise.
2308 (FLT_MIN, DBL_MIN): Likewise.
2309 (FLT_EPSILON, DBL_EPSILON): Likewise.
2310
2311 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2312
2313 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2314 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2315 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2316 * sysdeps/mips/math-tests.h
2317 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2318 conditional code.
2319
2320 2017-06-19 Florian Weimer <fweimer@redhat.com>
2321
2322 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2323 It cannot change while __libc_setlocale_lock is acquired.
2324
2325 2017-06-19 Florian Weimer <fweimer@redhat.com>
2326
2327 * elf/rtld.c (audit_list_string): New variable.
2328 (audit_list): Update comment.
2329 (struct audit_list_iter): Define.
2330 (audit_list_iter_init, audit_list_iter_next): New function.
2331 (dl_main): Use struct audit_list_iter to process audit modules.
2332 (process_dl_audit): Call dso_name_valid_for_suid.
2333 (process_envvars): Set audit_list_string instead of calling
2334 process_dl_audit.
2335
2336 2017-06-19 Florian Weimer <fweimer@redhat.com>
2337
2338 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2339 (dso_name_valid_for_suid): New function.
2340 (handle_ld_preload): Likewise.
2341 (dl_main): Call it. Remove alloca.
2342
2343 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2344
2345 [BZ #21625]
2346 * posix/sys/wait.h (strust rusage forward declaration): Change
2347 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2348 !__USE_XOPEN2K].
2349 (wait3): Likewise.
2350
2351 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2352 * configure: Regenerated.
2353 * manual/install.texi (Tools for Compilation): Document
2354 requirement for GCC 4.9 or later.
2355 * INSTALL: Regenerated.
2356
2357 2017-06-19 Florian Weimer <fweimer@redhat.com>
2358
2359 [BZ #21624]
2360 CVE-2017-1000366
2361 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2362 __libc_enable_secure.
2363
2364 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2365
2366 [BZ #21539]
2367 * NEWS: Mention s390 ptrace request changes.
2368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2369 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2370 PTRACE_SETFPREGS): Remove enum constant.
2371 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2372 Remove defines.
2373 (PTRACE_SINGLEBLOCK): New enum constant.
2374 (PT_STEPBLOCK): New define.
2375 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2376 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2377 PTRACE_TE_ABORT_RAND): New enum constant and define.
2378 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2379 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2380 New file.
2381 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2382
2383 2017-06-16 Florian Weimer <fweimer@redhat.com>
2384
2385 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2386 configuration file.
2387 (__res_vinit): Adjust.
2388
2389 2017-06-19 Florian Weimer <fweimer@redhat.com>
2390
2391 * resolv/res_init.c (res_vinit_1): New function.
2392 (__res_vinit): Call it. Handle file open and memory allocation
2393 failures.
2394 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2395 erno from __res_maybe_init failure.
2396 (_nss_dns_gethostbyname4_r): Likewise.
2397 (_nss_dns_gethostbyaddr2_r): Likewise.
2398 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2399 (_nss_dns_getnetbyaddr_r): Likewise.
2400
2401 2017-06-19 Florian Weimer <fweimer@redhat.com>
2402
2403 * resolv/res_init.c: Reformat to GNU style.
2404
2405 2017-06-19 Florian Weimer <fweimer@redhat.com>
2406
2407 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2408 (is_sort_mask): New function.
2409 (__res_vinit): Use it.
2410
2411 2017-06-19 Florian Weimer <fweimer@redhat.com>
2412
2413 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2414 conditionals.
2415
2416 2017-06-19 Florian Weimer <fweimer@redhat.com>
2417
2418 * resolv/res-close.c: New file.
2419 * resolv/res_init.c (__res_iclose, res_nclose)
2420 (res_thread_freeres): Remove definitions.
2421 * resolv/Makefile (routines): Add res-close.
2422
2423 2017-06-19 Florian Weimer <fweimer@redhat.com>
2424
2425 * resolv/res_randomid.c: New file.
2426 * resolv/res_init.c (res_randomid): Remove definition.
2427 * resolv/Makefile (routines): Add res_randomid.
2428
2429 2017-06-19 Florian Weimer <fweimer@redhat.com>
2430
2431 * include/resolv.h (__res_vinit): Declare as hidden.
2432 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2433 * resolv/res_libc.c (res_init): Likewise.
2434
2435 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2436
2437 [BZ #21457]
2438 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2439 _libc_xmmreg): Use __ctx in defining field.
2440
2441 [BZ #21597]
2442 * signal/signal.h (siginterrupt): Make declaration conditional on
2443 [__USE_XOPEN_EXTENDED || __USE_MISC].
2444
2445 [BZ #21584]
2446 * signal/signal.h: Make includes of <bits/sigstack.h> and
2447 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2448 __USE_MISC].
2449 (sigaltstack): Make declaration conditional on
2450 [__USE_XOPEN_EXTENDED || __USE_MISC].
2451
2452 [BZ #21575]
2453 * resource/bits/types/struct_rusage.h: New file.
2454 * include/bits/types/struct_rusage.h: Likewise.
2455 * bits/resource.h (struct rusage): Include
2456 <bits/types/struct_rusage.h> instead of defining here.
2457 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2458 Likewise.
2459 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2460 Likewise.
2461 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2462 Likewise.
2463 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2464 Likewise.
2465 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2466 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2467 Include <bits/types/struct_rusage.h>
2468
2469 2017-06-19 Florian Weimer <fweimer@redhat.com>
2470
2471 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2472
2473 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2474
2475 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2476
2477 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2478
2479 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2480
2481 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2482
2483 [BZ #21537]
2484 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2485 Check SHARED instead of PIC.
2486 (SYSCALL_PIC_SETUP): Add missing semicolons.
2487 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2488 Check SHARED instead of PIC.
2489 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2490 (__makecontext_ret): Adjust code to jump to exit.
2491
2492 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2493
2494 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2495 Simplify code by always using SVC 0 instead of EX.
2496 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2497
2498 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 * elf/Versions (ld): Remove _dl_out_of_memory.
2501
2502 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2503
2504 * timezone/private.h: Update from tzcode 2017b.
2505 * timezone/tzfile.h: Likewise.
2506 * timezone/tzselect.ksh: Likewise.
2507 * timezone/zdump.c: Likewise.
2508 * timezone/zic.c: Likewise.
2509 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2510 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2511 * time/tzset.c (SECSPERDAY): New macro.
2512
2513 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2514
2515 * manual/string.texi (strdup): Complete header and standards
2516 annotation.
2517 (strncpy): Likewise.
2518
2519 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2520
2521 * manual/arith.texi (FP_NAN): Add or complete header and standard
2522 annotations.
2523 (FP_INFINITE): Likewise.
2524 (FP_ZERO): Likewise.
2525 (FP_SUBNORMAL): Likewise.
2526 (FP_NORMAL): Likewise.
2527 (SNAN): Likewise.
2528 (SNANL): Likewise.
2529 (totalorderf): Likewise.
2530 (totalorderl): Likewise.
2531 (totalordermagf): Likewise.
2532 (totalordermagl): Likewise.
2533 (_Complex_I): Likewise.
2534 (I): Likewise.
2535
2536 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2537
2538 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2539 standard annotation.
2540 (ARGP_HELP_SHORT_USAGE): Likewise.
2541 (ARGP_HELP_SEE): Likewise.
2542 (ARGP_HELP_LONG): Likewise.
2543 (ARGP_HELP_PRE_DOC): Likewise.
2544 (ARGP_HELP_POST_DOC): Likewise.
2545 (ARGP_HELP_DOC): Likewise.
2546 (ARGP_HELP_BUG_ADDR): Likewise.
2547 (ARGP_HELP_LONG_ONLY): Likewise.
2548 (ARGP_HELP_EXIT_ERR): Likewise.
2549 (ARGP_HELP_EXIT_OK): Likewise.
2550 (ARGP_HELP_STD_ERR): Likewise.
2551 (ARGP_HELP_STD_USAGE): Likewise.
2552 (ARGP_HELP_STD_HELP): Likewise.
2553
2554 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2555
2556 * manual/Makefile: Generate summary.texi with summary.pl. Force
2557 use of the C locale. Update Perl dependency comment.
2558 * manual/header.texi: Update reference to summary.awk.
2559 * manual/macros.texi: Refer authors to `summary.pl --help'.
2560 * manual/summary.awk: Remove file.
2561 * manual/summary.pl: New file. Generate summary.texi, and check
2562 for @standards-related syntax errors.
2563 * manual/argp.texi: Convert header and standards @comments to
2564 @standards.
2565 * manual/arith.texi: Likewise.
2566 * manual/charset.texi: Likewise.
2567 * manual/conf.texi: Likewise.
2568 * manual/creature.texi: Likewise.
2569 * manual/crypt.texi: Likewise.
2570 * manual/ctype.texi: Likewise.
2571 * manual/debug.texi: Likewise.
2572 * manual/errno.texi: Likewise.
2573 * manual/filesys.texi: Likewise.
2574 * manual/getopt.texi: Likewise.
2575 * manual/job.texi: Likewise.
2576 * manual/lang.texi: Likewise.
2577 * manual/llio.texi: Likewise.
2578 * manual/locale.texi: Likewise.
2579 * manual/math.texi: Likewise.
2580 * manual/memory.texi: Likewise.
2581 * manual/message.texi: Likewise.
2582 * manual/pattern.texi: Likewise.
2583 * manual/pipe.texi: Likewise.
2584 * manual/process.texi: Likewise.
2585 * manual/resource.texi: Likewise.
2586 * manual/search.texi: Likewise.
2587 * manual/setjmp.texi: Likewise.
2588 * manual/signal.texi: Likewise.
2589 * manual/socket.texi: Likewise.
2590 * manual/startup.texi: Likewise.
2591 * manual/stdio.texi: Likewise.
2592 * manual/string.texi: Likewise.
2593 * manual/sysinfo.texi: Likewise.
2594 * manual/syslog.texi: Likewise.
2595 * manual/terminal.texi: Likewise.
2596 * manual/threads.texi: Likewise.
2597 * manual/time.texi: Likewise.
2598 * manual/users.texi: Likewise.
2599
2600 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2601
2602 * manual/macros.texi (@standards): New macro. Provide placeholder
2603 for header and standards annotations.
2604 (@standardsx): New macro. Likewise, for lists of @*x elements.
2605
2606 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2607
2608 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2609 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2610 rule.
2611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2612 sync_file_range.
2613
2614 * support/support_test_main.c (support_test_main): Use optstring
2615 member for option string in getopt_long.
2616 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2617 (CMDLINE_OPTSTRING): New define.
2618 * support/test-driver.h (test_config): Add optstring member.
2619
2620 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2621
2622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2623 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2624 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2625 Check USE_AS_STRPBRK instead of STRPBRK_P.
2626 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2627 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2628 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2629 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2630 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2631 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2632 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2633 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2634 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2635 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2636 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2637 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2638 and "#endif".
2639
2640 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2641
2642 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2643 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2644
2645 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2648 strcat-sse2.
2649 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2650 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2651 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2652 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2653 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2654
2655 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2656 Erich Elsen <eriche@google.com>
2657
2658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2659 memcmp-sse2.
2660 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2661 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2662 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2663 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2664 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2665 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2666
2667 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2668 Erich Elsen <eriche@google.com>
2669
2670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2671 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2673 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2674 Update comments.
2675 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2676 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2677 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2678 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2679 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2680 * sysdeps/x86_64/multiarch/memset.S: Removed.
2681 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2682 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2683 (__memset_chk_erms): New function.
2684
2685 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2686
2687 * configure.ac(--enable-tunables): Enable by default.
2688 * configure: Regenerate.
2689 * NEWS: Mention change.
2690 * manual/install.texi (enable-tunables): Adjust documentation.
2691 * INSTALL: Regenerate.
2692
2693 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2694
2695 [BZ #18988]
2696 * benchtests/thread_create-inputs: New file.
2697 * benchtests/thread_create-source.c: Likewise.
2698 * support/xpthread_attr_setguardsize.c: Likewise.
2699 * support/Makefile (libsupport-routines): Add
2700 xpthread_attr_setguardsize object.
2701 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2702 * benchtests/Makefile (bench-pthread): Add thread_create.
2703 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2704 then mprotect the required area.
2705 (guard_position): New function.
2706 (setup_stack_prot): Likewise.
2707
2708 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2709 Erich Elsen <eriche@google.com>
2710 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2711
2712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2713 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2714 mempcpy_chk-nonshared and memmove_chk-nonshared.
2715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2716 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2717 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2718 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2719 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2720 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2721 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2722 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2723 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2724 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2725 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2726 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2727 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2728 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2729 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2730 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2731 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2732 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2733 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2734 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2735 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2736 (__mempcpy_chk_erms): New function.
2737 (__memmove_chk_erms): Likewise.
2738 (__memcpy_chk_erms): New alias.
2739
2740 2017-06-14 Florian Weimer <fweimer@redhat.com>
2741
2742 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2743 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2744
2745 2017-06-14 Zack Weinberg <zackw@panix.com>
2746
2747 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2748 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2749 defined, don't declare anything other than the E-constants.
2750
2751 * include/errno.h: Change conditional for exposing internal
2752 declarations to (not _ISOMAC and not __ASSEMBLER__).
2753 * bits/errno.h: Remove logic for __need_Emath. Document
2754 requirements for a port-specific bits/errno.h.
2755
2756 * sysdeps/unix/sysv/linux/bits/errno.h
2757 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2758 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2759 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2760 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2761 Add multiple-include guard and check against improper inclusion.
2762 Remove __need_Emath logic. Don't declare errno here. Ensure all
2763 constants are defined as simple integer literals. Consistent
2764 formatting.
2765 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2766 enum __error_t_codes if __ASSEMBLER__ is not defined.
2767 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2768
2769 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2770 including errno.h.
2771 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2772 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2773 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2774 * sysdeps/x86_64/fpu/s_cosf.S
2775 * sysdeps/x86_64/fpu/s_sincosf.S
2776 * sysdeps/x86_64/fpu/s_sinf.S:
2777 Just include errno.h; don't define __need_Emath or include
2778 bits/errno.h directly.
2779
2780 2017-06-14 Zack Weinberg <zackw@panix.com>
2781
2782 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2783 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2784 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2785
2786 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2787 for IOV_MAX.
2788 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2789 Don't install bits/uio.h.
2790 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2791 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2792 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2793
2794 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2795 and __need_IOV_MAX. Don't define IOV_MAX at all.
2796 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2797
2798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2799 Include bits/types/struct_iovec.h, not bits/uio.h.
2800 Use __ssize_t, not ssize_t, in function prototypes.
2801 Don't use hard TAB for double space after period in comments.
2802
2803 2017-06-14 Alan Modra <amodra@gmail.com>
2804
2805 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2806 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2807 refsym and sym parameters. Adjust callers.
2808 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2809 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2810 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2811 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2812 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2813 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2814 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2815 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2816 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2817 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2818 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2819 Likewise.
2820 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2822 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2823 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2825 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2826 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2827 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2828 (_dl_reloc_overflow): Increase buffser size. Formatting.
2829 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2830 Delete reloc param, add refsym and sym. Check optimized plt
2831 call stubs for localentry:0 functions. Adjust callers.
2832 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2833 and sym parameters. Adjust callers.
2834 (_dl_reloc_overflow): Move attribute.
2835 (_dl_error_localentry): Declare.
2836 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2837 refsym and sym to elf_machine_fixup_plt.
2838 * elf/testobj6.c (preload): Call printf.
2839
2840 2017-06-14 Alan Modra <amodra@gmail.com>
2841
2842 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2843 (NOPS, ENTRY_3): New macros.
2844 (ENTRY): Rewrite.
2845 (ENTRY_TOCLESS): Define.
2846 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2847 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2848 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2849 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2850 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2851 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2852 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2853 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2855 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2856 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2857 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2858 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2859 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2860 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2861 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2862 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2863 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2864 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2865 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2866 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2867 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2868 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2869 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2870 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2871 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2872 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2874 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2875 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2876 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2877 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2878 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2879 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2880 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2881 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2882 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2883 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2884 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2886 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2887 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2888 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2889 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2894 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2895 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2896 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2897 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2898 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2900 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2901 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2903 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2906 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2907 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2909 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2910 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2913 Likewise.
2914 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2915 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2917 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2921 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2922 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2923 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2925 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2926 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2927 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2928 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2929 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2930 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2931 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2932 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2933 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2934 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2935 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2936 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2937 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2938 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2939 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2940 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2941 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2943 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2944 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2945 add nop when SHARED.
2946 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2947 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2948 define.
2949 (ENTRY_TOCLESS): Define.
2950 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2951 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2952 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2953
2954 2017-06-14 Alan Modra <amodra@gmail.com>
2955
2956 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2957 MEMSET_is_local.
2958 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2959 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2960 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2961 Define MEMSET.
2962 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2963 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2964 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2965 nop after local calls.
2966 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2967 Don't add nop after local call.
2968 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2969 CALL_MCOUNT.
2970
2971 2017-06-14 Alan Modra <amodra@gmail.com>
2972
2973 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2974 (FUNC_LABEL): Rename from DOT_LABEL.
2975 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2976 Use .p2align rather than .align.
2977 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2978 (ABORT_TRANSACTION): Likewise.
2979 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2980 particularly at end. Add semicolon at invocation as necessary.
2981 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2982 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2984 END): Adjust to suit.
2985
2986 2017-06-14 Alan Modra <amodra@gmail.com>
2987
2988 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2989 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2990 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2991 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2992 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2994 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2995
2996 2017-06-14 Alan Modra <amodra@gmail.com>
2997
2998 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2999 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
3000
3001 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
3002
3003 [BZ #21548]
3004 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
3005 8 and use it when copying general purpose registers.
3006 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
3007 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
3008 mips o32.
3009 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
3010 new test for mips o32.
3011 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
3012 8 and use it when copying general purpose registers.
3013 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
3014
3015 2017-06-13 Florian Weimer <fweimer@redhat.com>
3016
3017 * configure.ac (find_cxx_header): Suppress compiler error message.
3018
3019 2017-06-13 Florian Weimer <fweimer@redhat.com>
3020
3021 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
3022 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
3023 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
3024 begin/end.
3025 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
3026 dynarray_int_end.
3027 (test_str): Test dynarray_str_begin, dynarray_str_end.
3028
3029 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 [BZ #21573]
3032 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
3033 $(common-objpfx)bits/std_abs.h.
3034 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
3035 New target.
3036 * config.make.in (c++-bits-std_abs-h): New.
3037 * configure.ac (find_cxx_header): Use "\,$1," with sed.
3038 (CXX_BITS_STD_ABS_H): New.
3039 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
3040 * configure: Regenerated.
3041
3042 2017-06-13 Zack Weinberg <zackw@panix.com>
3043
3044 * posix/bits/cpu-set.h: Correct indentation of preprocessor
3045 directives.
3046
3047 2017-06-12 Zack Weinberg <zackw@panix.com>
3048
3049 * bits/sched.h: Remove __need_schedparam logic and replace with a
3050 normal multiple-include guard. Change field name in struct
3051 sched_param from __sched_priority to sched_priority. Delete
3052 everything under #ifndef __cpu_set_t_defined.
3053 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
3054 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
3055
3056 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
3057 For compatibility, #define sched_priority to itself, and #define
3058 __sched_priority as sched_priority.
3059 * posix/bits/cpu-set.h: New file containing, verbatim, the code
3060 that was under #ifndef __cpu_set_t_defined in
3061 sysdeps/unix/sysv/linux/bits/sched.h.
3062 * include/bits/cpu-set.h: New wrapper.
3063 * posix/Makefile: Install bits/cpu-set.h.
3064
3065 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3066 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3067 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3068
3069 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
3070 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
3071 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
3072 * math/libm-test-isfinite.inc (finite_test): Likewise.
3073 * math/libm-test-lgamma.inc (gamma_test): Likewise.
3074 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
3075 (nexttoward_test_data}: Likewise.
3076 * math/libm-test-remainder.inc (drem_test): Likewise.
3077 * math/libm-test-scalb.inc (scalb_test): Likewise.
3078 (scalb_test_data): Likewise.
3079 * math/libm-test-significand.inc (significand_test): Likewise.
3080 (significand_test_data): Likewise.
3081 * math/libm-test-support.c (check_complex): Replace __complex__
3082 FLOAT with CFLOAT to get the support for old compiler.
3083 * math/libm-test-support.h (check_complex): Likewise.
3084 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
3085 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
3086 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
3087 * math/test-float128.h: New file.
3088 * math/test-math-floatn.h: New file.
3089
3090 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3091
3092 * include/float.h: Allow the definition of macros prefixed with
3093 FLT128 even if _ISOMAC is defined, but provided that
3094 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
3095
3096 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3097
3098 * manual/math.texi (Mathematics): Add description for _FloatN and
3099 _FloatNx types and mentions that they are not support in glibc for
3100 any architecture, so far.
3101 * manual/arith.texi (wcstof, wcstold): Replace the mention to
3102 stdlib.h with wchar.h.
3103 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
3104 (Printing of Floats): Add description for strfromfN.
3105
3106 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3107 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3108 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3109
3110 * include/gmp.h (__mpn_construct_float128): New declaration.
3111 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
3112 (__strtof128_l): New declaration.
3113 (__strtof128_nan): Likewise.
3114 (__wcstof128_nan): Likewise.
3115 (__strtof128_internal): Likewise.
3116 (____strtof128_l_internal): Likewise.
3117 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
3118 (__wcstof128_l): New declaration.
3119 (__wcstof128_internal): Likewise.
3120
3121 * stdlib/Makefile (bug-strtod2): Link libm too.
3122
3123 * stdlib/stdlib.h (strtof128): New declaration.
3124 (strtof128_l): Likewise.
3125
3126 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
3127 tst-strtod.h macros to ensure float128 gets tested too.
3128
3129 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
3130
3131 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
3132 tests.
3133 (IF_FLOAT128): New macro.
3134 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
3135 the tests.
3136 (STRTOD_TEST_FOREACH): Likewise.
3137
3138 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3139 wcstof128 functions into libc.
3140
3141 * sysdeps/ieee754/float128/Versions: Add exports for the above
3142 new functions.
3143
3144 * sysdeps/ieee754/float128/mpn2float128.c: New file.
3145 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3146 * sysdeps/ieee754/float128/strtof128.c: New file.
3147 * sysdeps/ieee754/float128/strtof128_l.c: New file.
3148 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3149 * sysdeps/ieee754/float128/wcstof128.c: New file.
3150 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3151 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3152 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3153 (CFLAGS-wcstof128_l): Likewise.
3154
3155 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3156 (wcstof128): New declaration.
3157 (wcstof128_l): Likewise.
3158
3159 2017-06-12 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #21552]
3162 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3163 not [__USE_XOPEN].
3164 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3165
3166 [BZ #21550]
3167 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3168
3169 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
3170
3171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3172 strcpy-sse2 and stpcpy-sse2.
3173 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3174 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3175 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3176 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3177 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3178 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3179 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3180 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3181 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3182 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3183 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3184 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3185 (libc_hidden_def): Always defined as empty.
3186 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3187 Always Defined as empty.
3188
3189 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3190
3191 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3192
3193 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3194
3195 [BZ #15105]
3196 [BZ #19463]
3197 * include/string.h: Add internal redirect for __stpcpy.
3198 * string/Makefile: Remove bits/string2.h.
3199 * string/string.h: Update comment.
3200 * string/string-inlines.c: Remove bits/string2.h include and comment.
3201 * string/bits/string2.h: Remove file.
3202
3203 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3204
3205 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3206 * sunrpc/clnt_gen.c (clnt_create): Likewise.
3207 * sunrpc/des_impl.c (_des_crypt): Likewise.
3208 * sunrpc/key_call.c (key_gendes): Likewise.
3209 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3210 * sunrpc/svc_simple.c (universal): Likewise.
3211 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3212 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3213 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3214
3215 2017-06-10 Zack Weinberg <zackw@panix.com>
3216
3217 * stdlib/errno.h: Correct an outdated comment.
3218
3219 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
3220
3221 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3222 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3223 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3224 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3225 New file. Invoke newly supported sysconf values for powerpc,
3226 and report results. If none are supported, report so.
3227 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
3228 tst-sysconf.
3229
3230 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3231
3232 * include/sys/auxv.h (__getauxval): Add a prototype and its
3233 libc_hidden_proto.
3234 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3235
3236 2017-06-09 Joseph Myers <joseph@codesourcery.com>
3237
3238 [BZ #21561]
3239 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3240 [__USE_XOPEN_EXTENDED].
3241 (id_t): Likewise.
3242 (include of <bits/types/siginfo_t.h): Likewise.
3243 (waitid): Likewise.
3244 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3245 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3246 (WEXITED): Likewise.
3247 (WCONTINUED): Likewise.
3248 (WNOWAIT): Likewise.
3249 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3250 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3251 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3252
3253 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3254 libc.so PLT entry optional.
3255 (__gtsf2): Likewise.
3256 (__unorddf2): Likewise.
3257 (__unordsf2): Likewise.
3258 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3259 New optional libc.so PLT entry.
3260
3261 [BZ #21554]
3262 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3263 not [__USE_XOPEN].
3264
3265 [BZ #21560]
3266 * posix/sys/wait.h: Condition include of <signal.h> on
3267 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
3268 unconditionally.
3269 [!__pid_t_defined] (pid_t): Define typedef.
3270
3271 2017-06-09 Zack Weinberg <zackw@panix.com>
3272
3273 * include/errno.h (__errno_location): Use __attribute_const__
3274 instead of bare __attribute__.
3275
3276 2017-06-09 Zack Weinberg <zackw@panix.com>
3277
3278 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3279 (common-generated): Add libc-modules.h and libc-modules.stmp in a
3280 more appropriate location. Also add dl-tunable-list.h and
3281 dl-tunable-list.stmp.
3282
3283 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3284
3285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3286
3287 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3288
3289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3290 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3292 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3293 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3294 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3295 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3296 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3297 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3298 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3299 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3300
3301 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3302
3303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3304 memrchr-sse2 and memrchr-avx2.
3305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3306 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3307 __memrchr_sse2.
3308 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3309 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3310 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3311
3312 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3313
3314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3315 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3316 wcschr-sse2 and wcschr-avx2.
3317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3318 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3319 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3320 __wcschr_sse2.
3321 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3322 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3323 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3324 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3325 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3326 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3327 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3328 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3329 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3330 * sysdeps/x86_64/multiarch/strchr.S: Removed.
3331
3332 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3333
3334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3335 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3336 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3338 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3339 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3340 __wcslen_sse2 and __wcsnlen_avx2.
3341 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3342 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3343 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3344 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3345 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3346 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3347 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3348 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3349 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3350 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3351 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3352 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3353 vzeroupper is preferred and AVX unaligned load is fast.
3354
3355 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3358 USE_AS_WMEMCHR is defined.
3359 (PCMPEQ): Likewise.
3360 (memchr): Renamed to ...
3361 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3362 Replace pcmpeqb with PCMPEQ.
3363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3364 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3365 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3366 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3367 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3368 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3369 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3370 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3371 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3372 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3373 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3374 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3375 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3377 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3378 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3379 __wmemchr_sse2.
3380
3381 2017-06-09 Florian Weimer <fweimer@redhat.com>
3382
3383 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3384 tst-dynarray-fail.
3385
3386 2017-06-09 Florian Weimer <fweimer@redhat.com>
3387
3388 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3389 * support/support_test_verify_impl.c
3390 (support_test_verify_exit_impl): Split from
3391 support_test_verify_impl.
3392 * support/check.h (TEST_VERIFY): Drop status argument from
3393 support_test_verify_impl call.
3394 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3395 (support_test_verify_impl): Remove status argument.
3396 (support_test_verify_exit_impl): Declare.
3397
3398 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3399
3400 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3401 mention of magic numbers in comments.
3402 (_dl_procinfo): Fix undefined behavior
3403
3404 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3405
3406 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3407 [XPG4].
3408 (WEXITED): Likewise.
3409 (WSTOPPED): Likewise.
3410 (WCONTINUED): Likewise.
3411 (WNOHANG): Likewise.
3412 (WNOWAIT): Likewise.
3413 (idtype_t): Likewise.
3414 (P_ALL): Likewise.
3415 (P_PID): Likewise.
3416 (P_PGID): Likewise.
3417 (id_t): Likewise.
3418 (siginfo_t): Likewise.
3419 (wait3): Likewise.
3420 (waitid): Likewise.
3421 (signal.h): Do not allow header for [XPG4].
3422 (sys/resource.h): Likewise.
3423 (si_*): Do not allow for [XPG4].
3424 (W*): Likewise.
3425 (P_*): Likewise.
3426 (BUS_): Likewise.
3427 (CLD_): Likewise.
3428 (FPE_): Likewise.
3429 (ILL_): Likewise.
3430 (POLL_): Likewise.
3431 (SEGV_): Likewise.
3432 (SI_): Likewise.
3433 (TRAP_): Likewise.
3434 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3435 variable.
3436
3437 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 [BZ #21528]
3440 * elf/dl-minimal.c (__strtoul_internal): Removed.
3441 (strtoul): Likewise.
3442 * elf/dl-misc.c (_dl_strtoul): New function.
3443 * elf/dl-tunables.c (tunables_strtoul): Removed.
3444 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3445 * elf/rtld.c (process_envvars): Likewise.
3446 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3447 Likewise.
3448 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3449
3450 2017-06-08 Zack Weinberg <zackw@panix.com>
3451
3452 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3453 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3454 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3455 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3456 between wctype.h and wchar.h.
3457
3458 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3459 Install them.
3460
3461 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3462 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3463 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3464 New wrappers.
3465 * include/stdio.h, include/wchar.h, include/wctype.h:
3466 No need to handle __need macros.
3467
3468 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3469 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3470 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3471 * wcsmbs/wchar.h, wctype/wctype.h
3472 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3473 Use the new files instead of __need macros.
3474
3475 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3476
3477 * string/test-memrchr.c (test_main): Add tests for len == 0
3478 and tests for positions close to the beginning, which are
3479 equivalent to positions close to the end for memchr.
3480
3481 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3484 comments.
3485 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3486 instead of wmemset.h.
3487 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3488 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3489 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3490
3491 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3492
3493 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3494 spec->info.is_binary128 to zero.
3495 * stdio-common/printf.h (printf_info): Add new member is_binary128
3496 to indicate that the number being converted to string is compatible
3497 with the IEC 60559 binary128 format.
3498 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3499 _Float128 numbers.
3500 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3501 ldbl-128/printf_fphex_macros.h
3502 (__printf_fphex): Add code to deal with _Float128 numbers.
3503 * stdio-common/printf_size.c (__printf_size): Likewise.
3504 * stdio-common/vfprintf.c (process_arg): Initialize member
3505 info.is_binary128 to zero.
3506 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3507 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3508 (strfromf128): New declaration.
3509 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3510 to one.
3511 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3512 * sysdeps/ieee754/float128/Versions: Likewise.
3513 * sysdeps/ieee754/float128/strfromf128.c: New file.
3514
3515 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3516
3517 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3518 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3519 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3520 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3521 (PRINT_FPHEX): New function-like macro that can be used for long
3522 double, as well as for _Float128
3523
3524 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3525
3526 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3527 (__printf_fp_l): Use the new macro to avoid duplicating code.
3528 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3529 (__printf_fphex): Use the new macro to avoid duplicating code.
3530 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3531 (__printf_size): Use the new macro to avoid duplicating code.
3532
3533 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3534
3535 * include/gmp.h: Include bits/floatn.h
3536 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3537 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3538 including stack-alloc.h. It could have been defined by other header
3539 which not necessarily defines HAVE_ALLOCA.
3540 * sysdeps/ieee754/float128/Makefile: New file.
3541 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3542 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3543 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3544 redefine __mpn_extract_long_double to __mpn_extract_float128.
3545 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3546 _Float128 to allow float128_private.h overrides.
3547
3548 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3549
3550 * stdlib/fpioconst.h: Include bits/floatn.h.
3551 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3552 power of ten table should be.
3553 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3554 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3555 to include larger tables when _Float128 support is enabled.
3556 (_fpioconst_pow10): Likewise.
3557
3558 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3559
3560 * include/bits/types/clock_t.h: Use #include <path> instead of
3561 #include "../../path".
3562 * include/bits/types/clockid_t.h: Likewise.
3563 * include/bits/types/struct_iovec.h: Likewise.
3564 * include/bits/types/struct_itimerspec.h: Likewise.
3565 * include/bits/types/struct_osockaddr.h: Likewise.
3566 * include/bits/types/struct_sigstack.h: Likewise.
3567 * include/bits/types/struct_timespec.h: Likewise.
3568 * include/bits/types/struct_timeval.h: Likewise.
3569 * include/bits/types/struct_tm.h: Likewise.
3570 * include/bits/types/time_t.h: Likewise.
3571 * include/bits/types/timer_t.h: Likewise.
3572
3573 [BZ #14096]
3574 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3575 America/New_York.
3576
3577 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3578
3579 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3580 into ...
3581 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3582 ifunc-sse4_1.h.
3583
3584 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3585
3586 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3587 Remove check for NULL 'buf'.
3588 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3589
3590 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3591
3592 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3593 include test-skeleton.c.
3594 Include support/check.h and support/test-driver.c.
3595
3596 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3597
3598 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3599 (_dl_aarch64_cap_flags): New array.
3600 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3601 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3602 functions.
3603
3604 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3605 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3606 Likewise.
3607 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3608 up hwcap and hwcap_mask.
3609
3610 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3611 (init_cpu_features): Use glibc.tune.hwcap_mask.
3612 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3613
3614 * elf/dl-hwcaps.h: New file.
3615 * elf/dl-hwcaps.c: Include it.
3616 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3617 glibc.tune.hwcap_mask.
3618 * elf/dl-cache.c: Include dl-hwcaps.h.
3619 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3620 glibc.tune.hwcap_mask.
3621 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3622 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3623 _dl_hwcap_mask.
3624 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3625 _dl_hwcap_mask.
3626 (process_envvars)[HAVE_TUNABLES]: Likewise.
3627 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3628 Likewise.
3629 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3630 initialize dl_hwcap_mask when tunables are enabled.
3631
3632 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3633 guard.
3634 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3635
3636 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3637 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3638 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3639
3640 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3641 * elf/dl-tunables.c: Likewise.
3642 (do_tunable_update_val): New function.
3643 (__tunable_set_val): New function.
3644 (__tunable_get_val): Call CB only if the tunable was externally
3645 initialized.
3646 (tunables_strtoul): Replace strval with initialized.
3647 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3648 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3649 prevent collision.
3650 (__tunable_set_val): New function.
3651 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3652 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3653 (TUNABLE_SET_VAL): Remove.
3654 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3655 * README.tunables: Document the new macros.
3656 * malloc/arena.c (ptmalloc_init): Adjust.
3657
3658 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3661 wcsnlen-sse4_1 and wcsnlen-c.
3662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3663 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3664 __wcsnlen_sse2.
3665 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3666 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3667 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3668 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3669 * sysdeps/x86_64/wcsnlen.S: Removed.
3670
3671 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3672
3673 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3674 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3675 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3676 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3677
3678 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3679
3680 * NEWS: Mention new spinlock implementation.
3681 * include/atomic.h:
3682 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3683 (atomic_exchange_acq): Likewise.
3684 (atomic_load_relaxed): Likewise.
3685 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3686 * nptl/pthread_spin_init.c (pthread_spin_init):
3687 Use atomic_store_relaxed.
3688 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3689 Use C11-like atomic macros.
3690 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3691 Likewise.
3692 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3693 Use atomic_store_release.
3694 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3695 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3696 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3697 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3698 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3699 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3700 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3701 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3702 * sysdeps/alpha/atomic-machine.h: Likewise.
3703 * sysdeps/arm/atomic-machine.h: Likewise.
3704 * sysdeps/i386/atomic-machine.h: Likewise.
3705 * sysdeps/ia64/atomic-machine.h: Likewise.
3706 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3707 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3708 * sysdeps/microblaze/atomic-machine.h: Likewise.
3709 * sysdeps/mips/atomic-machine.h: Likewise.
3710 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3711 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3712 * sysdeps/s390/atomic-machine.h: Likewise.
3713 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3714 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3715 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3716 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3717 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3718 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3719 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3720 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3721 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3722 * sysdeps/x86_64/atomic-machine.h: Likewise.
3723
3724 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3725
3726 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3727 and use it instead of dl_x86_cpu_features.
3728 (handle_intel): Replace maxidx with cpu_features. Pass
3729 cpu_features to intel_check_word.
3730 (__cache_sysconf): Pass cpu_features to handle_intel.
3731 (init_cacheinfo): Likewise. Use cpu_features instead of
3732 dl_x86_cpu_features.
3733
3734 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3735
3736 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3738 memcmp-avx2 and wmemcmp-avx2.
3739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3740 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3741 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3742 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3743 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3744 2 machines if AVX unaligned load is fast and vzeroupper is
3745 preferred.
3746 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3747 2 machines if AVX unaligned load is fast and vzeroupper is
3748 preferred.
3749
3750 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 * include/wchar.h (__wmemset_chk): New.
3753 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3754 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3755 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3756 (WMEMSET_CHK_SYMBOL): Likewise.
3757 (WMEMSET_SYMBOL): Likewise.
3758 (__wmemset): Add hidden definition.
3759 (wmemset): Add weak hidden definition.
3760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3761 wmemset_chk-nonshared.
3762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3763 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3764 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3765 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3766 and __wmemset_chk_avx512_unaligned.
3767 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3768 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3769 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3770 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3771 (WMEMSET_SYMBOL): Likewise.
3772 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3773 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3774 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3775 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3776 (WMEMSET_SYMBOL): Likewise.
3777 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3778 (WMEMSET_CHK_SYMBOL): New.
3779 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3780 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3781 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3782 (libc_hidden_builtin_def): Also define __GI_wmemset and
3783 __GI___wmemset.
3784 (weak_alias): New.
3785 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3786 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3787 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3788 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3789 * sysdeps/x86_64/wmemset.c: Likewise.
3790 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3791
3792 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3793 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 * sysdeps/x86/init-arch.h (PASTER1): New.
3796 (EVALUATOR1): Likewise.
3797 (PASTER2): Likewise.
3798 (EVALUATOR2): Likewise.
3799 (REDIRECT_NAME): Likewise.
3800 (OPTIMIZE): Likewise.
3801 (IFUNC_SELECTOR): Likewise.
3802
3803 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3804
3805 * sysdeps/x86_64/strlen.S (PMINU): New.
3806 (PCMPEQ): Likewise.
3807 (SHIFT_RETURN): Likewise.
3808 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3809 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3810 pminub with PCMPEQ and PMINU.
3811 * sysdeps/x86_64/wcsnlen.S: New file.
3812
3813 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3814
3815 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3816 the lower 32 bits. Remove redundant instructions.
3817
3818 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3821 0 as the high part of offset.
3822 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3823
3824 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3825
3826 [BZ #21538]
3827 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3828 [__USE_UNIX98].
3829 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3830 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3831 Likewise.
3832 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3833 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3834 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3835 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3836 Likewise.
3837
3838 [BZ #21517]
3839 * bits/types/stack_t.h (stack_t): Remove struct tag.
3840 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3841 Likewise.
3842 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3843 Likewise.
3844 * debug/segfault.c (install_handler): Use stack_t instead of
3845 struct sigaltstack.
3846 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3847 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3848 * include/signal.h (__sigaltstack): Likwise.
3849 * signal/sigaltstack.c (__sigaltstack): Likewise.
3850 * signal/signal.h (sigaltstack): Likewise.
3851 * sysdeps/mach/hurd/i386/signal-defines.sym
3852 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3853 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3854 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3855 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3856 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3857 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3858 elf_prstatus): Likewise.
3859 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3860 Likewise.
3861 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3862 Likewise.
3863 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3864 Likewise.
3865 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3866 elf_prstatus): Likewise.
3867 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3868 Likewise.
3869 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3870 Likewise.
3871
3872 2017-06-04 Zack Weinberg <zackw@panix.com>
3873
3874 * sysdeps/gnu/errlist.c: Regenerate.
3875
3876 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3877
3878 * benchtests/bench-memchr.c (do_test): Print out both length
3879 and position.
3880 (test_main): Also test the position close to the beginning for
3881 memrchr.
3882
3883 2017-06-04 Zack Weinberg <zackw@panix.com>
3884
3885 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3886 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3887 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3888 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3889 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3890 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3891 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3892 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3893 * nis/nis_print_group_entry.c, nis/nis_remove.c
3894 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3895 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3896 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3897 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3898 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3899 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3900 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3901 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3902 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3903 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3904 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3905 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3906 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3907 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3908 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3909 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3910 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3911 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3912 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3913 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3914
3915 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3916 abi-versions.h as well as shlib-compat.h.
3917 * sunrpc/get_myaddr.c: Remove obsolete comment.
3918 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3919 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3920 * resolv/res_libc.c: Include shlib-compat.h only once.
3921
3922 2017-06-03 Florian Weimer <fweimer@redhat.com>
3923
3924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3925 of strdup.
3926
3927 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3928
3929 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3930 Set to the 3/4 of the total shared cache size.
3931
3932 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3933
3934 * manual/errno.texi: Remove redundant error strings.
3935 * manual/macros.texi (@errno): Render the error string in every
3936 description.
3937
3938 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3939
3940 [BZ #21543]
3941 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3942 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3943 [__USE_XOPEN_EXTENDED].
3944
3945 2017-06-02 Florian Weimer <fweimer@redhat.com>
3946
3947 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3948 strdupa.
3949 (getcanonname): Use __strdup instead of strdup.
3950
3951 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3952
3953 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3954 (CFLAGS-preadv64v2.c): Likewise.
3955 (CFLAGS-pwritev2.c): Likewise.
3956 (CFLAGS-pwritev64v2.c): Likewise.
3957
3958 2017-06-02 Florian Weimer <fweimer@redhat.com>
3959
3960 Test res_init with several configuration files.
3961 * resolv/Makefile [build-shared] (tests-internal): Add
3962 tst-resolv-res_init, tst-resolv-res_init-thread.
3963 (tst-resolv-res_init): Link against libdl, libresolv.
3964 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3965 libpthread.
3966 * resolv/tst-resolv-res_init.c: New file.
3967 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3968 * resolv/tst-resolv-res_init-thread.c: Likewise.
3969 * support/Makefile (libsupport-routines): Add support-xstat,
3970 support_can_chroot, support_capture_subprocess_check,
3971 support_isolate_in_subprocess, support_shared_allocate,
3972 support_write_file_string, xchroot, xmkdir, xopen.
3973 * support/capture_subprocess.h (enum support_capture_allow): Define.
3974 (support_capture_subprocess_check): Declare.
3975 * support/namespace.h (support_can_chroot)
3976 (support_isolate_in_subprocess): Declare.
3977 * support/support-xstat.c: New file.
3978 * support/support.h (support_shared_allocate, support_shared_free)
3979 (support_write_file_string): Declare.
3980 * support/support_can_chroot.c: New file.
3981 * support/support_capture_subprocess_check.c: Likewise.
3982 * support/support_isolate_in_subprocess.c: Likewise.
3983 * support/support_shared_allocate.c: Likewise.
3984 * support/support_write_file_string.c: Likewise.
3985 * support/xchroot.c: Likwise.
3986 * support/xmkdir.c: Likwise.
3987 * support/xopen.c: Likwise.
3988 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3989
3990 2017-06-02 Florian Weimer <fweimer@redhat.com>
3991
3992 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3993 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3994
3995 2017-06-02 Florian Weimer <fweimer@redhat.com>
3996
3997 * malloc/Makefile (routines): Add dynarray_at_failure,
3998 dynarray_emplace_enlarge, dynarray_finalize.
3999 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
4000 tst-dynarray-at-fail.
4001 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
4002 (tests-special): Add tst-dynarray-mem.out,
4003 tst-dynarray-mem-fail.out.
4004 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
4005 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
4006 mtrace.
4007 * malloc/Versions (__libc_dynarray_at_failure)
4008 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
4009 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
4010 GLIBC_PRIVATE.
4011 * malloc/dynarray.h: New file.
4012 * malloc/dynarray-skeleton.c: Likewise.
4013 * malloc/dynarray_at_failure.c: Likewise.
4014 * malloc/dynarray_emplace_enlarge.c: Likewise.
4015 * malloc/dynarray_finalize.c: Likewise.
4016 * malloc/dynarray_resize.c: Likewise.
4017 * malloc/dynarray_resize_clear.c: Likewise.
4018 * malloc/tst-dynarray.c: Likewise.
4019 * malloc/tst-dynarray-fail.c: Likewise.
4020 * malloc/tst-dynarray-at-fail.c: Likewise.
4021 * malloc/tst-dynarray-shared.h: Likewise.
4022 * support/Makefile (libsupport-routines): Add
4023 support_capture_subprocess, xdup2, xpipe.
4024 (tests): Add tst-support_capture_subprocess.
4025 * support/capture_subprocess.h: New file.
4026 * support/support_capture_subprocess.c: Likewise.
4027 * support/tst-support_capture_subprocess.c: Likewise.
4028 * support/xdup2.c: Likewise.
4029 * support/xpipe.c: Likewise.
4030 * support/xunistd.h (xdup2, xpipe): Declare.
4031
4032 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4033
4034 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
4035 macros MAX and MIN.
4036
4037 2017-06-01 Joseph Myers <joseph@codesourcery.com>
4038
4039 * conform/data/signal.h-data (sa_sigaction): Do not expect for
4040 [XPG4].
4041 (SA_SIGINFO): Likewise.
4042 (SA_ONSTACK): Likewise.
4043 (SA_RESETHAND): Likewise.
4044 (SA_RESTART): Likewise.
4045 (SA_NOCLDWAIT): Likewise.
4046 (SA_NODEFER): Likewise.
4047 (SS_ONSTACK): Likewise.
4048 (SS_DISABLE): Likewise.
4049 (MINSIGSTKSZ): Likewise.
4050 (SIGSTKSZ): Likewise.
4051 (ucontext_t): Likewise.
4052 (stack_t): Likewise.
4053 (struct sigstack): Likewise.
4054 (SI_USER): Do not expect for [XPG4 || XPG42].
4055 (SI_QUEUE): Likewise.
4056 (SI_TIMER): Likewise.
4057 (SI_ASYNCIO): Likewise.
4058 (SI_MESGQ): Likewise.
4059 (bsd_signal): Do not expect for [XPG4].
4060 (killpg): Likewise.
4061 (sigaltstack): Likewise.
4062 (sighold): Likewise.
4063 (sigignore): Likewise.
4064 (siginterrupt): Likewise.
4065 (sigpause): Likewise.
4066 (sigrelse): Likewise.
4067 (sigset): Likewise.
4068 (sigwait): Do not expect for [XPG4 || XPG42].
4069
4070 2017-06-01 Zack Weinberg <zackw@panix.com>
4071
4072 [BZ #21514]
4073 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
4074 pointing to the generated file in <builddir>/misc/bits/syscall.h.
4075
4076 2017-06-01 Joseph Myers <joseph@codesourcery.com>
4077
4078 [BZ #21457]
4079 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
4080 NGREG to __NGREG if [__USE_MISC].
4081 (gregset_t): Define using __NGREG.
4082 (__ctx): New macro.
4083 (mcontext_t): Use __ctx in defining fields.
4084 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
4085 define NGREG to __NGREG if [__USE_MISC].
4086 (gregset_t): Define using __NGREG.
4087 (__ctx): New macro.
4088 (__ctxt): Likewise.
4089 (fpregset_t): Use __ctx and __ctxt in defining fields.
4090 (mcontext_t): Likewise.
4091 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
4092 define NGREG to __NGREG if [__USE_MISC].
4093 (gregset_t): Define using __NGREG.
4094 (__ctx): New macro.
4095 (mcontext_t): Use __ctx in defining fields.
4096 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
4097 define NGREG to __NGREG if [__USE_MISC].
4098 (gregset_t): Define using __NGREG.
4099 (__ctx): New macro.
4100 (fpregset_t): Use __ctx in defining fields.
4101 (mcontext_t): Likewise.
4102 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
4103 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4104 (gregset_t): Define using __NGREG.
4105 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4106 [__USE_MISC].
4107 (fpregset_t): Define using __NFPREG.
4108 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
4109 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4110 (gregset_t): Define using __NGREG.
4111 (__ctx): New macro.
4112 (fpregset_t): Use __ctx in defining fields.
4113 (mcontext_t): Likewise.
4114 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
4115 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4116 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4117 [__USE_MISC].
4118 (gregset_t): Define using __NGREG.
4119 (__ctx): New macro.
4120 (fpregset_t): Use __ctx in defining fields.
4121 (mcontext_t): Likewise.
4122 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
4123 (mcontext_t): Use __ctx in defining fields.
4124 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
4125 macro.
4126 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
4127 __NGREG if [__USE_MISC].
4128 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
4129 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
4130 (mcontext_t): Likewise.
4131 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
4132 __NGREG if [__USE_MISC].
4133 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
4134 to __NFPREG if [__USE_MISC].
4135 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
4136 to __NVRREG if [__USE_MISC].
4137 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
4138 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4139 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4140 [__WORDSIZE != 32] (vrregset_t): Likewise.
4141 [__WORDSIZE != 32] (mcontext_t): Likewise.
4142 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4143 (__psw_t): Use __ctx in defining fields.
4144 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4145 [__USE_MISC].
4146 (gregset_t): Define using __NGREG.
4147 (fpreg_t): Use __ctx in defining fields.
4148 (fpregset_t): Likewise.
4149 (mcontext_t): Likewise.
4150 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4151 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4152 (gregset_t): Define using __NGREG.
4153 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4154 [__USE_MISC].
4155 (fpregset_t): Define using __NFPREG.
4156 (__ctx): New macro.
4157 (mcontext_t): Use __ctx in defining fields.
4158 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4159 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4160 __NGREG if [__USE_MISC].
4161 [__x86_64__] (gregset_t): Define using __NGREG.
4162 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4163 [__x86_64__] (struct _libc_fpstate): Likewise.
4164 [__x86_64__] (mcontext_t): Likewise.
4165 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4166 __NGREG if [__USE_MISC].
4167 [!__x86_64__] (gregset_t): Define using __NGREG.
4168 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4169 [!__x86_64__] (struct _libc_fpstate): Likewise.
4170 [!__x86_64__] (mcontext_t): Likewise.
4171
4172 2017-06-01 Zack Weinberg <zackw@panix.com>
4173
4174 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4175 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
4176 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4177 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4178 libpthread.so no longer references __errno_location.
4179
4180 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4181
4182 * NEWS: Add note about pwritev2 and preadv2 inclusion.
4183 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4184 pwritev64v2.
4185 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4186 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4187 pwritev64v2.
4188 * misc/preadv2.c: New file.
4189 * misc/preadv64v2.c: Likewise.
4190 * misc/pwritev2.c: Likewise.
4191 * misc/pwritev64v2.c: Likewise.
4192 * misc/tst-preadvwritev2.c: Likewise.
4193 * misc/tst-preadvwritev64v2.c: Likewise.
4194 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4195 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4196 prototype.
4197 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4198 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4199 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4200 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4201 (PWRITEV): Likewise.
4202 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4203 ENOSYS.
4204 * nptl/tst-cancel4.c (tf_pwritev2): New test.
4205 (tf_preadv2): Likewise.
4206 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4207 * sysdeps/posix/preadv2.c: Likewise.
4208 * sysdeps/posix/preadv64v2.c: Likewise.
4209 * sysdeps/posix/pwritev2.c: Likewise.
4210 * sysdeps/posix/pwritev64v2.c: Likewise.
4211 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4212 support in kernel.
4213 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4214 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4215 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4216 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4217 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4218 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4219 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4220 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4221 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4222 support flags on Linux.
4223 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4224 preadv2, preadv64v2, pwritev2, pwritev64v2.
4225 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4226 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4227 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4228 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4229 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4230 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4231 Likewise.
4232 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4233 Likewise.
4234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4235 Likewise.
4236 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4237 Likewise.
4238 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4239 Likewise.
4240 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4241 Likewise.
4242 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4243 Likewise.
4244 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4246 (GLIBC_2.26): Likewise.
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4248 (GLIBC_2.26): Likewise.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4250 Likewise.
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4252 (GLIBC_2.26): Likewise.
4253 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4254 Likewise.
4255 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4256 Likewise.
4257 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4258 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4259 Likewise.
4260 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4261 Likewise.
4262 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4263 Likewise.
4264 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4265 Likewise.
4266 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4267 Likewise.
4268 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4269 Likewise.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4271 Likewise.
4272
4273 2017-05-31 Andreas Schwab <schwab@suse.de>
4274
4275 * nptl/tst-fork3.c: Include <support/test-driver.c>.
4276 (main): Rename to do_test and make static.
4277
4278 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4279
4280 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4281 ARCH_INIT_CPU_FEATURES.
4282 (LIBC_START_MAIN): Call it.
4283 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4284 (__libc_start_main): Remove.
4285 (ARCH_INIT_CPU_FEATURES): New macro.
4286 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4287 (ARCH_INIT_CPU_FEATURES): New macro.
4288
4289 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
4290 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4291
4292 * include/stdlib.h (__libc_reallocarray): New declaration.
4293 * malloc/Makefile (routines): Add reallocarray.
4294 (tests): Add tst-reallocarray.c.
4295 * malloc/Versions: Add reallocarray and __libc_reallocarray.
4296 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4297 function.
4298 * malloc/malloc.h (reallocarray): New declaration.
4299 * stdlib/stdlib.h (reallocarray): Likewise.
4300 * malloc/reallocarray.c: New file.
4301 * malloc/tst-reallocarray.c: New test file.
4302 * manual/memory.texi: Document reallocarray.
4303 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4304 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4305 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4306 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4307 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4308 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4309 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4310 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4311 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4312 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4313 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4314 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4315 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4316 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4318 Likewise.
4319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4320 Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4323 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4324 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4325 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4326 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4327 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4330 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4331 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4332 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4333
4334 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
4335
4336 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4337 the lower 32 bits.
4338
4339 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
4340
4341 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4342 $(build-pie-default) = yes]: Define.
4343
4344 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4345
4346 * string/test-memchr.c (test_main): Add tests for n == 0.
4347
4348 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4349
4350 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4351 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4352 (tests-internal): ... here.
4353
4354 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4355 H.J. Lu <hongjiu.lu@intel.com>
4356
4357 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4358 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4359 (__tunable_set_val): Likewise.
4360
4361 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4362
4363 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4364 dl-tunables.list in subdirectories.
4365
4366 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4367 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4368 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4369
4370 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4371 (SNANF128): New macro.
4372 * math/e_sqrtf128.c: New file.
4373 * math/s_fmaxmag_template.c: Include math_private.h in order to
4374 make inline expansion of fabs128().
4375 * math/s_fminmag_template.c: Likewise.
4376
4377 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4378 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4379 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4380 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4381 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4382 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4383 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4384 * sysdeps/ieee754/float128/e_expf128.c: New file.
4385 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4386 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4387 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4388 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4389 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4390 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4391 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4392 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4393 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4394 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4395 * sysdeps/ieee754/float128/e_logf128.c: New file.
4396 * sysdeps/ieee754/float128/e_powf128.c: New file.
4397 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4398 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4399 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4400 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4401 * sysdeps/ieee754/float128/float128_private.h: New file.
4402 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4403 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4404 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4405 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4406 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4407 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4408 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4409 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4410 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4411 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4412 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4413 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4414 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4415 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4416 * sysdeps/ieee754/float128/s_erff128.c: New file.
4417 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4418 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4419 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4420 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4421 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4422 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4423 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4424 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4425 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4426 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4427 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4428 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4429 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4430 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4431 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4432 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4433 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4434 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4435 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4436 * sysdeps/ieee754/float128/s_modff128.c: New file.
4437 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4438 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4439 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4440 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4441 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4442 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4443 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4444 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4445 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4446 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4447 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4448 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4449 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4450 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4451 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4452 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4453 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4454 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4455 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4456 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4457 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4458 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4459 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4460 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4461 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4462
4463 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4464 (__iscanonicalf128): Define as a macro.
4465
4466 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4467
4468 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4469 (memmove): Use MEMMOVE for name.
4470 (memcpy): Use MEMCPY for name. Change internal labels
4471 to external labels.
4472 * sysdeps/aarch64/multiarch/Makefile: New file.
4473 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4474 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4475 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4476 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4477 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4478 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4479
4480 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4481
4482 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4483 (_dl_arm_cap_flags): Fix array subscript.
4484 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4485 Fix count.
4486
4487 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4490
4491 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4492
4493 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4494 (is_amd): Likewise.
4495 (max_cpuid): Likewise.
4496 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4497 (init_cacheinfo): Likewise.
4498
4499 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4500
4501 [BZ #21511]
4502 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4503 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4504 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4505 !__USE_XOPEN2K) || __USE_MISC].
4506 * conform/data/signal.h-data (struct sigstack): Expect type only
4507 if [!XOPEN2K8 && !POSIX2008].
4508 (sigstack): Expect function only if [XPG42 || UNIX98].
4509
4510 [BZ #21457]
4511 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4512 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4513 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4514 <bits/types/__sigset_t.h>.
4515 (ucontext_t): Use sigset_t instead of __sigset_t.
4516 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4517 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4518 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4519 <bits/types/__sigset_t.h>.
4520 (ucontext_t): Use sigset_t instead of __sigset_t.
4521 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4522 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4523 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4524 <bits/types/__sigset_t.h>.
4525 (ucontext_t): Use sigset_t instead of __sigset_t.
4526 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4527 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4528 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4529 <bits/types/__sigset_t.h>.
4530 (ucontext_t): Use sigset_t instead of __sigset_t.
4531 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4532 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4533 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4534 <bits/types/__sigset_t.h>.
4535 (ucontext_t): Use sigset_t instead of __sigset_t.
4536 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4537 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4538 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4539 <bits/types/__sigset_t.h>.
4540 (ucontext_t): Use sigset_t instead of __sigset_t.
4541 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4542 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4543 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4544 <bits/types/__sigset_t.h>.
4545 (ucontext_t): Use sigset_t instead of __sigset_t.
4546 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4547 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4548 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4549 <bits/types/__sigset_t.h>.
4550 (ucontext_t): Use sigset_t instead of __sigset_t.
4551 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4552 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4553 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4554 <bits/types/__sigset_t.h>.
4555 (ucontext_t): Use sigset_t instead of __sigset_t.
4556 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4557 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4558 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4559 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4560 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4561 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4562 <bits/types/__sigset_t.h>.
4563 (ucontext_t): Use sigset_t instead of __sigset_t.
4564 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4565 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4566 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4567 <bits/types/__sigset_t.h>.
4568 (ucontext_t): Use sigset_t instead of __sigset_t.
4569 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4570 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4571 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4572 <bits/types/__sigset_t.h>.
4573 (ucontext_t): Use sigset_t instead of __sigset_t.
4574 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4575 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4576 <bits/ss_flags.h>.
4577 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4578 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4579 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4580 <bits/types/__sigset_t.h>.
4581 (ucontext_t): Use sigset_t instead of __sigset_t.
4582 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4583 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4584 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4585 <bits/types/__sigset_t.h>.
4586 (ucontext_t): Use sigset_t instead of __sigset_t.
4587 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4588 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4589 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4590 <bits/types/__sigset_t.h>.
4591 (ucontext_t): Use sigset_t instead of __sigset_t.
4592 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4593 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4594 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4595 <bits/types/__sigset_t.h>.
4596 (ucontext_t): Use sigset_t instead of __sigset_t.
4597 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4598 <bits/types.h>.
4599 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4600 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4601 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4602 <bits/types/__sigset_t.h>.
4603 (ucontext_t): Use sigset_t instead of __sigset_t.
4604
4605 2017-05-22 Zack Weinberg <zackw@panix.com>
4606
4607 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4608 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4609 bits/siginfo-arch.h, only if not already defined.
4610 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4611 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4612 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4613 Likewise.
4614
4615 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4616 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4618 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4619 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4620 Unconditionally define __SI_* macros.
4621
4622 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4623
4624 [BZ #21393]
4625 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4626 and add a check for dup3 failure.
4627 * libio/freopen64.c (freopen64): Likewise.
4628 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4629 libsupport.
4630 (do_test_bz21398): New test.
4631 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4632
4633 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4634
4635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4636 Remove invalid comment.
4637
4638 2017-05-21 Zack Weinberg <zackw@panix.com>
4639
4640 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4641
4642 2017-05-20 Zack Weinberg <zackw@panix.com>
4643
4644 * bits/sigevent-consts.h
4645 * bits/siginfo-consts.h
4646 * bits/types/__sigset_t.h
4647 * bits/types/sigevent_t.h
4648 * bits/types/siginfo_t.h
4649 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4650 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4651 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4652 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4653 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4654 New system-dependent bits headers.
4655
4656 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4657 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4658 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4659 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4660 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4662 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4663 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4664 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4665 New Linux-only system-dependent bits headers.
4666
4667 * signal/bits/types/sig_atomic_t.h
4668 * signal/bits/types/sigset_t.h
4669 * signal/bits/types/sigval_t.h:
4670 New non-system-dependent bits headers.
4671
4672 * sysdeps/generic/sigsetops.h
4673 * sysdeps/unix/sysv/linux/sigsetops.h:
4674 New internal headers.
4675
4676 * include/bits/types/sig_atomic_t.h
4677 * include/bits/types/sigset_t.h
4678 * include/bits/types/sigval_t.h:
4679 New wrappers.
4680
4681 * signal/sigsetops.h
4682 * bits/siginfo.h
4683 * bits/sigset.h
4684 * sysdeps/unix/sysv/linux/bits/siginfo.h
4685 * sysdeps/unix/sysv/linux/bits/sigset.h
4686 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4687 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4688 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4689 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4690 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4691 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4692 Deleted.
4693
4694 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4695 Update lists of installed headers.
4696
4697 * posix/bits/types.h: Define __sig_atomic_t here.
4698 * signal/signal.h: Use the new bits headers; no need to handle
4699 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4700 to define sigmask.
4701 * include/signal.h: No need to handle __need_sig_atomic_t
4702 nor __need_sigset_t. Don't define __sigemptyset.
4703
4704 * io/sys/poll.h, setjmp/setjmp.h
4705 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4706 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4707 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4708 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4709 * sysdeps/pthread/bits/sigthread.h
4710 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4711 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4712 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4713 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4714 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4716 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4717 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4718 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4719 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4720 Use bits/types/__sigset_t.h.
4721
4722 * misc/sys/select.h, posix/spawn.h
4723 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4724 * sysdeps/unix/sysv/linux/sys/epoll.h
4725 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4726 Use bits/types/sigset_t.h.
4727
4728 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4729 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4730 * socket/sys/socket.h: Don't include bits/sigset.h.
4731
4732 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4733 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4734 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4735 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4736 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4737 * sysdeps/unix/sysv/linux/nptl-signals.h:
4738 Include sigsetops.h.
4739
4740 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4741 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4742 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4743 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4744 now return no value.
4745
4746 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4747 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4748 "sigsetops.h".
4749
4750 * signal/sigsetops.c: Explicitly define __sigismember,
4751 __sigaddset, and __sigdelset as compatibility symbols.
4752
4753 * signal/Versions: Correct commentary on __sigpause,
4754 __sigaddset, __sigdelset, __sigismember.
4755
4756 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4757 __sigblock/__sigsetmask to use __sigprocmask and friends.
4758
4759 * resolv/resolv.h: Remove __need_res_state logic.
4760 Move definition of res_state and related constants to ...
4761 * resolv/bits/types/res_state.h: ...this new file.
4762 * resolv/Makefile: Install bits/types/res_state.h.
4763 * include/bits/types/res_state.h: New wrapper.
4764 * include/list.h: Remove __need_list_t logic.
4765 Move definition of list_t to ...
4766 * include/list_t.h: ...this new file.
4767
4768 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4769 instead of list.h and resolv.h.
4770
4771 * resolv/resolv.h: Remove __need_res_state logic.
4772 Move definition of res_state and related constants to ...
4773 * resolv/bits/types/res_state.h: ...this new file.
4774 * resolv/Makefile: Install bits/types/res_state.h.
4775 * include/bits/types/res_state.h: New wrapper.
4776 * include/list.h: Remove __need_list_t logic.
4777 Move definition of list_t to ...
4778 * include/list_t.h: ...this new file.
4779
4780 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4781 instead of list.h and resolv.h.
4782
4783 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4784
4785 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4786
4787 2017-05-20 Zack Weinberg <zackw@panix.com>
4788
4789 * sysdeps/arm/sysdep.h
4790 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4791
4792 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4793 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4794 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4795 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4796 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4797 * sysdeps/arm/armv6t2/strlen.S
4798 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4799 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4800 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4801 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4802 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4803 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4804
4805 2017-05-20 Zack Weinberg <zackw@panix.com>
4806
4807 Remove the NaCl port.
4808 * sysdeps/arm/nacl: Remove directory and contents.
4809 * sysdeps/nacl: Remove directory and contents.
4810 * abi-tags: Remove .*-.*-nacl.* entry.
4811
4812 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4813
4814 * manual/errno.texi: Convert @comment-based errno documentation to
4815 @errno.
4816 * manual/macros.texi (@errno): New macro. Consolidate errors,
4817 their values, and messages, adding the error string to the Concept
4818 Index. Provide a warning in the comment about external (to the
4819 manual) dependencies.
4820 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4821 * sysdeps/mach/hurd/errnos.awk: Likewise.
4822
4823 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4824
4825 * bits/ss_flags.h: New file.
4826 * bits/types/stack_t.h: Likewise.
4827 * include/bits/types/struct_sigstack.h: Likewise.
4828 * signal/bits/types/struct_sigstack.h: Likewise.
4829 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4830 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4831 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4832 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4833 bits/types/stack_t.h and bits/ss_flags.h.
4834 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4835 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4836 <bits/ss_flags.h>.
4837 * bits/sigstack.h (struct sigstack): Remove.
4838 (stack_t): Likewise.
4839 (SS_ONSTACK): Likewise.
4840 (SS_DISABLE): Likewise.
4841 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4842 (struct sigstack): Likewise.
4843 (stack_t): Likewise.
4844 (SS_ONSTACK): Likewise.
4845 (SS_DISABLE): Likewise.
4846 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4847 Likewise.
4848 (stack_t): Likewise.
4849 (SS_ONSTACK): Likewise.
4850 (SS_DISABLE): Likewise.
4851 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4852 Likewise.
4853 (stack_t): Likewise.
4854 (SS_ONSTACK): Likewise.
4855 (SS_DISABLE): Likewise.
4856 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4857 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4858 Likewise.
4859 (stack_t): Likewise.
4860 (SS_ONSTACK): Likewise.
4861 (SS_DISABLE): Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4863 (struct sigstack): Likewise.
4864 (stack_t): Likewise.
4865 (SS_ONSTACK): Likewise.
4866 (SS_DISABLE): Likewise.
4867 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4868 Likewise.
4869 (stack_t): Likewise.
4870 (SS_ONSTACK): Likewise.
4871 (SS_DISABLE): Likewise.
4872 * sysdeps/arm/sys/ucontext.h: Include
4873 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4874 <bits/ss_flags.h>.
4875 * sysdeps/generic/sys/ucontext.h: Likewise.
4876 * sysdeps/i386/sys/ucontext.h: Likewise.
4877 * sysdeps/m68k/sys/ucontext.h: Likewise.
4878 * sysdeps/mips/sys/ucontext.h: Likewise.
4879 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4880 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4881 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4882 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4883 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4884 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4885 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4886 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4887 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4888 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4890 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4892 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4893 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4894
4895 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4898 "edx + ecx - 16" to avoid possible addition overflow.
4899 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4900
4901 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4902
4903 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4904 (CFLAGS-splice.c): Likewise.
4905 (CFLAGS-open_by_handle_at.c): Likewise.
4906 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4907 (CFLAGS-splice.c): Likewise.
4908 (CFLAGS-open_by_handle_at.c): Likewise.
4909
4910 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4911
4912 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4913 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4914 <ldbl-compat-choose.h>.
4915 (maybe_long_double_symbol): New macro.
4916 [!declare_mgen_alias] (declare_mgen_alias): Use
4917 maybe_long_double_symbol.
4918 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4919 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4923 * Makerules [$(build-shared) = yes && !avoid-generated]
4924 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4925 [$(build-shared) = yes && !avoid-generated]
4926 ($(common-objpfx)ldbl-compat-choose.h): New target.
4927
4928 * scripts/versions.awk: Generate first-versions.h.
4929 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4930 <first-versions.h>.
4931 (LDOUBLE_cabsl_libm_version): Remove macro.
4932 (LDOUBLE_cargl_libm_version): Likewise.
4933 (LDOUBLE_cimagl_libm_version): Likewise.
4934 (LDOUBLE_conjl_libm_version): Likewise.
4935 (LDOUBLE_creall_libm_version): Likewise.
4936 (LDOUBLE_cacosl_libm_version): Likewise.
4937 (LDOUBLE_cacoshl_libm_version): Likewise.
4938 (LDOUBLE_ccosl_libm_version): Likewise.
4939 (LDOUBLE_ccoshl_libm_version): Likewise.
4940 (LDOUBLE_casinl_libm_version): Likewise.
4941 (LDOUBLE_csinl_libm_version): Likewise.
4942 (LDOUBLE_casinhl_libm_version): Likewise.
4943 (LDOUBLE_csinhl_libm_version): Likewise.
4944 (LDOUBLE_catanl_libm_version): Likewise.
4945 (LDOUBLE_catanhl_libm_version): Likewise.
4946 (LDOUBLE_ctanl_libm_version): Likewise.
4947 (LDOUBLE_ctanhl_libm_version): Likewise.
4948 (LDOUBLE_cexpl_libm_version): Likewise.
4949 (LDOUBLE_clogl_libm_version): Likewise.
4950 (LDOUBLE_cprojl_libm_version): Likewise.
4951 (LDOUBLE_csqrtl_libm_version): Likewise.
4952 (LDOUBLE_cpowl_libm_version): Likewise.
4953 (LDOUBLE_clog10l_libm_version): Likewise.
4954 (LDOUBLE___clog10l_libm_version): Likewise.
4955 (LDOUBLE_fdiml_libm_version): Likewise.
4956 (LDOUBLE_fmaxl_libm_version): Likewise.
4957 (LDOUBLE_fminl_libm_version): Likewise.
4958 (LDOUBLE_ilogbl_libm_version): Likewise.
4959 (LDOUBLE_nanl_libm_version): Likewise.
4960 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4961 FIRST_VERSION_libm_* macros.
4962 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4963 * Makerules [$(build-shared) = yes && !avoid-generated]
4964 (before-compile): Add $(common-objpfx)first-versions.h.
4965 [$(build-shared) = yes && !avoid-generated]
4966 ($(common-objpfx)first-versions.h): New target.
4967 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4968 building $(common-objpfx)versions.stmp.
4969
4970 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4971
4972 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4973 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4974 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4975 auto-generation list.
4976
4977 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4978 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4979 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4980 from auto-generation list.
4981
4982 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4983 open_by_handle_at.
4984 (CFLAGS-open_by_handle_at.c): New flag.
4985 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4986 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4987 file.
4988 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4989
4990 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4991 (CFLAGS-splice.c): New flag.
4992 * sysdeps/unix/sysv/linux/splice.c: New file.
4993 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4994 auto-generation syscall list.
4995 * misc/Makefile (CFLAGS-splice.c): New rule.
4996
4997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4998 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4999 auto-generation syscall list.
5000 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
5001 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
5002
5003 * misc/Makefile (CFLAGS-fsync.c): New flag.
5004 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
5005 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
5006 syscall list.
5007 * sysdeps/unix/sysv/linux/fsync.c: New file.
5008 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
5009 (__errno_location): Remove.
5010
5011 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
5012 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
5013 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
5014 list.
5015 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
5016
5017 * misc/Makefile (CFLAGS-msync.c): New rule.
5018 * nptl/Makefile (CFLAGS-msync.c): Likewise.
5019 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
5020 * sysdeps/unix/sysv/linux/msync.c: New file.
5021
5022 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
5023 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
5024 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
5025 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5026 (CFLAGS-sigsuspend.c): Remove rule.
5027
5028 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
5029 (CFLAGS-tee.c): New rule.
5030 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
5031 auto-generated list.
5032 * sysdeps/unix/sysv/linux/tee.c: New file.
5033
5034 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
5035 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
5036 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
5037 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
5038 auto-generated list.
5039
5040 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
5041 auto-generated list.
5042 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
5043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
5045 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5047
5048 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
5049 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
5050 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
5051 (__NR_pause): Undefine.
5052 * sysdeps/unix/sysv/linux/pause.c: New file.
5053 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
5054 auto-generation list.
5055 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
5056 Remove rule.
5057 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
5058
5059 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
5060
5061 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
5062 comments.
5063
5064 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
5065
5066 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
5067 LD_HWCAP_MASK.
5068
5069 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
5070
5071 * manual/conf.texi: Convert @tables of annotated @items to
5072 @vtables.
5073 * manual/lang.texi: Likewise.
5074 * manual/pattern.texi: Likewise.
5075 * manual/resource.texi: Likewise.
5076 * manual/socket.texi: Likewise.
5077
5078 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
5079
5080 * manual/crypt.texi: Move a comment out of an @*x list.
5081 * manual/filesys.texi: Refactor some comments, one of which looks
5082 like a standard. Fix incorrectly separated standards.
5083 * manual/locale.texi: Invert an annotation.
5084 * manual/resource.texi: Fix incorrectly separated standards.
5085 * manual/time.texi: Refactor a @vtable that obscures an
5086 annotation.
5087 * manual/users.texi: Refactor multiple headers to occupy a single
5088 @comment.
5089
5090 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5091
5092 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5093 (sysdep_routines): Add memcmp-power8.
5094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5095 (memcmp): Add __memcmp_power8 to list of memcmp functions.
5096 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
5097 (memcmp): Add __memcmp_power8 to ifunc list.
5098 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
5099 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
5100
5101 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5102 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5103
5104 * math/math.h (__MATH_TG): Extend the conditions to add
5105 _Float128 support.
5106 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
5107
5108 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
5109
5110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5111 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
5112 s_cosf-ppc64.
5113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
5114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5116 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5117
5118 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5119
5120 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
5121 (gen-libm-calls): Add e_exp2F to use the template.
5122 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
5123 * math/e_exp2_template.c: New file, renamed from
5124 math/e_exp2l.c, and made into a template.
5125 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
5126
5127 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
5128
5129 * elf/dl-tunable-types.h (tunable_type_code_t): New type
5130 TUNABLE_TYPE_UINT_64.
5131 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
5132 Simplify computation of overflow.
5133 (tunable_set_val_if_valid_range_signed,
5134 tunable_set_val_if_valid_range_unsigned): Remove and replace
5135 with this...
5136 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
5137 (tunable_initialize): Adjust. Add uint64_t support.
5138 (__tunable_set_val): Add uint64_t support.
5139 * README.tunables: Document it.
5140
5141 * scripts/gen-tunables.awk: Recognize 'default' keyword in
5142 dl-tunables.list.
5143 * README.tunables: Document it.
5144
5145 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5146
5147 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5148 * sysdeps/posix/preadv64.c: Likewise.
5149 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5150 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5151 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5152 * sysdeps/posix/pwritev64.c: Likewise.
5153 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5154 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5155 * sysdeps/posix/preadv_common.c: New file.
5156 * sysdeps/posix/pwritev_common.c: Likewise.
5157
5158 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5159
5160 * sysdeps/generic/math-type-macros-float128.h
5161 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5162 wrapper templates.
5163
5164 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5165 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5166
5167 * include/complex.h (__kernel_casinhf128): New declaration.
5168 * include/float.h: New file.
5169 * include/math.h (__finitef128): Add a hidden def.
5170 (__isinff128): Likewise.
5171 (__isnanf128): Likewise.
5172 (__fpclassify): Likewise.
5173 (__issignalling): Likewise.
5174 (__expf128): Likewise.
5175 (__expm1f128): Likewise.
5176
5177 * sysdeps/generic/fix-fp-int-convert-overflow.h:
5178 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5179 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5180
5181 * sysdeps/generic/math-type-macros-float128.h: New file.
5182
5183 * sysdeps/generic/math_private.h: Include bits/floatn.h and
5184 math_private_calls.h for _Float128.
5185 (__isinff128): New inline implementation used when GCC < 7.0,
5186 since in this case __builtin_isinf_sign is broken.
5187 (fabsf128): New inline implementation that calls the builtin.
5188 (__EXPR_FLT128): New macro.
5189 (min_of_type): Optionally include _Float128 types too.
5190
5191 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5192 Declare for _Float128.
5193 (__kernel_rem_pio2): Likewise.
5194
5195 * sysdeps/ieee754/ldbl-opt/s_sin.c:
5196 (__DECL_SIMD_sincos_disablef128): New macro.
5197
5198 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5199
5200 * math/math.h: Include bits/math-finite.h for float128.
5201 (__MATH_DECLARING_FLOATN): Define to control declaration of
5202 float128 functions.
5203 * math/bits/math-finite.h (pow10): Do not declare for float128.
5204 (gamma): Likewise.
5205 (scalb): Likewise.
5206
5207 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5208 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5209
5210 * bits/floatn.h: New file.
5211 * bits/huge_val_flt128.h: Likewise.
5212
5213 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5214 (__DECL_SIMD_sinf128): Likewise.
5215 (__DECL_SIMD_sincosf128): Likewise.
5216 (__DECL_SIMD_logf128): Likewise.
5217 (__DECL_SIMD_expf128): Likewise.
5218 (__DECL_SIMD_powf128): Likewise.
5219
5220 * math/Makefile (headers): Install bits/floatn.h and
5221 bits/huge_val_flt128.h.
5222
5223 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5224 defined.
5225
5226 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5227 (isnan, gamma, nexttoward, scalb): Only define if not
5228 __MATH_DECLARING_FLOATN.
5229 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5230 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5231 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5232 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5233
5234 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5235 Include bits/cmathcalls.h to get the declarations of _Float128
5236 versions of complex functions.
5237 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5238 Define macro.
5239
5240 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5241 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5242 get the declarations of _Float128 versions of math functions.
5243 (__MATH_DECLARING_FLOATN): New macro to control declaration of
5244 _FloatN types.
5245 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5246 is type-generic, so use it without __MATH_TG.
5247 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5248 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
5249 _Float128 type and GCC < 7.0, otherwise use the builtin.
5250 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5251 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5252 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5253 New _GNU_SOURCE enabled macros.
5254
5255 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5256
5257 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5258 (signbitf): Likewise.
5259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5260 Likewise.
5261 (signbitl): Likewise.
5262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5263 Likewise.
5264 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5265 (signbitl): Likewise.
5266 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5267
5268 2017-05-12 Florian Weimer <fweimer@redhat.com>
5269
5270 [BZ #21386]
5271 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5272 parent PID. The assertion in the child is incorrect with PID
5273 namespaces.
5274
5275 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5276
5277 * sysdeps/unix/sysv/linux/kernel-features.h
5278 (__ASSUME_STATFS_F_FLAGS): Remove macro.
5279 * sysdeps/unix/sysv/linux/internal_statvfs.c
5280 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5281
5282 2017-05-11 Zack Weinberg <zackw@panix.com>
5283
5284 * Makerules: New subdir configuration variables 'tests-internal'
5285 and 'test-internal-extras'. Test files in these categories will
5286 still be compiled with MODULE_NAME=nonlib. Test files in the
5287 existing categories (tests, xtests, test-srcs, test-extras) are
5288 now compiled with MODULE_NAME=testsuite.
5289 New subdir configuration variable 'modules-names-tests'. Files
5290 which are in both 'modules-names' and 'modules-names-tests' will
5291 be compiled with MODULE_NAME=testsuite instead of
5292 MODULE_NAME=extramodules.
5293 (gen-as-const-headers): Move to tests-internal.
5294 (do-tests-clean, common-mostlyclean): Support tests-internal.
5295 * Makeconfig (built-modules): Add testsuite.
5296 * Makefile: Change libof-check-installed-headers-c and
5297 libof-check-installed-headers-cxx to 'testsuite'.
5298 * Rules: Likewise. Support tests-internal.
5299 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5300 Remove extra-modules.mk.
5301
5302 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5303 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5304 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5305 very top of the file and rationalize their order.
5306 If MODULE_NAME is not defined at all, define IS_IN to always be
5307 false, and don't define _ISOMAC.
5308 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5309 true, define _ISOMAC and suppress everything else in this file,
5310 starting with the inclusion of config.h.
5311 Do check for inappropriate definitions of __OPTIMIZE__ and
5312 __FAST_MATH__ here, but only if _ISOMAC is not defined.
5313 Correct some out-of-date commentary.
5314
5315 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5316 and _Mlong_double_ before including math.h.
5317 * include/string.h: If _ISOMAC is defined, don't expose
5318 _STRING_ARCH_unaligned. Move a comment to a more appropriate
5319 location.
5320
5321 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5322 * include/time.h, include/unistd.h, include/wchar.h: No need to
5323 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5324
5325 * misc/sys/cdefs.h (__NTHNL): New macro.
5326 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5327 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5328
5329 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5330 defined, for HAVE_TUNABLES.
5331 * inet/tst-checks-posix.c: No need to define _ISOMAC.
5332 * intl/tst-gettext2.c: Provide own definition of N_.
5333 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5334 * math/test-signgam-main.c: No need to define _ISOMAC.
5335 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5336 * stdlib/tst-strtod1i.c: ...this new file.
5337 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5338 Split tests of __strtod_internal to...
5339 * stdlib/tst-strtod5i.c: ...this new file.
5340 * string/test-string.h: Include stdint.h. Duplicate definition of
5341 inhibit_loop_to_libcall here (from libc-symbols.h).
5342 * string/test-strstr.c: Provide dummy definition of
5343 libc_hidden_builtin_def when including strstr.c.
5344 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5345 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5346 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5347 Don't include init-arch.h.
5348 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5349 Don't include init-arch.h.
5350
5351 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5352 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5353 unload, unload2, circleload1, neededtest, neededtest2,
5354 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5355 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5356 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5357 ifunc tests to tests-internal.
5358 Don't add $(modules-names) to test-extras.
5359 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5360 Add tst-deadline to tests-static-internal.
5361 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5362 tests-internal.
5363 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5364 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5365 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5366 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5367 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5368 Link tests-internal with libpthread also.
5369 Don't add $(modules-names) to test-extras.
5370 * nss/Makefile: Move tst-field to tests-internal.
5371 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5372 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5373 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5374 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5375 tests-internal.
5376 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5377 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5378 test-get_hwcap-static to tests-internal.
5379 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5380 tests-internal.
5381 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5382 modules-names-tests.
5383
5384 2017-05-11 Zack Weinberg <zackw@panix.com>
5385
5386 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5387 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5388 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5389 _IO_funlockfile, and _IO_ftrylockfile. Only define
5390 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5391 already defined.
5392 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5393 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5394 appropriately.
5395 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5396 Define _IO_lock_t_defined after defining _IO_lock_t.
5397
5398 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5399
5400 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5401 void* for argument type and use VDSO_SYMBOL macro.
5402 (is_sigtramp_address_rt): Likewise.
5403 (__backtrace): Setup expected frame pointer address for signal
5404 handling.
5405 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5406 void* for argumetn type and use VSDO_SYMBOL macro.
5407 (__backtrace): Setup expected frame pointer address for signal
5408 handling.
5409
5410 * sysdeps/unix/sysv/linux/writev.c: New file.
5411
5412 * sysdeps/unix/sysv/linux/readv.c: New file.
5413
5414 * include/unistd.h (write): Add hidden proto.
5415 * io/Makefile (CFLAGS-write.c): New define.
5416 * nptl/Makefile (CFLAGS-write.c): Likewise.
5417 * sysdeps/unix/sysv/linux/write.c: New file.
5418
5419 [BZ #21428]
5420 * include/unistd.h (read): Add hidden proto.
5421 * io/Makefile (CFLAGS-read.c): New define.
5422 * nptl/Makefile (CFLAGS-read.c): Likewise.
5423 * sysdeps/unix/sysv/linux/read.c: New file.
5424
5425 * io/Makefile (CFLAGS-creat.c): New rule.
5426 (CFLAGS-creat64.c): Likewise.
5427 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5428 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5429 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5430 * sysdeps/unix/sysv/linux/creat.c: New file.
5431 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5432 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5433 auto-generated list.
5434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5435
5436 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5437 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5438 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5439 * sysdeps/unix/sysv/linux/open.c: New file.
5440 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5441 iff __WORDSIZE != 64 and use __NR_openat when available.
5442 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5443 from auto-generated list.
5444
5445 * nptl/Makefile (CFLAGS-close.c): New flag.
5446 * sysdeps/unix/sysv/linux/close.c: New file.
5447
5448 2017-05-11 DJ Delorie <dj@redhat.com>
5449
5450 * MAINTAINERS: New. Points to wiki.
5451
5452 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5453
5454 * scripts/gen-tunables.awk: Add attribute_relro to
5455 tunable_list.
5456
5457 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5458
5459 [BZ #21457]
5460 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5461 (R1): Likewise.
5462 (R2): Likewise.
5463 (R3): Likewise.
5464 (R4): Likewise.
5465 (R5): Likewise.
5466 (R6): Likewise.
5467 (R7): Likewise.
5468 (R8): Likewise.
5469 (R9): Likewise.
5470 (R10): Likewise.
5471 (R11): Likewise.
5472 (R12): Likewise.
5473 (R13): Likewise.
5474 (R14): Likewise.
5475 (R15): Likewise.
5476 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5477 (REG_FS): Likewise.
5478 (REG_ES): Likewise.
5479 (REG_DS): Likewise.
5480 (REG_EDI): Likewise.
5481 (REG_ESI): Likewise.
5482 (REG_EBP): Likewise.
5483 (REG_ESP): Likewise.
5484 (REG_EBX): Likewise.
5485 (REG_EDX): Likewise.
5486 (REG_ECX): Likewise.
5487 (REG_EAX): Likewise.
5488 (REG_TRAPNO): Likewise.
5489 (REG_ERR): Likewise.
5490 (REG_EIP): Likewise.
5491 (REG_CS): Likewise.
5492 (REG_EFL): Likewise.
5493 (REG_UESP): Likewise.
5494 (REG_SS): Likewise.
5495 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5496 (R_D1): Likewise.
5497 (R_D2): Likewise.
5498 (R_D3): Likewise.
5499 (R_D4): Likewise.
5500 (R_D5): Likewise.
5501 (R_D6): Likewise.
5502 (R_D7): Likewise.
5503 (R_A0): Likewise.
5504 (R_A1): Likewise.
5505 (R_A2): Likewise.
5506 (R_A3): Likewise.
5507 (R_A4): Likewise.
5508 (R_A5): Likewise.
5509 (R_A6): Likewise.
5510 (R_A7): Likewise.
5511 (R_SP): Likewise.
5512 (R_PC): Likewise.
5513 (R_PS): Likewise.
5514 (fpregset_t): Likewise.
5515 (MCONTEXT_VERSION): Likewise.
5516 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5517 (CTX_AT): Likewise.
5518 (CTX_V0): Likewise.
5519 (CTX_V1): Likewise.
5520 (CTX_A0): Likewise.
5521 (CTX_A1): Likewise.
5522 (CTX_A2): Likewise.
5523 (CTX_A3): Likewise.
5524 (CTX_T0): Likewise.
5525 (CTX_T1): Likewise.
5526 (CTX_T2): Likewise.
5527 (CTX_T3): Likewise.
5528 (CTX_T4): Likewise.
5529 (CTX_T5): Likewise.
5530 (CTX_T6): Likewise.
5531 (CTX_T7): Likewise.
5532 (CTX_S0): Likewise.
5533 (CTX_S1): Likewise.
5534 (CTX_S2): Likewise.
5535 (CTX_S3): Likewise.
5536 (CTX_S4): Likewise.
5537 (CTX_S5): Likewise.
5538 (CTX_S6): Likewise.
5539 (CTX_S7): Likewise.
5540 (CTX_T8): Likewise.
5541 (CTX_T9): Likewise.
5542 (CTX_K0): Likewise.
5543 (CTX_K1): Likewise.
5544 (CTX_GP): Likewise.
5545 (CTX_SP): Likewise.
5546 (CTX_S8): Likewise.
5547 (CTX_RA): Likewise.
5548 (CTX_MDLO): Likewise.
5549 (CTX_MDHI): Likewise.
5550 (CTX_CAUSE): Likewise.
5551 (CTX_EPC): Likewise.
5552 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5553 inclusion of <sys/procfs.h> on [__USE_MISC].
5554 (greg_t): Condition on [__USE_MISC].
5555 (gregset_t): Likewise.
5556 (fpregset_t): Likewise.
5557 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5558 (NGREG): Likewise.
5559 (gregset_t): Likewise.
5560 (REG_R0): Likewise.
5561 (REG_R1): Likewise.
5562 (REG_R2): Likewise.
5563 (REG_R3): Likewise.
5564 (REG_R4): Likewise.
5565 (REG_R5): Likewise.
5566 (REG_R6): Likewise.
5567 (REG_R7): Likewise.
5568 (REG_R8): Likewise.
5569 (REG_R9): Likewise.
5570 (REG_R10): Likewise.
5571 (REG_R11): Likewise.
5572 (REG_R12): Likewise.
5573 (REG_R13): Likewise.
5574 (REG_R14): Likewise.
5575 (REG_R15): Likewise.
5576 (struct _libc_fpstate): Likewise.
5577 (fpregset_t): Likewise.
5578 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5579 (NFPREG): Likewise.
5580 (gregset_t): Likewise.
5581 (fpregset_t): Likewise.
5582 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5583 (R_D1): Likewise.
5584 (R_D2): Likewise.
5585 (R_D3): Likewise.
5586 (R_D4): Likewise.
5587 (R_D5): Likewise.
5588 (R_D6): Likewise.
5589 (R_D7): Likewise.
5590 (R_A0): Likewise.
5591 (R_A1): Likewise.
5592 (R_A2): Likewise.
5593 (R_A3): Likewise.
5594 (R_A4): Likewise.
5595 (R_A5): Likewise.
5596 (R_A6): Likewise.
5597 (R_A7): Likewise.
5598 (R_SP): Likewise.
5599 (R_PC): Likewise.
5600 (R_PS): Likewise.
5601 (fpregset_t): Likewise.
5602 (MCONTEXT_VERSION): Likewise.
5603 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5604 Likewise.
5605 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5606 (REG_R1): Likewise.
5607 (REG_R2): Likewise.
5608 (REG_R3): Likewise.
5609 (REG_R4): Likewise.
5610 (REG_R5): Likewise.
5611 (REG_R6): Likewise.
5612 (REG_R7): Likewise.
5613 (REG_R8): Likewise.
5614 (REG_R9): Likewise.
5615 (REG_R10): Likewise.
5616 (REG_R11): Likewise.
5617 (REG_R12): Likewise.
5618 (REG_R13): Likewise.
5619 (REG_R14): Likewise.
5620 (REG_R15): Likewise.
5621 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5622 of <arch/abi.h> on [__USE_MISC].
5623 (greg_t): Condition on [__USE_MISC].
5624 (NGREG): Likewise.
5625 (gregset_t): Likewise.
5626
5627 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5628
5629 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5630 (__pthread_rwlock_arch_t): Remove __data definition.
5631 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5632 (__pthread_rwlock_arch_t): Likewise.
5633
5634 2017-05-11 Florian Weimer <fweimer@redhat.com>
5635
5636 * resolv/inet_pton.c: Reformat in GNU style. Remove
5637 internal_function on static functions.
5638
5639 2017-05-11 Florian Weimer <fweimer@redhat.com>
5640
5641 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5642 from format_ai_flags.
5643 (format_ai_flags): New function. Incorporate flag formatting code
5644 from format_ai_one.
5645 (format_ai_canonname): New function.
5646 (format_ai_one): Remove flags parameter.
5647 (format_ai_family): Likewise.
5648 (support_format_addrinfo): Call format_ai_flags,
5649 format_ai_canonname.
5650 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5651 check_ai.
5652 (check_ai): Call check_ai_hints.
5653 (do_test): Add AI_CANONNAME tests.
5654
5655 2017-05-11 Florian Weimer <fweimer@redhat.com>
5656
5657 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5658 (gaih_inet): Likewise.
5659
5660 2017-05-10 Andreas Schwab <schwab@suse.de>
5661
5662 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5663 (main): Rename to do_test and make static.
5664
5665 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5666
5667 * string/rawmemchr.c: Include <libc-diag.h>.
5668 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5669 with size (size_t)-1.
5670
5671 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5672
5673 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5674 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5675 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5676
5677 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5678 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5679 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5680 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5681 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5682 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5683 * sysdeps/unix/sysv/linux/kernel-features.h
5684 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5685 socket syscalls.
5686 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5687 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5688 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5689 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5690 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5692 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5693 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5694 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5695 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5696 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5698 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5699 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5700 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5701
5702 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5703
5704 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5705 thread-shared-types.h.
5706 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5707 specific thread definition.
5708 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5709 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5710 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5711 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5712 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5713 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5714 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5715 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5716 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5717 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5718 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5719 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5720 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5721 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5722 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5723 thread definition between POSIX and C11.
5724 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5725 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5726 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5727 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5728 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5729 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5730 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5731 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5732 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5733 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5734 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5735 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5736 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5737 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5738 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5739 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5740 definitions shared across all architectures.
5741
5742 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5743
5744 * sysdeps/unix/sysv/linux/kernel-features.h
5745 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5746 (__ASSUME_SENDMMSG): Likewise.
5747 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5748 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5749 sendmmsg syscall if that can be assumed to be present, socketcall
5750 otherwise, with no fallback for runtime failure.
5751
5752 * sysdeps/unix/sysv/linux/kernel-features.h
5753 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5754 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5755 (__ASSUME_RECVMMSG): Likewise.
5756 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5757 recvmmsg syscall if it can be assumed to be present, socketcall
5758 otherwise, with no fallback for runtime failure.
5759
5760 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5761 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5762
5763 * bits/libc-header-start.h:
5764 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5765 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5766 * manual/creature.texi: Likewise.
5767
5768 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5769 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5770
5771 * math/Makefile:
5772 (type-float128-suffix): New variable
5773 (type-float128-routines): Likewise
5774 (type-float128-yes): Likewise
5775 (types): Append float128 if supported
5776 (types-basic): New variable to control the use of templates for
5777 float, double, and long double, but not for float128 or newer types.
5778 (type-basic-foreach): Likewise.
5779
5780 * sysdeps/ieee754/float128/Makeconfig: New file.
5781 * sysdeps/ieee754/float128/Versions: New file.
5782
5783 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5784
5785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5786 Remove macro.
5787 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5788 prlimit64 is always available and does not give an ENOSYS error.
5789 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5790 unconditional.
5791 [!__NR_prlimit64]: Remove conditional code.
5792 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5793 prlimit64 is always available and does not give an ENOSYS error.
5794 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5795
5796 2017-05-09 Zack Weinberg <zackw@panix.com>
5797
5798 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5799
5800 2017-05-09 Florian Weimer <fweimer@redhat.com>
5801
5802 [BZ #21474]
5803 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5804 (__res_maybe_init): Likewise.
5805
5806 2017-05-09 Zack Weinberg <zackw@panix.com>
5807
5808 * extra-modules.mk: Delete file.
5809 * cppflags-iterator.mk: Rename to ...
5810 * libof-iterator.mk: ...this. Adjust comments.
5811
5812 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5813 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5814 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5815 Use libof-iterator.mk instead of cppflags-iterator.mk or
5816 extra-modules.mk.
5817
5818 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5819 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5820
5821 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5822
5823 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5824
5825 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5826
5827 * stdio-common/vfprintf.c (EXTSIZ): Define.
5828 (vfprintf): Use EXTSIZ.
5829 (printf_positional): Likewise.
5830
5831 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5832
5833 * sysdeps/unix/sysv/linux/kernel-features.h
5834 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5835 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5836 <kernel-features.h>.
5837 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5838
5839 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5840 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5841
5842 2017-05-08 Florian Weimer <fweimer@redhat.com>
5843
5844 Prevent multiple deletion of temporary files.
5845 * support/temp_file.c (struct temp_name_list): Add owner member.
5846 (add_temp_file): Record owner.
5847 (support_delete_temp_files): Delete file only if owner matches.
5848 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5849 (do_prepare): Use create_temp_file instead of add_temp_file.
5850 Initialize temp_fd1, temp_fd2.
5851 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5852 framework remove the temporary files.
5853 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5854 (do_prepare): Use create_temp_file instead of add_temp_file.
5855 Initialize temp_fd1, temp_fd2, temp_fd3.
5856 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5857 the test framework remove the temporary files.
5858 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5859 deletion.
5860 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5861 temporary directory. It is removed by the test framework.
5862 * dirent/tst-scandir.c (do_test): Likewise.
5863
5864 2017-05-08 Florian Weimer <fweimer@redhat.com>
5865
5866 Delete temporary files in LIFO order.
5867 * support/temp_file.c (struct temp_name_list): Replace q member
5868 with next.
5869 (add_temp_file): Add new file to front of linked list.
5870 (support_delete_temp_files): Use next member.
5871 (support_print_temp_files): Likewise.
5872
5873 2017-05-08 Florian Weimer <fweimer@redhat.com>
5874
5875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5876 sys/ultrasound.h.
5877 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5878
5879 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5880
5881 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5882 Remove.
5883 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5884 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5885 (arch_minimum_kernel): Remove.
5886 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5887 * README: Update statement about Linux kernel requirements.
5888
5889 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5890
5891 * manual/llio.texi: Add preadv and pwritev documentation.
5892
5893 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5894
5895 [BZ #21455]
5896 * bits/stdint-intn.h: New file.
5897 * bits/stdint-uintn.h: Likewise.
5898 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5899 bits/stdint-uintn.h.
5900 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5901 <stdint.h>.
5902 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5903 (__int8_t_defined): Do not define here.
5904 (int8_t): Likewise.
5905 (int16_t): Likewise.
5906 (int32_t): Likewise.
5907 (int64_t): Likewise.
5908 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5909 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5910 <stdint.h>.
5911 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5912 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5913 <bits/stdint-uintn.h>.
5914 (int8_t): Do not define here.
5915 (int16_t): Likewise.
5916 (int32_t): Likewise.
5917 (int64_t): Likewise.
5918 (uint8_t): Likewise.
5919 (uint16_t): Likewise.
5920 (uint32_t): Likewise.
5921 (uint64_t): Likewise.
5922 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5923 variable.
5924 (test-xfail-XPG42/netdb.h/conform): Likewise.
5925 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5926 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5927 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5928 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5929
5930 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5931
5932 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5933 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5934 the above.
5935 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5937
5938 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5939
5940 [BZ #21445]
5941 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5942
5943 [BZ #21457]
5944 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5945 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5946 __glibc_reserved1.
5947 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5948 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5949 (struct _fpxreg): Likewise.
5950 [!__x86_64__] (struct _fpstate): Rename field reserved to
5951 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5952 [__x86_64__] (struct _fpstate): Rename field padding to
5953 __glibc_reserved1.
5954 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5955 Rename field reserved2 to __glibc_reserved2.
5956 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5957 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5958 __glibc_reserved1.
5959 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5960 __glibc_reserved1.
5961
5962 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5963
5964 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5965 variable name.
5966
5967 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5968
5969 [BZ #21391]
5970 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5971 Only call init_cpu_features.
5972 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5973 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5974 * sysdeps/i386/dl-procinfo.h: Removed.
5975 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5976 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5977 <sysdeps/x86/dl-procinfo.h>.
5978 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5979 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5980 Include <sysdeps/x86/dl-procinfo.h> instead of
5981 <sysdeps/generic/dl-procinfo.h>.
5982 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5983 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5984 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5985 (bit_cpu_MOVBE): Likewise.
5986 (bit_cpu_BMI1): Likewise.
5987 (bit_cpu_BMI2): Likewise.
5988 (index_cpu_BMI1): Likewise.
5989 (index_cpu_BMI2): Likewise.
5990 (index_cpu_LZCNT): Likewise.
5991 (index_cpu_MOVBE): Likewise.
5992 (index_cpu_POPCNT): Likewise.
5993 (reg_BMI1): Likewise.
5994 (reg_BMI2): Likewise.
5995 (reg_LZCNT): Likewise.
5996 (reg_MOVBE): Likewise.
5997 (reg_POPCNT): Likewise.
5998 * sysdeps/x86/dl-hwcap.h: New file.
5999 * sysdeps/x86/dl-procinfo.h: Likewise.
6000 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
6001 (_dl_x86_platforms): Likewise.
6002
6003 2017-05-03 DJ Delorie <dj@redhat.com>
6004
6005 [BZ #21411]
6006 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
6007
6008 2017-05-03 Phil Blundell <pb@pbcl.net>
6009
6010 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
6011 comments.
6012
6013 2017-05-03 Carlos O'Donell <carlos@redhat.com>
6014
6015 [BZ #20116]
6016 * nptl/pthread_create.c: Expand comments to describe
6017 semaphore-like and mutex-like uses of PD->lock.
6018
6019 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6020
6021 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
6022 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
6023 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
6024 auto-generation list.
6025 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6026 epoll_wait.
6027 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
6028 Remove epoll_wait.
6029
6030 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6031 osf_select.
6032 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
6033 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
6034 osf_select from auto-generation list.
6035 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6036 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6037 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
6038 * sysdeps/unix/sysv/linux/select.c: New file.
6039
6040 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
6041 * sysdeps/unix/sysv/linux/poll.c: New file.
6042 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
6043 auto-generation list.
6044
6045 2017-05-03 Joseph Myers <joseph@codesourcery.com>
6046
6047 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
6048 New macro.
6049
6050 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
6051
6052 [BZ #21179]
6053 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
6054 R_SPARC_REGISTER relocations.
6055
6056 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6057
6058 * include/unistd.h (__pread): Add libc_hidden_proto.
6059 (__pread64): Likewise.
6060 (__pwrite): Likewise.
6061 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
6062 (__pread64): Remove.
6063 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
6064 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
6065 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
6066
6067 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6068
6069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6070
6071 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6072
6073 * nptl/tst-cancel4-common.c: Use libsupport.
6074 * nptl/tst-cancel4-common.h: Likewise.
6075 * nptl/tst-cancel4.c (tf_read): Likewise.
6076 (tf_readv): Likewise.
6077 (tf_write): Likewise.
6078 (tf_writev): Likewise.
6079 (tf_sleep): Likewise.
6080 (tf_usleep): Likewise.
6081 (tf_nanosleep): Likewise.
6082 (tf_select): Likewise.
6083 (tf_pselect): Likewise.
6084 (tf_poll): Likewise.
6085 (tf_ppoll): Likewise.
6086 (tf_wait): Likewise.
6087 (tf_waitpid): Likewise.
6088 (tf_waitid): Likewise.
6089 (tf_sigpause): Likewise.
6090 (tf_sigsuspend): Likewise.
6091 (tf_sigwait): Likewise.
6092 (tf_sigwaitinfo): Likewise.
6093 (tf_sigtimedwait): Likewise.
6094 (tf_pause): Likewise.
6095 (tf_accept): Likewise.
6096 (tf_send): Likewise.
6097 (tf_recv): Likewise.
6098 (tf_recvfrom): Likewise.
6099 (tf_recvmsg): Likewise.
6100 (tf_open): Likewise.
6101 (tf_close): Likewise.
6102 (tf_pread): Likewise.
6103 (tf_pwrite): Likewise.
6104 (tf_preadv): Likewise.
6105 (tf_pwritev): Likewise.
6106 (tf_fsync): Likewise.
6107 (tf_fdatasync): Likewise.
6108 (tf_msync): Likewise.
6109 (tf_sendto): Likewise.
6110 (tf_sendmsg): Likewise.
6111 (tf_creat): Likewise.
6112 (tf_connect): Likewise.
6113 (tf_tcdrain): Likewise.
6114 (tf_msgrcv): Likewise.
6115 (tf_msgsnd): Likewise.
6116 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
6117 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
6118
6119 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
6120 expected arguments.
6121 (do_test): Adapt to use libsupport.
6122
6123 2017-05-01 Joseph Myers <joseph@codesourcery.com>
6124
6125 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
6126
6127 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
6128 (PF_MAX): Set to 44.
6129 (AF_SMC): New macro.
6130
6131 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6132 kernel version to 4.11.
6133
6134 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6135
6136 [BZ #21280]
6137 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
6138 signal of subnormals and adjust the exponent of power of 2 down
6139 when low part has opposite sign.
6140
6141 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6142
6143 * sysdeps/powerpc/powerpc64le/Implies: New file.
6144 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6145 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6146 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6147 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6148 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6149 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6150 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6151 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6152 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6153 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6154 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6155 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6156 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6157 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6158 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6159 * sysdeps/powerpc/preconfigure: New file.
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6162
6163 2017-04-28 Joseph Myers <joseph@codesourcery.com>
6164
6165 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6166 inclusion.
6167 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6168 Remove.
6169
6170 2017-04-27 Joseph Myers <joseph@codesourcery.com>
6171
6172 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6173 (XPG3): Rename standard to XPG4.
6174 * conform/Makefile: Likewise.
6175 * conform/list-header-symbols.pl: Likewise.
6176 * conform/data/aio.h-data: Likewise.
6177 * conform/data/arpa/inet.h-data: Likewise.
6178 * conform/data/complex.h-data: Likewise.
6179 * conform/data/ctype.h-data: Likewise.
6180 * conform/data/dlfcn.h-data: Likewise.
6181 * conform/data/fcntl.h-data: Likewise.
6182 * conform/data/fenv.h-data: Likewise.
6183 * conform/data/float.h-data: Likewise.
6184 * conform/data/fmtmsg.h-data: Likewise.
6185 * conform/data/ftw.h-data: Likewise.
6186 * conform/data/grp.h-data: Likewise.
6187 * conform/data/inttypes.h-data: Likewise.
6188 * conform/data/iso646.h-data: Likewise.
6189 * conform/data/langinfo.h-data: Likewise.
6190 * conform/data/libgen.h-data: Likewise.
6191 * conform/data/limits.h-data: Likewise.
6192 * conform/data/locale.h-data: Likewise.
6193 * conform/data/math.h-data: Likewise.
6194 * conform/data/mqueue.h-data: Likewise.
6195 * conform/data/ndbm.h-data: Likewise.
6196 * conform/data/net/if.h-data: Likewise.
6197 * conform/data/netdb.h-data: Likewise.
6198 * conform/data/netinet/in.h-data: Likewise.
6199 * conform/data/poll.h-data: Likewise.
6200 * conform/data/pthread.h-data: Likewise.
6201 * conform/data/pwd.h-data: Likewise.
6202 * conform/data/sched.h-data: Likewise.
6203 * conform/data/search.h-data: Likewise.
6204 * conform/data/semaphore.h-data: Likewise.
6205 * conform/data/signal.h-data: Likewise.
6206 * conform/data/spawn.h-data: Likewise.
6207 * conform/data/stdbool.h-data: Likewise.
6208 * conform/data/stdint.h-data: Likewise.
6209 * conform/data/stdio.h-data: Likewise.
6210 * conform/data/stdlib.h-data: Likewise.
6211 * conform/data/string.h-data: Likewise.
6212 * conform/data/strings.h-data: Likewise.
6213 * conform/data/stropts.h-data: Likewise.
6214 * conform/data/sys/mman.h-data: Likewise.
6215 * conform/data/sys/resource.h-data: Likewise.
6216 * conform/data/sys/select.h-data: Likewise.
6217 * conform/data/sys/socket.h-data: Likewise.
6218 * conform/data/sys/stat.h-data: Likewise.
6219 * conform/data/sys/statvfs.h-data: Likewise.
6220 * conform/data/sys/time.h-data: Likewise.
6221 * conform/data/sys/timeb.h-data: Likewise.
6222 * conform/data/sys/types.h-data: Likewise.
6223 * conform/data/sys/uio.h-data: Likewise.
6224 * conform/data/sys/un.h-data: Likewise.
6225 * conform/data/sys/wait.h-data: Likewise.
6226 * conform/data/syslog.h-data: Likewise.
6227 * conform/data/termios.h-data: Likewise.
6228 * conform/data/tgmath.h-data: Likewise.
6229 * conform/data/time.h-data: Likewise.
6230 * conform/data/ucontext.h-data: Likewise.
6231 * conform/data/unistd.h-data: Likewise.
6232 * conform/data/utmpx.h-data: Likewise.
6233 * conform/data/varargs.h-data: Likewise.
6234 * conform/data/wchar.h-data: Likewise.
6235 * conform/data/wctype.h-data: Likewise.
6236
6237 2017-04-26 Joseph Myers <joseph@codesourcery.com>
6238
6239 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6240 version to 7 branch.
6241
6242 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
6243
6244 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6245 earlyclobber to output operand of sqrt insn.
6246 (__ieee754_sqrtf): Ditto.
6247
6248 2017-04-25 Joseph Myers <joseph@codesourcery.com>
6249
6250 [BZ #21426]
6251 * misc/bits/types/struct_iovec.h: New file.
6252 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6253 * include/bits/types/struct_iovec.h: New file.
6254 * bits/uio.h (struct iovec): Replace by inclusion of
6255 <bits/types/struct_iovec.h>.
6256 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6257 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6258 of <sys/uio.h>.
6259 * nptl/tst-cancel4.c: Include <sys/uio.h>
6260 * posix/test-errno.c: Likewise.
6261 * support/resolv_test.c: Likewise.
6262 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6263 Remove.
6264 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6265 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6266 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6267
6268 * conform/data/sys/socket.h-data (*_t): Allow.
6269
6270 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6271
6272 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6273 assignment.
6274
6275 2017-04-24 Daurnimator <quae@daurnimator.com>
6276 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6277
6278 [BZ #21340]
6279 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6280 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6281 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6282 valid flags.
6283 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6284 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6285 POSIX_SPAWN_SETSID.
6286 * sysdeps/posix/spawni.c (__spawni): Likewise.
6287 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6288 * NEWS: Add note about POSIX_SPAWN_SETSID support.
6289
6290 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6291
6292 * sysdeps/generic/math_private.h: Move the declaration of many
6293 functions to sysdeps/generic/math_private_calls.h.
6294 * sysdeps/generic/math_private_calls.h: New file with the
6295 declarations of the functions removed from math_private.h
6296 macroized by floating-point type.
6297
6298 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6299
6300 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6301 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6302 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6303 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6304 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6305 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6306
6307 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6308
6309 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6310 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6311 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6312 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6313 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6314 New Define.
6315
6316 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6317
6318 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6319 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6320 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6321 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6322 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6323 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6324
6325 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6326
6327 * sysdeps/s390/multiarch/ifunc-resolve.h
6328 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6329 * sysdeps/s390/multiarch/8bit-generic.c
6330 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6331 define ifunc resolvers.
6332
6333 2017-04-21 Florian Weimer <fweimer@redhat.com>
6334
6335 [BZ #20424]
6336 * manual/memory.texi (Replacing malloc): New section.
6337 (Allocating Storage For Program Data): Reference it.
6338 (The GNU Allocator): Likewise.
6339
6340 2017-04-20 Joseph Myers <joseph@codesourcery.com>
6341
6342 * stdlib/Versions (__strtod_internal): List explicitly, not as
6343 wildcard.
6344 (__strtof_internal): Likewise.
6345 (__strtold_internal): Likewise.
6346 (__strtol_internal): Likewise.
6347 (__strtoll_internal): Likewise.
6348 (__strtoul_internal): Likewise.
6349 (__strtoull_internal): Likewise.
6350 (__strtoq_internal): Likewise.
6351 (__strtouq_internal): Likewise.
6352 * wcsmbs/Versions (__wcstod_internal): Likewise.
6353 (__wcstof_internal): Likewise.
6354 (__wcstold_internal): Likewise.
6355 (__wcstol_internal): Likewise.
6356 (__wcstoll_internal): Likewise.
6357 (__wcstoul_internal): Likewise.
6358 (__wcstoull_internal): Likewise.
6359
6360 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6361
6362 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6363 struct timespec definition.
6364
6365 2017-04-19 Florian Weimer <fweimer@redhat.com>
6366
6367 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6368
6369 2017-04-19 Florian Weimer <fweimer@redhat.com>
6370
6371 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6372 * inet/rexec.c (rexec_af): Likewise.
6373
6374 2017-04-19 Zack Weinberg <zackw@panix.com>
6375
6376 * posix/tst-mmap-offset.c: Include stdint.h.
6377 * resolv/tst-ns_name_compress.c: Include string.h.
6378 * resolv/tst-resolv-edns.c: Include resolv.h.
6379
6380 2017-04-19 Florian Weimer <fweimer@redhat.com>
6381
6382 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6383 with __glibc_likely.
6384 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6385 Replace __builtin_expect with __glibc_unlikely.
6386 * resolv/res_init.c (__res_vinit): Likewise.
6387 * resolv/res_query.c (__libc_res_nquery): Likewise.
6388 * resolv/res_send.c (__libc_res_nsend): Likewise.
6389
6390 2017-04-19 Florian Weimer <fweimer@redhat.com>
6391
6392 [BZ #15722]
6393 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6394 with SOCK_CLOEXEC.
6395 * resolv/res_send.c (send_vc, reopen): Likewise.
6396 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6397 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6398 Likewise.
6399 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6400 * inet/rexec.c (rexec_af): Add comment.
6401 * inet/rcmd.c (rresvport_af): Likewise.
6402
6403 2017-04-19 Florian Weimer <fweimer@redhat.com>
6404
6405 * nscd/connections.c (have_accept4): Removed definition.
6406 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6407 accept4 works.
6408 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6409 ia64 because that was the first version with accept4 support.
6410 * support/Makefile (libsupport-routines): Add xaccept4.
6411 * support/xsocket.h (xaccept4): Declare.
6412 * support/xaccept4.c: New file.
6413 * socket/tst-accept4.c: New file.
6414 * socket/Makefile (tests): Add tst-accept4.
6415 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6416 definition.
6417 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6418 comment.
6419 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6420 implementation is available.
6421 (accept4): Use the system call if available, otherwise use the
6422 socket call.
6423 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6424 Set to 3.2.18.
6425 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6426 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6427 accept4 is unconditionally available in later 3.2 stable kernels.
6428 (__ASSUME_ACCEPT4_SYSCALL): Define.
6429 * sysdeps/unix/sysv/linux/kernel-features.h
6430 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6431 definitions.
6432 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6433 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6434
6435 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6436
6437 * conform/Makefile (tests-special): Do not make addition of
6438 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6439 (generated): Do not make addition of $(conformtest-header-base)
6440 conditional on [$(cross-compiling) = no].
6441
6442 [BZ #21267]
6443 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6444 if defined by <asm/socket.h> and not previously defined.
6445 (IOCSIZE_SHIFT): Likewise.
6446 (IOC_IN): Likewise.
6447 (IOC_INOUT): Likewise.
6448 (IOC_OUT): Likewise.
6449
6450 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6451
6452 [BZ #21396]
6453 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6454 Prefer_No_AVX512 if AVX512ER isn't available.
6455 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6456 (index_arch_Prefer_No_AVX512): Likewise.
6457 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6458 AVX512 version if Prefer_No_AVX512 is set.
6459 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6460 Likewise.
6461 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6462 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6463 Likewise.
6464 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6465 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6466 Likewise.
6467 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6468 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6469 Likewise.
6470
6471 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6472
6473 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6474 Prefer_No_VZEROUPPER if AVX512ER is available.
6475 * sysdeps/x86/cpu-features.h
6476 (bit_cpu_AVX512PF): New.
6477 (bit_cpu_AVX512ER): Likewise.
6478 (bit_cpu_AVX512CD): Likewise.
6479 (bit_cpu_AVX512BW): Likewise.
6480 (bit_cpu_AVX512VL): Likewise.
6481 (index_cpu_AVX512PF): Likewise.
6482 (index_cpu_AVX512ER): Likewise.
6483 (index_cpu_AVX512CD): Likewise.
6484 (index_cpu_AVX512BW): Likewise.
6485 (index_cpu_AVX512VL): Likewise.
6486 (reg_AVX512PF): Likewise.
6487 (reg_AVX512ER): Likewise.
6488 (reg_AVX512CD): Likewise.
6489 (reg_AVX512BW): Likewise.
6490 (reg_AVX512VL): Likewise.
6491
6492 2017-04-18 Florian Weimer <fweimer@redhat.com>
6493
6494 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6495 O_CLOEXEC is defined.
6496 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6497 * io/Makefile (aux): Remove.
6498 * io/have_o_cloexec.c: Remove file.
6499 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6500 defined and works.
6501 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6502 defined.
6503 * login/utmp_file.c (O_flags): Remove definition.
6504 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6505 O_CLOEXEC works.
6506 (pututline_file): Likewise.
6507 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6508 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6509 definition.
6510 (internal_setgrent): Assume that O_CLOEXEC works.
6511 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6512 Remove definition.
6513 (internal_setgrent): Assume that O_CLOEXEC works.
6514 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6515 definition.
6516 (internal_setpwent): Assume that O_CLOEXEC works.
6517 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6518 definition.
6519 (internal_setspent): Assume that O_CLOEXEC works.
6520 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6521 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6522 O_CLOEXEC is defined and works.
6523 * nss/Makefile (libnss_files-routines): Remove
6524 files-have_o_cloexec.
6525 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6526 defined.
6527 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6528 O_CLOEXEC is defined and works.
6529 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6530 * nss/nss_files/files-have_o_cloexec.c: Remove.
6531 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6532 defined.
6533 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6534 and works.
6535 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6536 definition.
6537 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6538 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6539 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6540 (__opendirat, __opendir): Adjust opendir_oflags call.
6541 (check_have_o_cloexec): Remove.
6542 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6543 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6544 defined.
6545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6546 Remove definition.
6547
6548 2017-04-18 Florian Weimer <fweimer@redhat.com>
6549
6550 * include/unistd.h (__have_dup3): Remove declaration.
6551 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6552 dup3 is available.
6553 * libio/freopen64.c (freopen64): Likewise.
6554 * socket/Makefile (aux): Remove have_sock_cloexec.
6555 * socket/have_sock_cloexec.c: Remove file.
6556 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6557 definition.
6558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6559 Likewise.
6560 * sysdeps/nacl/kernel-features.h: Update comment.
6561
6562 2017-04-18 Florian Weimer <fweimer@redhat.com>
6563
6564 * include/unistd.h (__have_pipe2): Remove declaration.
6565 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6566 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6567 available.
6568 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6570 Remove definition.
6571
6572 2017-04-18 Florian Weimer <fweimer@redhat.com>
6573
6574 * malloc/malloc.c (cfree): Turn into compat symbol.
6575 (__cfree): Remove alias.
6576 * stdlib/stdlib.h (cfree): Remove declaration.
6577 * malloc/malloc.h (cfree): Likewise.
6578 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6579 * malloc/Versions (GLIBC_2.26): Add.
6580
6581 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6582
6583 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6584 (sysdep_routines): Add strrchr-power8.
6585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6586 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6587 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6588 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6589 (strrchr): Add __strrchr_power8 to ifunc list.
6590 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6591
6592 2017-04-17 Rabin Vincent <rabinv@axis.com>
6593
6594 [BZ #21357]
6595 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6596 Call free() outside of mutex.
6597
6598 2017-04-13 Florian Weimer <fweimer@redhat.com>
6599
6600 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6601 is defined.
6602 * elf/rtld.c (process_envvars): Likewise.
6603 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6604 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6605 O_NOFOLLOW directly.
6606 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6607
6608 2017-04-13 Florian Weimer <fweimer@redhat.com>
6609
6610 [BZ #21369]
6611 Remove EDNS fallback.
6612 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6613 handling.
6614 * resolv/res_send.c (send_dg): Likewise.
6615 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6616 "tcp." prefixes.
6617 (do_test): Send a "formerr."-prefixed query in an attempt to
6618 trigger EDNS fallback.
6619
6620 2017-04-13 Florian Weimer <fweimer@redhat.com>
6621
6622 [BZ #21361]
6623 Limit EDNS buffer size to 1200 bytes.
6624 * include/resolv.h (__res_nopt): Remove declaration.
6625 * resolv/Makefile (tests): tst-resolv-edns.
6626 (tst-resolv-edns): Link with -lresolv, -lpthread.
6627 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6628 interval [512, 1200].
6629 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6630 we can resize the buffer.
6631 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6632 (__res_nopt): Declare.
6633 * resolv/tst-resolv-edns.c: New file.
6634 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6635 (struct resolv_response_context): Add edns member.
6636 * resolv/resolv_test.c (struct query_info): Add edns member.
6637 (parse_query): Extract EDNS information from the query.
6638 (server_thread_udp_process_one): Propagate EDNS data.
6639 (server_thread_tcp_client): Likewise.
6640
6641 2017-04-13 Florian Weimer <fweimer@redhat.com>
6642
6643 [BZ #21359]
6644 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6645 byte in the destination buffer. Avoid out-of-bounds pointer
6646 arithmetic.
6647 * resolv/Makefile (tests): Add tst-ns_name_compress.
6648 (tst-ns_name_compress): Link with -lresolv.
6649 * resolv/tst-ns_name_compress.c: New file.
6650 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6651 (response): Recognize LONG_NAME.
6652 (do_test): Add LONG_NAME tests.
6653 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6654 for ns_name_unpack. Add tests for ns_name_pton and
6655 ns_name_compress.
6656
6657 2017-04-13 Florian Weimer <fweimer@redhat.com>
6658
6659 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6660 (res_nisourserver): Remove definition.
6661 (p_section, res_npquery, res_nisourserver): Remove declaration.
6662 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6663 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6664 ... here.
6665 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6666 <resolv.h>.
6667 * resolv/res_query.c: Likewise.
6668 * resolv/res_debug.c (p_section): Define as static.
6669
6670 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6671
6672 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6673 strncat-power8.
6674 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6675 __strncat_power8 to ifunc list.
6676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6677 (strncat): Add __strncat_power8 to list of strncat functions.
6678 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6679
6680 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6681
6682 [BZ #21270]
6683 * posix/tst-mmap-offset.c (do_prepare): New function.
6684 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6685 (do_test_bz21270): New function.
6686 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6687 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6688 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6689 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6690 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6691 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6692 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6693 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6694 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6695 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6696 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6697 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6699 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6700 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6701 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6702 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6703 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6704 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6705 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6706 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6707 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6708 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6709 from auto-generation list.
6710 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6712 * sysdeps/unix/sysv/linux/mmap.c: New file.
6713 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6714 offsets and support for mmap2 syscall.
6715
6716 * posix/globtest.sh: Add cleanup routine on trap 0.
6717
6718 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6719
6720 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6721 implementation-specific function name and remove unneeded
6722 macros definition.
6723 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6724 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6725 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6726 name if not defined and pass as parameter to macros accordingly.
6727 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6728 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6729
6730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6731 implementation-specific function name and remove unneeded
6732 macros definition.
6733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6738 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6740 name if not defined and pass as parameter to macros accordingly.
6741 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6742 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6747
6748 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6749 implementation-specific function name and remove unneeded macros
6750 definition.
6751 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6752 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6753 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6754 function name if not defined and pass as parameter to macros
6755 accordingly.
6756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6758
6759 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6760 implementation-specific function name and remove unneeded macros
6761 definition.
6762 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6763 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6764 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6765 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6766 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6767 not defined and pass as parameter to macros accordingly.
6768 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6769 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6770 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6771 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6772
6773 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6774 strcasestr implementation name and remove unneeded macros definition.
6775 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6776 strstr implementation name and remove unneeded macros definition.
6777 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6778 name if not defined and pass as parameter to macros accordingly.
6779 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6780
6781 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6782 implementation-specific function name and remove unneeded macros
6783 definition.
6784 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6785 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6786 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6787 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6788 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6789 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6790 function name if not defined and pass as parameter to macros
6791 accordingly.
6792 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6793 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6794 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6795 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6796
6797 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6798 the strlen implementation name and remove unneeded macros definition.
6799 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6800 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6801 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6802 the strnlen implementation name and remove unneeded macros definition.
6803 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6804 name if not defined and pass as parameter to macros accordingly.
6805 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6807 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6808
6809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6810 the implementation-specific function name and remove unneeded
6811 macros definition.
6812 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6814 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6815 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6816 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6818 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6819 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6820 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6821 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6822 name if not defined and pass as parameter to macros accordingly.
6823 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6824 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6825 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6826 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6827 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6828 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6829 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6830 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6831
6832 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6833 implementation-specific function name and remove unneeded macros
6834 definition.
6835 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6836 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6837 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6838 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6839 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6840 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6841 function name if not defined.
6842 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6843 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6844
6845 2017-04-11 Paul Clarke <pc@us.ibm.com>
6846
6847 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6848 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6849 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6850 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6851
6852 2017-04-11 Florian Weimer <fweimer@redhat.com>
6853 Zack Weinberg <zackw@panix.com>
6854
6855 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6856 readdir64 as thread-safe. Update warning about readdir_r.
6857
6858 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6859
6860 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6861 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6862 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6863 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6864 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6865 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6866 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6867
6868 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6869
6870 * sysdeps/i386/dl-procinfo.c: Include
6871 <sysdeps/x86/dl-procinfo.c>.
6872 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6873 * sysdeps/x86/dl-procinfo.c: New file.
6874
6875 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6876
6877 * sysdeps/generic/math_private.h: Remove declarations of
6878 many functions that are already declared in math.h.
6879 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6880 declaration for __frexpl.
6881 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6882 the declarations for __scalbnl and fabsl.
6883
6884 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6885
6886 [BZ #20831]
6887 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6888 of __mprotect to change protection on the excess portion
6889 to disallow all access.
6890
6891 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6894 HAS_CPU_FEATURE to check for SSE.
6895 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6896 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6897 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6898 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6899 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6900 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6901 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6902 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6903 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6904 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6905 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6906 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6907 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6908 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6909 (index_cpu_SSE): Likewise.
6910 (reg_SSE): Likewise.
6911
6912 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6913
6914 * posix/getopt1.c: Include <config.h>, not "config.h".
6915
6916 2017-04-07 Zack Weinberg <zackw@panix.com>
6917
6918 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6919 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6920 Mention in top-of-file boilerplate that these files are shared
6921 with gnulib.
6922 * posix/getopt.h, posix/bits/getopt_posix.h:
6923 Mention in top-of-file boilerplate that these files are NOT shared
6924 with gnulib, unlike the rest of the getopt implementation.
6925
6926 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6927 New files, intended to be shared with gnulib.
6928 * posix/bits/getopt_posix.h:
6929 New file, not intended to be shared with gnulib.
6930 * posix/getopt.h: Now just includes features.h,
6931 bits/getopt_core.h, and bits/getopt_ext.h. Will
6932 no longer be shared with gnulib.
6933 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6934 * include/bits/getopt_posix.h: New wrappers.
6935 * posix/Makefile: Install new headers.
6936 * posix/unistd.h, libio/stdio.h:
6937 Include bits/getopt_posix.h instead of getopt.h.
6938
6939 * include/libc-symbols.h: For gnulib compatibility, define
6940 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6941 _GL_ATTRIBUTE_CONST.
6942 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6943 parameters with _GL_UNUSED.
6944
6945 * posix/getopt.c: When used standalone, define __libc_use_alloca
6946 as always false and alloca to abort if called.
6947 (process_long_option): Rewrite handling of ambiguous long options
6948 to use a single boolean vector, not a linked list; use
6949 __libc_use_alloca to decide whether to allocate this using alloca.
6950 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6951
6952 * posix/getopt.c (process_long_option): New function split out
6953 from _getopt_internal_r.
6954 (_getopt_internal_r): Replace both copies of the long-option
6955 processing code with calls to process_long_option.
6956 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6957 (do_test): Differentiate argv[0] in the two subtests.
6958
6959 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6960 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6961 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6962
6963 * posix/getopt.h: Add backup definition of __nonnull for
6964 consistency with gnulib. Define __getopt_argv_const to const
6965 if not already defined.
6966 (getopt): Update doc comment from gnulib. Prototype
6967 unconditionally. Add __nonnull annotation.
6968 (__posix_getopt): Add __nonnull annotation.
6969 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6970 prototypes for consistency with gnulib. Add __nonnull
6971 annotations.
6972 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6973 (getopt_internal): Change 'argv' argument to type 'char **'.
6974 Remove now-unnecessary casts.
6975 (getopt, __posix_getopt): Eliminate repetition with a macro.
6976 Cast 'argv' to 'char **' when calling _getopt_internal.
6977 * posix/getopt1.c (getopt_long, getopt_long_only):
6978 Use __getopt_argv_const for consistency with gnulib.
6979 Cast 'argv' to 'char **' when calling _getopt_internal.
6980 (_getopt_long_r, _getopt_long_only_r):
6981 Change 'argv' argument to type 'char **'.
6982 (main): Constify 'long_options'.
6983 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6984 (_getopt_long_r, _getopt_long_only_r):
6985 Change 'argv' argument to type 'char **'.
6986
6987 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6988 (locked_vfxprintf): New helper function. Handle arbitrary
6989 multibyte strings, not just ASCII.
6990 * include/stdio.h: Declare __fxprintf_nocancel.
6991 * posix/getopt.c: When _LIBC is defined, define fprintf to
6992 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6993 to _IO_funlockfile. When neither _LIBC nor
6994 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6995 funlockfile as no-ops.
6996 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6997 the standalone error-printing code can now be used for libc as
6998 well. Add an flockfile/funlockfile pair around one case where
6999 the error message is printed in several chunks. Don't use fputc.
7000 * posix/tst-getopt-cancel.c: New test.
7001 * posix/Makefile: Run it.
7002
7003 * posix/getopt.c (_getopt_internal_r): Don't increment
7004 d->optind a second time when reporting ambiguous -W options.
7005
7006 * posix/getopt_int.h: Include getopt.h.
7007 Use impl-namespace names for all arguments to _getopt_internal and
7008 _getopt_internal_r.
7009 Declare __ordering enum outside the struct.
7010 Harmonize comments with gnulib.
7011 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
7012 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
7013 #ifdef TEST block and make unconditional. Do not define NULL.
7014 * posix/getopt.c: Partial merge from gnulib, covering the
7015 initial includes and global declarations, commentary, and
7016 a couple of semantically-neutral code changes.
7017
7018 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
7019 Use '...' instead of `...' for quotation marks inside
7020 comments and strings.
7021
7022 * config.h.in (USE_NONOPTION_FLAGS): Remove.
7023 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
7024 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7025 * posix/getopt_int.h: Likewise.
7026 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
7027 __libc_argc and __libc_argv externs, which were only used by
7028 #ifdef USE_NONOPTION_FLAGS blocks.
7029 * posix/getopt_init.c: Remove file.
7030 * posix/Makefile (routines): Remove getopt_init.
7031 * include/getopt.h: Don't declare __getopt_initialize_environment.
7032 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
7033 a comment.
7034
7035 2017-04-07 Florian Weimer <fweimer@redhat.com>
7036
7037 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
7038
7039 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7040
7041 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
7042 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
7043 to __wrap_.udiv.
7044 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
7045 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
7046
7047 * sysdeps/i386/symbol-hacks.h: New file.
7048 * sysdeps/m68k/symbol-hacks.h: New file.
7049 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
7050 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
7051 * sysdeps/unix/sysv/linux/i386/Makefile
7052 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
7053 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7054 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7055 * sysdeps/unix/sysv/linux/m68k/Makefile
7056 [$(subdir) = csu] (sysdep_routines): Likewise.
7057 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7058 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7060 [$(subdir) = csu] (sysdep_routines): Likewise.
7061 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7062 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7063 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7064 [$(subdir) = csu] (sysdep_routines): Likewise.
7065 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7066 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7067 * sysdeps/wordsize-32/Makefile: Remove file.
7068 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
7069 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
7070
7071 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
7072
7073 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
7074 (TEST_FUNCTION_ARGV): New.
7075
7076 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7077
7078 * elf/next.c: Import support/test-driver.c instead of
7079 test-skeleton.c and delete TEST_FUNCTION macro definition.
7080 * elf/nodelete.c: Likewise.
7081 * elf/order2.c: Likewise.
7082 * elf/tst-_dl_addr_inside_object.c: Likewise.
7083 * elf/tst-addr1.c: Likewise.
7084 * elf/tst-align.c: Likewise.
7085 * elf/tst-align2.c: Likewise.
7086 * elf/tst-audit11.c: Likewise.
7087 * elf/tst-audit12.c: Likewise.
7088 * elf/tst-audit2.c: Likewise.
7089 * elf/tst-audit9.c: Likewise.
7090 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
7091 * elf/tst-deep1.c: Likewise.
7092 * elf/tst-dl-iter-static.c: Likewise.
7093 * elf/tst-dlmodcount.c: Likewise.
7094 * elf/tst-dlmopen1.c: Likewise.
7095 * elf/tst-dlmopen2.c: Likewise.
7096 * elf/tst-dlmopen3.c: Likewise.
7097 * elf/tst-dlopen-aout.c: Likewise.
7098 * elf/tst-dlopenrpath.c: Likewise.
7099 * elf/tst-dlsym-error.c: Likewise.
7100 * elf/tst-execstack-needed.c: Likewise.
7101 * elf/tst-execstack-prog.c: Likewise.
7102 * elf/tst-execstack.c: Likewise.
7103 * elf/tst-global1.c: Likewise.
7104 * elf/tst-gnu2-tls1.c: Likewise.
7105 * elf/tst-latepthread.c: Likewise.
7106 * elf/tst-leaks1.c: Likewise.
7107 * elf/tst-linkall-static.c: Likewise.
7108 (do_test): New function.
7109 * elf/tst-nodelete-opened.c: Likewise.
7110 * elf/tst-nodelete.cc: Likewise.
7111 * elf/tst-nodelete2.c: Likewise.
7112 * elf/tst-noload.c: Likewise.
7113 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
7114 * elf/tst-order-main.c: Likewise.
7115 * elf/tst-pathopt.c: Likewise.
7116 * elf/tst-pie2.c: Likewise.
7117 * elf/tst-piemod1.c: Likewise.
7118 * elf/tst-prelink.c: Likewise.
7119 * elf/tst-protected1a.c: Likewise.
7120 * elf/tst-protected1b.c: Likewise.
7121 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
7122 and define _GNU_SOURCE macro.
7123 (cmdline_process_function): New function.
7124 * elf/tst-relsort1.c: Likewise.
7125 * elf/tst-stackguard1.c: Likewise, import getopt.h,
7126 and define _GNU_SOURCE macro.
7127 (cmdline_process_function): New function.
7128 * elf/tst-thrlock.c: Likewise.
7129 * elf/tst-tls-dlinfo.c: Likewise.
7130 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
7131 * elf/tst-tls1.c: Likewise.
7132 * elf/tst-tls10.c: Likewise.
7133 * elf/tst-tls11.c: Likewise.
7134 * elf/tst-tls12.c: Likewise.
7135 * elf/tst-tls13.c: Likewise.
7136 * elf/tst-tls14.c: Likewise.
7137 * elf/tst-tls15.c: Likewise.
7138 * elf/tst-tls16.c: Likewise.
7139 * elf/tst-tls17.c: Likewise.
7140 * elf/tst-tls18.c: Likewise.
7141 * elf/tst-tls19.c: Likewise.
7142 * elf/tst-tls2.c: Likewise.
7143 * elf/tst-tls3.c: Likewise.
7144 * elf/tst-tls4.c: Likewise.
7145 * elf/tst-tls5.c: Likewise.
7146 * elf/tst-tls6.c: Likewise.
7147 * elf/tst-tls7.c: Likewise.
7148 * elf/tst-tls8.c: Likewise.
7149 * elf/tst-tls9.c: Likewise.
7150 * elf/tst-tlsalign-extern.c: Likewise.
7151 * elf/tst-tlsalign.c: Likewise.
7152 * elf/tst-unique1.c: Likewise.
7153 * elf/tst-unique2.c: Likewise.
7154 * elf/vismain.c: Likewise.
7155
7156 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7157
7158 * string/test-strnlen.c (do_page_tests): New function
7159 to check length of strings ending at the page boundary.
7160 (test_main): Added call to the do_page_tests function.
7161
7162 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7163 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7164
7165 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7166 (sysdep_routines): Add strnlen-power8.
7167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7168 (strnlen): Add __strnlen_power8 to list of strnlen functions.
7169 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7170 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7171 (__strnlen): Add __strnlen_power8 to ifunc list.
7172 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7173
7174 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7175
7176 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7177 the TEST_FUNCTION macro definition.
7178 * wcsmbs/tst-mbrtowc2.c: Likewise.
7179 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7180 * wcsmbs/tst-wchar-h.c: Likewise.
7181 * wcsmbs/tst-wcpncpy.c: Likewise.
7182 * wcsmbs/tst-wcrtomb.c: Likewise.
7183 * wcsmbs/tst-wcsnlen.c: Likewise.
7184 * wcsmbs/tst-wcstof.c: Likewise.
7185
7186 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7187
7188 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7189 CALL_THREAD_FCT macro usage.
7190 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7191 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7192 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7193
7194 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7195 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7196 (__ASSUME_REQUEUE_PI): Likewise.
7197 * sysdeps/unix/sysv/linux/kernel-features.h
7198 (__ASSUME_REQUEUE_PI): Likewise.
7199 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7200 (__ASSUME_REQUEUE_PI): Likewise.
7201 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7202 (__ASSUME_REQUEUE_PI): Likewise.
7203 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7204 (__ASSUME_REQUEUE_PI): Likewise.
7205
7206 2017-04-04 Florian Weimer <fweimer@redhat.com>
7207
7208 * resolv/tst-resolv-canonname.c: New file.
7209 * resolv/Makefile (tests): Add tst-resolv-canonname.
7210 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7211
7212 2017-04-04 Florian Weimer <fweimer@redhat.com>
7213
7214 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7215 Declare.
7216 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7217 (NS_MAXCDNAME): Remove definition.
7218 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7219 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7220 (NS_MAXCDNAME): Remove definition.
7221 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7222
7223 2017-04-04 Florian Weimer <fweimer@redhat.com>
7224
7225 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7226 call whose result is not used.
7227
7228 2017-04-04 Florian Weimer <fweimer@redhat.com>
7229
7230 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7231 * resolv/Makefile (tests): Add tst-ns_name.
7232 (tst-ns_name): Link with -lresolv.
7233 (tst-ns_name.out): Depend on the input data file.
7234
7235 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
7236
7237 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7238 Clobber also r14.
7239
7240 2017-04-03 Mike Frysinger <vapier@gentoo.org>
7241
7242 [BZ #21253]
7243 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7244 slack space by 32KiB.
7245
7246 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
7247
7248 [BZ #21338]
7249 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7250 instead of incorrect do_set_arena_test
7251
7252 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7253
7254 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7255 * math/bits/math-finite.h: Likewise.
7256
7257 2017-03-31 Slava Barinov <v.barinov@samsung.com>
7258
7259 [BZ #21289]
7260 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7261
7262 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7263
7264 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7265 non expected inotify_add_watch and quotactl return.
7266
7267 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7268
7269 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7270 to int32_t.
7271 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7272 as returning int32_t.
7273
7274 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7275
7276 * math/math.h: Include bits/math-finite.h once per
7277 floating-point type.
7278 * math/bits/math-finite.h: Macroize all declarations by
7279 floating-point type.
7280
7281 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7282
7283 [BZ #21182]
7284 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7285 near end of a page.
7286 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7287 overflow calculation.
7288
7289 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
7290
7291 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7292 (IMPL) Call with 1 instead of 0 as argument.
7293
7294 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7295
7296 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7297 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7298 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7299 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7300 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7301 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7302 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7303 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7304 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7305 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7306 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7307 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7308 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7309 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7310 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7311 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7312 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7313 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7314 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7315 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7316 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7317 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7318 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7319 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7320 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7321 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7322 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7323 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7324 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7325 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7326 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7327 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7329 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7330 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7331 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7333 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7334 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7335 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7336 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7337 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7338 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7339 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7340 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7341 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7342 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7343 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7344 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7345 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7346 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7347 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7348 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7349 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7350 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7351 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7352 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7353 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7354 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7355 defined.
7356 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7357 __NR_setgroups32 if defined.
7358 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7359 if defined.
7360 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7361 __NR_setresgid32 is defined.
7362 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7363 __NR_setresuid32 if defined.
7364 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7365 __NR_setreuid32 if defined.
7366 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7367 defined.
7368 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7369 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7370 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7371 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7372 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7373 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7374 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7375 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7376 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7377 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7378 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7379 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7380 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7381 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7382 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7383 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7384 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7385 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7386 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7387 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7388 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7389 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7390 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7391 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7392 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7393 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7394 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7395 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7396 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7397 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7398 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7399 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7400 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7401 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7403 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7405 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7406 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7407 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7408 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7409 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7410 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7411 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7412 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7413 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7414 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7415 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7416 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7417 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7418 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7419 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7420 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7421 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7422 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7423 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7424 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7425 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7426 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7427 defined.
7428 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7429 __NR_setgroups32 if defined.
7430 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7431 if defined.
7432 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7433 __NR_setresgid32 is defined.
7434 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7435 __NR_setresuid32 if defined.
7436 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7437 __NR_setreuid32 if defined.
7438 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7439 defined.
7440
7441 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7442
7443 [BZ #21277]
7444 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7445 unconditionally.
7446 (IMAXBEL): Likewise.
7447 (IUTF8): Likewise.
7448
7449 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7450
7451 * sysdeps/aarch64/libm-test-ulps: Update.
7452
7453 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7454
7455 * README.tunables: Updated descriptions.
7456 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7457 * scripts/gen-tunables.awk: Updated the code related to the
7458 commit.
7459
7460 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7461
7462 * benchtests/Makefile (string-benchset): Add memcpy-random.
7463 * benchtests/bench-memcpy-random.c: New file.
7464
7465 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7466
7467 * stdio-common/printf.h (register_printf_modifier): Change the
7468 order of __wur and __THROW.
7469 (register_printf_type): Likewise.
7470
7471 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7472
7473 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7474 test_main ().
7475 (CMDLINE_PROCESS): Use function instead of defined macro.
7476 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7477 <suppport/support.h> to use set_fortify_handler().
7478 * string/bug-envz1.c: Import support/test-driver.c instead of
7479 test-skeleton.c.
7480 * string/bug-strcoll2.c: Likewise.
7481 * string/bug-strtok1.c: Likewise.
7482 * string/stratcliff.c: Likewise.
7483 * string/test-ffs.c: Likewise.
7484 * string/test-memccpy.c: Likewise.
7485 * string/test-memchr.c: Likewise.
7486 * string/test-memcmp.c: Likewise.
7487 * string/test-memcpy.c: Likewise.
7488 * string/test-memmem.c: Likewise.
7489 * string/test-memmove.c: Likewise.
7490 * string/test-memrchr.c: Likewise.
7491 * string/test-memset.c: Likewise.
7492 * string/test-rawmemchr.c: Likewise.
7493 * string/test-strcasecmp.c: Likewise.
7494 * string/test-strcasestr.c: Likewise.
7495 * string/test-strcat.c: Likewise.
7496 * string/test-strchr.c: Likewise.
7497 * string/test-strcmp.c: Likewise.
7498 * string/test-strcpy.c: Likewise.
7499 * string/test-string.h: Likewise.
7500 * string/test-strlen.c: Likewise.
7501 * string/test-strncasecmp.c: Likewise.
7502 * string/test-strncat.c: Likewise.
7503 * string/test-strncmp.c: Likewise.
7504 * string/test-strncpy.c: Likewise.
7505 * string/test-strnlen.c: Likewise.
7506 * string/test-strpbrk.c: Likewise.
7507 * string/test-strrchr.c: Likewise.
7508 * string/test-strspn.c: Likewise.
7509 * string/test-strstr.c: Likewise.
7510 * string/tst-bswap.c: Likewise.
7511 * string/tst-cmp.c: Likewise.
7512 * string/tst-endian.c: Likewise.
7513 * string/tst-inlcall.c: Likewise.
7514 * string/tst-strcoll-overflow.c: Likewise.
7515 * string/tst-strfry.c: Likewise.
7516 * string/tst-strlen.c: Likewise.
7517 * string/tst-strtok.c: Likewise.
7518 * string/tst-strtok_r.c: Likewise.
7519 * string/tst-strxfrm.c: Likewise.
7520 * string/tst-strxfrm2.c: Likewise.
7521 * string/tst-svc.c: Likewise.
7522 * string/tst-svc2.c: Likewise.
7523
7524 2017-03-22 Zack Weinberg <zackw@panix.com>
7525
7526 * stdio-common/bug25.c: Include stdlib.h.
7527 * support/tst-support_format_dns_packet.c: Include stdio.h,
7528 stdlib.h, and string.h.
7529 * support/tst-support_record_failure.c: Include string.h.
7530 * support/tst-support_record_failure-2.sh: Adjust line number
7531 expectations and correct a typo in an error message.
7532
7533 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7534
7535 [BZ #21258]
7536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7537 Define only if _dl_runtime_resolve is defined to
7538 _dl_runtime_resolve_sse_vex.
7539 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7540 Fallthrough to _dl_runtime_resolve_sse_vex.
7541
7542 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7543
7544 * INSTALL: Regenerated.
7545
7546 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7547
7548 * config.h.in: Add LINK_OBSOLETE_NSL.
7549 * config.make.in: Add build-obsolete-nsl.
7550 * configure.ac: Add obsolete-nsl option.
7551 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7552 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7553 * include/rpcsvc/nislib.h: Likewise.
7554 * include/rpcsvc/ypclnt.h: Likewise.
7555 * manual/install.texi: Document --enable-obsolete-nsl.
7556 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7557 * nis/nis_add.c: Replace libnsl_hidden_def with
7558 libnsl_hidden_nolink_def.
7559 * nis/nis_addmember.c: Likewise.
7560 * nis/nis_call.c: Likewise.
7561 * nis/nis_clone_obj.c: Likewise.
7562 * nis/nis_defaults.c: Likeise.
7563 * nis/nis_domain_of_r.c: Likewise.
7564 * nis/nis_error.c: Likewise.
7565 * nis/nis_file.c: Likewise.
7566 * nis/nis_free.c: Likewise.
7567 * nis_local_names.c: Likewise.
7568 * nis/nis_lookup.c: Likewise.
7569 * nis/nis_modify.c: Likewise.
7570 * nis/nis_print.c: Likewise.
7571 * nis/nis_remove.c: Likewise.
7572 * nis/nis_table.c: Likewise.
7573 * nis/nis_util.c: Likewise.
7574 * nis/nis_xdr.c: Likewise.
7575 * nis/yp_xdr.c: Likewise.
7576 * nis/ypclnt.c: Likewise.
7577 * nis/ypupdate_xdr.c: Likewise.
7578 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7579 * nis/nis_clone_dir.c: Likewise.
7580 * nis/nis_clone_res.c: Likewise.
7581 * nis/nis_creategroup.c: Likewise.
7582 * nis/nis_destroygroup.c: Likewise.
7583 * nis/nis_domain_of.c: Likewise.
7584 * nis/nis_getservlist.c: Likewise.
7585 * nis/nis_ismember.c: Likewise.
7586 * nis/nis_mkdir.c: Likewise.
7587 * nis/nis_ping.c: Likewise.
7588 * nis/nis_print_group_entry.c: Likewise.
7589 * nis/nis_removemember.c: Likewise.
7590 * nis/nis_rmdir.c: Likewise.
7591 * nis/nis_server.c: Likewise.
7592 * nis/nis_subr.c: Likewise.
7593 * nis/nis_verifygroup.c: Likewise.
7594
7595 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7596
7597 * malloc/tst-interpose-aux.c (check_for_allocations):
7598 Move compiler barrier before free.
7599
7600 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7601
7602 [BZ #21279]
7603 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7604 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7605 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7606 x86_64-x32-linux.
7607 (mq_attr.mq_maxmsg): Likewise.
7608 (mq_attr.mq_msgsize): Likewise.
7609 (mq_attr.mq_curmsgs): Likewise.
7610
7611 [BZ #21278]
7612 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7613 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7614 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7615 mips-o32-linux.
7616
7617 [BZ #21268]
7618 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7619 if [__USE_MISC]
7620 (NL3): Likewise.
7621
7622 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7623
7624 [BZ #21275]
7625 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7626 __stack to __stackbase.
7627 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7628 checks so we can include defined(__ia64__) first.
7629
7630 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7631
7632 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7633 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7634 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7635 Call is_pty when the link does not exist or does not match, fail
7636 with ENODEV when it returns true.
7637 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7638 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7639 Call is_pty when the link does not exist or does not match, fail
7640 with ENODEV when it returns true.
7641
7642 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7643
7644 [BZ #16437]
7645 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7646 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7647 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7648 x86_64-x32-linux.
7649 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7650 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7651 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7652
7653 [BZ #21261]
7654 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7655 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7656 names for all fields.
7657 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7658 for jmp_buf field renaming.
7659 (_JMPBUF_UNWINDS_ADJ): Likewise.
7660
7661 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7662 with allow-header.
7663
7664 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7665
7666 * malloc/malloc.c (unlink): Add consistency check between size and
7667 next->prev->size, to further harden against 1-byte overflows.
7668
7669 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7670
7671 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7672 CPU_FEATURES_CPU_P.
7673
7674 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7675
7676 [BZ #21259]
7677 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7678 unconditionally, not just for [__USE_MISC].
7679
7680 [BZ #17786]
7681 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7682 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7683 mips-o32-linux.
7684
7685 [BZ #21260]
7686 * sysdeps/unix/sysv/linux/alpha/Makefile
7687 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7688 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7689
7690 * conform/conformtest.pl ($cross): New variable.
7691 (--cross): New command-line option.
7692 (runtest): Skip test execution when cross-compiling.
7693 * conform/Makefile (conformtest-cross): New variable.
7694 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7695 conformtest.pl.
7696
7697 * conform/conformtest.pl ($xfail_str): New variable.
7698 (--xfail=): New command-line option.
7699 (top level): Handle expectations starting xfail[cond]-.
7700 * conform/Makefile (conformtest-xfail): New variable.
7701 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7702 conformtest.pl.
7703
7704 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7705
7706 * conform/conformtest.pl: Use compilation instead of execution
7707 tests for testing values of constants and usability in #if.
7708
7709 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7710
7711 * math/auto-libm-test-in: Mark some catan and catanh as
7712 xfail-rounding:ibm128-libgcc.
7713 * math/auto-libm-test-out-catan: Regenerate.
7714 * math/auto-libm-test-out-catanh: Likewise.
7715
7716 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7717
7718 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7719 (__END_NAMESPACE_STD): Likewise.
7720 (__USING_NAMESPACE_STD): Likewise.
7721 (__BEGIN_NAMESPACE_C99): Likewise.
7722 (__END_NAMESPACE_C99): Likewise.
7723 (__USING_NAMESPACE_C99): Likewise.
7724 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7725 undefine macro.
7726 (_Mdouble_END_NAMESPACE): Likewise.
7727 * ctype/ctype.h: Do not handle C++ namespaces.
7728 * libio/bits/stdio-ldbl.h: Likewise.
7729 * libio/stdio.h: Likewise.
7730 * locale/locale.h: Likewise.
7731 * math/bits/mathcalls.h: Likewise.
7732 * setjmp/setjmp.h: Likewise.
7733 * signal/signal.h: Likewise.
7734 * stdlib/bits/stdlib-float.h: Likewise.
7735 * stdlib/bits/stdlib-ldbl.h: Likewise.
7736 * stdlib/stdlib.h: Likewise.
7737 * string/string.h: Likewise.
7738 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7739 * time/bits/types/clock_t.h: Likewise.
7740 * time/bits/types/struct_tm.h: Likewise.
7741 * time/bits/types/time_t.h: Likewise.
7742 * time/time.h: Likewise.
7743 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7744 * wcsmbs/uchar.h: Likewise.
7745 * wcsmbs/wchar.h: Likewise.
7746 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7747 * wctype/wctype.h: Do not handle C++ namespaces.
7748 * scripts/begin-end-check.pl: Remove.
7749 * Makefile (installed-headers): Likewise.
7750 (tests-special): Do not add $(objpfx)begin-end-check.out.
7751 ($(objpfx)begin-end-check.out): Remove.
7752
7753 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7754 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7755
7756 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7757 (DL_PLATFORM_INIT): New define.
7758 (dl_platform_init): New function.
7759 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7760 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7761 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7762 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7763 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7764
7765 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7766
7767 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7768 instead of PIC.
7769
7770 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7771
7772 [BZ #21094]
7773 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7774 24+24+24-bit pi for wider range of values around pi/2.
7775 * math/auto-libm-test-in: Add more tests of cos and tan.
7776 * math/auto-libm-test-out-cos: Regenerated.
7777 * math/auto-libm-test-out-tan: Likewise.
7778
7779 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7780
7781 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7782 (RTLD_START): Don't record stack end address in _dl_start_user.
7783
7784 2017-03-15 Alexey Neyman <stilor@att.net>
7785
7786 [BZ #21088]
7787 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7788 around definitions match those around use.
7789
7790 2017-03-15 Alexey Neyman <stilor@att.net>
7791
7792 * configure.ac: Avoid empty subexpression in grep.
7793 * configure: Regenerate.
7794
7795 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7796
7797 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7798 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7799 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7800 (test_wrp_rv): Fix format.
7801 (test_wrp_rv2): New macro.
7802 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7803 binaries.
7804
7805 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7806
7807 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7808 Use a union when storing pointers.
7809 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7810 cast result when passing to INIT_VEC_PTRS_LOOP.
7811 (VECTOR_WRAPPER_fFF_3): Likewise.
7812 (VECTOR_WRAPPER_fFF_4): Likewise.
7813
7814 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7815
7816 * include/bits/mathcalls-helper-functions.h: New file.
7817 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7818 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7819 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7820 math/bits/mathcalls-helper-functions.h.
7821 * math/bits/mathcalls-helper-functions.h: New file.
7822 * math/math.h: Include bits/mathcalls-helper-functions.h for
7823 float, double, and long double.
7824
7825 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7826
7827 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7828 instead of feraiseexcept.
7829
7830 2017-03-15 Florian Weimer <fweimer@redhat.com>
7831
7832 [BZ #21243]
7833 * support/temp_file.c (support_delete_temp_files): Add comment
7834 about ignored errors.
7835
7836 2017-03-15 Florian Weimer <fweimer@redhat.com>
7837
7838 [BZ #21244]
7839 * support/xclose.c: New file.
7840 * support/Makefile (libsupport-routines): Add xclose.
7841 * support/xunistd.h (xclose): Declare.
7842 * support/resolv_test.c (server_thread_tcp_client)
7843 (server_thread_tcp, make_server_sockets, resolv_test_start)
7844 (resolv_test_end): Call xclose instead of close.
7845 * support/support_enter_network_namespace.c
7846 (support_enter_network_namespace): Likewise.
7847 * support/support_run_diff.c (write_to_temp_file): Likewise.
7848
7849 2017-03-15 Florian Weimer <fweimer@redhat.com>
7850
7851 * support/support_format_dns_packet.c (support_format_dns_packet):
7852 Handle CNAME records in the response. Extract RDATA names from
7853 rdata, not the whole packet. Check AAAA record length.
7854 * support/tst-support_format_dns_packet.c: New file.
7855 * support/Makefile (tests): Add tst-support_format_dns_packet.
7856 (tst-support_format_dns_packet): Link against libresolv.
7857
7858 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7859
7860 [BZ #21232]
7861 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7862 posix_fadvise64 weak_alias for static build.
7863
7864 2017-03-14 Andreas Schwab <schwab@suse.de>
7865
7866 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7867 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7868 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7869 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7870 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7871 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7872 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7873 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7874
7875 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7876
7877 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7878 posix error code.
7879 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7880
7881 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7882
7883 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7884 no_isolate usage for SH.
7885
7886 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7887
7888 [BZ #15105]
7889 [BZ #19463]
7890 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7891 * inet/rcmd.c (rcmd_af): Likewise.
7892 * inet/rexec.c (rexec_af): Likewise.
7893 * intl/dcigettext.c (_LIBC): Likewise.
7894 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7895 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7896 * locale/setlocale.c (setlocale): Likewise.
7897 * posix/spawn_faction_addopen.c
7898 (posix_spawn_file_actions_addopen): Likewise.
7899 * stdlib/putenv.c (putenv): Use __strndup.
7900 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7902 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7903 (__Need_M_And_C) Remove define/undef.
7904 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7905 (__malloc_and_calloc_defined): Remove define.
7906 * string/bits/string2.h (__strdup): Remove define.
7907 (strdup): Likewise.
7908 (__strndup): Likewise.
7909 (strndup): Likewise.
7910
7911 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7912
7913 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7914 macro.
7915 (IPV6_ADDR_PREFERENCES): Likewise.
7916 (IPV6_MINHOPCOUNT): Likewise.
7917 (IPV6_ORIGDSTADDR): Likewise.
7918 (IPV6_RECVORIGDSTADDR): Likewise.
7919 (IPV6_TRANSPARENT): Likewise.
7920 (IPV6_UNICAST_IF): Likewise.
7921 (IPV6_RECVFRAGSIZE): Likewise.
7922
7923 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7924
7925 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7926
7927 2017-03-12 Alexey Neyman <stilor@att.net>
7928
7929 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7930 in R_SH_DIR32 case is always false when inlined from
7931 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7932
7933 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7934
7935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7936 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7937 __ASSUME_SEND_SYSCALL.
7938
7939 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7940
7941 * sunrpc/Makefile: don't build and install rpcsvc header
7942 files, rpcgen and librpcsvc.a by default.
7943
7944 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7945
7946 * math/auto-libm-test-out-catan: Regenerated.
7947 * math/auto-libm-test-out-catanh: Likewise.
7948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7949
7950 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7951
7952 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7953 for long double with corrected test expectations.
7954
7955 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7956
7957 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7958 Define.
7959 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7960 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7961 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7962 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7963 * sysdeps/unix/sysv/linux/tile/sysdep.h
7964 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7965 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7966 (__ASSUME_RECV_SYSCALL): Define.
7967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7968 (__ASSUME_RECV_SYSCALL): Likewise.
7969 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7970 (__ASSUME_RECV_SYSCALL): Likewise.
7971 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7972 (__ASSUME_RECV_SYSCALL): Likewise.
7973 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7974 (__ASSUME_RECV_SYSCALL): Likewise.
7975 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7976 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7978 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7979 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7980 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7981 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7982 auto-generation list.
7983 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7984 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7985 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7986 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7988 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7989 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7990 __ASSUME_SENDTO_SYSCALL.
7991 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7992 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7993 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7994
7995 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7996 auto-generation list.
7997 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7998 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7999 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8000 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8001 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8002 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8003 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8004 * sysdeps/unix/sysv/linux/kernel-features.h
8005 (__ASSUME_SENDTO_SYSCALL): Define by default.
8006 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8007 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
8008 __NR_sendto.
8009 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8010 (__ASSUME_SENDTO_SYSCALL): Likewise.
8011 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8012 (__ASSUME_SENDTO_SYSCALL): Likewise.
8013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8014 (__ASSUME_SENDTO_SYSCALL): Remove definition.
8015 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8016 (__ASSUME_SENDTO_SYSCALL): Likewise.
8017 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
8018 (__ASSUME_SENDTO_SYSCALL): Likewise.
8019 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
8020
8021 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
8022 auto-generation list.
8023 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8024 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8025 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8026 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8027 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8028 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8029 (__ASSUME_RECV_SYSCALL): New define.
8030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8031 (__ASSUME_RECV_SYSCALL): Likewise.
8032 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8033 (__ASSUME_RECV_SYSCALL): Likewise.
8034 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8035 (__ASSUME_RECV_SYSCALL): Likewise.
8036 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8037 (__ASSUME_RECV_SYSCALL): Likewise.
8038 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8039 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8040 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8041 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8042 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8043 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8044 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
8045 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
8046 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
8047 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
8048 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
8049 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
8050
8051 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
8052 auto-generation list.
8053 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8054 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8055 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8056 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8057 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8059 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8060 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8061 (__ASSUME_RECVFROM_SYSCALL): Define by default.
8062 * sysdeps/unix/sysv/linux/kernel-features.h
8063 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
8064 __NR_recvfrom.
8065 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8066 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8067 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8068 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8069 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8070 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
8071 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8072 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8073 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8074 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8076 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8077 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
8078
8079 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
8080 auto-generation list.
8081 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8082 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8083 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8084 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8085 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8086 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8087 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8088 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
8089 * sysdeps/unix/sysv/linux/kernel-features.h
8090 (__ASSUME_CONNECT_SYSCALL): Define.
8091 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8092 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
8093 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8094 (__ASSUME_CONNECT_SYSCALL): Likewise.
8095 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8096 (__ASSUME_CONNECT_SYSCALL): Likewise.
8097 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8098 (__ASSUME_CONNECT_SYSCALL): Likewise.
8099
8100 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
8101 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
8102 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
8103 auto-generation list.
8104 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8105 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8106 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8107 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8108 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8110 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8111 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8112 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8113 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8114 * sysdeps/unix/sysv/linux/kernel-features.h
8115 (__ASSUME_ACCEPT_SYSCALL): New define.
8116 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8117 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8118 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
8119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8120 (__ASSUME_ACCEPT_SYSCALL): Define.
8121 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8122 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8123 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8124 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8125 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8126 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8127 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8128 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8129 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
8130
8131 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
8132 Zack Weinberg <zackw@panix.com>
8133
8134 * posix/test-errno.c: New file.
8135 * posix/Makefile (tests): Add test-errno.
8136 * sysdeps/unix/sysv/linux/test-errno.c: New file.
8137 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
8138
8139 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
8140
8141 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8142
8143 2017-03-07 Florian Weimer <fweimer@redhat.com>
8144
8145 * time/tzset.c (compute_offset): Open-code min macro.
8146 (min, max, sign): Remove.
8147
8148 2017-03-07 Florian Weimer <fweimer@redhat.com>
8149
8150 [BZ #15576]
8151 Remove TZNAME_MAX limit from sysconf.
8152 * include/time.h (__tzname_cur_max, __tzname_max): Remove
8153 declaration.
8154 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8155 compute_tzname_max.
8156 (compute_tzname_max): Remove.
8157 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8158 (update_vars): Do not update __tzname_cur_max.
8159 (tzset_internal): Remove argument.
8160 (__tzset): Adjust call to tzset_internal.
8161 (__tz_convert): Likewise.
8162
8163 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8164 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8165 * manual/conf.texi (Sysconf Definition): Update comment.
8166
8167 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8168
8169 [BZ #21209]
8170 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8171 AT_SECURE processes.
8172 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8173 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8174 (test_child): Likewise.
8175 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8176
8177 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8178
8179 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8180
8181 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8182
8183 * sysdeps/s390/atomic-machine.h
8184 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8185 (__arch_compare_and_exchange_val_8_acq,
8186 __arch_compare_and_exchange_val_16_acq,
8187 __arch_compare_and_exchange_val_32_acq,
8188 __arch_compare_and_exchange_val_64_acq):
8189 Delete macro.
8190 (atomic_compare_and_exchange_val_acq,
8191 atomic_compare_and_exchange_val_rel,
8192 atomic_compare_and_exchange_bool_acq,
8193 catomic_compare_and_exchange_bool_acq,
8194 atomic_exchange_acq, atomic_exchange_rel,
8195 atomic_exchange_and_add_acq,
8196 atomic_exchange_and_add_rel,
8197 catomic_exchange_and_add, atomic_or_val,
8198 atomic_or, catomic_or, atomic_bit_test_set,
8199 atomic_and_val, atomic_and, catomic_and):
8200 Define macros with help of C11 atomic builtins.
8201
8202 2017-03-03 Justus Winter <justus@gnupg.org>
8203
8204 * sysdeps/mach/hurd/ftruncate64.c: New file.
8205 * sysdeps/mach/hurd/truncate64.c: Likewise.
8206
8207 2017-03-03 Florian Weimer <fweimer@redhat.com>
8208
8209 * time/tzfile.c (NOID): Do not define.
8210 * time/tzset.c (NOID): Likewise.
8211
8212 2017-03-03 Florian Weimer <fweimer@redhat.com>
8213
8214 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8215
8216 2017-03-02 Florian Weimer <fweimer@redhat.com>
8217
8218 * elf/get-dynamic-info.h: Remove header file inclusion guard.
8219
8220 2017-03-02 Florian Weimer <fweimer@redhat.com>
8221
8222 [BZ #21015]
8223 * manual/install.texi (Configuring and compiling): Document
8224 --enable-bind-now.
8225 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8226 (build-shlib-helper): Use $(LDFLAGS-lib.so).
8227 (format.lds): Likewise.
8228 [bind-now] (LDFLAGS-c.so): Remove.
8229 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8230 be R_X86_64_GLOB_DAT.
8231 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8232 relocation can be R_386_GLOB_DAT.
8233 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8234 relocaiton can be R_ALPHA_GLOB_DAT.
8235 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8236
8237 2017-03-01 Zack Weinberg <zackw@panix.com>
8238
8239 * include/libc-pointer-arith.h: New file. Define
8240 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8241 PTR_ALIGN_DOWN here.
8242 * include/libc-internal.h: Definitions of above macros
8243 moved from here. Don't include libc-diag.h anymore either.
8244 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8245 Don't include libc-internal.h.
8246
8247 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8248 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8249 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8250 * string/strcoll_l.c, sysdeps/nacl/brk.c
8251 * sysdeps/unix/clock_settime.c
8252 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8253 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8254 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8255 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8256 Don't include libc-internal.h.
8257
8258 * elf/get-dynamic-info.h, iconv/loop.c
8259 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8260 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8261 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8262 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8263 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8267 * sysdeps/ieee754/ldbl-128/k_tanl.c
8268 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8269 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8270 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8271 Include libc-diag.h instead of libc-internal.h.
8272
8273 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8274 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8275 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8276 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8277 * sysdeps/unix/sysv/linux/spawni.c
8278 * sysdeps/x86_64/nptl/tls.h:
8279 Include libc-pointer-arith.h instead of libc-internal.h.
8280
8281 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8282 * sysdeps/x86_64/atomic-machine.h:
8283 Add multiple include guard.
8284
8285 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8286 * string/strcasestr.c: No need to include config.h.
8287 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8288 sys/auxv.h. Don't include sysdep.h.
8289 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8290
8291 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
8292 DL_LOOKUP_ADDRESS.
8293 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8294 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8295 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8296 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8297 of ARTIFICIAL_LIMIT.
8298 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8299 declaration of __clone2.
8300
8301 2017-02-28 Florian Weimer <fweimer@redhat.com>
8302
8303 * scripts/backport-support.sh (latest_commit): New file.
8304
8305 2017-02-28 Florian Weimer <fweimer@redhat.com>
8306
8307 [BZ #20257]
8308 * inet/Makefile (routines): Add deadline.
8309 (tests-static): Add tst-deadline.
8310 * inet/net-internal.h (struct deadline_current_time)
8311 (__deadline_current_time, struct deadline, __deadline_is_infinite)
8312 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8313 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8314 * inet/deadline.c: New file.
8315 * inet/tst-deadline.c: Likewise.
8316 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8317 tst-udp-timeout, tst-udp-garbage.
8318 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8319 explicitly.
8320 (tst-udp-garbage): Likewise. Also link against thread library.
8321 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8322 struct layout is part of the ABI.
8323 (clntudp_call): Rework timeout handling.
8324 * sunrpc/tst-udp-garbage.c: New file.
8325 * sunrpc/tst-udp-nonblocking.c: Likewise.
8326 * sunrpc/tst-udp-timeout.c: Likewise.
8327
8328 2017-02-28 Florian Weimer <fweimer@redhat.com>
8329
8330 [BZ #5010]
8331 * sunrpc/svc.c (svc_is_mapped): Remove.
8332 (svc_unregister): Obtain mapped status while the service is still
8333 registered.
8334 * sunrpc/Makefile [have-thread-library] (tests): Add
8335 tst-svc_register.
8336 (tst-svc_register): Link against libc.so explicitly and the thread
8337 library.
8338 * sunrpc/tst-svc_register.c: New file.
8339
8340 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
8341
8342 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8343 * sysdeps/pthread/bits/sigthread.h: Likewise.
8344
8345 2017-02-27 Florian Weimer <fweimer@redhat.com>
8346
8347 [BZ #21115]
8348 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8349 * sunrpc/Makefile (tests): Add tst-udp-error.
8350 (tst-udp-error): Link against libc.so explicitly.
8351 * sunrpc/tst-udp-error: New file.
8352
8353 2017-02-25 Zack Weinberg <zackw@panix.com>
8354
8355 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8356 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8357
8358 * sysdeps/generic/math_ldbl.h
8359 * sysdeps/ia64/fpu/math_ldbl.h
8360 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8362 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8363 * sysdeps/powerpc/fpu/math_ldbl.h
8364 * sysdeps/x86_64/fpu/math_ldbl.h:
8365 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8366 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8367 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8368 Add copyright notices.
8369
8370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8371 Don't use EXTRACT_WORDS64.
8372
8373 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8374 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8375 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8376 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8377 Include math_ldbl.h, not math_private.h.
8378
8379 2017-02-25 Zack Weinberg <zackw@panix.com>
8380
8381 * include/libc-diag.h: New file. Define ignore_value,
8382 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8383 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8384
8385 * include/libc-internal.h: Definitions of above macros moved from
8386 here. Include libc-diag.h. Add copyright notice.
8387
8388 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8389 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8390 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8391 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8392 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8393 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8394 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8395 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8396 Include libc-diag.h instead of libc-internal.h.
8397
8398 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8399 call to unsetenv (NULL).
8400 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8401 call to pthread_mutexattr_destroy (NULL).
8402
8403 2017-02-25 Zack Weinberg <zackw@panix.com>
8404
8405 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8406 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8407 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8408 gets was removed from C++ in C++14.
8409 * include/stdio.h: Remove redundant declaration of gets.
8410 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8411 be declared, since we are testing it.
8412 * stdio-common/Makefile (tst-gets.c): Compile with
8413 -Wno-deprecated-declarations.
8414 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8415 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8416 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8417 Compile with -Wno-deprecated-declarations.
8418
8419 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8420
8421 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8422 numbers.
8423
8424 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8425
8426 * resolv/tst-resolv-qtypes.c (domain):
8427 Change type to const pointer to const char.
8428
8429 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8430
8431 * math/Makefile (libm-tests-generated): Remove variable.
8432 (libm-tests-base-normal): New variable.
8433 (libm-tests-base-finite): Likewise.
8434 (libm-tests-base-inline): Likewise.
8435 (libm-tests-base): Likewise.
8436 (libm-tests-normal): Likewise.
8437 (libm-tests-finite): Likewise.
8438 (libm-tests-inline): Likewise.
8439 (libm-tests-vector): Likewise.
8440 (libm-tests): Define in terms of these new variables.
8441 (libm-tests-for-type): New variable.
8442 (libm-tests.o): Move definition.
8443 (tests): Move addition of $(libm-tests).
8444 (generated): Update for new and removed libm test files.
8445 ($(objpfx)libm-test.c): Remove target.
8446 ($(objpfx)libm-have-vector-test.h): Likewise.
8447 (CFLAGS-test-double-vlen2.c): Remove variable.
8448 (CFLAGS-test-double-vlen4.c): Likewise.
8449 (CFLAGS-test-double-vlen8.c): Likewise.
8450 (CFLAGS-test-float-vlen4.c): Likewise.
8451 (CFLAGS-test-float-vlen8.c): Likewise.
8452 (CFLAGS-test-float-vlen16.c): Likewise.
8453 (CFLAGS-test-float.c): Likewise.
8454 (CFLAGS-test-float-finite.c): Likewise.
8455 (CFLAGS-libm-test-support-float.c): Likewise.
8456 (CFLAGS-test-double.c): Likewise.
8457 (CFLAGS-test-double-finite.c): Likewise.
8458 (CFLAGS-libm-test-support-double.c): Likewise.
8459 (CFLAGS-test-ldouble.c): Likewise.
8460 (CFLAGS-test-ldouble-finite.c): Likewise.
8461 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8462 (libm-test-inline-cflags): New variable.
8463 (CFLAGS-test-ifloat.c): Remove variable.
8464 (CFLAGS-test-idouble.c): Likewise.
8465 (CFLAGS-test-ildouble.c): Likewise.
8466 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8467 dependencies.
8468 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8469 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8470 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8471 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8472 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8473 Likewise.
8474 (dependencies on libm-test-support-*.o): Remove.
8475 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8476 rules using iterators.
8477 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8478 Likewise.
8479 ($(objpfx)libm-test-support-$(o).o): Likewise.
8480 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8481 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8482 instead.
8483 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8484 define rule instead.
8485 * math/README.libm-test: Update.
8486 * math/libm-test-acos.inc: Include libm-test-driver.c.
8487 (do_test): New function.
8488 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8489 (do_test): New function.
8490 * math/libm-test-asin.inc: Include libm-test-driver.c.
8491 (do_test): New function.
8492 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8493 (do_test): New function.
8494 * math/libm-test-atan.inc: Include libm-test-driver.c.
8495 (do_test): New function.
8496 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8497 (do_test): New function.
8498 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8499 (do_test): New function.
8500 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8501 (do_test): New function.
8502 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8503 (do_test): New function.
8504 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8505 (do_test): New function.
8506 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8507 (do_test): New function.
8508 * math/libm-test-carg.inc: Include libm-test-driver.c.
8509 (do_test): New function.
8510 * math/libm-test-casin.inc: Include libm-test-driver.c.
8511 (do_test): New function.
8512 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8513 (do_test): New function.
8514 * math/libm-test-catan.inc: Include libm-test-driver.c.
8515 (do_test): New function.
8516 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8517 (do_test): New function.
8518 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8519 (do_test): New function.
8520 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8521 (do_test): New function.
8522 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8523 (do_test): New function.
8524 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8525 (do_test): New function.
8526 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8527 (do_test): New function.
8528 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8529 (do_test): New function.
8530 * math/libm-test-clog.inc: Include libm-test-driver.c.
8531 (do_test): New function.
8532 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8533 (do_test): New function.
8534 * math/libm-test-conj.inc: Include libm-test-driver.c.
8535 (do_test): New function.
8536 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8537 (do_test): New function.
8538 * math/libm-test-cos.inc: Include libm-test-driver.c.
8539 (do_test): New function.
8540 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8541 (do_test): New function.
8542 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8543 (do_test): New function.
8544 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8545 (do_test): New function.
8546 * math/libm-test-creal.inc: Include libm-test-driver.c.
8547 (do_test): New function.
8548 * math/libm-test-csin.inc: Include libm-test-driver.c.
8549 (do_test): New function.
8550 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8551 (do_test): New function.
8552 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8553 (do_test): New function.
8554 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8555 (do_test): New function.
8556 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8557 (do_test): New function.
8558 * math/libm-test-erf.inc: Include libm-test-driver.c.
8559 (do_test): New function.
8560 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8561 (do_test): New function.
8562 * math/libm-test-exp.inc: Include libm-test-driver.c.
8563 (do_test): New function.
8564 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8565 (do_test): New function.
8566 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8567 (do_test): New function.
8568 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8569 (do_test): New function.
8570 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8571 (do_test): New function.
8572 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8573 (do_test): New function.
8574 * math/libm-test-floor.inc: Include libm-test-driver.c.
8575 (do_test): New function.
8576 * math/libm-test-fma.inc: Include libm-test-driver.c.
8577 (do_test): New function.
8578 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8579 (do_test): New function.
8580 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8581 (do_test): New function.
8582 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8583 (do_test): New function.
8584 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8585 (do_test): New function.
8586 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8587 (do_test): New function.
8588 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8589 (do_test): New function.
8590 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8591 (do_test): New function.
8592 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8593 (do_test): New function.
8594 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8595 (do_test): New function.
8596 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8597 (do_test): New function.
8598 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8599 (do_test): New function.
8600 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8601 (do_test): New function.
8602 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8603 (do_test): New function.
8604 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8605 (do_test): New function.
8606 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8607 (do_test): New function.
8608 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8609 (do_test): New function.
8610 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8611 (do_test): New function.
8612 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8613 (do_test): New function.
8614 * math/libm-test-isless.inc: Include libm-test-driver.c.
8615 (do_test): New function.
8616 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8617 (do_test): New function.
8618 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8619 (do_test): New function.
8620 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8621 (do_test): New function.
8622 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8623 (do_test): New function.
8624 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8625 (do_test): New function.
8626 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8627 (do_test): New function.
8628 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8629 (do_test): New function.
8630 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8631 (do_test): New function.
8632 * math/libm-test-j0.inc: Include libm-test-driver.c.
8633 (do_test): New function.
8634 * math/libm-test-j1.inc: Include libm-test-driver.c.
8635 (do_test): New function.
8636 * math/libm-test-jn.inc: Include libm-test-driver.c.
8637 (do_test): New function.
8638 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8639 (do_test): New function.
8640 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8641 (do_test): New function.
8642 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8643 (do_test): New function.
8644 * math/libm-test-llround.inc: Include libm-test-driver.c.
8645 (do_test): New function.
8646 * math/libm-test-log.inc: Include libm-test-driver.c.
8647 (do_test): New function.
8648 * math/libm-test-log10.inc: Include libm-test-driver.c.
8649 (do_test): New function.
8650 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8651 (do_test): New function.
8652 * math/libm-test-log2.inc: Include libm-test-driver.c.
8653 (do_test): New function.
8654 * math/libm-test-logb.inc: Include libm-test-driver.c.
8655 (do_test): New function.
8656 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8657 (do_test): New function.
8658 * math/libm-test-lround.inc: Include libm-test-driver.c.
8659 (do_test): New function.
8660 * math/libm-test-modf.inc: Include libm-test-driver.c.
8661 (do_test): New function.
8662 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8663 (do_test): New function.
8664 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8665 (do_test): New function.
8666 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8667 (do_test): New function.
8668 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8669 (do_test): New function.
8670 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8671 (do_test): New function.
8672 * math/libm-test-pow.inc: Include libm-test-driver.c.
8673 (do_test): New function.
8674 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8675 (do_test): New function.
8676 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8677 (do_test): New function.
8678 * math/libm-test-rint.inc: Include libm-test-driver.c.
8679 (do_test): New function.
8680 * math/libm-test-round.inc: Include libm-test-driver.c.
8681 (do_test): New function.
8682 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8683 (do_test): New function.
8684 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8685 (do_test): New function.
8686 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8687 (do_test): New function.
8688 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8689 (do_test): New function.
8690 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8691 (do_test): New function.
8692 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8693 (do_test): New function.
8694 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8695 (do_test): New function.
8696 * math/libm-test-significand.inc: Include libm-test-driver.c.
8697 (do_test): New function.
8698 * math/libm-test-sin.inc: Include libm-test-driver.c.
8699 (do_test): New function.
8700 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8701 (do_test): New function.
8702 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8703 (do_test): New function.
8704 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8705 (do_test): New function.
8706 * math/libm-test-tan.inc: Include libm-test-driver.c.
8707 (do_test): New function.
8708 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8709 (do_test): New function.
8710 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8711 (do_test): New function.
8712 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8713 (do_test): New function.
8714 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8715 (do_test): New function.
8716 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8717 (do_test): New function.
8718 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8719 (do_test): New function.
8720 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8721 (do_test): New function.
8722 * math/libm-test-y0.inc: Include libm-test-driver.c.
8723 (do_test): New function.
8724 * math/libm-test-y1.inc: Include libm-test-driver.c.
8725 (do_test): New function.
8726 * math/libm-test-yn.inc: Include libm-test-driver.c.
8727 (do_test): New function.
8728 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8729 (HAVE_VECTOR): Remove macro.
8730 (START): Do not call HAVE_VECTOR.
8731 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8732 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8733 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8734 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8735 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8736 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8737 * math/test-math-vector.h (FUNC_TEST): New macro.
8738 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8739 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8740 (double-vlen4-funcs): Likewise.
8741 (double-vlen4-avx2-funcs): Likewise.
8742 (double-vlen8-funcs): Likewise.
8743 (float-vlen4-funcs): Likewise.
8744 (float-vlen8-funcs): Likewise.
8745 (float-vlen8-avx2-funcs): Likewise.
8746 (float-vlen16-funcs): Likewise.
8747 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8748 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8749 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8750 macro.
8751 (TEST_VECTOR_sin): Likewise.
8752 (TEST_VECTOR_sincos): Likewise.
8753 (TEST_VECTOR_log): Likewise.
8754 (TEST_VECTOR_exp): Likewise.
8755 (TEST_VECTOR_pow): Likewise.
8756 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8757 Likewise.
8758 (TEST_VECTOR_sin): Likewise.
8759 (TEST_VECTOR_sincos): Likewise.
8760 (TEST_VECTOR_log): Likewise.
8761 (TEST_VECTOR_exp): Likewise.
8762 (TEST_VECTOR_pow): Likewise.
8763 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8764 Likewise.
8765 (TEST_VECTOR_sinf): Likewise.
8766 (TEST_VECTOR_sincosf): Likewise.
8767 (TEST_VECTOR_logf): Likewise.
8768 (TEST_VECTOR_expf): Likewise.
8769 (TEST_VECTOR_powf): Likewise.
8770 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8771 Likewise.
8772 (TEST_VECTOR_sinf): Likewise.
8773 (TEST_VECTOR_sincosf): Likewise.
8774 (TEST_VECTOR_logf): Likewise.
8775 (TEST_VECTOR_expf): Likewise.
8776 (TEST_VECTOR_powf): Likewise.
8777 * math/gen-libm-have-vector-test.sh: Remove file.
8778 * math/libm-test.inc: Likewise.
8779 * math/libm-test-support-double.c: Likewise.
8780 * math/libm-test-support-float.c: Likewise.
8781 * math/libm-test-support-ldouble.c: Likewise.
8782 * math/test-double-finite.c: Likewise.: Likewise.
8783 * math/test-double.c: Likewise.
8784 * math/test-float-finite.c: Likewise.
8785 * math/test-float.c: Likewise.
8786 * math/test-idouble.c: Likewise.
8787 * math/test-ifloat.c: Likewise.
8788 * math/test-ildouble.c: Likewise.
8789 * math/test-ldouble-finite.c: Likewise.
8790 * math/test-ldouble.c: Likewise.
8791 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8792 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8793 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8794 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8795 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8796 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8797 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8798 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8799 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8800 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8801
8802 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8803 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8804
8805 * math/Makefile: Add wrappers to gen-libm-calls.
8806 * math/w_acos_template.c: New file.
8807 * math/w_acosh_template.c: Likewise.
8808 * math/w_asin_template.c: Likewise.
8809 * math/w_atan2_template.c: Likewise.
8810 * math/w_atanh_template.c: Likewise.
8811 * math/w_cosh_template.c: Likewise.
8812 * math/w_exp10_template.c: Likewise.
8813 * math/w_exp2_template.c: Likewise.
8814 * math/w_exp_template.c: Likewise.
8815 * math/w_fmod_template.c: Likewise.
8816 * math/w_hypot_template.c: Likewise.
8817 * math/w_j0_template.c: Likewise.
8818 * math/w_j1_template.c: Likewise.
8819 * math/w_jn_template.c: Likewise.
8820 * math/w_lgamma_r_template.c: Likewise.
8821 * math/w_lgamma_template.c: Likewise.
8822 * math/w_log10_template.c: Likewise.
8823 * math/w_log2_template.c: Likewise.
8824 * math/w_log_template.c: Likewise.
8825 * math/w_pow_template.c: Likewise.
8826 * math/w_remainder_template.c: Likewise.
8827 * math/w_sinh_template.c: Likewise.
8828 * math/w_sqrt_template.c: Likewise.
8829 * math/w_tgamma_template.c: Likewise.: Likewise.
8830 * sysdeps/generic/math-type-macros-double.h
8831 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8832 the new wrappers.
8833 * sysdeps/generic/math-type-macros-float.h: Likewise.
8834 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8835
8836 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8837
8838 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8839 New enum constant and macro.
8840
8841 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8842 kernel version to 4.10.
8843
8844 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8845
8846 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8847
8848 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8849
8850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8851
8852 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8853
8854 * sysdeps/powerpc/tst-set_ppr.c: New file.
8855 Implement test cases for __ppc_set_ppr_* functions.
8856 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8857 in the list of tests.
8858
8859 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8860
8861 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8862 instead of test-skeleton.c.
8863 (do_test): Replaced pthread_create and pthread_join with
8864 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8865 Removed unneeded status variable.
8866 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8867 instead of test-skeleton.c.
8868 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8869
8870 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8871
8872 [BZ #20313]
8873 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8874 201605L, for Unicode 9.
8875
8876 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8877
8878 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8879 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8880 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8881 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8882 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8883 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8884
8885 2017-02-19 Zack Weinberg <zackw@panix.com>
8886
8887 * rt/tst-mqueue4.c: Include stdint.h.
8888
8889 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8890
8891 * sysdeps/arm/libm-test-ulps: Update.
8892 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8893 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8894 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8895
8896 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8897
8898 [BZ #21029]
8899 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8900 * sysdeps/unix/sysv/linux/i386/Makefile
8901 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8902 (uses-6-syscall-arguments): Remove.
8903 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8904 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8905 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8906 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8907 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8908 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8909 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8910 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8911 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8912 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8913 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8914 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8915 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8916 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8917 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8918 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8919 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8920 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8921 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8922 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8923 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8924 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8925 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8926 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8927 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8928 Likewise.
8929 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8930 Likewise.
8931 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8932 Likewise.
8933 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8934 Likewise.
8935 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8936 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8937 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8938 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8939 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8940 ebp on inline assembly.
8941 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8942 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8943 Set if CAN_USE_REGISTER_ASM_EBP is set.
8944
8945 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8946
8947 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8948 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8949
8950 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8951
8952 * math/auto-libm-test-in: Add tests of catan and catanh.
8953 * math/auto-libm-test-out-catan: New generated file.
8954 * math/auto-libm-test-out-catanh: Likewise.
8955 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8956 Move tests with finite inputs, except divide-by-zero cases, to
8957 auto-libm-test-in.
8958 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8959 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8960 (libm-test-funcs-noauto): Remove catan and catanh.
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8964
8965 * math/auto-libm-test-in: Add tests of casin and casinh.
8966 * math/auto-libm-test-out-casin: New generated file.
8967 * math/auto-libm-test-out-casinh: Likewise.
8968 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8969 Move tests with finite inputs to auto-libm-test-in.
8970 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8971 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8972 (libm-test-funcs-noauto): Remove casin and casinh.
8973 * sysdeps/i386/fpu/libm-test-ulps: Update.
8974 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8976
8977 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8978 * math/auto-libm-test-out-cacos: New generated file.
8979 * math/auto-libm-test-out-cacosh: Likewise.
8980 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8981 Move tests with finite inputs to auto-libm-test-in.
8982 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8983 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8984 (libm-test-funcs-noauto): Remove cacos and cacosh.
8985 * sysdeps/i386/fpu/libm-test-ulps: Update.
8986 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988
8989 Revert:
8990 2017-02-16 Zack Weinberg <zackw@panix.com>
8991
8992 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8993 Don't include init-arch.h.
8994 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8995 Don't include init-arch.h.
8996
8997 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8998
8999 [BZ #21171]
9000 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
9001 +Inf and raise divide-by-zero when x is negative.
9002 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
9003 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
9004 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
9005 -Inf and raise divide-by-zero when x = +-0.
9006 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9007 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9008 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
9009 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
9010 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9013
9014 2017-02-16 Zack Weinberg <zackw@panix.com>
9015
9016 * scripts/build-many-glibcs.py (bot_build_mail): If the
9017 bot_config does not contain all of the necessary email-
9018 related settings, just print a warning and continue.
9019
9020 2017-02-16 Zack Weinberg <zackw@panix.com>
9021
9022 * crypt/md5.h: Test _LIBC with #if defined, not #if.
9023 * dirent/opendir-tst1.c: Include sys/stat.h.
9024 * dirent/tst-fdopendir.c: Include sys/stat.h.
9025 * dirent/tst-fdopendir2.c: Include stdlib.h.
9026 * dirent/tst-scandir.c: Include stdbool.h.
9027 * elf/tst-auditmod1.c: Include link.h and stddef.h.
9028 * elf/tst-tls15.c: Include stdlib.h.
9029 * elf/tst-tls16.c: Include stdlib.h.
9030 * elf/tst-tls17.c: Include stdlib.h.
9031 * elf/tst-tls18.c: Include stdlib.h.
9032 * iconv/tst-iconv6.c: Include endian.h.
9033 * iconvdata/bug-iconv11.c: Include limits.h.
9034 * io/test-utime.c: Include stdint.h.
9035 * io/tst-faccessat.c: Include sys/stat.h.
9036 * io/tst-fchmodat.c: Include sys/stat.h.
9037 * io/tst-fchownat.c: Include sys/stat.h.
9038 * io/tst-fstatat.c: Include sys/stat.h.
9039 * io/tst-futimesat.c: Include sys/stat.h.
9040 * io/tst-linkat.c: Include sys/stat.h.
9041 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
9042 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
9043 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
9044 * io/tst-openat.c: Include stdbool.h.
9045 * io/tst-readlinkat.c: Include sys/stat.h.
9046 * io/tst-renameat.c: Include sys/stat.h.
9047 * io/tst-symlinkat.c: Include sys/stat.h.
9048 * io/tst-unlinkat.c: Include stdbool.h.
9049 * libio/bug-memstream1.c: Include stdlib.h.
9050 * libio/bug-wmemstream1.c: Include stdlib.h.
9051 * libio/tst-fwrite-error.c: Include stdlib.h.
9052 * libio/tst-memstream1.c: Include stdlib.h.
9053 * libio/tst-memstream2.c: Include stdlib.h.
9054 * libio/tst-memstream3.c: Include stdlib.h.
9055 * malloc/tst-interpose-aux.c: Include stdint.h.
9056 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
9057 * nptl/tst-basic7.c: Include limits.h.
9058 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
9059 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
9060 * nptl/tst-cancel4_1.c: Include stddef.h.
9061 * nptl/tst-cancel4_2.c: Include stddef.h.
9062 * nptl/tst-cond16.c: Include limits.h.
9063 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9064 * nptl/tst-cond18.c: Include limits.h.
9065 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9066 * nptl/tst-cond4.c: Include stdint.h.
9067 * nptl/tst-cond6.c: Include stdint.h.
9068 * nptl/tst-stack2.c: Include limits.h.
9069 * nptl/tst-stackguard1.c: Include stddef.h.
9070 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
9071 * nptl/tst-tls4moda.c: Include stddef.h.
9072 Don't include stdio.h, unistd.h, or tls.h.
9073 * nptl/tst-tls4modb.c: Include stddef.h.
9074 Don't include stdio.h, unistd.h, or tls.h.
9075 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
9076 * posix/tst-getaddrinfo2.c: Include stdio.h.
9077 * posix/tst-getaddrinfo5.c: Include stdio.h.
9078 * posix/tst-pathconf.c: Include sys/stat.h.
9079 * posix/tst-posix_fadvise-common.c: Include stdint.h.
9080 * posix/tst-preadwrite-common.c: Include sys/stat.h.
9081 * posix/tst-regex.c: Include stdint.h.
9082 Don't include spawn.h or spawn_int.h.
9083 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
9084 * posix/tst-vfork3.c: Include sys/stat.h.
9085 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
9086 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
9087 * resolv/tst-resolv-search.c: Include stdlib.h.
9088 * stdio-common/tst-fmemopen2.c: Include stdint.h.
9089 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
9090 * stdlib/test-canon.c: Include sys/stat.h.
9091 * stdlib/tst-tls-atexit.c: Include stdbool.h.
9092 * string/test-memchr.c: Include stdint.h.
9093 * string/tst-cmp.c: Include stdint.h.
9094 * sysdeps/pthread/tst-timer.c: Include stdint.h.
9095 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
9096 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
9097 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9098 Don't include init-arch.h.
9099 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9100 Don't include init-arch.h.
9101 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
9102 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
9103 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
9104 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
9105 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
9106 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
9107 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
9108 * time/clocktest.c: Include stdint.h.
9109 * time/tst-posixtz.c: Include stdint.h.
9110 * timezone/tst-timezone.c: Include stdint.h.
9111
9112 2017-02-16 Zack Weinberg <zackw@panix.com>
9113
9114 * string/string.h [__USE_MISC]: Include strings.h.
9115 (__bzero, bcmp, bcopy, bzero, index, rindex)
9116 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
9117 (ffs, ffsl, ffsll): Don't declare.
9118 * string/strings.h: Do not suppress the file if string.h has
9119 already been included.
9120 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
9121 annotations.
9122 (index, rindex): Define inline forwarders even if
9123 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
9124 (ffs): Use __attribute_const__.
9125 (ffsl, ffsll): Declare here.
9126 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
9127 have now been standardized.
9128 * include/string.h (__bzero): Declare here.
9129
9130 * bits/types.h: Move to posix/bits.
9131 * include/bits/types.h: New wrapper.
9132
9133 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9134
9135 * string/bits/string2.h (strcmp): Remove define.
9136 (__strcmp_cg): Likewise.
9137 (strncmp): Likewise.
9138
9139 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9140
9141 * include/string.h: Add __cplusplus check.
9142
9143 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9144
9145 [BZ #21134]
9146 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9147 "divide by zero" exception when the input is zero.
9148 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9149 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9150 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9151 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9152 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9153
9154 2017-02-15 Joseph Myers <joseph@codesourcery.com>
9155
9156 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9157 and include ...
9158 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
9159 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9160 to, and include ...
9161 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
9162 file.
9163 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9164 and include ...
9165 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
9166 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9167 and include ...
9168 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
9169 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9170 and include ...
9171 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
9172 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9173 and include ...
9174 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
9175 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9176 to, and include ...
9177 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
9178 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9179 and include ...
9180 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
9181
9182 2017-02-14 Joseph Myers <joseph@codesourcery.com>
9183
9184 * math/libm-test-support.h: Do not include <math-tests-arch.h>
9185 here.
9186 * math/libm-test-support.c (libm_test_init): Do not call
9187 INIT_ARCH_EXT here.
9188 * math/libm-test-driver.c: Include <math-tests-arch.h>.
9189 (main): Call INIT_ARCH_EXT.
9190
9191 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9192
9193 [BZ #21130]
9194 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9195 with the "invalid" exception raised when x is -Inf.
9196 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9197
9198 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
9199
9200 * string/bits/string2.h (strchr): Remove define.
9201
9202 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
9203
9204 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9205 tst-avx512.
9206 (test-extras): Add tst-avx-aux and tst-avx512-aux.
9207 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9208 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9209 ($(objpfx)tst-sse): New rule.
9210 ($(objpfx)tst-avx): Likewise.
9211 ($(objpfx)tst-avx512): Likewise.
9212 (CFLAGS-tst-avx-aux.c): New.
9213 (CFLAGS-tst-avxmod.c): Likewise.
9214 (CFLAGS-tst-avx512-aux.c): Likewise.
9215 (CFLAGS-tst-avx512mod.c): Likewise.
9216 * sysdeps/x86_64/tst-avx-aux.c: New file.
9217 * sysdeps/x86_64/tst-avx.c: Likewise.
9218 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9219 * sysdeps/x86_64/tst-avx512.c: Likewise.
9220 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9221 * sysdeps/x86_64/tst-avxmod.c: Likewise.
9222 * sysdeps/x86_64/tst-sse.c: Likewise.
9223 * sysdeps/x86_64/tst-ssemod.c: Likewise.
9224
9225 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9226
9227 * math/auto-libm-test-in: Add more tests of csin and csinh.
9228 * math/auto-libm-test-out-csin: Regenerated.
9229 * math/auto-libm-test-out-csinh: Likewise.
9230 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9231 auto-libm-test-in.
9232 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9233
9234 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9235
9236 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9237 libm-compat-calls-auto.
9238 (libm-compat-calls): Likewise.
9239 (libm-compat-calls-auto): Rename to libm-compat-calls and add
9240 w_lgamma_compatF and k_standardF (merged from the items above).
9241 (libm-routines): Use libm-compat-calls, instead of
9242 libm-compat-calls-auto, with type-foreach.
9243
9244 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9245
9246 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9247 macro.
9248 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9249 (CFLAGS-test-ifloat.c): ... this. Remove
9250 -U__LIBC_INTERNAL_MATH_INLINES.
9251 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9252 (CFLAGS-test-idouble.c): ... this. Remove
9253 -U__LIBC_INTERNAL_MATH_INLINES.
9254 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9255 (CFLAGS-test-ildouble.c): ... this. Remove
9256 -U__LIBC_INTERNAL_MATH_INLINES.
9257
9258 2017-02-08 Joseph Myers <joseph@codesourcery.com>
9259
9260 * math/libm-test-support.c: New file. Content from
9261 math/libm-test-driver.c.
9262 * math/libm-test-support.h: Likewise.
9263 * math/libm-test-support-double.c: New file.
9264 * math/libm-test-support-float.c: Likewise.
9265 * math/libm-test-support-ldouble.c: Likewise.
9266 * math/libm-test-driver.c: Remove main comment and header
9267 includes. Include libm-test-support.h.
9268 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9269 (flag_test_errno): Remove static.
9270 (flag_test_exceptions): Likewise.
9271 (flag_test_finite): Likewise.
9272 (flag_test_inline): Likewise.
9273 (flag_test_mathvec): Likewise.
9274 (test_msg): Likewise.
9275 (NO_EXCEPTION): Remove.
9276 (INVALID_EXCEPTION): Likewise.
9277 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9278 (OVERFLOW_EXCEPTION): Likewise.
9279 (UNDERFLOW_EXCEPTION): Likewise.
9280 (INEXACT_EXCEPTION): Likewise.
9281 (INVALID_EXCEPTION_OK): Likewise.
9282 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9283 (OVERFLOW_EXCEPTION_OK): Likewise.
9284 (UNDERFLOW_EXCEPTION_OK): Likewise.
9285 (NO_INEXACT_EXCEPTION): Likewise.
9286 (EXCEPTIONS_OK): Likewise.
9287 (IGNORE_ZERO_INF_SIGN): Likewise.
9288 (TEST_NAN_SIGN): Likewise.
9289 (TEST_NAN_PAYLOAD): Likewise.
9290 (NO_TEST_INLINE): Likewise.
9291 (XFAIL_TEST): Likewise.
9292 (ERRNO_UNCHANGED): Likewise.
9293 (ERRNO_EDOM): Likewise.
9294 (ERRNO_ERANGE): Likewise.
9295 (IGNORE_RESULT): Likewise.
9296 (NON_FINITE): Likewise.
9297 (TEST_SNAN): Likewise.
9298 (NO_TEST_MATHVEC): Likewise.
9299 (__CONCATX): Likewise.
9300 (TYPE_MIN): Likewise.
9301 (TYPE_TRUE_MIN): Likewise.
9302 (TYPE_MAX): Likewise.
9303 (MIN_EXP): Likewise.
9304 (MAX_EXP): Likewise.
9305 (MANT_DIG): Likewise.
9306 (FSTR_MAX): Likewise.
9307 (ulp_idx): Likewise.
9308 (qtype_str): Remove static.
9309 (TEST_COND_binary32): Remove.
9310 (TEST_COND_binary64): Likewise.
9311 (TEST_COND_binary128): Likewise.
9312 (TEST_COND_ibm128): Likewise.
9313 (TEST_COND_intel96): Likewise.
9314 (TEST_COND_m68k96): Likewise.
9315 (TEST_COND_ibm128_libgcc): Likewise.
9316 (XFAIL_IBM128_LIBGCC): Likewise.
9317 (PAYLOAD_DIG): Likewise.
9318 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9319 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9320 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9321 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9322 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9323 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9324 (TEST_COND_long32): Likewise.
9325 (TEST_COND_long64): Likewise.
9326 (TEST_COND_before_rounding): Likewise.
9327 (TEST_COND_after_rounding): Likewise.
9328 (ulps_file_name): Likewise.
9329 (ulps_file): Likewise.
9330 (output_ulps): Likewise.
9331 (output_dir): Likewise.
9332 (noErrors): Likewise.
9333 (noTests): Likewise.
9334 (noExcTests): Likewise.
9335 (noErrnoTests): Likewise.
9336 (verbose): Likewise.
9337 (output_max_error): Likewise.
9338 (output_points): Likewise.
9339 (ignore_max_ulp): Likewise.
9340 (max_error): Likewise.
9341 (real_max_error): Likewise.
9342 (imag_max_error): Likewise.
9343 (prev_max_error): Likewise.
9344 (prev_real_max_error): Likewise.
9345 (prev_imag_max_error): Likewise.
9346 (max_valid_error): Likewise.
9347 (TYPE_DECIMAL_DIG): Likewise.
9348 (TYPE_HEX_DIG): Likewise.
9349 (fmt_ftostr): Likewise.
9350 (compare_ulp_data): Likewise.
9351 (find_ulps): Likewise.
9352 (init_max_error): Likewise.
9353 (set_max_error): Likewise.
9354 (print_float): Likewise.
9355 (print_screen): Likewise.
9356 (print_screen_max_error): Likewise.
9357 (update_stats): Likewise.
9358 (print_function_ulps): Likewise.
9359 (print_complex_function_ulps): Likewise.
9360 (fpstack_test): Likewise.
9361 (print_max_error): Likewise.
9362 (print_complex_max_error): Likewise.
9363 (test_single_exception): Likewise.
9364 (test_exceptions): Likewise.
9365 (test_single_errno): Likewise.
9366 (test_errno): Likewise.
9367 (ULPDIFF): Likewise.
9368 (ulp): Likewise.
9369 (check_float_internal): Likewise.
9370 (check_float): Likewise.
9371 (check_complex): Likewise.
9372 (check_int): Likewise.
9373 (check_long): Likewise.
9374 (check_bool): Likewise.
9375 (check_longlong): Likewise.
9376 (check_intmax_t): Likewise.
9377 (check_uintmax_t): Likewise.
9378 (enable_test): Likewise.
9379 (matherr): Likewise.
9380 (initialize): Likewise.
9381 (options): Likewise.
9382 (doc): Remove static.
9383 (argp): Likewise.
9384 (parse_opt): Remove.
9385 (check_ulp): Likewise.
9386 (libm_test_init): Likewise.
9387 (libm_test_finish): Likewise.
9388 * math/Makefile (libm-test-support): New variable.
9389 (test-extras): Add libm-test-support files.
9390 (extra-test-objs): Likewise.
9391 (CFLAGS-libm-test-support-float.c): New variable.
9392 (CFLAGS-libm-test-support-double.c): Likewise.
9393 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9394 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9395 libm-test-support objects.
9396
9397 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9398
9399 * math/Makefile (libm-calls): Move w_exp...
9400 (libm-compat-calls-auto): Here.
9401
9402 * math/w_expl.c: Add suffix "_compat" to filename.
9403 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9404 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9405 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9407 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9411
9412 * math/w_expl_compat.c: New file, copied from above.
9413 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9414 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9415 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9417 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9420 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9421
9422 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9423 to filename.
9424 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9425
9426 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9427 copied from above and adjusted for the new filenames.
9428 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9429
9430 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9431
9432 * math/Makefile (libm-calls): Move w_lgammaF...
9433 (libm-compat-calls-auto): Here.
9434
9435 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9436 * math/w_lgammaf.c: Likewise.
9437 * math/w_lgammal.c: Likewise.
9438
9439 * math/w_lgamma_compat2.c: New file, copied from above.
9440 * math/w_lgammaf_compat2.c: Likewise.
9441 * math/w_lgammal_compat2.c: Likewise.
9442
9443 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9444
9445 * math/Makefile (libm-calls): Move w_lgammaF_r...
9446 (libm-compat-calls-auto): Here.
9447
9448 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9449 * math/w_lgammaf_r.c: Likewise.
9450 * math/w_lgammal_r.c: Likewise.
9451 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9452 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9453 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9454
9455 * math/w_lgamma_r_compat.c: New file, copied from above.
9456 * math/w_lgammaf_r_compat.c: Likewise.
9457 * math/w_lgammal_r_compat.c: Likewise.
9458 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9459 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9460 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9461
9462 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9463 to filename.
9464 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9465
9466 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9467 copied from above and adjusted for the new filenames.
9468 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9469
9470 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9471
9472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9473 calculation in SYSCALL_ERROR_HANDLER().
9474
9475 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9476
9477 * manual/contrib.texi: Fix typo.
9478
9479 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9480
9481 [BZ #21109]
9482 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9483 tunable_val_t as argument.
9484 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9485 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9486 argument.
9487 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9488
9489 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9490
9491 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9492 Add PTRACE_EVENT_STOP.
9493 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9494 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9495 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9497 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9498 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9499
9500 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9501
9502 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9503 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9504 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9505 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9506 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9507 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9508 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9509 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9510 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9511 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9512
9513 [BZ #21112]
9514 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9515 12 bits zero.
9516 (cp_l): Update for new value of cp_h.
9517 * math/auto-libm-test-in: Add another test of pow.
9518 * math/auto-libm-test-out-pow: Regenerated.
9519
9520 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9521
9522 * manual/contrib.texi: Fix typo.
9523
9524 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9525
9526 [BZ #15998]
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9528 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9530
9531 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9532
9533 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9534 STRCHR as __strchr_power8.
9535 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9536 strlen as __strlen_power8.
9537
9538 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9539
9540 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9541 unaligned load for shorter strings.
9542 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9543
9544 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9545
9546 * math/libm-test-driver.c (flag_test_errno): New variable.
9547 (flag_test_exceptions): Likewise.
9548 (flag_test_finite): Likewise.
9549 (flag_test_inline): Likewise.
9550 (flag_test_mathvec): Likewise.
9551 (test_msg): Likewise.
9552 (ulp_idx): Likewise.
9553 (qtype_str): Likewise.
9554 (ULP_IDX): Remove macro.
9555 (QTYPE_STR): Likewise.
9556 (find_ulps): Use ulp_idx not ULP_IDX.
9557 (print_function_ulps): Use qtype_str, printed with %s, not
9558 QTYPE_STR, printed with concatentation to format string.
9559 (print_complex_function_ulps): Likewise.
9560 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9561 (test_errno): Use flag_test_errno not TEST_ERRNO.
9562 (enable_test): Use flag_test_inline, flag_test_finite and
9563 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9564 TEST_MATHVEC.
9565 (libm_test_init): New function. Factored out of main.
9566 (libm_test_finish): Likewise.
9567 (main): Call libm_test_init and libm_test_finish and move most
9568 code to those functions.
9569
9570 * math/libm-test-driver.c (STRX): New macro.
9571 (STR): Likewise.
9572 (STR_FLOAT): Likewise.
9573 (STR_VEC_LEN): Likewise.
9574 (TEST_MSG): Likewise. Define here instead of expecting to be
9575 defined by including file.
9576 * math/test-double-finite.c (TEST_MSG): Remove macro.
9577 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9578 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9579 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9580 * math/test-double.c (TEST_MSG): Likewise.
9581 * math/test-float-finite.c (TEST_MSG): Likewise.
9582 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9583 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9584 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9585 * math/test-float.c (TEST_MSG): Likewise.
9586 * math/test-idouble.c (TEST_MSG): Likewise.
9587 * math/test-ifloat.c (TEST_MSG): Likewise.
9588 * math/test-ildouble.c (TEST_MSG): Likewise.
9589 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9590 * math/test-ldouble.c (TEST_MSG): Likewise.
9591
9592 * math/libm-test.inc: Move all tests of individual functions to
9593 libm-test-*.inc and #include libm-test-*.c files.
9594 (acos_test_data): Remove.
9595 (acos_test): Likewise.
9596 (acosh_test_data): Likewise.
9597 (acosh_test): Likewise.
9598 (asin_test_data): Likewise.
9599 (asin_test): Likewise.
9600 (asinh_test_data): Likewise.
9601 (asinh_test): Likewise.
9602 (atan_test_data): Likewise.
9603 (atan_test): Likewise.
9604 (atanh_test_data): Likewise.
9605 (atanh_test): Likewise.
9606 (atan2_test_data): Likewise.
9607 (atan2_test): Likewise.
9608 (cabs_test_data): Likewise.
9609 (cabs_test): Likewise.
9610 (cacos_test_data): Likewise.
9611 (cacos_test): Likewise.
9612 (cacosh_test_data): Likewise.
9613 (cacosh_test): Likewise.
9614 (canonicalize_test_data): Likewise.
9615 (canonicalize_test): Likewise.
9616 (carg_test_data): Likewise.
9617 (carg_test): Likewise.
9618 (casin_test_data): Likewise.
9619 (casin_test): Likewise.
9620 (casinh_test_data): Likewise.
9621 (casinh_test): Likewise.
9622 (catan_test_data): Likewise.
9623 (catan_test): Likewise.
9624 (catanh_test_data): Likewise.
9625 (catanh_test): Likewise.
9626 (cbrt_test_data): Likewise.
9627 (cbrt_test): Likewise.
9628 (ccos_test_data): Likewise.
9629 (ccos_test): Likewise.
9630 (ccosh_test_data): Likewise.
9631 (ccosh_test): Likewise.
9632 (ceil_test_data): Likewise.
9633 (ceil_test): Likewise.
9634 (cexp_test_data): Likewise.
9635 (cexp_test): Likewise.
9636 (cimag_test_data): Likewise.
9637 (cimag_test): Likewise.
9638 (clog_test_data): Likewise.
9639 (clog_test): Likewise.
9640 (clog10_test_data): Likewise.
9641 (clog10_test): Likewise.
9642 (conj_test_data): Likewise.
9643 (conj_test): Likewise.
9644 (copysign_test_data): Likewise.
9645 (copysign_test): Likewise.
9646 (cos_test_data): Likewise.
9647 (cos_test): Likewise.
9648 (cosh_test_data): Likewise.
9649 (cosh_test): Likewise.
9650 (cpow_test_data): Likewise.
9651 (cpow_test): Likewise.
9652 (cproj_test_data): Likewise.
9653 (cproj_test): Likewise.
9654 (creal_test_data): Likewise.
9655 (creal_test): Likewise.
9656 (csin_test_data): Likewise.
9657 (csin_test): Likewise.
9658 (csinh_test_data): Likewise.
9659 (csinh_test): Likewise.
9660 (csqrt_test_data): Likewise.
9661 (csqrt_test): Likewise.
9662 (ctan_test_data): Likewise.
9663 (ctan_test): Likewise.
9664 (ctanh_test_data): Likewise.
9665 (ctanh_test): Likewise.
9666 (erf_test_data): Likewise.
9667 (erf_test): Likewise.
9668 (erfc_test_data): Likewise.
9669 (erfc_test): Likewise.
9670 (exp_test_data): Likewise.
9671 (exp_test): Likewise.
9672 (exp10_test_data): Likewise.
9673 (exp10_test): Likewise.
9674 (pow10_test): Likewise.
9675 (exp2_test_data): Likewise.
9676 (exp2_test): Likewise.
9677 (expm1_test_data): Likewise.
9678 (expm1_test): Likewise.
9679 (fabs_test_data): Likewise.
9680 (fabs_test): Likewise.
9681 (fdim_test_data): Likewise.
9682 (fdim_test): Likewise.
9683 (floor_test_data): Likewise.
9684 (floor_test): Likewise.
9685 (fma_test_data): Likewise.
9686 (fma_test): Likewise.
9687 (fmax_test_data): Likewise.
9688 (fmax_test): Likewise.
9689 (fmaxmag_test_data): Likewise.
9690 (fmaxmag_test): Likewise.
9691 (fmin_test_data): Likewise.
9692 (fmin_test): Likewise.
9693 (fminmag_test_data): Likewise.
9694 (fminmag_test): Likewise.
9695 (fmod_test_data): Likewise.
9696 (fmod_test): Likewise.
9697 (fpclassify_test_data): Likewise.
9698 (fpclassify_test): Likewise.
9699 (frexp_test_data): Likewise.
9700 (frexp_test): Likewise.
9701 (fromfp_test_data): Likewise.
9702 (fromfp_test): Likewise.
9703 (fromfpx_test_data): Likewise.
9704 (fromfpx_test): Likewise.
9705 (getpayload_test_data): Likewise.
9706 (getpayload_test): Likewise.
9707 (hypot_test_data): Likewise.
9708 (hypot_test): Likewise.
9709 (ilogb_test_data): Likewise.
9710 (ilogb_test): Likewise.
9711 (iscanonical_test_data): Likewise.
9712 (iscanonical_test): Likewise.
9713 (iseqsig_test_data): Likewise.
9714 (iseqsig_test): Likewise.
9715 (isfinite_test_data): Likewise.
9716 (isfinite_test): Likewise.
9717 (finite_test): Likewise.
9718 (isgreater_test_data): Likewise.
9719 (isgreater_test): Likewise.
9720 (isgreaterequal_test_data): Likewise.
9721 (isgreaterequal_test): Likewise.
9722 (isinf_test_data): Likewise.
9723 (isinf_test): Likewise.
9724 (isless_test_data): Likewise.
9725 (isless_test): Likewise.
9726 (islessequal_test_data): Likewise.
9727 (islessequal_test): Likewise.
9728 (islessgreater_test_data): Likewise.
9729 (islessgreater_test): Likewise.
9730 (isnan_test_data): Likewise.
9731 (isnan_test): Likewise.
9732 (isnormal_test_data): Likewise.
9733 (isnormal_test): Likewise.
9734 (issignaling_test_data): Likewise.
9735 (issignaling_test): Likewise.
9736 (issubnormal_test_data): Likewise.
9737 (issubnormal_test): Likewise.
9738 (isunordered_test_data): Likewise.
9739 (isunordered_test): Likewise.
9740 (iszero_test_data): Likewise.
9741 (iszero_test): Likewise.
9742 (j0_test_data): Likewise.
9743 (j0_test): Likewise.
9744 (j1_test_data): Likewise.
9745 (j1_test): Likewise.
9746 (jn_test_data): Likewise.
9747 (jn_test): Likewise.
9748 (lgamma_test_data): Likewise.
9749 (lgamma_test): Likewise.
9750 (gamma_test): Likewise.
9751 (llogb_test_data): Likewise.
9752 (llogb_test): Likewise.
9753 (lrint_test_data): Likewise.
9754 (lrint_test): Likewise.
9755 (llrint_test_data): Likewise.
9756 (llrint_test): Likewise.
9757 (log_test_data): Likewise.
9758 (log_test): Likewise.
9759 (log10_test_data): Likewise.
9760 (log10_test): Likewise.
9761 (log1p_test_data): Likewise.
9762 (log1p_test): Likewise.
9763 (log2_test_data): Likewise.
9764 (log2_test): Likewise.
9765 (logb_test_data): Likewise.
9766 (logb_test): Likewise.
9767 (lround_test_data): Likewise.
9768 (lround_test): Likewise.
9769 (llround_test_data): Likewise.
9770 (llround_test): Likewise.
9771 (modf_test_data): Likewise.
9772 (modf_test): Likewise.
9773 (nearbyint_test_data): Likewise.
9774 (nearbyint_test): Likewise.
9775 (nextafter_test_data): Likewise.
9776 (nextafter_test): Likewise.
9777 (nextup_test_data): Likewise.
9778 (nextup_test): Likewise.
9779 (nextdown_test_data): Likewise.
9780 (nextdown_test): Likewise.
9781 (nexttoward_test_data): Likewise.
9782 (nexttoward_test): Likewise.
9783 (pow_test_data): Likewise.
9784 (pow_test): Likewise.
9785 (remainder_test_data): Likewise.
9786 (remainder_test): Likewise.
9787 (drem_test): Likewise.
9788 (remquo_test_data): Likewise.
9789 (remquo_test): Likewise.
9790 (rint_test_data): Likewise.
9791 (rint_test): Likewise.
9792 (round_test_data): Likewise.
9793 (round_test): Likewise.
9794 (roundeven_test_data): Likewise.
9795 (roundeven_test): Likewise.
9796 (scalb_test_data): Likewise.
9797 (scalb_test): Likewise.
9798 (scalbn_test_data): Likewise.
9799 (scalbn_test): Likewise.
9800 (ldexp_test): Likewise.
9801 (scalbln_test_data): Likewise.
9802 (scalbln_test): Likewise.
9803 (setpayload_test_data): Likewise.
9804 (setpayload_test): Likewise.
9805 (setpayloadsig_test_data): Likewise.
9806 (setpayloadsig_test): Likewise.
9807 (signbit_test_data): Likewise.
9808 (signbit_test): Likewise.
9809 (sin_test_data): Likewise.
9810 (sin_test): Likewise.
9811 (sincos_test_data): Likewise.
9812 (sincos_test): Likewise.
9813 (sinh_test_data): Likewise.
9814 (sinh_test): Likewise.
9815 (sqrt_test_data): Likewise.
9816 (sqrt_test): Likewise.
9817 (tan_test_data): Likewise.
9818 (tan_test): Likewise.
9819 (tanh_test_data): Likewise.
9820 (tanh_test): Likewise.
9821 (tgamma_test_data): Likewise.
9822 (tgamma_test): Likewise.
9823 (totalorder_test_data): Likewise.
9824 (totalorder_test): Likewise.
9825 (totalordermag_test_data): Likewise.
9826 (totalordermag_test): Likewise.
9827 (trunc_test_data): Likewise.
9828 (trunc_test): Likewise.
9829 (ufromfp_test_data): Likewise.
9830 (ufromfp_test): Likewise.
9831 (ufromfpx_test_data): Likewise.
9832 (ufromfpx_test): Likewise.
9833 (y0_test_data): Likewise.
9834 (y0_test): Likewise.
9835 (y1_test_data): Likewise.
9836 (y1_test): Likewise.
9837 (yn_test_data): Likewise.
9838 (yn_test): Likewise.
9839 (significand_test_data): Likewise.
9840 (significand_test): Likewise.
9841 * math/Makefile (auto-libm-test-out-files): Remove variable.
9842 (libm-test-funcs-noauto): New variable.
9843 (libm-test-funcs-all): Likewise.
9844 (libm-test-c-auto): Likewise.
9845 (libm-test-c-noauto): Likewise.
9846 (libm-tests-generated): Add $(libm-test-c-auto) and
9847 $(libm-test-c-noauto).
9848 (generated): Do not add auto-libm-test-out.
9849 (libm-test-c-auto-obj): New variable.
9850 (libm-test-c-noauto-obj): Likewise.
9851 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9852 ($(libm-test-c-noauto-obj)): New static pattern rule.
9853 ($(libm-test-c-auto-obj)): Likewise.
9854 (libm-test-incs): New variable.
9855 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9856 and pass it to gen-libm-have-vector-test.sh.
9857 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9858 be passed on command line.
9859 * math/libm-test-acos.inc: New file. Content from
9860 math/libm-test.inc.
9861 * math/libm-test-acosh.inc: Likewise.
9862 * math/libm-test-asin.inc: Likewise.
9863 * math/libm-test-asinh.inc: Likewise.
9864 * math/libm-test-atan.inc: Likewise.
9865 * math/libm-test-atan2.inc: Likewise.
9866 * math/libm-test-atanh.inc: Likewise.
9867 * math/libm-test-cabs.inc: Likewise.
9868 * math/libm-test-cacos.inc: Likewise.
9869 * math/libm-test-cacosh.inc: Likewise.
9870 * math/libm-test-canonicalize.inc: Likewise.
9871 * math/libm-test-carg.inc: Likewise.
9872 * math/libm-test-casin.inc: Likewise.
9873 * math/libm-test-casinh.inc: Likewise.
9874 * math/libm-test-catan.inc: Likewise.
9875 * math/libm-test-catanh.inc: Likewise.
9876 * math/libm-test-cbrt.inc: Likewise.
9877 * math/libm-test-ccos.inc: Likewise.
9878 * math/libm-test-ccosh.inc: Likewise.
9879 * math/libm-test-ceil.inc: Likewise.
9880 * math/libm-test-cexp.inc: Likewise.
9881 * math/libm-test-cimag.inc: Likewise.
9882 * math/libm-test-clog.inc: Likewise.
9883 * math/libm-test-clog10.inc: Likewise.
9884 * math/libm-test-conj.inc: Likewise.
9885 * math/libm-test-copysign.inc: Likewise.
9886 * math/libm-test-cos.inc: Likewise.
9887 * math/libm-test-cosh.inc: Likewise.
9888 * math/libm-test-cpow.inc: Likewise.
9889 * math/libm-test-cproj.inc: Likewise.
9890 * math/libm-test-creal.inc: Likewise.
9891 * math/libm-test-csin.inc: Likewise.
9892 * math/libm-test-csinh.inc: Likewise.
9893 * math/libm-test-csqrt.inc: Likewise.
9894 * math/libm-test-ctan.inc: Likewise.
9895 * math/libm-test-ctanh.inc: Likewise.
9896 * math/libm-test-erf.inc: Likewise.
9897 * math/libm-test-erfc.inc: Likewise.
9898 * math/libm-test-exp.inc: Likewise.
9899 * math/libm-test-exp10.inc: Likewise.
9900 * math/libm-test-exp2.inc: Likewise.
9901 * math/libm-test-expm1.inc: Likewise.
9902 * math/libm-test-fabs.inc: Likewise.
9903 * math/libm-test-fdim.inc: Likewise.
9904 * math/libm-test-floor.inc: Likewise.
9905 * math/libm-test-fma.inc: Likewise.
9906 * math/libm-test-fmax.inc: Likewise.
9907 * math/libm-test-fmaxmag.inc: Likewise.
9908 * math/libm-test-fmin.inc: Likewise.
9909 * math/libm-test-fminmag.inc: Likewise.
9910 * math/libm-test-fmod.inc: Likewise.
9911 * math/libm-test-fpclassify.inc: Likewise.
9912 * math/libm-test-frexp.inc: Likewise.
9913 * math/libm-test-fromfp.inc: Likewise.
9914 * math/libm-test-fromfpx.inc: Likewise.
9915 * math/libm-test-getpayload.inc: Likewise.
9916 * math/libm-test-hypot.inc: Likewise.
9917 * math/libm-test-ilogb.inc: Likewise.
9918 * math/libm-test-iscanonical.inc: Likewise.
9919 * math/libm-test-iseqsig.inc: Likewise.
9920 * math/libm-test-isfinite.inc: Likewise.
9921 * math/libm-test-isgreater.inc: Likewise.
9922 * math/libm-test-isgreaterequal.inc: Likewise.
9923 * math/libm-test-isinf.inc: Likewise.
9924 * math/libm-test-isless.inc: Likewise.
9925 * math/libm-test-islessequal.inc: Likewise.
9926 * math/libm-test-islessgreater.inc: Likewise.
9927 * math/libm-test-isnan.inc: Likewise.
9928 * math/libm-test-isnormal.inc: Likewise.
9929 * math/libm-test-issignaling.inc: Likewise.
9930 * math/libm-test-issubnormal.inc: Likewise.
9931 * math/libm-test-isunordered.inc: Likewise.
9932 * math/libm-test-iszero.inc: Likewise.
9933 * math/libm-test-j0.inc: Likewise.
9934 * math/libm-test-j1.inc: Likewise.
9935 * math/libm-test-jn.inc: Likewise.
9936 * math/libm-test-lgamma.inc: Likewise.
9937 * math/libm-test-llogb.inc: Likewise.
9938 * math/libm-test-llrint.inc: Likewise.
9939 * math/libm-test-llround.inc: Likewise.
9940 * math/libm-test-log.inc: Likewise.
9941 * math/libm-test-log10.inc: Likewise.
9942 * math/libm-test-log1p.inc: Likewise.
9943 * math/libm-test-log2.inc: Likewise.
9944 * math/libm-test-logb.inc: Likewise.
9945 * math/libm-test-lrint.inc: Likewise.
9946 * math/libm-test-lround.inc: Likewise.
9947 * math/libm-test-modf.inc: Likewise.
9948 * math/libm-test-nearbyint.inc: Likewise.
9949 * math/libm-test-nextafter.inc: Likewise.
9950 * math/libm-test-nextdown.inc: Likewise.
9951 * math/libm-test-nexttoward.inc: Likewise.
9952 * math/libm-test-nextup.inc: Likewise.
9953 * math/libm-test-pow.inc: Likewise.
9954 * math/libm-test-remainder.inc: Likewise.
9955 * math/libm-test-remquo.inc: Likewise.
9956 * math/libm-test-rint.inc: Likewise.
9957 * math/libm-test-round.inc: Likewise.
9958 * math/libm-test-roundeven.inc: Likewise.
9959 * math/libm-test-scalb.inc: Likewise.
9960 * math/libm-test-scalbln.inc: Likewise.
9961 * math/libm-test-scalbn.inc: Likewise.
9962 * math/libm-test-setpayload.inc: Likewise.
9963 * math/libm-test-setpayloadsig.inc: Likewise.
9964 * math/libm-test-signbit.inc: Likewise.
9965 * math/libm-test-significand.inc: Likewise.
9966 * math/libm-test-sin.inc: Likewise.
9967 * math/libm-test-sincos.inc: Likewise.
9968 * math/libm-test-sinh.inc: Likewise.
9969 * math/libm-test-sqrt.inc: Likewise.
9970 * math/libm-test-tan.inc: Likewise.
9971 * math/libm-test-tanh.inc: Likewise.
9972 * math/libm-test-tgamma.inc: Likewise.
9973 * math/libm-test-totalorder.inc: Likewise.
9974 * math/libm-test-totalordermag.inc: Likewise.
9975 * math/libm-test-trunc.inc: Likewise.
9976 * math/libm-test-ufromfp.inc: Likewise.
9977 * math/libm-test-ufromfpx.inc: Likewise.
9978 * math/libm-test-y0.inc: Likewise.
9979 * math/libm-test-y1.inc: Likewise.
9980 * math/libm-test-yn.inc: Likewise.
9981 * math/README.libm-test: Update.
9982
9983 * math/gen-auto-libm-tests.c: Update comment about use of program.
9984 (generate_output): Add argument FUNCTION.
9985 (main): Require extra argument. Pass function name to
9986 generate_output.
9987 * math/Makefile (generated): Add auto-libm-test-out.
9988 (libm-test-funcs-auto): New variable.
9989 (auto-libm-test-out-files): New variable.
9990 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9991 Concatenate those files to form $(objpfx)auto-libm-test-out and
9992 use it as input to gen-libm-test.pl.
9993 * math/README.libm-test: Update.
9994 * math/auto-libm-test-out: Remove.
9995 * math/auto-libm-test-out-acos: New generated file.
9996 * math/auto-libm-test-out-acosh: Likewise.
9997 * math/auto-libm-test-out-asin: Likewise.
9998 * math/auto-libm-test-out-asinh: Likewise.
9999 * math/auto-libm-test-out-atan: Likewise.
10000 * math/auto-libm-test-out-atan2: Likewise.
10001 * math/auto-libm-test-out-atanh: Likewise.
10002 * math/auto-libm-test-out-cabs: Likewise.
10003 * math/auto-libm-test-out-carg: Likewise.
10004 * math/auto-libm-test-out-cbrt: Likewise.
10005 * math/auto-libm-test-out-ccos: Likewise.
10006 * math/auto-libm-test-out-ccosh: Likewise.
10007 * math/auto-libm-test-out-cexp: Likewise.
10008 * math/auto-libm-test-out-clog: Likewise.
10009 * math/auto-libm-test-out-clog10: Likewise.
10010 * math/auto-libm-test-out-cos: Likewise.
10011 * math/auto-libm-test-out-cosh: Likewise.
10012 * math/auto-libm-test-out-cpow: Likewise.
10013 * math/auto-libm-test-out-csin: Likewise.
10014 * math/auto-libm-test-out-csinh: Likewise.
10015 * math/auto-libm-test-out-csqrt: Likewise.
10016 * math/auto-libm-test-out-ctan: Likewise.
10017 * math/auto-libm-test-out-ctanh: Likewise.
10018 * math/auto-libm-test-out-erf: Likewise.
10019 * math/auto-libm-test-out-erfc: Likewise.
10020 * math/auto-libm-test-out-exp: Likewise.
10021 * math/auto-libm-test-out-exp10: Likewise.
10022 * math/auto-libm-test-out-exp2: Likewise.
10023 * math/auto-libm-test-out-expm1: Likewise.
10024 * math/auto-libm-test-out-fma: Likewise.
10025 * math/auto-libm-test-out-hypot: Likewise.
10026 * math/auto-libm-test-out-j0: Likewise.
10027 * math/auto-libm-test-out-j1: Likewise.
10028 * math/auto-libm-test-out-jn: Likewise.
10029 * math/auto-libm-test-out-lgamma: Likewise.
10030 * math/auto-libm-test-out-log: Likewise.
10031 * math/auto-libm-test-out-log10: Likewise.
10032 * math/auto-libm-test-out-log1p: Likewise.
10033 * math/auto-libm-test-out-log2: Likewise.
10034 * math/auto-libm-test-out-pow: Likewise.
10035 * math/auto-libm-test-out-sin: Likewise.
10036 * math/auto-libm-test-out-sincos: Likewise.
10037 * math/auto-libm-test-out-sinh: Likewise.
10038 * math/auto-libm-test-out-sqrt: Likewise.
10039 * math/auto-libm-test-out-tan: Likewise.
10040 * math/auto-libm-test-out-tanh: Likewise.
10041 * math/auto-libm-test-out-tgamma: Likewise.
10042 * math/auto-libm-test-out-y0: Likewise.
10043 * math/auto-libm-test-out-y1: Likewise.
10044 * math/auto-libm-test-out-yn: Likewise.
10045
10046 * math/Makefile (generated): Do not include libm-test.stmp.
10047 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
10048 on $(objpfx)libm-test.stmp.
10049 ($(objpfx)libm-test.stmp): Remove rule.
10050 ($(objpfx)libm-test-ulps.h): New rule.
10051 ($(objpfx)libm-test.c): Likewise.
10052 ($(objpfx)libm-have-vector-test.h): Likewise.
10053 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
10054 individual generated files, not libm-test.stmp.
10055
10056 * math/gen-libm-test.pl ($output_dir): Remove variable.
10057 ($srcdir): Likewise.
10058 ($opt_a): New variable.
10059 ($opt_c): Likewise.
10060 ($opt_C): Likewise.
10061 ($opt_H): Likewise.
10062 (-n): Make option take argument and use it as NewUlps output.
10063 (-a): New option. Use its argument for auto-libm-test-out input.
10064 (-c): New option. Use its argument for libm-test.inc input.
10065 (-C): New option. Use its argument for libm-test.c output.
10066 (-H): New option. Use its argument for libm-test-ulps.h output.
10067 (top level): Only process inputs needed to generate outputs
10068 specified by command-line options. Only generate outputs
10069 specified by command-line options.
10070 * math/README.libm-test: Update example gen-libm-test.pl command.
10071 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
10072 commands.
10073 (regen-ulps): Likewise.
10074
10075 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
10076
10077 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
10078 * include/string.h (index): Remove define.
10079 (rindex): Likewise.
10080 * misc/getttyent.c (__getttyent): Rename index to strchr.
10081 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
10082 * sunrpc/rpc_main.c (mkfile_output): Likewise.
10083
10084 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10085
10086 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
10087 * math/libm-test.inc: Move all contents, other than tests of
10088 individual functions, to libm-test-driver.c.
10089 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
10090 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
10091 [!FE_UPWARD] (FE_UPWARD): Likewise.
10092 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
10093 (NO_EXCEPTION): Likewise.
10094 (INVALID_EXCEPTION): Likewise.
10095 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
10096 (OVERFLOW_EXCEPTION): Likewise.
10097 (UNDERFLOW_EXCEPTION): Likewise.
10098 (INEXACT_EXCEPTION): Likewise.
10099 (INVALID_EXCEPTION_OK): Likewise.
10100 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10101 (OVERFLOW_EXCEPTION_OK): Likewise.
10102 (UNDERFLOW_EXCEPTION_OK): Likewise.
10103 (NO_INEXACT_EXCEPTION): Likewise.
10104 (EXCEPTIONS_OK): Likewise.
10105 (IGNORE_ZERO_INF_SIGN): Likewise.
10106 (TEST_NAN_SIGN): Likewise.
10107 (TEST_NAN_PAYLOAD): Likewise.
10108 (NO_TEST_INLINE): Likewise.
10109 (XFAIL_TEST): Likewise.
10110 (ERRNO_UNCHANGED): Likewise.
10111 (ERRNO_EDOM): Likewise.
10112 (ERRNO_ERANGE): Likewise.
10113 (IGNORE_RESULT): Likewise.
10114 (NON_FINITE): Likewise.
10115 (TEST_SNAN): Likewise.
10116 (NO_TEST_MATHVEC): Likewise.
10117 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
10118 (__CONCATX): Likewise.
10119 (TYPE_MIN): Likewise.
10120 (TYPE_TRUE_MIN): Likewise.
10121 (TYPE_MAX): Likewise.
10122 (MIN_EXP): Likewise.
10123 (MAX_EXP): Likewise.
10124 (MANT_DIG): Likewise.
10125 (FSTR_MAX): Likewise.
10126 (ULP_IDX): Likewise.
10127 (QTYPE_STR): Likewise.
10128 (TEST_COND_binary32): Likewise.
10129 (TEST_COND_binary64): Likewise.
10130 (TEST_COND_binary128): Likewise.
10131 (TEST_COND_ibm128): Likewise.
10132 (TEST_COND_intel96): Likewise.
10133 (TEST_COND_m68k96): Likewise.
10134 (TEST_COND_ibm128_libgcc): Likewise.
10135 (XFAIL_IBM128_LIBGCC): Likewise.
10136 (PAYLOAD_DIG): Likewise.
10137 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10138 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10139 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10140 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10141 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10142 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10143 (TEST_COND_long32): Likewise.
10144 (TEST_COND_long64): Likewise.
10145 (TEST_COND_before_rounding): Likewise.
10146 (TEST_COND_after_rounding): Likewise.
10147 (lit_pi_3_m_4_d): Likewise.
10148 (lit_pi_3_m_4_ln10_m_d): Likewise.
10149 (lit_pi_2_ln10_m_d): Likewise.
10150 (lit_pi_4_ln10_m_d): Likewise.
10151 (lit_pi_ln10_d): Likewise.
10152 (lit_pi_2_d): Likewise.
10153 (lit_pi_4_d): Likewise.
10154 (lit_pi): Likewise.
10155 (lit_e): Likewise.
10156 (ulps_file_name): Likewise.
10157 (ulps_file): Likewise.
10158 (output_ulps): Likewise.
10159 (output_dir): Likewise.
10160 (noErrors): Likewise.
10161 (noTests): Likewise.
10162 (noExcTests): Likewise.
10163 (noErrnoTests): Likewise.
10164 (verbose): Likewise.
10165 (output_max_error): Likewise.
10166 (output_points): Likewise.
10167 (ignore_max_ulp): Likewise.
10168 (plus_zero): Likewise.
10169 (minus_zero): Likewise.
10170 (plus_infty): Likewise.
10171 (minus_infty): Likewise.
10172 (qnan_value_pl): Likewise.
10173 (qnan_value): Likewise.
10174 (snan_value_pl): Likewise.
10175 (snan_value): Likewise.
10176 (max_value): Likewise.
10177 (min_value): Likewise.
10178 (min_subnorm_value): Likewise.
10179 (snan_value_ld): Likewise.
10180 (max_error): Likewise.
10181 (real_max_error): Likewise.
10182 (imag_max_error): Likewise.
10183 (prev_max_error): Likewise.
10184 (prev_real_max_error): Likewise.
10185 (prev_imag_max_error): Likewise.
10186 (max_valid_error): Likewise.
10187 (TYPE_DECIMAL_DIG): Likewise.
10188 (TYPE_HEX_DIG): Likewise.
10189 (fmt_ftostr): Likewise.
10190 (compare_ulp_data): Likewise.
10191 (find_ulps): Likewise.
10192 (init_max_error): Likewise.
10193 (set_max_error): Likewise.
10194 (print_float): Likewise.
10195 (print_screen): Likewise.
10196 (print_screen_max_error): Likewise.
10197 (update_stats): Likewise.
10198 (print_function_ulps): Likewise.
10199 (print_complex_function_ulps): Likewise.
10200 (fpstack_test): Likewise.
10201 (print_max_error): Likewise.
10202 (print_complex_max_error): Likewise.
10203 (test_single_exception): Likewise.
10204 (test_exceptions): Likewise.
10205 (test_single_errno): Likewise.
10206 (test_errno): Likewise.
10207 (ULPDIFF): Likewise.
10208 (ulp): Likewise.
10209 (check_float_internal): Likewise.
10210 (check_float): Likewise.
10211 (check_complex): Likewise.
10212 (check_int): Likewise.
10213 (check_long): Likewise.
10214 (check_bool): Likewise.
10215 (check_longlong): Likewise.
10216 (check_intmax_t): Likewise.
10217 (check_uintmax_t): Likewise.
10218 (enable_test): Likewise.
10219 (struct test_f_f_data): Likewise.
10220 (struct test_ff_f_data): Likewise.
10221 (struct test_fj_f_data): Likewise.
10222 (struct test_fi_f_data): Likewise.
10223 (struct test_fl_f_data): Likewise.
10224 (struct test_if_f_data): Likewise.
10225 (struct test_fff_f_data): Likewise.
10226 (struct test_fiu_M_data): Likewise.
10227 (struct test_fiu_U_data): Likewise.
10228 (struct test_c_f_data): Likewise.
10229 (struct test_f_f1_data): Likewise.
10230 (struct test_fF_f1_data): Likewise.
10231 (struct test_ffI_f1_data): Likewise.
10232 (struct test_c_c_data): Likewise.
10233 (struct test_cc_c_data): Likewise.
10234 (struct test_f_i_data): Likewise.
10235 (struct test_ff_i_data): Likewise.
10236 (struct test_f_l_data): Likewise.
10237 (struct test_f_L_data): Likewise.
10238 (struct test_fFF_11_data): Likewise.
10239 (struct test_Ff_b1_data): Likewise.
10240 (IF_ROUND_INIT_): Likewise.
10241 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10242 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10243 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10244 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10245 (ROUND_RESTORE_): Likewise.
10246 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10247 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10248 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10249 (ROUND_RESTORE_FE_UPWARD): Likewise.
10250 (RM_): Likewise.
10251 (RM_FE_DOWNWARD): Likewise.
10252 (RM_FE_TONEAREST): Likewise.
10253 (RM_FE_TOWARDZERO): Likewise.
10254 (RM_FE_UPWARD): Likewise.
10255 (COMMON_TEST_SETUP): Likewise.
10256 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10257 (COMMON_TEST_CLEANUP): Likewise.
10258 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10259 (RUN_TEST_f_f): Likewise.
10260 (RUN_TEST_LOOP_f_f): Likewise.
10261 (RUN_TEST_fp_f): Likewise.
10262 (RUN_TEST_LOOP_fp_f): Likewise.
10263 (RUN_TEST_2_f): Likewise.
10264 (RUN_TEST_LOOP_2_f): Likewise.
10265 (RUN_TEST_ff_f): Likewise.
10266 (RUN_TEST_LOOP_ff_f): Likewise.
10267 (RUN_TEST_LOOP_fj_f): Likewise.
10268 (RUN_TEST_fi_f): Likewise.
10269 (RUN_TEST_LOOP_fi_f): Likewise.
10270 (RUN_TEST_fl_f): Likewise.
10271 (RUN_TEST_LOOP_fl_f): Likewise.
10272 (RUN_TEST_if_f): Likewise.
10273 (RUN_TEST_LOOP_if_f): Likewise.
10274 (RUN_TEST_fff_f): Likewise.
10275 (RUN_TEST_LOOP_fff_f): Likewise.
10276 (RUN_TEST_fiu_M): Likewise.
10277 (RUN_TEST_LOOP_fiu_M): Likewise.
10278 (RUN_TEST_fiu_U): Likewise.
10279 (RUN_TEST_LOOP_fiu_U): Likewise.
10280 (RUN_TEST_c_f): Likewise.
10281 (RUN_TEST_LOOP_c_f): Likewise.
10282 (RUN_TEST_f_f1): Likewise.
10283 (RUN_TEST_LOOP_f_f1): Likewise.
10284 (RUN_TEST_fF_f1): Likewise.
10285 (RUN_TEST_LOOP_fF_f1): Likewise.
10286 (RUN_TEST_fI_f1): Likewise.
10287 (RUN_TEST_LOOP_fI_f1): Likewise.
10288 (RUN_TEST_ffI_f1_mod8): Likewise.
10289 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10290 (RUN_TEST_Ff_b1): Likewise.
10291 (RUN_TEST_LOOP_Ff_b1): Likewise.
10292 (RUN_TEST_Ffp_b1): Likewise.
10293 (RUN_TEST_LOOP_Ffp_b1): Likewise.
10294 (RUN_TEST_c_c): Likewise.
10295 (RUN_TEST_LOOP_c_c): Likewise.
10296 (RUN_TEST_cc_c): Likewise.
10297 (RUN_TEST_LOOP_cc_c): Likewise.
10298 (RUN_TEST_f_i): Likewise.
10299 (RUN_TEST_LOOP_f_i): Likewise.
10300 (RUN_TEST_f_i_tg): Likewise.
10301 (RUN_TEST_LOOP_f_i_tg): Likewise.
10302 (RUN_TEST_ff_b): Likewise.
10303 (RUN_TEST_LOOP_ff_b): Likewise.
10304 (RUN_TEST_ff_i_tg): Likewise.
10305 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10306 (RUN_TEST_f_b): Likewise.
10307 (RUN_TEST_LOOP_f_b): Likewise.
10308 (RUN_TEST_f_b_tg): Likewise.
10309 (RUN_TEST_LOOP_f_b_tg): Likewise.
10310 (RUN_TEST_f_l): Likewise.
10311 (RUN_TEST_LOOP_f_l): Likewise.
10312 (RUN_TEST_f_L): Likewise.
10313 (RUN_TEST_LOOP_f_L): Likewise.
10314 (RUN_TEST_fFF_11): Likewise.
10315 (RUN_TEST_LOOP_fFF_11): Likewise.
10316 (VEC_SUFF): Likewise.
10317 (STR_CONCAT): Likewise.
10318 (STR_CON3): Likewise.
10319 (HAVE_VECTOR): Likewise.
10320 (START): Likewise.
10321 (END): Likewise.
10322 (END_COMPLEX): Likewise.
10323 (ALL_RM_TEST): Likewise.
10324 (matherr): Likewise.
10325 (initialize): Likewise.
10326 (options): Likewise.
10327 (doc): Likewise.
10328 (parse_opt): Likewise.
10329 (argp): Likewise.
10330 (check_ulp): Likewise.
10331 (main): Likewise.
10332 (do_test): New function. Call tests of individual functions
10333 previously called from main.
10334
10335 * math/libm-test.inc: Remove comment listing functions tested and
10336 not tested.
10337
10338 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10339
10340 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10341 (allocate_stack): Remove COLORING_INCREMENT usage.
10342 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10343 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10344
10345 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10346
10347 * manual/libm-err-tab.pl (@all_functions): Change to
10348 %all_functions. Initialize as empty.
10349 (parse_ulps): Add to %all_functions based on functions found in
10350 ulps files. Ignore results for non-default rounding modes and
10351 vector functions.
10352 (print_platforms): Use %all_platforms.
10353 * manual/math.texi (Errors in Math Functions): Document omissions
10354 from the table.
10355
10356 * math/Makefile (before-compile): Remove.
10357
10358 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10359
10360 [BZ #21075]
10361 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10362 unused assignment.
10363 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10364
10365 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10366
10367 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10368 Add __glibc_unlikely hint.
10369
10370 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10371
10372 [BZ #16640]
10373 * sysdeps/i386/i686/strtok.S: Remove file.
10374 * sysdeps/i386/i686/strtok_r.S: Likewise.
10375 * sysdeps/i386/strtok.S: Likewise.
10376 * sysdeps/i386/strtok_r.S: Likewise.
10377 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10378 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10379 * sysdeps/x86_64/strtok.S: Likewise.
10380 * sysdeps/x86_64/strtok_r.S: Likewise.
10381
10382 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10383 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10384 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10385 (__ASSUME_FADVISE64_AS_64_64): Define.
10386 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10387 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10388 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10389 __ALIGNMENT_ARG usage.
10390 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10391 __NR_fadvise64_64 if it is not defined.
10392
10393 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10394
10395 * version.h (RELEASE): Set to "development"
10396 (VERSION): Set to 2.25.90.
10397 * NEWS: Add 2.26 section.
10398
10399 * version.h (RELEASE): Set to "stable"
10400 (VERSION): Set to 2.25.
10401 * include/features.h (__GLIBC_MINOR__): Set to 25.
10402
10403 * manual/contrib.texi: Add more contributors from this release
10404 and past releases.
10405
10406 * NEWS (2.25): Add list of bugs fixed.
10407
10408 * NEWS: Add missing news items.
10409
10410 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10411
10412 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10413 parent if child exited in that manner. Print WEXITSTATUS
10414 instead of the raw status.
10415 (do_test_prep): Rename to do_test.
10416 (do_test): Return the result of run_executable_sgid.
10417 (TEST_FUNCTION_ARGV): Adjust.
10418
10419 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10420 Florian Weimer <fweimer@redhat.com>
10421 Carlos O'Donell <carlos@redhat.com>
10422
10423 [BZ #20915]
10424 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10425 Do not initialize DTV.
10426 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10427
10428 2017-02-03 David S. Miller <davem@davemloft.net>
10429
10430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10439 (libm-sysdep_routines): Update.
10440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10445 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10446 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10447 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10448 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10450 Likewise.
10451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10453 Likewise.
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10456 Likewise.
10457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10459 Likewise.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10462 (libm-sysdep_routines): Update.
10463
10464 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10465
10466 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10467 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10468 against unrelocated shared library.
10469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10470
10471 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10472
10473 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10474 * elf/tst-env-setuid-tunables.c
10475 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10476 GLIBC_TUNABLES is removed in a setgid process.
10477
10478 [BZ #21073]
10479 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10480 * elf/dl-tunables.c (tunables_strdup): Remove.
10481 (get_next_env): Also return the previous envp.
10482 (parse_tunables): Erase tunables of category
10483 TUNABLES_SECLEVEL_SXID_ERASE.
10484 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10485 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10486 (__tunables_init)[TUNABLES_FRONTEND ==
10487 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10488 after parsing.
10489 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10490 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10491 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10492 to security_level.
10493 * elf/dl-tunables.list: Add security_level annotations for all
10494 tunables.
10495 * scripts/gen-tunables.awk: Recognize and generate enum values
10496 for security_level.
10497 * elf/tst-env-setuid.c: New test case.
10498 * elf/tst-env-setuid-tunables: new test case.
10499 * elf/Makefile (tests-static): Add them.
10500
10501 2017-02-01 Richard Henderson <rth@twiddle.net>
10502
10503 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10504 adjusting the byte count.
10505
10506 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10507
10508 * conform/Makefile (linknamespace-libs): Define.
10509
10510 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10511 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10512 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10513 operands.
10514
10515 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10516
10517 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10518
10519 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10520
10521 [BZ #21081]
10522 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10523 (L(stosb)): Add VZEROUPPER before ret.
10524
10525 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10526 Alexey Makhalov <amakhalov@vmware.com>
10527 Florian Weimer <fweimer@redhat.com>
10528
10529 [BZ #20116]
10530 * nptl/pthread_create.c: Document concurrency notes.
10531 Enhance thread creation notes.
10532 (create_thread): Use bool *stopped_start.
10533 (START_THREAD_DEFN): Comment ownership of PD.
10534 (__pthread_create_2_1): Add local bool stopped_start and use
10535 that instead of pd->stopped_start where appropriate.
10536 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10537 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10538 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10539 * nptl/tst-create-detached.c: New file.
10540 * nptl/Makefile (tests): Add tst-create-detached.
10541 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10542 Reference the enhanced thread creation notes.
10543 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10544 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10545 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10546 (__pthread_current_priority): Likewise.
10547 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10548 xpthread_attr_init, xpthread_attr_setdetachstate, and
10549 xpthread_attr_setstacksize.
10550 * support/xpthread_attr_destroy.c: New file.
10551 * support/xpthread_attr_init.c: New file.
10552 * support/xpthread_attr_setdetachstate.c: New file.
10553 * support/xpthread_attr_setstacksize.c: New file.
10554 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10555 xpthread_attr_init, xpthread_attr_setdetachstate, and
10556 xpthread_attr_setstacksize.
10557
10558 2017-01-27 Florian Weimer <fweimer@redhat.com>
10559
10560 * nptl/Makefile (tests): Add tst-robust-fork.
10561 * nptl/tst-robust-fork.c: New file.
10562 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10563 xpthread_mutex_consistent, xpthread_mutex_destroy,
10564 xpthread_mutex_init, xpthread_mutexattr_destroy,
10565 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10566 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10567 xpthread_mutexattr_settype.
10568 * support/xmmap.c: New file.
10569 * support/xmunmap.c: Likewise.
10570 * support/xpthread_mutex_consistent.c: Likewise.
10571 * support/xpthread_mutex_destroy.c: Likewise.
10572 * support/xpthread_mutex_init.c: Likewise.
10573 * support/xpthread_mutexattr_destroy.c: Likewise.
10574 * support/xpthread_mutexattr_init.c: Likewise.
10575 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10576 * support/xpthread_mutexattr_setpshared.c: Likewise.
10577 * support/xpthread_mutexattr_setrobust.c: Likewise.
10578 * support/xpthread_mutexattr_settype.c: Likewise.
10579 * support/xthread.h (xpthread_mutexattr_destroy)
10580 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10581 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10582 (xpthread_mutexattr_settype, xpthread_mutex_init)
10583 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10584 * support/xunistd.h (xmmap, xmunmap): Likewise.
10585
10586 2017-01-25 Florian Weimer <fweimer@redhat.com>
10587
10588 * string/Makefile (xtests): Add comment.
10589 (LOCALES): Add en_GB.UTF-8.
10590 (tst-strcoll-overflow.out): Depend on generated locales.
10591 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10592 (SIZE, TIMEOUT): Update comments.
10593 (do_test): Define as static. Fail test if setlocale fails.
10594 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10595 messages.
10596 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10597 TIMEOUT at 300 seconds should be enough to run this test
10598 successfully.
10599
10600 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10601
10602 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10603 /* FALLTHRU */ comments.
10604
10605 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10606
10607 [BZ #21053]
10608 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10609 constants instead of the old R* ones.
10610 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10611 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10612 (NGREG): ... to this, to fit in with other architectures.
10613 (gpregset_t): Use new NGREG macro.
10614 [__USE_GNU]: Remove condition; all architectures other than tile
10615 are unconditional.
10616 (R*): Rename to REG_R*.
10617
10618 2017-01-20 DJ Delorie <dj@redhat.com>
10619
10620 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10621 (tunable_set_val_if_valid_range_signed) ... this, and ...
10622 (tunable_set_val_if_valid_range_unsigned) ... this.
10623 (tunable_initialize): Call the correct one of the above based on type.
10624
10625 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10626
10627 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10628 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10629 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10630 * sysdeps/microblaze/libm-test-ulps: Likewise.
10631 * sysdeps/sh/libm-test-ulps: Likewise.
10632
10633 * math/README.libm-test: Update list of characters for input and
10634 output types.
10635
10636 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10637
10638 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10639 (__lll_unlock_elision): Fix adapt_count decrement.
10640
10641 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10642
10643 * README.pretty-printers (Known issues): Warn about printers not
10644 always covering everything.
10645 * nptl/nptl-printers.py (MutexPrinter): Change output.
10646 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10647
10648 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10649
10650 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10651 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10652 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10653 (__lll_lock_elision): Do not test futex before starting a
10654 transaction. Use __glibc_likely instead of __builtin_expect.
10655 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10656 (__lll_trylock_elision): Do not test futex before starting a
10657 transaction. Use __glibc_likely instead of __builtin_expect.
10658
10659 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10660
10661 * po/Makefile (update-translations): New target.
10662
10663 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10664
10665 [BZ #21061]
10666 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10667
10668 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10669
10670 * elf/dl-tunables (get_next_env): Always advance envp.
10671 * stdlib/tst-empty-env.c: New test case.
10672 * stdlib/Makefile (tests): Use it.
10673
10674 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10675
10676 [BZ #21047]
10677 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10678 name for instruction.
10679 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10680
10681 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10682
10683 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10684 for make install.
10685
10686 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10687
10688 * po/bg.po: Merge from Translation Project.
10689 * po/fr.po: Likewise.
10690 * po/ko.po: Likewise.
10691 * po/nl.po: Likewise.
10692 * po/sv.po: Likewise.
10693
10694 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10695
10696 * manual/install.texi (Tools for Compilation): Update GCC version
10697 known to work to build glibc.
10698 * INSTALL: Regenerated.
10699
10700 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10701
10702 [BZ #21006]
10703 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10704
10705 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10706
10707 [BZ #21045]
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10709 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10710 to __sigprocmask.
10711
10712 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10713
10714 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10715 wrap-around.
10716 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10717
10718 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10719
10720 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10721
10722 * NEWS: Fix typo.
10723
10724 2016-01-13 Torvald Riegel <triegel@redhat.com>
10725
10726 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10727 barriers and comments.
10728 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10729 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10730 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10731
10732 2016-01-13 Torvald Riegel <triegel@redhat.com>
10733
10734 [BZ #19402]
10735 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10736 mutexes.
10737
10738 2016-01-13 Torvald Riegel <triegel@redhat.com>
10739
10740 [BZ #20985]
10741 * nptl/Makefile: Adapt.
10742 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10743 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10744 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10745 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10746 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10747 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10748 lll_robust* functions and adapt.
10749 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10750 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10751 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10752 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10753 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10754 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10756 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10757 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10758 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10759 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10760 * nptl/lowlevelrobustlock.c: Remove file.
10761 * nptl/lowlevelrobustlock.sym: Likewise.
10762 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10763 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10764
10765 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10766
10767 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10768
10769 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10770
10771 * po/cs.po: Merge translations from the Translation Project.
10772 * po/de.po: Likewise.
10773 * po/pl.po: Likewise.
10774 * po/ru.po: Likewise.
10775 * po/tr.po: Likewise.
10776 * po/uk.po: Likewise.
10777 * po/vi.po: Likewise.
10778 * po/zh_CN.po: Likewise.
10779
10780 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10781
10782 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10783
10784 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10785 object.
10786
10787 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10788
10789 [BZ #16458]
10790 * bits/uintn-identity.h: New file.
10791 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10792 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10793 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10794 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10795 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10796 * string/endian.h: Include <bits/uintn-identity.h>.
10797 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10798 __uint16_identity.
10799 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10800 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10801 __uint32_identity.
10802 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10803 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10804 __uint64_identity.
10805 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10806 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10807 __uint16_identity.
10808 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10809 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10810 __uint32_identity.
10811 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10812 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10813 __uint64_identity.
10814 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10815 * string/Makefile (headers): Add bits/uintn-identity.h.
10816 (tests): Add test-endian-types.
10817 * string/test-endian-types.c: New file.
10818 * inet/Makefile (tests): Add test-hnto-types.
10819 * inet/test-hnto-types.c: New file.
10820
10821 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10822
10823 * po/be.po: Update from Translation Project.
10824 * po/bg.po: Likewise.
10825 * po/ca.po: Likewise.
10826 * po/cs.po: Likewise.
10827 * po/da.po: Likewise.
10828 * po/de.po: Likewise.
10829 * po/el.po: Likewise.
10830 * po/eo.po: Likewise.
10831 * po/es.po: Likewise.
10832 * po/fi.po: Likewise.
10833 * po/fr.po: Likewise.
10834 * po/gl.po: Likewise.
10835 * po/hr.po: Likewise.
10836 * po/hu.po: Likewise.
10837 * po/ia.po: Likewise.
10838 * po/id.po: Likewise.
10839 * po/it.po: Likewise.
10840 * po/ja.po: Likewise.
10841 * po/ko.po: Likewise.
10842 * po/lt.po: Likewise.
10843 * po/nb.po: Likewise.
10844 * po/nl.po: Likewise.
10845 * po/pl.po: Likewise.
10846 * po/pt_BR.po: Likewise.
10847 * po/ru.po: Likewise.
10848 * po/rw.po: Likewise.
10849 * po/sk.po: Likewise.
10850 * po/sl.po: Likewise.
10851 * po/sv.po: Likewise.
10852 * po/tr.po: Likewise.
10853 * po/uk.po: Likewise.
10854 * po/vi.po: Likewise.
10855 * po/zh_CN.po: Likewise.
10856 * po/zh_TW.po: Likewise.
10857
10858 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10859
10860 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10861 -Wformat-truncation instead of -Wformat-length.
10862 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10863 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10864 GCC 7.
10865 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10866 (do_test): Ignore -Wformat-truncation for GCC 7.
10867
10868 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10869 buffer used to print long int value.
10870
10871 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10872 one byte. Print it with %ld, cast to long int.
10873
10874 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10875
10876 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10877 (re.fullmatch, subprocess.run): Likewise.
10878
10879 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10880
10881 * po/libc.pot: Regenerate.
10882
10883 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10884
10885 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10886 (min_strlen): Likewise.
10887 (disable_tunable): Likewise.
10888 (maybe_disable_malloc_check): Rename to
10889 maybe_enable_malloc_check.
10890 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10891 if /etc/suid-debug file exists.
10892 (__tunables_init): Update caller.
10893 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10894 secure.
10895
10896 2016-01-10 Torvald Riegel <triegel@redhat.com>
10897
10898 * nptl/DESIGN-rwlock.txt: Remove.
10899 * nptl/lowlevelrwlock.sym: Remove.
10900 * nptl/Makefile: Add new tests.
10901 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10902 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10903 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10904 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10905 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10906 PTHREAD_RWLOCK_FUTEX_USED): New.
10907 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10908 implementation.
10909 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10910 (__pthread_rwlock_rdlock): Adapt.
10911 * nptl/pthread_rwlock_timedrdlock.c
10912 (pthread_rwlock_timedrdlock): Adapt.
10913 * nptl/pthread_rwlock_timedwrlock.c
10914 (pthread_rwlock_timedwrlock): Adapt.
10915 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10916 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10917 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10918 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10919 (__pthread_rwlock_wrlock): Adapt.
10920 * nptl/tst-rwlock10.c: Adapt.
10921 * nptl/tst-rwlock11.c: Adapt.
10922 * nptl/tst-rwlock17.c: New file.
10923 * nptl/tst-rwlock18.c: New file.
10924 * nptl/tst-rwlock19.c: New file.
10925 * nptl/tst-rwlock2b.c: New file.
10926 * nptl/tst-rwlock8.c: Adapt.
10927 * nptl/tst-rwlock9.c: Adapt.
10928 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10929 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10930 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10931 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10932 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10933 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10934 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10935 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10936 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10937 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10938 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10939 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10940 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10941 (pthread_rwlock_t): Adapt.
10942 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10943 (pthread_rwlock_t): Adapt.
10944 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10945 * nptl/nptl-printers.py (): Adapt.
10946 * nptl/nptl_lock_constants.pysym: Adapt.
10947 * nptl/test-rwlock-printers.py: Adapt.
10948 * nptl/test-rwlockattr-printers.c: Adapt.
10949 * nptl/test-rwlockattr-printers.py: Adapt.
10950
10951 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10952
10953 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10954 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10955 (fma_test_data): Likewise.
10956 (hypot_test_data): Likewise.
10957 (log1p_test_data): Likewise.
10958 (modf_test_data): Likewise.
10959 (pow_test_data): Likewise.
10960 (remainder_test_data): Likewise.
10961 (remquo_test_data): Likewise.
10962 (scalb_test_data): Likewise.
10963 (scalbn_test_data): Likewise.
10964 (scalbln_test_data): Likewise.
10965 * math/gen-libm-test.pl (parse_args): Transform
10966 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10967 on the rounding mode.
10968
10969 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10970
10971 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10972 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10973 and those that can underflow to zero.
10974 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10975 add others.
10976 * math/auto-libm-test-out: Regenerated.
10977
10978 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10979 supported.
10980 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10981 modes support if not supported.
10982
10983 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10984 Add libc.so PLT entry.
10985 (__tls_get_addr): Make ld.so PLT entry optional.
10986
10987 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10988
10989 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10990 * string/bits/string3.h: ... here.
10991
10992 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10993
10994 [BZ #21028]
10995 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10996 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10997 if EXCEPTION_TESTS returns false.
10998
10999 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11000
11001 [BZ #20558]
11002 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
11003 strings_fortified.h.
11004 [__USE_MISC] (bzero): Likewise.
11005 [__USE_MISC] (explicit_bzero): Likewise.
11006 * string/strings.h: Include strings_fortified.h.
11007 * string/Makefile (headers): Add strings_fortified.h.
11008 * string/bits/strings_fortified.h: New file.
11009 * include/bits/strings_fortified.h: Likewise.
11010
11011 2017-01-05 Joseph Myers <joseph@codesourcery.com>
11012
11013 * elf/tst-tls13.c (TIMEOUT): Remove.
11014 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
11015 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
11016 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
11017 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
11018 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
11019
11020 [BZ #21026]
11021 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
11022 (readahead): New syscall entry.
11023
11024 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11025
11026 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
11027 around tests of strncat with large sizes.
11028
11029 * malloc/tst-malloc.c: Include <libc-internal.h>.
11030 (do_test): Disable -Walloc-size-larger-than= around tests of
11031 malloc with negative sizes.
11032 * malloc/tst-mcheck.c: Include <libc-internal.h>.
11033 (do_test): Disable -Walloc-size-larger-than= around tests of
11034 malloc and realloc with negative sizes.
11035 * malloc/tst-realloc.c: Include <libc-internal.h>.
11036 (do_test): Disable -Walloc-size-larger-than= around tests of
11037 realloc with negative sizes.
11038
11039 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
11040 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
11041 allowed to 16 ulps.
11042 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
11043 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
11044 * math/auto-libm-test-out: Regenerated.
11045
11046 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11047
11048 * math/Makefile (libm-calls): Move wrappers...
11049 (libm-compat-call-auto): Here.
11050 (libm-routines): Add items in libm-compat-calls-auto.
11051 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
11052 the filenames of the wrappers that have been renamed.
11053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11055
11056 * math/w_acos.c: Add _compat suffix to filename.
11057 * math/w_acosf.c: Likewise.
11058 * math/w_acosh.c: Likewise.
11059 * math/w_acoshf.c: Likewise.
11060 * math/w_acoshl.c: Likewise.
11061 * math/w_acosl.c: Likewise.
11062 * math/w_asin.c: Likewise.
11063 * math/w_asinf.c: Likewise.
11064 * math/w_asinl.c: Likewise.
11065 * math/w_atan2.c: Likewise.
11066 * math/w_atan2f.c: Likewise.
11067 * math/w_atan2l.c: Likewise.
11068 * math/w_atanh.c: Likewise.
11069 * math/w_atanhf.c: Likewise.
11070 * math/w_atanhl.c: Likewise.
11071 * math/w_cosh.c: Likewise.
11072 * math/w_coshf.c: Likewise.
11073 * math/w_coshl.c: Likewise.
11074 * math/w_exp10.c: Likewise.
11075 * math/w_exp10f.c: Likewise.
11076 * math/w_exp10l.c: Likewise.
11077 * math/w_exp2.c: Likewise.
11078 * math/w_exp2f.c: Likewise.
11079 * math/w_exp2l.c: Likewise.
11080 * math/w_fmod.c: Likewise.
11081 * math/w_fmodf.c: Likewise.
11082 * math/w_fmodl.c: Likewise.
11083 * math/w_hypot.c: Likewise.
11084 * math/w_hypotf.c: Likewise.
11085 * math/w_hypotl.c: Likewise.
11086 * math/w_j0.c: Likewise.
11087 * math/w_j0f.c: Likewise.
11088 * math/w_j0l.c: Likewise.
11089 * math/w_j1.c: Likewise.
11090 * math/w_j1f.c: Likewise.
11091 * math/w_j1l.c: Likewise.
11092 * math/w_jn.c: Likewise.
11093 * math/w_jnf.c: Likewise.
11094 * math/w_jnl.c: Likewise.
11095 * math/w_log10.c: Likewise.
11096 * math/w_log10f.c: Likewise.
11097 * math/w_log10l.c: Likewise.
11098 * math/w_log2.c: Likewise.
11099 * math/w_log2f.c: Likewise.
11100 * math/w_log2l.c: Likewise.
11101 * math/w_log.c: Likewise.
11102 * math/w_logf.c: Likewise.
11103 * math/w_logl.c: Likewise.
11104 * math/w_pow.c: Likewise.
11105 * math/w_powf.c: Likewise.
11106 * math/w_powl.c: Likewise.
11107 * math/w_remainder.c: Likewise.
11108 * math/w_remainderf.c: Likewise.
11109 * math/w_remainderl.c: Likewise.
11110 * math/w_scalb.c: Likewise.
11111 * math/w_scalbf.c: Likewise.
11112 * math/w_scalbl.c: Likewise.
11113 * math/w_sinh.c: Likewise.
11114 * math/w_sinhf.c: Likewise.
11115 * math/w_sinhl.c: Likewise.
11116 * math/w_sqrt.c: Likewise.
11117 * math/w_sqrtf.c: Likewise.
11118 * math/w_sqrtl.c: Likewise.
11119 * math/w_tgamma.c: Likewise.
11120 * math/w_tgammaf.c: Likewise.
11121 * math/w_tgammal.c: Likewise.
11122
11123 * math/w_acos_compat.c: New file copied from above and
11124 adjusted for new #includes path
11125 * math/w_acosf_compat.c: Likewise.
11126 * math/w_acosh_compat.c: Likewise.
11127 * math/w_acoshf_compat.c: Likewise.
11128 * math/w_acoshl_compat.c: Likewise.
11129 * math/w_acosl_compat.c: Likewise.
11130 * math/w_asin_compat.c: Likewise.
11131 * math/w_asinf_compat.c: Likewise.
11132 * math/w_asinl_compat.c: Likewise.
11133 * math/w_atan2_compat.c: Likewise.
11134 * math/w_atan2f_compat.c: Likewise.
11135 * math/w_atan2l_compat.c: Likewise.
11136 * math/w_atanh_compat.c: Likewise.
11137 * math/w_atanhf_compat.c: Likewise.
11138 * math/w_atanhl_compat.c: Likewise.
11139 * math/w_cosh_compat.c: Likewise.
11140 * math/w_coshf_compat.c: Likewise.
11141 * math/w_coshl_compat.c: Likewise.
11142 * math/w_exp10_compat.c: Likewise.
11143 * math/w_exp10f_compat.c: Likewise.
11144 * math/w_exp10l_compat.c: Likewise.
11145 * math/w_exp2_compat.c: Likewise.
11146 * math/w_exp2f_compat.c: Likewise.
11147 * math/w_exp2l_compat.c: Likewise.
11148 * math/w_fmod_compat.c: Likewise.
11149 * math/w_fmodf_compat.c: Likewise.
11150 * math/w_fmodl_compat.c: Likewise.
11151 * math/w_hypot_compat.c: Likewise.
11152 * math/w_hypotf_compat.c: Likewise.
11153 * math/w_hypotl_compat.c: Likewise.
11154 * math/w_j0_compat.c: Likewise.
11155 * math/w_j0f_compat.c: Likewise.
11156 * math/w_j0l_compat.c: Likewise.
11157 * math/w_j1_compat.c: Likewise.
11158 * math/w_j1f_compat.c: Likewise.
11159 * math/w_j1l_compat.c: Likewise.
11160 * math/w_jn_compat.c: Likewise.
11161 * math/w_jnf_compat.c: Likewise.
11162 * math/w_jnl_compat.c: Likewise.
11163 * math/w_log10_compat.c: Likewise.
11164 * math/w_log10f_compat.c: Likewise.
11165 * math/w_log10l_compat.c: Likewise.
11166 * math/w_log2_compat.c: Likewise.
11167 * math/w_log2f_compat.c: Likewise.
11168 * math/w_log2l_compat.c: Likewise.
11169 * math/w_log_compat.c: Likewise.
11170 * math/w_logf_compat.c: Likewise.
11171 * math/w_logl_compat.c: Likewise.
11172 * math/w_pow_compat.c: Likewise.
11173 * math/w_powf_compat.c: Likewise.
11174 * math/w_powl_compat.c: Likewise.
11175 * math/w_remainder_compat.c: Likewise.
11176 * math/w_remainderf_compat.c: Likewise.
11177 * math/w_remainderl_compat.c: Likewise.
11178 * math/w_scalb_compat.c: Likewise.
11179 * math/w_scalbf_compat.c: Likewise.
11180 * math/w_scalbl_compat.c: Likewise.
11181 * math/w_sinh_compat.c: Likewise.
11182 * math/w_sinhf_compat.c: Likewise.
11183 * math/w_sinhl_compat.c: Likewise.
11184 * math/w_sqrt_compat.c: Likewise.
11185 * math/w_sqrtf_compat.c: Likewise.
11186 * math/w_sqrtl_compat.c: Likewise.
11187 * math/w_tgamma_compat.c: Likewise.
11188 * math/w_tgammaf_compat.c: Likewise.
11189 * math/w_tgammal_compat.c: Likewise.
11190
11191 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11192 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11193 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11194 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11195 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11196 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11197 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11198 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11199 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11200 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11201 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11202 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11203 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11204 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11205 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11206 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11207 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11208 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11209 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11210 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11211 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11212 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11213 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11214 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11215 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11216 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11217 * sysdeps/ia64/fpu/w_log.c: Likewise.
11218 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11219 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11220 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11221 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11222 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11223 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11224 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11225 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11226 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11227 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11228 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11229 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11230 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11231 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11232 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11233 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11234 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11235 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11236 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11237 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11238 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11239 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11240 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11241 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11242 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11243 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11244 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11245 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11246 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11247 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11248 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11249 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11250 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11251 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11254 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11256 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11257 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11258 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11260 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11262 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11263 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11264 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11266 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11268 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11269 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11270 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11271 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11272 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11274 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11275 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11276 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11277 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11278 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11280 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11282 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11284 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11286 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11288 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11290 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11292 Likewise.
11293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11294 Likewise.
11295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11297 Likewise.
11298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11299 Likewise.
11300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11301 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11302 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11303 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11305 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11306 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11313 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11314 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11315
11316 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11317 and adjusted for new #includes path
11318 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11319 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11320 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11321 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11322 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11323 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11324 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11325 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11326 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11327 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11328 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11329 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11330 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11331 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11332 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11333 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11334 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11335 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11336 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11337 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11338 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11339 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11340 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11341 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11342 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11343 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11344 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11345 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11346 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11347 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11348 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11349 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11350 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11351 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11352 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11353 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11354 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11355 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11356 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11357 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11358 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11359 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11360 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11361 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11362 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11363 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11364 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11365 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11366 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11367 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11368 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11369 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11370 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11371 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11372 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11373 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11374 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11375 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11376 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11377 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11378 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11379 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11380 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11381 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11382 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11383 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11384 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11385 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11386 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11387 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11388 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11389 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11390 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11391 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11392 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11393 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11394 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11395 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11396 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11397 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11398 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11399 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11400 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11401 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11402 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11403 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11404 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11405 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11406 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11407 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11408 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11409 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11410 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11411 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11412 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11413 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11414 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11415 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11416 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11418 Likewise.
11419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11420 Likewise.
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11422 Likewise.
11423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11424 Likewise.
11425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11426 Likewise.
11427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11428 Likewise.
11429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11430 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11432 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11433 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11434 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11436 Likewise.
11437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11438 Likewise.
11439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11440 Likewise.
11441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11442 Likewise.
11443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11445 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11446 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11447
11448 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11449
11450 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11451 __jmp_buf_internal_tag.
11452
11453 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11454 preserve NaN payload if [__mips_nan2008].
11455 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11456
11457 [BZ #21022]
11458 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11459
11460 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11461
11462 * sysdeps/i386/fpu/libm-test-ulps: Update.
11463
11464 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11465
11466 * sysdeps/ia64/strcat.c: Remove file.
11467 * sysdeps/powerpc/strcat.c: Likewise.
11468 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11469 C implementation.
11470 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11471 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11472
11473 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11474 Steven Munroe <sjmunroe@us.ibm.com>
11475 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11476
11477 [BZ #20822]
11478 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11479 (__lll_lock_elision): Access adapt_count via C11 atomics.
11480 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11481 (__lll_trylock_elision): Likewise.
11482 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11483 (__lll_unlock_elision): Update adapt_count variable inside the
11484 critical section using C11 atomics.
11485
11486 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11487
11488 * math/test-fenvinline.c (do_test): Disable tests of raised
11489 exceptions if !EXCEPTION_TESTS (FLOAT).
11490
11491 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11492
11493 [BZ #19390]
11494 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11495 maximum string size.
11496 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11497 in pointer addition.
11498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11499 Likewise.
11500
11501 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11502
11503 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11504 passed to tst-ldconfig-X.sh.
11505
11506 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11507
11508 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11509
11510 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11511
11512 [BZ #21019]
11513 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11514 New syscall entry.
11515 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11516 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11517 lseek.
11518
11519 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11520 power4 glibc for powerpc-linux-gnu.
11521
11522 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11523
11524 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11525 semctl.
11526
11527 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11528
11529 * math/test-nearbyint-except.c: Include <stdbool.h>.
11530 (any_supported): New variable.
11531 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11532 set any_supported.
11533 (do_test): Return 77 if no floating-point type supported
11534 exceptions.
11535
11536 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11537 condition on [__mips_hard_float].
11538
11539 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11540
11541 [BZ #21014]
11542 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11543 in pointer addition.
11544 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11545
11546 2017-01-02 Torvald Riegel <triegel@redhat.com>
11547
11548 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11549 new condvar.
11550
11551 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11552
11553 * scripts/build-many-glibcs.py (Context.checkout): Default
11554 binutils version to 2.28 branch.
11555
11556 2017-01-01 Florian Weimer <fweimer@redhat.com>
11557
11558 * support/support_format_netent.c (support_format_netent): Work
11559 around alpha struct netent definition difference.
11560
11561 2017-01-01 Florian Weimer <fweimer@redhat.com>
11562
11563 * support/xwrite.c (xwrite): Use %td for pointer difference.
11564
11565 2017-01-01 Florian Weimer <fweimer@redhat.com>
11566
11567 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11568 have-tunables only.
11569 (tests-static): Add tst-malloc-usable-static-tunables for
11570 have-tunables only.
11571
11572 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11573
11574 * scripts/config.guess: Update to version 2017-01-01.
11575 * scripts/config.sub: Update to version 2017-01-01.
11576
11577 * NEWS: Update copyright dates.
11578 * catgets/gencat.c (print_version): Likewise.
11579 * csu/version.c (banner): Likewise.
11580 * debug/catchsegv.sh: Likewise.
11581 * debug/pcprofiledump.c (print_version): Likewise.
11582 * debug/xtrace.sh (do_version): Likewise.
11583 * elf/ldconfig.c (print_version): Likewise.
11584 * elf/ldd.bash.in: Likewise.
11585 * elf/pldd.c (print_version): Likewise.
11586 * elf/sotruss.sh: Likewise.
11587 * elf/sprof.c (print_version): Likewise.
11588 * iconv/iconv_prog.c (print_version): Likewise.
11589 * iconv/iconvconfig.c (print_version): Likewise.
11590 * locale/programs/locale.c (print_version): Likewise.
11591 * locale/programs/localedef.c (print_version): Likewise.
11592 * login/programs/pt_chown.c (print_version): Likewise.
11593 * malloc/memusage.sh (do_version): Likewise.
11594 * malloc/memusagestat.c (print_version): Likewise.
11595 * malloc/mtrace.pl: Likewise.
11596 * manual/libc.texinfo: Likewise.
11597 * nptl/version.c (banner): Likewise.
11598 * nscd/nscd.c (print_version): Likewise.
11599 * nss/getent.c (print_version): Likewise.
11600 * nss/makedb.c (print_version): Likewise.
11601 * posix/getconf.c (main): Likewise.
11602 * scripts/test-installation.pl: Likewise.
11603 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11604
11605 * All files with FSF copyright notices: Update copyright dates
11606 using scripts/update-copyrights.
11607 * intl/plural.c: Regenerated.
11608 * locale/programs/charmap-kw.h: Likewise.
11609 * locale/programs/locfile-kw.h: Likewise.
11610
11611 2016-12-31 Florian Weimer <fweimer@redhat.com>
11612
11613 [BZ #20593]
11614 Update DNS RR type definitions.
11615 * scripts/gen-rrtypes.py: New file.
11616 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11617 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11618 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11619 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11620 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11621 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11622 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11623 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11624 ns_t_ta, ns_t_dlv.
11625 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11626 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11627 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11628 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11629 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11630 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11631 Define.
11632 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11633 entry for ns_t_zxfr.
11634
11635 2016-12-31 Florian Weimer <fweimer@redhat.com>
11636
11637 [BZ #18784]
11638 CVE-2015-5180
11639 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11640 T_UNSPEC. Adjust value.
11641 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11642 * resolv/res_query.c (__libc_res_nquery): Likewise.
11643 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11644 QTYPEs.
11645 * resolv/tst-resolv-qtypes.c: New file.
11646 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11647 (tst-resolv-qtypes): Link against libresolv and libpthread.
11648
11649 2016-12-31 Florian Weimer <fweimer@redhat.com>
11650
11651 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11652
11653 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11654
11655 * manual/tunables.texi: New chapter.
11656 * manual/Makefile (chapters): Add it.
11657 * manual/probes.texi (@node): Point to the Tunables chapter.
11658
11659 * Makeconfig (have-tunables): Check for non-negative instead
11660 of positive.
11661 * configure.ac: Add 'valstring' as a valid value for
11662 --enable-tunables.
11663 * configure: Regenerate.
11664 * elf/Makefile (have-tunables): Check for non-negative instead
11665 of positive.
11666 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11667 dl-tunables.c.
11668 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11669 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11670 (tunables_strdup): Likewise.
11671 (disable_tunables): Likewise.
11672 (parse_tunables): Likewise.
11673 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11674 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11675 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11676 (TUNABLES_FRONTEND_yes): New macro, define as
11677 TUNABLES_FRONTEND_valstring by default.
11678 * manual/install.texi: Document new acceptable values for
11679 --enable-tunables.
11680 * INSTALL: Regenerate.
11681
11682 * config.make.in (have-loop-to-function): Define.
11683 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11684 -fno-tree-loop-distribute-patterns.
11685 * elf/dl-tunables.c: Include libc-internals.h.
11686 (GLIBC_TUNABLES): New macro.
11687 (tunables_strdup): New function.
11688 (parse_tunables): New function.
11689 (min_strlen): New function.
11690 (__tunables_init): Use the new functions and macro.
11691 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11692 * malloc/tst-malloc-usable-tunables.c: New test case.
11693 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11694 * malloc/Makefile (tests, tests-static): Add tests.
11695
11696 * manual/install.texi: Add --enable-tunables option.
11697 * INSTALL: Regenerate.
11698 * README.tunables: New file.
11699 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11700 (before-compile): Generate dl-tunable-list.h early.
11701 * config.h.in: Add HAVE_TUNABLES.
11702 * config.make.in: Add have-tunables.
11703 * configure.ac: Add --enable-tunables option.
11704 * configure: Regenerate.
11705 * csu/init-first.c (__libc_init_first): Move
11706 __libc_init_secure earlier...
11707 * csu/init-first.c (LIBC_START_MAIN):... to here.
11708 Include dl-tunables.h, libc-internal.h.
11709 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11710 binaries.
11711 * elf/Makefile (dl-routines): Add dl-tunables.
11712 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11713 namespace.
11714 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11715 only when !HAVE_TUNABLES.
11716 * elf/rtld.c (process_envvars): Likewise.
11717 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11718 (_dl_sysdep_start): Call __tunables_init.
11719 * elf/dl-tunable-types.h: New file.
11720 * elf/dl-tunables.c: New file.
11721 * elf/dl-tunables.h: New file.
11722 * elf/dl-tunables.list: New file.
11723 * malloc/tst-malloc-usable-static.c: New test case.
11724 * malloc/Makefile (tests-static): Add it.
11725 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11726 Define TUNABLE_NAMESPACE.
11727 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11728 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11729 callback functions.
11730 (ptmalloc_init): Set tunable values.
11731 * scripts/gen-tunables.awk: New file.
11732 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11733 (_dl_sysdep_start): Call __tunables_init.
11734
11735 2016-12-31 Florian Weimer <fweimer@redhat.com>
11736
11737 * resolv/resolv.h (RES_BLAST): Deprecate.
11738 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11739 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11740 to RES_BLAST.
11741
11742 2016-12-27 Florian Weimer <fweimer@redhat.com>
11743
11744 [BZ #19582]
11745 Deprecate RES_USE_INET6.
11746 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11747 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11748 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11749 RES_USE_INET6.
11750 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11751 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11752 (_nss_nisplus_gethostbyaddr_r): Likewise.
11753 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11754 of res_use_inet6.
11755 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11756 instead of RES_USE_INET6.
11757 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11758 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11759 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11760 Likewise.
11761 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11762 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11763 Likewise.
11764 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11765 (_nss_dns_gethostbyname_r): Likewise.
11766 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11767 alternate RES_USE_INET6 handling.
11768 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11769 instead of RES_USE_INET6.
11770 * resolv/res_init.c (res_setoptions): Likewise.
11771 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11772 * resolv/resolv-internal.h: New file.
11773 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11774 make the deprecation warning non-fatal.
11775 * resolv/README (Using the resolver in multi-threaded code): Drop
11776 reference to RES_USE_INET6.
11777 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11778 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11779
11780 2016-12-31 Florian Weimer <fweimer@redhat.com>
11781
11782 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11783 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11784 tst-resolv-search.
11785 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11786 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11787 with libresolv and libpthread.
11788 * resolv/tst-bug18665.c: New file.
11789 * resolv/tst-bug18665-tcp: Likewise.
11790 * resolv/tst-res_use_inet6: Likewise.
11791 * resolv/tst-resolv-basic: Likewise.
11792 * resolv/tst-resolv-network: Likewise.
11793 * resolv/tst-resolv-search: Likewise.
11794 * support/Makefile (libsupport-routines): Add check_addrinfo,
11795 check_dns_packet, check_hostent, check_netent, resolv_test,
11796 support_format_address_family, support_format_addrinfo,
11797 support_format_dns_packet, support_format_herrno,
11798 support_format_hostent, support_format_netent, support_run_diff,
11799 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11800 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11801 xstrdup, xwrite.
11802 * support/check_addrinfo.c: New file.
11803 * support/check_dns_packet.c: Likewise.
11804 * support/check_hostent.c: Likewise.
11805 * support/check_netent.c: Likewise.
11806 * support/check_nss.h: Likewise.
11807 * support/format_nss.h: Likewise.
11808 * support/resolv_test.c: Likewise.
11809 * support/resolv_test.h: Likewise.
11810 * support/run_diff.h: Likewise.
11811 * support/support_format_address_family.c: Likewise.
11812 * support/support_format_addrinfo.c: Likewise.
11813 * support/support_format_dns_packet.c: Likewise.
11814 * support/support_format_herrno.c: Likewise.
11815 * support/support_format_hostent.c: Likewise.
11816 * support/support_format_netent.c: Likewise.
11817 * support/support_run_diff.c: Likewise.
11818 * support/xaccept.c: Likewise.
11819 * support/xbind.c: Likewise.
11820 * support/xconnect.c: Likewise.
11821 * support/xfclose.c: Likewise.
11822 * support/xfopen.c: Likewise.
11823 * support/xgetsockname.c: Likewise.
11824 * support/xlisten.c: Likewise.
11825 * support/xmemstream.c: Likewise.
11826 * support/xmemstream.h: Likewise.
11827 * support/xpoll.c: Likewise.
11828 * support/xpthread_once.c: Likewise.
11829 * support/xrecvfrom.c: Likewise.
11830 * support/xsendto.c: Likewise.
11831 * support/xsetsockopt.c: Likewise.
11832 * support/xstdio.h: Likewise.
11833 * support/xstrdup.c: Likewise.
11834 * support/support.h (xstrdup): Declare.
11835 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11836 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11837 * support/xthread.h (xpthread_once): Likwise.
11838 * support/xunistd.h (xwrite): Declare.
11839
11840 2016-12-31 Florian Weimer <fweimer@redhat.com>
11841
11842 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11843 (test_verbose): Declare.
11844 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11845 * support/support_test_main.c (default_options): Likewise.
11846 (usage, support_test_main): Handle 'v'.
11847 (test_verbose): Define.
11848 * support/tst-support_record_failure.c (do_test): Use
11849 test_verbose.
11850 * support/tst-support_record_failure-2.sh (different_status): Add
11851 --verbose test.
11852
11853 2016-12-31 Florian Weimer <fweimer@redhat.com>
11854
11855 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11856 test failures are recorded.
11857 * support/check.c (support_print_failure_impl): Call
11858 support_record_failure.
11859 (support_exit_failure_impl): Call support_record_failure if status
11860 indicates failure.
11861 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11862 * support/xasprintf.c (xasprintf): Likewise.
11863 * support/xfork.c (xfork): Likewise.
11864 * support/xpthread_check_return.c (xpthread_check_return):
11865 Likewise.
11866 * support/xsocket.c (xsocket): Likeweise.
11867 * support/xwaitpid.c (xwaitpid): Likewise.
11868 * support/support_record_failure.c (struct test_failures): Adjust
11869 to coding style.
11870 * support/support_test_verify_impl.c (support_test_verify_impl):
11871 Adjust error messages.
11872 * support/tst-support_record_failure-2.sh (different_status):
11873 Adjust error messages.
11874
11875 2016-12-31 Florian Weimer <fweimer@redhat.com>
11876
11877 * support/namespace.h: New file.
11878 * support/support_become_root.c: Likewise.
11879 * support/support_enter_network_namespace.c: Likewise.
11880 * support/tst-support-namespace.c: Likewise.
11881 * support/xsocket.c: Likewise.
11882 * support/xsocket.h: Likewise.
11883 * support/Makefile (libsupport-routines): Add support_become_root,
11884 support_enter_network_namespace, xsocket.
11885 (tests): Add tst-support-namespace.
11886
11887 2016-12-31 Florian Weimer <fweimer@redhat.com>
11888
11889 [BZ #17252]
11890 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11891 __USE_GNU.
11892
11893 2016-12-31 Torvald Riegel <triegel@redhat.com>
11894
11895 [BZ #13165]
11896 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11897 use new algorithm.
11898 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11899 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11900 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11901 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11902 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11903 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11904 __condvar_cleanup_waiting, __condvar_dec_grefs,
11905 __pthread_cond_wait_common): New.
11906 (__condvar_cleanup): Remove.
11907 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11908 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11909 Likewise.
11910 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11911 Likewise.
11912 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11913 * nptl/tst-cond1.c: Add comment.
11914 * nptl/tst-cond20.c (do_test): Adapt.
11915 * nptl/tst-cond22.c (do_test): Likewise.
11916 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11917 structure.
11918 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11919 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11920 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11921 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11922 Likewise.
11923 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11924 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11925 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11926 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11927 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11928 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11929 Likewise.
11930 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11931 Likewise.
11932 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11933 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11934 (COND_CLOCK_BITS): Adapt.
11935 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11936 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11937 __PTHREAD_COND_SHARED_MASK): New.
11938 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11939 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11940 * nptl/nptl_lock_constants.pysym: Adapt.
11941 * nptl/test-cond-printers.py: Adapt.
11942 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11943 cond_compat_check_and_clear): Adapt.
11944 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11945 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11946 (__pthread_cond_timedwait): ... and move here.
11947 * nptl/DESIGN-condvar.txt: Remove file.
11948 * nptl/lowlevelcond.sym: Likewise.
11949 * nptl/pthread_cond_timedwait.c: Likewise.
11950 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11951 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11952 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11953 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11954 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11955 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11956 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11957 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11958 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11959 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11960 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11961 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11963 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11964 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11965 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11966
11967 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11968
11969 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11970 (fromfp): New declaration.
11971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11972 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11974 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11977 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11979 * math/math.h: Include <bits/types.h>.
11980 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11981 constant and macro.
11982 (FP_INT_DOWNWARD): Likewise.
11983 (FP_INT_TOWARDZERO): Likewise.
11984 (FP_INT_TONEARESTFROMZERO): Likewise.
11985 (FP_INT_TONEAREST): Likewise.
11986 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11987 (fromfpf): Likewise.
11988 (fromfpl): Likewise.
11989 (ufromfp): Likewise.
11990 (ufromfpf): Likewise.
11991 (ufromfpl): Likewise.
11992 (fromfpx): Likewise.
11993 (fromfpxf): Likewise.
11994 (fromfpxl): Likewise.
11995 (ufromfpx): Likewise.
11996 (ufromfpxf): Likewise.
11997 (ufromfpxl): Likewise.
11998 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11999 s_fromfpxF and s_ufromfpxF.
12000 * math/gen-fromfp-tests.py: New file.
12001 * math/gen-fromfp-tests-inputs: Likewise.
12002 * math/libm-test.inc: Include <stdint.h>
12003 (check_intmax_t): New function.
12004 (check_uintmax_t): Likewise.
12005 (struct test_fiu_M_data): New type.
12006 (struct test_fiu_U_data): Likewise.
12007 (RUN_TEST_fiu_M): New macro.
12008 (RUN_TEST_LOOP_fiu_M): Likewise.
12009 (RUN_TEST_fiu_U): Likewise.
12010 (RUN_TEST_LOOP_fiu_U): Likewise.
12011 (fromfp_test_data): New array.
12012 (fromfp_test): New function.
12013 (fromfpx_test_data): New array.
12014 (fromfpx_test): New function.
12015 (ufromfp_test_data): New array.
12016 (ufromfp_test): New function.
12017 (ufromfpx_test_data): New array.
12018 (ufromfpx_test): New function.
12019 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
12020 ufromfpx_test.
12021 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
12022 characters.
12023 * math/test-tgmath-ret.c: Include <stdint.h>.
12024 (rm): New variable.
12025 (width): Likewise.
12026 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
12027 called function.
12028 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
12029 CHECK_RET_CONST_TYPE.
12030 (CHECK_RET_CONST_DOUBLE): Likewise.
12031 (CHECK_RET_CONST_LDOUBLE): Likewise.
12032 (CHECK_RET_CONST): Take extra arguments and pass them to calls
12033 macros.
12034 (fromfp): New CHECK_RET_CONST call.
12035 (ufromfp): Likewise.
12036 (fromfpx): Likewise.
12037 (ufromfpx): Likewise.
12038 (do_test): Call check_return_fromfp, check_return_ufromfp,
12039 check_return_fromfpx and check_return_ufromfpx.
12040 * math/test-tgmath.c: Include <stdint.h>
12041 (NCALLS): Increase to 138.
12042 (F(compile_test)): Initialize i. Call fromfp functions.
12043 (F(fromfp)): New function.
12044 (F(fromfpx)): Likewise.
12045 (F(ufromfp)): Likewise.
12046 (F(ufromfpx)): Likewise.
12047 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
12048 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
12049 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
12050 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
12051 ufromfpxl.
12052 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
12053 ufromfp and ufromfpx.
12054 * math/fromfp.h: New file.
12055 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
12060 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
12061 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
12062 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
12063 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
12064 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
12067 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
12069 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
12070 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
12071 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
12072 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
12074 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
12075 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
12076 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
12077 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
12078 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
12081 ufromfp, fromfpx and ufromfpx.
12082 (CFLAGS-nldbl-fromfp.c): New variable.
12083 (CFLAGS-nldbl-fromfpx.c): Likewise.
12084 (CFLAGS-nldbl-ufromfp.c): Likewise.
12085 (CFLAGS-nldbl-ufromfpx.c): Likewise.
12086 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
12087 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
12088 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
12089 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
12090 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
12091 * sysdeps/nacl/libm.abilist: Update.
12092 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12098 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12105 Likewise.
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12107 Likewise.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12109 Likewise.
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12111 Likewise.
12112 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12118 Likewise.
12119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12120 Likewise.
12121 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12124
12125 2016-12-30 Florian Weimer <fweimer@redhat.com>
12126
12127 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
12128 compat-gethnamaddr.
12129 (CPPFLAGS): Remove.
12130 * resolv/gethnamaddr.c: Rename ...
12131 * resolv/compat-gethnamaddr.c: ... to this file.
12132 (_endhtent): Make static.
12133 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
12134 symbol.
12135 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
12136 compat symbol.
12137 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
12138 symbol.
12139 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12140 Turn into compat symbol.
12141 * include/resolv.h (_endhtent): Remove declaration.
12142
12143 2016-12-30 Joseph Myers <joseph@codesourcery.com>
12144
12145 * bits/types.h (__intmax_t): New typedef.
12146 (__uintmax_t): Likewise.
12147 * sysdeps/generic/stdint.h: Include <bits/types.h>.
12148 (intmax_t): Define using __intmax_t.
12149 (uintmax_t): Define using __uintmax_t.
12150
12151 * support/Makefile (tests-special): Make definition conditional on
12152 [$(run-built-tests) = yes].
12153 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12154 on [$(run-built-tests) = yes].
12155
12156 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
12157
12158 * Rules (tests): Add tests-printers-programs to tests to be
12159 built.
12160
12161 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12162
12163 * sysvipc/Makefile (tests): Add test-sysvshm.
12164 * sysvipc/test-sysvshm.c: New file.
12165
12166 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12167 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12168 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12169 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12170 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12171 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12172 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12173 Likewise.
12174 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12175 Likewise.
12176 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12177 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12178 is defined.
12179
12180 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12181 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12182 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12183 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12184 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12185 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12186 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12187 Likewise.
12188 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12189 Likewise.
12190 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12191 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12192 defined.
12193
12194 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12195 oldshmctl.
12196 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12197 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12198 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12199 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12200 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12201 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12202 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12203 Likewise.
12204 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12205 Likewise.
12206 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12207 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12208 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12209 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12210 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12211 implementation.
12212 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12213 if it is defined.
12214
12215 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12216 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12217 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12218 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12219 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12220 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12221 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12222 Likewise.
12223 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12224 Likewise.
12225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12227 Define to __NR_osf_shmat.
12228 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12229 defined.
12230
12231 * sysvipc/Makefile (tests): Add test-sysvsem.
12232 * sysvipc/test-sysvsem.c: New file.
12233
12234 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12235 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12236 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12237 Likewise.
12238 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12239 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12240 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12241 Likewise.
12242 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12243 Likewise.
12244 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12245 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12246 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12247 add a comment about s390 syscall difference from default one.
12248 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12249 syscall if it is defined.
12250
12251 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12252 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12253 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12254 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12255 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12256 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12257 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12258 Likewise.
12259 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12260 Likewise.
12261 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12262 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12263 defined.
12264
12265 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12266 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12267 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12268 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12269 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12270 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12271 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12272 Likewise.
12273 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12274 Likewise.
12275 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12276 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12277 if it is defined.
12278
12279 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12280 oldsemctl.
12281 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12282 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12283 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12284 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12285 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12286 implementation.
12287 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12288 syscall if it is defined.
12289 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12290 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12291 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12292 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12293 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12294 Likewise.
12295 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12296
12297 * sysvipc/Makefile (tests): Add test-sysvmsg.
12298 * sysvipc/test-sysvmsg.c: New file.
12299 * support/check.h (FAIL_UNSUPPORTED): New define.
12300
12301 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12302 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12303 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12304 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12305 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12306 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12307 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12308 Likewise.
12309 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12310 Likewise.
12311 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12312 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12313 define.
12314
12315 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12316 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12317 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12318 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12319 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12320 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12321 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12322 Likewise.
12323 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12324 Likewise.
12325 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12326 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12327 if defined.
12328
12329 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12330 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12331 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12332 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12333 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12334 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12335 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12336 Likewise.
12337 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12338 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12339 Likewise.
12340 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12341 if defined.
12342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12343
12344 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12345 oldmsgctl.
12346 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12347 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12348 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12349 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12350 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12351 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12352 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12353 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12354 Likewise.
12355 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12356 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12357 implementation.
12358 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12359 if defined.
12360
12361 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12362 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12363 definition and define its own.
12364 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12365 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12366 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12367 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12368 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12369 definitions to common header.
12370 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12371 operation from ipc_ops.h.
12372
12373 * sysdeps/unix/sysv/linux/kernel-features.h
12374 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12375 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12376 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12378 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12379 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12380 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12381 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12382 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12383 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12384 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12385 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12386 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12387 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12388 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12389
12390 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12391
12392 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12393 overflow in pointer addition.
12394
12395 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12396
12397 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12398 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12400 (strchr): Add __strchr_power8 to list of strchr functions.
12401 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12402 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12403 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12404 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12405 (strchr): Add __strchr_power8 to ifunc list.
12406 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12407 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12408 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12409 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12410
12411 2016-12-28 Florian Weimer <fweimer@redhat.com>
12412
12413 * support/Makefile (libsupport-routines): Add
12414 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12415 (tests): Add tst-support_record_failure.
12416 (tests-special): tst-support_record_failure-2.
12417 (tst-support_record_failure-2.out): Depend on
12418 tst-support_record_failure-2.sh and tst-support_record_failure.
12419 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12420 (support_test_verify_impl, support_record_failure)
12421 (support_report_failure, support_report_failure_reset): Declare.
12422 * support/support_test_main.c (adjust_exit_status): New function.
12423 (support_test_main): Call it to incorporate record test failures.
12424 * support/support_test_verify_impl.c: New file.
12425 * support/support_record_failure.c: Likewise.
12426 * support/tst-support_record_failure.c: Likewise.
12427 * support/tst-support_record_failure-2.sh: Likewise.
12428 * support/xunistd.h: Likewise.
12429 * support/xfork.c: Likewise.
12430 * support/xwaitpid.c: Likewise.
12431
12432 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12433
12434 * scripts/check-c++-types.sh: Add comments.
12435
12436 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12437
12438 [BZ #19514]
12439 * resolv/res_send.c: Fix typo in comment.
12440 * sysdeps/i386/i386-mcount.S: Likewise.
12441 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12442 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12443 * sysdeps/sparc/sparc-mcount.S: Likewise.
12444
12445 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12446
12447 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12448 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12449 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12450 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12451 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12452 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12455
12456 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12457
12458 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12459
12460 2016-12-27 Florian Weimer <fweimer@redhat.com>
12461
12462 [BZ #17252]
12463 * posix/unistd.h (getentropy): Declare.
12464
12465 2016-12-27 Florian Weimer <fweimer@redhat.com>
12466
12467 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12468 Remove.
12469 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12470 (cmd): Remove spoof, nospoof, spoofalert.
12471 (parse_line): Ignore spoof-related lines.
12472 (do_init): Do not process RESOLV_SPOOF_CHECK.
12473
12474 2016-12-27 Florian Weimer <fweimer@redhat.com>
12475
12476 [BZ #20964]
12477 sunrpc: Always obtain AF_INET addresses from NSS.
12478 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12479 * sunrpc/rpc_gethostbyname.c: New file.
12480 * sunrpc/Makefile (routines): Add it.
12481 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12482 * sunrpc/clnt_simp.c (callrpc): Likewise.
12483 * sunrpc/getrpcport.c (getrpcport): Likewise.
12484
12485 2016-12-27 Florian Weimer <fweimer@redhat.com>
12486
12487 * sunrpc/rpcinfo.c: Remove.
12488 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12489
12490 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12491
12492 [BZ #19387]
12493 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12494 addition.
12495 * string/test-memchr.c (do_test): Remove alignment limitation.
12496 (test_main): Add test that trigger BZ #19387.
12497
12498 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12499
12500 [BZ #7065]
12501 Enable stack protectore if requested by ./configure.
12502 * Makeconfig (+stack-protector): New variable.
12503 (+cflags): Use it.
12504
12505 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12506
12507 [BZ #7065]
12508 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12510 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12512 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12513
12514 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12515
12516 [BZ #7065]
12517 * login/Makefile (pt_chown-cflags): Remove.
12518 * nscd/Makefile (CFLAGS-nscd): Likewise.
12519 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12520
12521 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12522
12523 [BZ #7065]
12524 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12525 non-libc-linking testcase.
12526
12527 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12528 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12529 Florian Weimer <fweimer@redhat.com>
12530
12531 [BZ #7065]
12532 PLT avoidance for __stack_chk_fail*.
12533 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12534 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12535 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12536 __stack_chk_fail_local alias.
12537 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12538 (__stack_chk_fail): Turn into hidden reference to
12539 __stack_chk_fail_local.
12540
12541 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12542
12543 [BZ #7065]
12544 * configure.ac: Add check for unsupported stack-protection level.
12545 (libc_cv_predef_stack_protector): Remove.
12546 (no_ssp): New variable.
12547 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12548 (stack_protector): Set to -fno-stack-protector similarly.
12549 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12550 (libc_cv_asm_set_directive): Likewise.
12551 (libc_cv_protected_data): Likewise.
12552 (libc_cv_z_combreloc): Likewise.
12553 (libc_cv_hashstyle): Likewise.
12554 (libc_cv_has_glob_dat): Likewise.
12555 (libc_cv_output_format): Likewise.
12556 (libc_cv_output_format): Likewise.
12557 (libc_cv_ehdr_start): Likewise.
12558 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12559 (LIBC_LINKER_FEATURE): Likewise.
12560 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12561
12562 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12563
12564 [BZ #7065]
12565 * elf/Makefile (dummy-stack-chk-fail): New.
12566 (librtld.map): Use it.
12567
12568 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12569
12570 [BZ #7065]
12571 Compile the dynamic linker without stack protection.
12572 * elf/Makefile (elide-stack-protector): New.
12573 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12574 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12575 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12576 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12577
12578 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12579
12580 [BZ #7065]
12581 * config.make.in (have-ssp, no-stack-protector): New.
12582 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12583 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12584 (CFLAGS-sbrk.op): Likewise.
12585 (CFLAGS-brk.o): Likewise.
12586 (CFLAGS-brk.op): Likewise.
12587 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12588 (CFLAGS-wordcopy.c): Likewise.
12589
12590 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12591
12592 [BZ #7065]
12593 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12594 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12595 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12596 (__ifunc_resolver): Use it.
12597 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12598 inhibit_stack_protector.
12599 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12600 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12601 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12602 (foo_protected_ifunc): Likewise.
12603 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12604 (foo_protected_ifunc): Likewise.
12605 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12606 * sysdeps/nacl/nacl_interface_query.c
12607 (nacl_interface_query_ifunc): Likewise.
12608 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12609 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12610 Likewise.
12611 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12612 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12613 the generated vDSO syscall resolver.
12614
12615 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12616 Florian Weimer <fweimer@redhat.com>
12617
12618 [BZ #7065]
12619 Initialize the stack guard earlier when linking statically.
12620 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12621 (__pthread_initialize_minimal): Declare.
12622 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12623 declaration.
12624 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12625 stack canary and apply_irel initialization up. Call
12626 __pthread_initialize_minimal only if linked in.
12627 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12628 constant values.
12629 (__pthread_initialize_minimal): Remove.
12630 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12631 (__pthread_initialize_minimal_internal): Do not call
12632 __libc_setup_tls.
12633
12634 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12635
12636 [BZ #7065]
12637 * configure.ac (libc_cv_ssp): Move up.
12638 (libc_cv_ssp_strong): Likewise.
12639 (libc_cv_ssp_all): New.
12640 (stack_protector): Augment, adding -fstack-protector-all.
12641 (no_stack_protector): New.
12642 (STACK_PROTECTOR_LEVEL): New.
12643 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12644 * manual/install.texi (--enable-stack-protector): Document it.
12645 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12646
12647 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12648
12649 * README.pretty-printers: Must specify CPPFLAGS-* also.
12650 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12651 (CPPFLAGS-test-mutex-printers.c): Define.
12652 (CPPFLAGS-test-condattr-printers.c): Define.
12653 (CPPFLAGS-test-cond-printers.c): Define.
12654 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12655 (CPPFLAGS-test-rwlock-printers.c): Define.
12656
12657 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12658 (tests): Add tst-cancel-getpwuid_r.
12659 * nss/tst-cancel-getpwuid_r.c: New file.
12660
12661 [BZ #11941]
12662 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12663 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12664 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12665 tst-nodelete-dlclose.
12666 (modules-names): Add tst-nodelete-dlclose-dso and
12667 tst-nodelete-dlclose-plugin.
12668 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12669 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12670 ($(objpfx)tst-nodelete-dlclose): Define.
12671 ($(objpfx)tst-nodelete-dlclose.out): Define.
12672
12673 2016-12-23 Florian Weimer <fweimer@redhat.com>
12674
12675 * scripts/test_printers_common.py: Log GDB output in case of
12676 Python detection failure.
12677
12678 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12679
12680 * configure.ac: Check for python3 or python.
12681 * configure: Regenerated.
12682 * config.make.in (PYTHON): New variable.
12683 * benchtests/Makefile: Don't define PYTHON.
12684 (bench): Define target only if PYTHON was defined.
12685 * Rules: Don't define PYTHON.
12686 Define pretty printer targets only if PYTHON was defined.
12687 (tests-printers): Add to tests-unsupported if PYTHON is not
12688 found.
12689 (python-flags, python-invoke): Remove.
12690 (tests-printers-out): Use PYTHON instead of python-invoke.
12691
12692 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12693
12694 [BZ #20978]
12695 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12696 Compare name == NULL, not name != NULL.
12697
12698 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12699 trailing whitespace removed.
12700 * scripts/config.guess: Update to version 2016-10-02.
12701 * scripts/config.sub: Update to version 2016-11-19.
12702 * scripts/install-sh: Update to version 2016-01-11.22.
12703 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12704 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12705
12706 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12707
12708 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12709 (do_one_test) Restore original string so iteration works.
12710 * string/string-inlines.c (do_test): Create better input strings.
12711 (test_main) Reduce number of testruns.
12712 * string/string-inlines.c (__old_strsep_1c): New function.
12713 (__old_strsep_2c): Likewise.
12714 (__old_strsep_3c): Likewise.
12715 * string/strsep.c (__strsep): Remove case of small delim string.
12716 Call strcspn directly rather than strpbrk.
12717 * string/bits/string2.h (__strsep): Remove define.
12718 (__strsep_1c): Remove.
12719 (__strsep_2c): Remove.
12720 (__strsep_3c): Remove.
12721 (strsep): Remove.
12722 * sysdeps/unix/sysv/linux/internal_statvfs.c
12723 (__statvfs_getflags): Rename to __strsep.
12724
12725 2016-12-21 Florian Weimer <fweimer@redhat.com>
12726
12727 * csu/libc-tls.c (_dl_tls_setup): Remove.
12728 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12729 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12730 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12731
12732 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12733
12734 [BZ #7065]
12735 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12736 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12737
12738 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12739 Florian Weimer <fweimer@redhat.com>
12740
12741 [BZ #7065]
12742 * csu/Makefile (tests): Empty assignment and document it.
12743 (tests-static): Remove.
12744 * csu/tst-empty.c: Move to...
12745 * misc/tst-empty.c: ... here. Switch to new test driver.
12746 * csu/tst-atomic.c: Move to...
12747 * misc/tst-atomic.c: ... here. Switch to new test driver.
12748 * csu/tst-atomic-long.c: Move to...
12749 * misc/tst-atomic-long.c: ... here.
12750 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12751 tst-atomic-long.
12752 (tests-static): Add tst-empty.
12753
12754 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12755
12756 * manual/nss.texi: Change incorrect @vtable to @table.
12757 * manual/arith.texi: Convert @tables of variables to @vtables
12758 and remove unnecessary indexing.
12759 * manual/filesys.texi: Likewise.
12760 * manual/llio.texi: Likewise.
12761 * manual/memory.texi: Likewise.
12762 * manual/process.texi: Likewise.
12763 * manual/resource.texi: Likewise.
12764 * manual/search.texi: Likewise.
12765 * manual/signal.texi: Likewise.
12766 * manual/socket.texi: Likewise.
12767 * manual/stdio.texi: Likewise.
12768 * manual/sysinfo.texi: Likewise.
12769 * manual/syslog.texi: Likewise.
12770 * manual/terminal.texi: Likewise.
12771 * manual/time.texi: Likewise.
12772 * manual/users.texi: Likewise.
12773
12774 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12775
12776 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12777 (roundeven): New declaration.
12778 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12779 macro.
12780 * math/Versions (roundeven): New libm symbol at version
12781 GLIBC_2.25.
12782 (roundevenf): Likewise.
12783 (roundevenl): Likewise.
12784 * math/Makefile (libm-calls): Add s_roundevenF.
12785 * math/libm-test.inc (roundeven_test_data): New array.
12786 (roundeven_test): New function.
12787 (main): Call roundeven_test.
12788 * math/test-tgmath.c (NCALLS): Increase to 134.
12789 (F(compile_test)): Call roundeven.
12790 (F(roundeven)): New function.
12791 * manual/arith.texi (Rounding Functions): Document roundeven,
12792 roundevenf and roundevenl.
12793 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12794 * include/math.h (roundeven): Use libm_hidden_proto.
12795 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12796 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12797 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12802 roundeven.
12803 (CFLAGS-nldbl-roundeven.c): New variable.
12804 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12805 * sysdeps/nacl/libm.abilist: Update.
12806 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12819 Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12821 Likewise.
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12823 Likewise.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12825 Likewise.
12826 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12832 Likewise.
12833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12834 Likewise.
12835 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12838
12839 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12840
12841 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12842 preprocessor indentation inside #if.
12843
12844 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12845
12846 * math/libm-test.inc (fmt_ftostr): New function.
12847 (print_float, check_float_internal): Replace some uses of
12848 FTOSTR with uses of fmt_ftostr.
12849 (print_max_error, print_complex_max_error, print_function_ulps)
12850 (print_complex_function_ulps): Remove uses of the macros
12851 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12852 * math/test-double.h (FTOSTR): Define to strfromd.
12853 (PRINTF_EXPR): Delete.
12854 (PRINTF_XEXPR): Likewise.
12855 (PRINTF_NEXPR): Likewise.
12856 * math/test-float.h (FTOSTR): Define to strfromf.
12857 (PRINTF_EXPR): Delete.
12858 (PRINTF_XEXPR): Likewise.
12859 (PRINTF_NEXPR): Likewise.
12860 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12861 (PRINTF_EXPR): Delete.
12862 (PRINTF_XEXPR): Likewise.
12863 (PRINTF_NEXPR): Likewise.
12864
12865 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12866
12867 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12868 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12869 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12870 (__lll_lock_elision): Decrement adapt_count while unlocking
12871 instead of before locking.
12872 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12873 (__lll_trylock_elision): Likewise.
12874 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12875 (__lll_unlock_elision): Likewise.
12876
12877 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12878
12879 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12880 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12881 Use __libc_tbegin_retry macro.
12882
12883 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12884
12885 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12886 Add -msoft-float.
12887 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12888 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12889 Use __libc_t* transaction macros instead of __builtin_t*.
12890 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12891 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12892
12893 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12894
12895 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12896 (__lll_lock_elision): Use atomics to load / store adapt_count.
12897 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12898 (__lll_trylock_elision): Likewise.
12899
12900 2016-12-20 Florian Weimer <fweimer@redhat.com>
12901
12902 Do not require memset elimination in explicit_bzero test.
12903 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12904 (enum test_expectation): Add NO_EXPECTATIONS.
12905 (subtests): NO_EXPECTATIONS for ordinary clear.
12906 (check_test_buffer): Handle NO_EXPECTATIONS.
12907 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12908
12909 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12910
12911 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12912 (fmaxmag): New declaration.
12913 (fminmag): Likewise.
12914 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12915 macro.
12916 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12917 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12918 (fmaxmagf): Likewise.
12919 (fmaxmagl): Likewise.
12920 (fminmag): Likewise.
12921 (fminmagf): Likewise.
12922 (fminmagl): Likewise.
12923 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12924 * math/s_fmaxmag_template.c: New file.
12925 * math/s_fminmag_template.c: Likewise.
12926 * math/libm-test.inc (fmaxmag_test_data): New array.
12927 (fmaxmag_test): New function.
12928 (fminmag_test_data): New array.
12929 (fminmag_test): New function.
12930 (main): Call fmaxmag_test and fminmag_test.
12931 * math/test-tgmath.c (NCALLS): Increase to 132.
12932 (F(compile_test)): Call fmaxmag and fminmag.
12933 (F(fminmag)): New function.
12934 (F(fmaxmag)): Likewise.
12935 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12936 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12937 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12938 fminmag.
12939 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12940 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12941 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12944 and fminmag.
12945 (CFLAGS-nldbl-fmaxmag.c): New variable.
12946 (CFLAGS-nldbl-fminmag.c): Likewise.
12947 * sysdeps/nacl/libm.abilist: Update.
12948 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12961 Likewise.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12963 Likewise.
12964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12965 Likewise.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12967 Likewise.
12968 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12974 Likewise.
12975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12976 Likewise.
12977 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12978 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12979 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12980
12981 2016-12-19 Torvald Riegel <triegel@redhat.com>
12982
12983 [BZ #20973]
12984 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12985 wake-up in robust mutexes.
12986 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12987
12988 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12989
12990 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12991 (CFLAGS-bench-fmaxf.c): New rule.
12992 (CFLAGS-bench-fminf.c): Likewise.
12993 * benchtests/fmaxf-inputs: New file.
12994 * benchtests/fminf-inputs: Likewise.
12995
12996 * benchtests/Makefile (bench-math): Add fmin and fmax.
12997 (CFLAGS-bench-fmax.c): New rule.
12998 (CFLAGS-bench-fmin.c): Likewise.
12999 * benchtests/fmax-inputs: New file.
13000 * benchtests/fmin-inputs: Likewise.
13001
13002 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
13003 parenthesis.
13004 (CMDLINE_PROCESS): Define using function instead of macro.
13005 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
13006 of test-skeleton.
13007 * benchtests/bench-memchr.c: Likewise.
13008 * benchtests/bench-memcmp.c: Likewise.
13009 * benchtests/bench-memcpy-large.c: Likewise.
13010 * benchtests/bench-memcpy.c: Likewise.
13011 * benchtests/bench-memmem.c: Likewise.
13012 * benchtests/bench-memmove-large.c: Likewise.
13013 * benchtests/bench-memmove.c: Likewise.
13014 * benchtests/bench-memset-large.c: Likewise.
13015 * benchtests/bench-memset.c: Likewise.
13016 * benchtests/bench-rawmemchr.c: Likewise.
13017 * benchtests/bench-strcasecmp.c: Likewise.
13018 * benchtests/bench-strcasestr.c: Likewise.
13019 * benchtests/bench-strcat.c: Likewise.
13020 * benchtests/bench-strchr.c: Likewise.
13021 * benchtests/bench-strcmp.c: Likewise.
13022 * benchtests/bench-strcpy.c: Likewise.
13023 * benchtests/bench-strcpy_chk.c: Likewise.
13024 * benchtests/bench-strlen.c: Likewise.
13025 * benchtests/bench-strncasecmp.c: Likewise.
13026 * benchtests/bench-strncmp.c: Likewise.
13027 * benchtests/bench-strncpy.c: Likewise.
13028 * benchtests/bench-strnlen.c: Likewise.
13029 * benchtests/bench-strpbrk.c: Likewise.
13030 * benchtests/bench-strrchr.c: Likewise.
13031 * benchtests/bench-strsep.c: Likewise.
13032 * benchtests/bench-strspn.c: Likewise.
13033 * benchtests/bench-strstr.c: Likewise.
13034 * benchtests/bench-strtok.c: Likewise.
13035
13036 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
13037
13038 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
13039 stepping identification.
13040 (init_cpu_features): Add handle of Haswell.
13041
13042 2016-11-25 Jim Meyering <meyering@fb.com>
13043
13044 [BZ #20386]
13045 Let gcc detect assert(a = 1) errors.
13046 * assert/assert.h (assert): Rewrite, retaining the old definintion
13047 when required, but otherwise putting the expression as-is in an "if"
13048 expression (hence, with no added parentheses) within a statement
13049 expression.
13050
13051 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
13052
13053 * benchtests/Makefile (binaries-benchset): Depend on libsupport
13054 DSO.
13055
13056 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
13057
13058 * Rules (python-flags, python-invoke): New.
13059 ($(test-printers-out)): Use $(python-flags).
13060
13061 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13062
13063 * manual/arith.texi (Math Error Reporting): Document that sNaN
13064 arguments are not considered domain errors.
13065
13066 2016-12-16 Zack Weinberg <zackw@panix.com>
13067 Florian Weimer <fweimer@redhat.com>
13068 Nick Mathewson <nickm@torproject.org>
13069
13070 * string/explicit_bzero.c: New routine.
13071 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
13072 * string/Makefile (routines, strop-tests, tests): Add them.
13073 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
13074 * string/string.h [__USE_MISC]: Declare explicit_bzero.
13075
13076 * debug/explicit_bzero_chk.c: New routine.
13077 * debug/Makefile (routines): Add it.
13078 * debug/tst-chk1.c: Test fortification of explicit_bzero.
13079 * string/bits/string3.h: Fortify explicit_bzero.
13080
13081 * manual/string.texi: Document explicit_bzero.
13082 * NEWS: Mention addition of explicit_bzero.
13083
13084 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
13085 data before returning, using explicit_bzero.
13086 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
13087 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13088 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13089
13090 * include/string.h: Redirect internal uses of explicit_bzero
13091 to __explicit_bzero_chk[_internal].
13092 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
13093 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
13094 * sysdeps/arm/nacl/libc.abilist
13095 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13096 * sysdeps/unix/sysv/linux/alpha/libc.abilist
13097 * sysdeps/unix/sysv/linux/arm/libc.abilist
13098 * sysdeps/unix/sysv/linux/hppa/libc.abilist
13099 * sysdeps/unix/sysv/linux/i386/libc.abilist
13100 * sysdeps/unix/sysv/linux/ia64/libc.abilist
13101 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13102 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13103 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13104 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13105 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13107 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13108 * sysdeps/unix/sysv/linux/nios2/libc.abilist
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13113 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13114 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13115 * sysdeps/unix/sysv/linux/sh/libc.abilist
13116 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13117 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13120 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13121 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13122 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13123 Add entries for explicit_bzero and __explicit_bzero_chk.
13124
13125 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13126
13127 * math/fenv.h
13128 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
13129 (FE_SNANS_ALWAYS_SIGNAL): New macro.
13130 * math/test-fe-snans-always-signal.c: New file.
13131 * math/Makefile (tests): Add test-fe-snans-always-signal.
13132 (CFLAGS-test-fe-snans-always-signal.c): New variable.
13133 * manual/arith.texi (Infinity and NaN): Document
13134 FE_SNANS_ALWAYS_SIGNAL.
13135
13136 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13137
13138 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
13139 bracket.
13140
13141 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13142
13143 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13144 before calling execv.
13145
13146 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13147
13148 [BZ #20971]
13149 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13150 overflow in pointer addition.
13151 * string/test-memchr.c (do_test): Add an argument to pass as
13152 the size on memchr.
13153 (test_main): Add check for SIZE_MAX.
13154
13155 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13156
13157 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13158 (libm-calls): Add w_scalblnF.
13159 * math/w_scalbln.c: Remove.
13160 * math/w_scalblnf.c: Likewise.
13161 * math/w_scalblnl.c: Likewise.
13162 * math/w_scalbln_template.c: New file with type-generic
13163 implementation based on math/w_scalbln.c.
13164 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13165 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13166
13167 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13168
13169 [BZ #20947]
13170 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13171 either is a signaling NaN.
13172 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
13173 follow fmaxl more closely.
13174 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13175 when either is a signaling NaN.
13176 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13177 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13178 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13179 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13180 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13181 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13182 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13183 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13184 (fmin_test_data): Likewise.
13185
13186 2016-12-15 Andreas Schwab <schwab@suse.de>
13187
13188 * support/support_test_main.c (support_test_main): Don't shadow
13189 file-local variable test_pid.
13190
13191 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13192
13193 [BZ #20947]
13194 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13195 either is a signaling NaN.
13196 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13197
13198 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13199
13200 [BZ #20947]
13201 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13202 when either is a signaling NaN.
13203 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13204
13205 * bits/long-double.h: New file.
13206 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13207 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13208 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13209 * sysdeps/mips/bits/long-double.h: Likewise.
13210 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13211 * math/Makefile (headers): Add bits/long-double.h.
13212 * misc/sys/cdefs.h: Include <bits/long-double.h>.
13213 * stdlib/strtold.c: Include <bits/long-double.h> instead of
13214 <bits/wordsize.h>.
13215 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13216 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13217 * math/math.h: Do not include <bits/mathdef.h>.
13218 * sysdeps/aarch64/bits/mathdef.h: Remove file.
13219 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13220 inclusion.
13221 * sysdeps/ia64/bits/mathdef.h: Remove file.
13222 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13223 * sysdeps/mips/bits/mathdef.h: Likewise.
13224 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13225 * sysdeps/s390/bits/mathdef.h: Likewise.
13226 * sysdeps/sparc/bits/mathdef.h: Likewise.
13227 * sysdeps/x86/bits/mathdef.h: Likewise.
13228 * sysdeps/s390/s390-32/bits/wordsize.h
13229 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13230 conditional code.
13231 * sysdeps/s390/s390-64/bits/wordsize.h
13232 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13233 Likewise.
13234 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13235 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13236 Likewise.
13237 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13238 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13239 Likewise.
13240 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13241 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13242 Likewise.
13243
13244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13245 <linux/falloc.h>.
13246 (FALLOC_FL_KEEP_SIZE): Remove.
13247 (FALLOC_FL_PUNCH_HOLE): Likewise.
13248 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13249 (FALLOC_FL_ZERO_RANGE): Likewise.
13250
13251 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13252
13253 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13254
13255 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13256
13257 * sysdeps/unix/sysv/linux/renameat.c: New file.
13258 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13259
13260 * sysdeps/unix/sysv/linux/rename.c: New file.
13261 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13262
13263 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13264
13265 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13266 * string/strtok.c (strtok): Change to tailcall __strtok_r.
13267 * string/strtok_r.c (__strtok_r): Optimize for performance.
13268 * string/string-inlines.c (__old_strtok_r_1c): New function.
13269 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13270
13271 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13272
13273 * math/Makefile (gen-libm-calls): Add w_log1pF.
13274 (libm-calls): Remove w_log1pF.
13275 * math/w_log1p.c: Remove.
13276 * math/w_log1pf.c: Likewise.
13277 * math/w_log1pl.c: Likewise.
13278 * math/w_log1p_template.c: New file with type-generic
13279 implementation based on math/w_log1p.c.
13280 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13281 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13282
13283 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13284
13285 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13286
13287 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13288
13289 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13290 kernel version to 4.9.
13291
13292 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
13293
13294 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13295 ($(inst_libdir)/libm.a): Fix rule to create the target only.
13296
13297 2016-12-13 Andreas Schwab <schwab@suse.de>
13298
13299 * sysdeps/powerpc/dl-procinfo.c: Don't define
13300 _dl_powerpc_platforms.
13301 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13302 constants instead of referencing _dl_powerpc_platforms.
13303 (_dl_platform_string): Remove.
13304
13305 2016-12-13 Florian Weimer <fweimer@redhat.com>
13306
13307 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13308
13309 2016-12-13 Florian Weimer <fweimer@redhat.com>
13310
13311 * Rules (binaries-shared-tests, binaries-pie-tests)
13312 (binaries-static-tests): Link with $(link-extra-libs-tests).
13313 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13314 Remove $(link-extra-libs-tests).
13315
13316 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13317
13318 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13319 (sysdep_routines): Add strncmp_power9.
13320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13321 (strncmp): Add __strncmp_power9 to list of strncmp functions.
13322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13323 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13324 (strncmp): Add __strncmp_power9 to ifunc list.
13325 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13326
13327 2016-12-12 Florian Weimer <fweimer@redhat.com>
13328
13329 [BZ #17252]
13330 Add getentropy, getrandom.
13331 * stdlib/sys/random.h: New file.
13332 (headers): Add it.
13333 * stdlib/Makefile (routines): Add getentropy, getrandom.
13334 (tests): Add tst-getrandom.
13335 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13336 * stdlib/getentropy.c: New file.
13337 * stdlib/getrandom.c: Likewise.
13338 * stdlib/tst-getrandom.c: Likewise.
13339 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13340 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13341 * manual/crypt.texi (Unpredictable Bytes): New section.
13342 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13343 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13344 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13359 Likewise.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13361 Likewise.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13374
13375 2016-12-10 Florian Weimer <fweimer@redhat.com>
13376
13377 [BZ #20956]
13378 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13379 as additional compiler barriers.
13380 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13381 (fn2, do_test): Declare with external linkage.
13382 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13383 (do_test): Declare with external linkage.
13384 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13385 (do_test): Declare with external linkage.
13386 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13387 (do_test): Declare with external linkage.
13388
13389 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13390
13391 * support/support_test_main.c (support_test_main): Use correct
13392 timeout.
13393
13394 2016-12-09 Carlos O'Donell <carlos@redhat.com>
13395 Florian Weimer <fweimer@redhat.com>
13396
13397 [BZ #16421]
13398 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13399 and __u6_addr32 members.
13400 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13401 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13402 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13403 Use __u6_addr32.
13404 * inet/tst-checks.c: Use <support/test-driver.c>
13405 * inet/tst-checks-posix.c: New file.
13406 * inet/Makefile (tests): Add it.
13407 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13408
13409 2016-12-09 Florian Weimer <fweimer@redhat.com>
13410
13411 New subdirectory support for build and test infrastructure.
13412 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13413 setting install-lib.
13414 * Makeconfig (link-extra-libs-tests): Define.
13415 (+link-pie-tests, +link-static-tests, +link-tests): Use
13416 link-extra-libs-tests.
13417 (rpath-dirs, all-subdirs): Add support.
13418 (built-modules): Add libsupport.
13419 (libsupport): Define.
13420 * support: New directory.
13421 * support/Makefile: New file.
13422 * support/check.c: Likewise.
13423 * support/check.h: Likewise.
13424 * support/delayed_exit.c: Likewise.
13425 * support/ignore_stderr.c: Likewise.
13426 * support/oom_error.c: Likewise.
13427 * support/set_fortify_handler.c: Likewise.
13428 * support/support.h: Likewise.
13429 * support/temp_file-internal.h: Likewise.
13430 * support/temp_file.c: Likewise.
13431 * support/test-driver.c: Likewise.
13432 * support/test-driver.h: Likewise.
13433 * support/test_main.c: Likewise.
13434 * support/write_message.c: Likewise.
13435 * support/xasprintf.c: Likewise.
13436 * support/xcalloc.c: Likewise.
13437 * support/xmalloc.c: Likewise.
13438 * support/xpthread_barrier_destroy.c: Likewise.
13439 * support/xpthread_barrier_init.c: Likewise.
13440 * support/xpthread_barrier_wait.c: Likewise.
13441 * support/xpthread_cancel.c: Likewise.
13442 * support/xpthread_check_return.c: Likewise.
13443 * support/xpthread_cond_wait.c: Likewise.
13444 * support/xpthread_create.c: Likewise.
13445 * support/xpthread_detach.c: Likewise.
13446 * support/xpthread_join.c: Likewise.
13447 * support/xpthread_mutex_lock.c: Likewise.
13448 * support/xpthread_mutex_unlock.c: Likewise.
13449 * support/xpthread_sigmask.c: Likewise.
13450 * support/xpthread_spin_lock.c: Likewise.
13451 * support/xpthread_spin_unlock.c: Likewise.
13452 * support/xrealloc.c: Likewise.
13453 * support/xsignal.h: Likewise.
13454 * support/xthread.h: Likewise.
13455 * support_tempfile.h: Likewise.
13456 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13457 (TEST_DATA_LIMIT): Remove unused macro.
13458 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13459 <support/check.h>.
13460 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13461 (ignore_stderr, set_fortify_handler): Remove. Now in
13462 <support/support.h>.
13463 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13464 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13465 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13466 (xpthread_join): Remove. Now in <support/xthread.h>.
13467 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13468 Introduce legacy wrappers.
13469 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13470 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13471 (write_message): Remove.
13472 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13473 test-skeleton.c.
13474 * io/test-open-tmpfile: Likewise.
13475 * io/tst-posix_fallocate-common.c: Likewise.
13476 * libio/tst-fseek.c: Likewise.
13477 * malloc/tst-malloc-backtrace.c: Likewise.
13478 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13479 * malloc/tst-malloc-thread-exit.c: Likewise.
13480 * nptl/tst-cancel7.c: Likewise.
13481 * nptl/tst-cleanup0.c: Likewise.
13482 * posix/tst-posix_fadvise-common.c: Likewise.
13483 * rt/tst-shm.c: Likewise.
13484 * time/bug-getdate1.c: Likewise.
13485 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13486 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13487 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13488
13489 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13490
13491 * Rules [$(run-built-tests) != no] (tests-expected): Add
13492 $(tests-printers).
13493 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13494
13495 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13496
13497 [BZ #20539]
13498 * math/Makefile (install-lib-ldscripts): Add libm.a.
13499 (install_subdir): Remove.
13500 (install-others): Add.
13501 ($(inst_libdir)/libm.a): Add rule for installation as
13502 linker script.
13503 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13504
13505 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13506
13507 * INSTALL: Regenerated.
13508 * Makeconfig: Add comments and whitespace to make the control flow
13509 clearer.
13510 (+link-printers-tests, +link-pie-printers-tests,
13511 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13512 built-rtld-LDFLAGS, link-libc-rpath,
13513 link-libc-tests-after-rpath-link,
13514 link-libc-printers-tests): New.
13515 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13516 link-libc-tests): Use the new variables as required.
13517 * Makerules ($(py-const)): New rule.
13518 generated: Add $(py-const).
13519 * README.pretty-printers: New file.
13520 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13521 (others): Depend on $(py-const).
13522 (tests): Depend on $(tests-printers-programs) or
13523 $(tests-printers-out),
13524 as required. Pass $(tests-printers) to merge-test-results.sh.
13525 * manual/install.texi: Add requirements for testing the pretty
13526 printers.
13527 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13528 tests-printers, CFLAGS-test-mutexattr-printers.c
13529 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13530 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13531 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13532 * nptl/nptl-printers.py: New file.
13533 * nptl/nptl_lock_constants.pysym: Likewise.
13534 * nptl/test-cond-printers.c: Likewise.
13535 * nptl/test-cond-printers.py: Likewise.
13536 * nptl/test-condattr-printers.c: Likewise.
13537 * nptl/test-condattr-printers.py: Likewise.
13538 * nptl/test-mutex-printers.c: Likewise.
13539 * nptl/test-mutex-printers.py: Likewise.
13540 * nptl/test-mutexattr-printers.c: Likewise.
13541 * nptl/test-mutexattr-printers.py: Likewise.
13542 * nptl/test-rwlock-printers.c: Likewise.
13543 * nptl/test-rwlock-printers.py: Likewise.
13544 * nptl/test-rwlockattr-printers.c: Likewise.
13545 * nptl/test-rwlockattr-printers.py: Likewise.
13546 * scripts/gen-py-const.awk: Likewise.
13547 * scripts/test_printers_common.py: Likewise.
13548 * scripts/test_printers_exceptions.py: Likewise.
13549
13550 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13551
13552 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13553 argument.
13554 (Glibc.build_glibc): Strip installed shared libraries if
13555 requested.
13556 (get_parser): Add --strip option.
13557 (main): Update Context call.
13558
13559 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13560 Dominik Vogt <vogt@linux.vnet.ibm.com>
13561
13562 [BZ #20847]
13563 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13564 array bounds for else branch.
13565 (__execvpe): Style fixes.
13566 * posix/tst-vfork3.c (run_script): New function.
13567 (create_script): Likewise.
13568 (do_test): Use run_script internal function.
13569 (do_prepare): Use create_script internal function.
13570
13571 2016-12-07 Andreas Schwab <schwab@suse.de>
13572
13573 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13574 (__elision_available): Don't declare.
13575 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13576 (__elision_available): Don't define.
13577 (elision_init): Don't set __elision_available.
13578
13579 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #20940]
13582 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13583 return Inf for arguments Inf and sNaN.
13584 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13585 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13586 Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13588 Likewise.
13589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13590 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13591 for arguments Inf and sNaN. When returning a NaN, compute it by
13592 arithmetic on the arguments.
13593 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13594 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13595 arguments.
13596
13597 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13598
13599 [BZ #20916]
13600 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13601 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13602 to compute result.
13603 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13604 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13605
13606 2016-12-05 Torvald Riegel <triegel@redhat.com>
13607
13608 * include/atomic.h (__atomic_check_size_ls): New.
13609 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13610 atomic_store_release): Use it.
13611 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13612 (elision_adapt, ELIDE_LOCK): Use atomics.
13613 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13614 atomics and improve code comments.
13615 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13616 (__lll_trylock_elision): Likewise.
13617
13618 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13619
13620 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13621 programs.
13622
13623 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13624
13625 [BZ #20916]
13626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13627 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13628 arguments to compute result.
13629 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13630 1 for arguments (sNaN, 0) or (1, sNaN).
13631 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13633
13634 [BZ #20919]
13635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13636 NaN first argument when raised to power 0.
13637 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13638 raising to power zero.
13639 * math/w_powf.c (__powf): Likewise.
13640 * math/w_powl.c (__powl): Likewise.
13641 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13642 pow (0, 0) or pow (NaN, 0).
13643
13644 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13645
13646 [BZ #20918]
13647 * configure.ac: Test for static NSS cryptographic libraries and set
13648 libc_cv_static_nss_crypt.
13649 * configure: Regenerate.
13650 * config.make.in (static-nss-crypt): Define.
13651 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13652 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13653 (CFLAGS-tst-linkall-static.c): Define.
13654 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13655 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13656 ($(objpfx)tst-linkall-static): Define.
13657 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13658 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13659
13660 2016-12-02 Florian Weimer <fweimer@redhat.com>
13661
13662 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13663 (one-hundred, tst-tls-many-dynamic-modules): Define.
13664 (modules-names): Add $(tst-tls-many-dynamic-modules).
13665 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13666 macros.
13667 (tst-tls-manydynamic): Link against libdl, libpthread.
13668 (tst-tls-manydynamic.out): The test needs the test modules at run
13669 time.
13670 * elf/tst-tls-manydynamic.c: New file.
13671 * elf/tst-tls-manydynamic.h: Likewise.
13672 * elf/tst-tls-manydynamicmod.c: Likewise.
13673
13674 2016-12-02 Florian Weimer <fweimer@redhat.com>
13675
13676 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13677 (TLS_DTV_UNALLOCATED): Add.
13678 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13679 offsets.
13680
13681 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13682
13683 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13684
13685 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13686
13687 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13688 Add -fno-optimize-sibling-calls.
13689
13690 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13691
13692 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13693 New declaration.
13694 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13695 macro.
13696 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13697 New macro.
13698 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13699 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13700 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13701 (llogbf): Likewise.
13702 (llogbl): Likewise.
13703 * math/Makefile (gen-libm-calls): Add w_llogbF.
13704 (tests): Add test-fp-llogb-constants.
13705 * math/w_llogb_template.c: New file. Based on
13706 math/w_ilogb_template.c.
13707 * math/libm-test.inc (llogb_test_data): New array.
13708 (llogb_test): New function.
13709 (main): Call llogb_test.
13710 * math/test-fp-llogb-constants.c: New file. Based on
13711 math/test-fp-ilogb-constants.c.
13712 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13713 (do_test): Call check_return_llogb.
13714 * math/test-tgmath.c (NCALLS): Increase to 126.
13715 (F(compile_test)): Call llogb.
13716 (F(llogb)): New function.
13717 * manual/math.texi (Exponents and Logarithms): Document llogb,
13718 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13719 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13720 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13721 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13723 (CFLAGS-nldbl-llogb.c): New variable.
13724 * sysdeps/nacl/libm.abilist: Update.
13725 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13738 Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13740 Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13742 Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13744 Likewise.
13745 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13751 Likewise.
13752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13753 Likewise.
13754 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13757
13758 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13759
13760 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13761 _Float128 instead of long double.
13762 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13763
13764 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13765 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13766 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13767 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13768 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13769 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13770 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13771 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13772 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13773 Likewise.
13774
13775 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13776
13777 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13778 Remove redirection to __strrchr_ppc.
13779
13780 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13781
13782 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13783 (sysdep_routines): Add strcmp_power9.
13784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13785 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13786 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13787 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13788 (strcmp): Add __strcmp_power9 to ifunc list.
13789 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13790
13791 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13792
13793 * bits/fp-logb.h: New file.
13794 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13795 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13796 * sysdeps/x86/bits/fp-logb.h: Likewise.
13797 * math/Makefile (headers): Add bits/fp-logb.h.
13798 * math/math.h: Include <bits/fp-logb.h>.
13799 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13800 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13801 * bits/mathdef.h (FP_ILOGB0): Remove.
13802 (FP_ILOGBNAN): Likewise.
13803 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13804 (FP_ILOGBNAN): Likewise.
13805 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13806 (FP_ILOGBNAN): Likewise.
13807 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13808 (FP_ILOGBNAN): Likewise.
13809 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13810 (FP_ILOGBNAN): Likewise.
13811 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13812 (FP_ILOGBNAN): Likewise.
13813 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13814 (FP_ILOGBNAN): Likewise.
13815 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13816 (FP_ILOGBNAN): Likewise.
13817 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13818 (FP_ILOGBNAN): Likewise.
13819 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13820 (FP_ILOGBNAN): Likewise.
13821
13822 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13823 time module.
13824 (Context.__init__): Initialize self.logsdir_old.
13825 (Context.run_builds): Handle bot action.
13826 (Context.bot_cycle): Copy logs directory before running builds.
13827 (Context.bot_run_self): Take argument for whether to check
13828 subprocess result. Flush stdout before running subprocess.
13829 (Context.bot): New function.
13830 (get_parser): Allow bot action.
13831
13832 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13833
13834 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13835 Import email.mime.text, email.utils and smtplib modules.
13836 (Context.__init__): Initialize self.bot_config_json.
13837 (Context.run_builds): Handle bot-cycle action.
13838 (Context.load_bot_config_json): New function.
13839 (Context.part_build_old): Likewise.
13840 (Context.bot_cycle): Likewise.
13841 (Context.bot_build_mail): Likewise.
13842 (Context.bot_run_self): Likewise.
13843 (get_parser): Allow bot-cycle action.
13844
13845 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13846
13847 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13848 Remove redirection to __stpcpy_ppc.
13849
13850 2016-11-30 Florian Weimer <fweimer@redhat.com>
13851
13852 Remove __libc_memalign from ld.so because it is unused.
13853 * elf/dl-minimal.c: Update comment on the malloc implementation.
13854 (malloc): Renamed from __libc_memalign, replacing the original
13855 malloc implementation. Replace the align parameter with
13856 MALLOC_ALIGNMENT.
13857 * elf/Versions (ld): Update comment and remove __libc_memalign.
13858 * sysdeps/nacl/ld.abilist: Likewise.
13859 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13860 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13868 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13869 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13885 * sysdeps/generic/localplt.data (ld.so): Likewise.
13886 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13887 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13888 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13889 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13890 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13891 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13892 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13893 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13894 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13896 (ld.so): Likewise.
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13898 (ld.so): Likewise.
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13900 Likewise.
13901 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13902 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13903 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13904 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13905 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13906
13907 2016-11-30 Florian Weimer <fweimer@redhat.com>
13908
13909 [BZ #16628]
13910 Implement _dl_catch_error, _dl_signal_error in libc.so.
13911 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13912 (catch_hook): Define as thread-local or regular variable,
13913 depending on DL_ERROR_BOOTSTRAP.
13914 (CATCH_HOOK): Remove.
13915 (dl_signal_error, _dl_catch_error): Use
13916 catch_hook. Add hidden definition for libc.
13917 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13918 for DL_ERROR_BOOTSTRAP only.
13919 * elf/dl-error.c: New file.
13920 * elf/dl-error-minimal.c: Likewise.
13921 * elf/tst-latepthread.c: Likewise.
13922 * elf/tst-latepthreadmod.c: Likewise.
13923 * elf/Makefile (routines): Add dl-error.
13924 (dl-routines): Remove dl-error.
13925 (rtld-routines): Add dl-error-minimal.
13926 [build-shared] (tests): Add tst-latepthread.
13927 (module-names): Add tst-latepthreadmod.
13928 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13929 symbol.
13930 (tst-latepthreadmod.so): Link against libpthread.
13931 (tst-latepthread): Link against libdbl.
13932 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13933 _dl_catch_error.
13934 [ld] (GLIBC_PRIVATE): Likewise.
13935 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13936 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13937 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13938 directly.
13939 * elf/dl-tsd.c: Remove file.
13940 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13941 _dl_catch_error, _dl_signal_error.
13942 (_dl_initial_error_catch_tsd): Remove definition.
13943 (do_preload): Remove initialization of dl_error_catch_tsd.
13944 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13945 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13946 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13947 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13948 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13949 set dl_error_catch_tsd.
13950 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13951 _dl_error_catch_tsd member.
13952 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13953 members.
13954 (_dl_initial_error_catch_tsd): Remove declaration.
13955 (_dl_dprintf): Provide definition for use outside of ld.so.
13956 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13957 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13958 prototype for libc.
13959 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13960 _dl_catch_error.
13961 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13962 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13963 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13964 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13965 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13966 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13967 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13968 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13969 Likewise.
13970 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13972 (ld.so): Likewise.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13974 (ld.so): Likewise.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13976 Likewise.
13977 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13978 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13980 Likewise.
13981 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13982 Likewise.
13983 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13984
13985 2016-11-30 Florian Weimer <fweimer@redhat.com>
13986
13987 [BZ #4099]
13988 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13989 _IO_BUFSIZ (8192).
13990
13991 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13992
13993 * PROJECTS: Remove file.
13994
13995 2016-11-29 Florian Weimer <fweimer@redhat.com>
13996
13997 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13998
13999 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
14000 Steve Ellcey <sellcey@caviumnetworks.com>
14001
14002 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
14003 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
14004 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
14005 fxstatat.
14006 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
14007 lxstat.
14008 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
14009 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
14010 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
14011 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
14012 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
14013 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
14014 __xstat.
14015
14016 2016-11-29 Florian Weimer <fweimer@redhat.com>
14017
14018 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
14019 Define.
14020 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
14021 definition.
14022
14023 2016-11-29 Florian Weimer <fweimer@redhat.com>
14024
14025 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
14026 version and turn into strong alias. Remove compat symbol.
14027
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14029 (__longjmp): Remove.
14030
14031 2016-11-29 Joseph Myers <joseph@codesourcery.com>
14032
14033 * bits/fp-fast.h: New file.
14034 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
14035 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
14036 * math/Makefile (headers): Add bits/fp-fast.h.
14037 * math/math.h: Include <bits/fp-fast.h>.
14038 * bits/mathdef.h (FP_FAST_FMA): Remove.
14039 (FP_FAST_FMAF): Likewise.
14040 (FP_FAST_FMAL): Likewise.
14041 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
14042 (FP_FAST_FMAF): Likewise.
14043 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
14044 (FP_FAST_FMAF): Likewise.
14045 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
14046 (FP_FAST_FMAF): Likewise.
14047 (FP_FAST_FMAL): Likewise.
14048 * sysdeps/arm/bits/mathdef.h: Remove file.
14049 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
14050 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14051 * sysdeps/tile/bits/mathdef.h: Likewise.
14052
14053 2016-11-28 Joseph Myers <joseph@codesourcery.com>
14054
14055 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
14056 * math/w_ilogb.c: Remove.
14057 * math/w_ilogbf.c: Likewise.
14058 * math/w_ilogbl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
14060 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
14061 * math/Makefile (gen-libm-calls): Add w_ilogbF.
14062 (libm-calls): Remove w_ilogbF.
14063 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
14064 (LDOUBLE_ilogbl_libm_version): New macro.
14065
14066 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
14067
14068 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
14069 [!__STRICT_ANSI__ && !__cplusplus].
14070
14071 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
14072
14073 [BZ #20750]
14074 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
14075 of PIC.
14076
14077 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
14078 Yury Norov <ynorov@caviumnetworks.com>
14079 Steve Ellcey <sellcey@caviumnetworks.com>
14080
14081 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
14082 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
14083 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
14084 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
14085 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
14086 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
14087 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
14088 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
14089 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
14090 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
14091 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
14092 to get correct reg name for ILP32.
14093 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
14094 (RELA_SIZE): New Macro.
14095 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
14096 to support ILP32.
14097 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
14098 cast for ILP32 mode.
14099 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
14100 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
14101 * sysdeps/aarch64/memset.S (__memset): Ditto.
14102 * sysdeps/aarch64/strchr.S (strchr): Ditto.
14103 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
14104 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
14105 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
14106 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
14107 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
14108 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
14109 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
14110 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
14111 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
14112 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
14113 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
14114 change PTR_MANGLE call to use register numbers instead of names.
14115 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
14116 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
14117 ILP32 mode, change PTR_MANGLE calls to use register numbers.
14118 * sysdeps/aarch64/start.S (_start): Ditto.
14119 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
14120 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
14121 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
14122 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
14123 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
14124 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
14125 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
14126 Make defined values dependent on __ILP32__.
14127 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
14128 (sem_t): Change __align type.
14129 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
14130 PTR_SIZE): New Macros.
14131 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
14132 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
14133 Set when in ILP32 mode.
14134 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
14135 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
14136 Set elf flags for ILP32.
14137 (add_system_dir): Set ILP32 library directories.
14138 * sysdeps/unix/sysv/linux/aarch64/init-first.c
14139 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14140 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14141 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14142 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14143 New Macros.
14144 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14145
14146 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
14147
14148 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14149 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14150 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14151
14152 2016-11-28 Joseph Myers <joseph@codesourcery.com>
14153
14154 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14155 <asm/cachectl.h>.
14156
14157 2016-11-27 Zack Weinberg <zackw@panix.com>
14158
14159 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14160 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14161
14162 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14163
14164 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14165 error_t to fix usage in C++ programs.
14166
14167 2016-11-26 Joseph Myers <joseph@codesourcery.com>
14168
14169 * scripts/build-many-glibcs.py: Import datetime module.
14170 (Context.__init__): Load JSON build state. Initialize list of
14171 status logs.
14172 (Context.run_builds): Update saved build state.
14173 (Context.add_makefile_cmdlist): Update list of status logs.
14174 (Context.load_build_state_json): New function.
14175 (Context.store_build_state_json): Likewise.
14176 (Context.clear_last_build_state): Likewise.
14177 (Context.update_build_state): Likewise.
14178 (CommandList.status_logs): Likewise.
14179
14180 2016-11-25 Joseph Myers <joseph@codesourcery.com>
14181
14182 * scripts/build-many-glibcs.py (Context.__init__): Save text of
14183 script being executed.
14184 (Context.get_script_text): New function.
14185 (Context.exec_self): Likewise.
14186 (Context.checkout): Re-exec script if changed by checkout process.
14187
14188 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14189
14190 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14191 (setpayloadsig): New declaration.
14192 * math/Versions (setpayloadsig): New libm symbol at version
14193 GLIBC_2.25.
14194 (setpayloadsigf): Likewise.
14195 (setpayloadsigl): Likewise.
14196 * math/Makefile (libm-calls): Add s_setpayloadsigF.
14197 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14198 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14199 (setpayloadsig_test_data): New array.
14200 (setpayloadsig_test): New function.
14201 (main): Call setpayloadsig_test.
14202 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14203 setpayloadsigf and setpayloadsigl.
14204 * manual/libm-err-tab.pl: Update comment on interfaces without
14205 ulps tabulated.
14206 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14207 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14210 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14212 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14213 setpayloadsig.
14214 (CFLAGS-nldbl-setpayloadsig.c): New variable.
14215 * sysdeps/nacl/libm.abilist: Update.
14216 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14229 Likewise.
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14231 Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14233 Likewise.
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14235 Likewise.
14236 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14242 Likewise.
14243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14244 Likewise.
14245 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14248
14249 * scripts/build-many-glibcs.py: Import json module.
14250 (Context.__init__): Take replace_sources argument. Load
14251 versions.json.
14252 (Context.load_versions_json): New function.
14253 (Context.store_json): Likewise.
14254 (Context.store_versions_json): Likewise.
14255 (Context.set_component_version): Likewise.
14256 (Context.checkout): Update versions.json. Check for and handle
14257 changes of version. Prefer previously explicitly specified
14258 version to default version.
14259 (Context.checkout_vcs): Return a revision identifier.
14260 (Context.git_checkout): Likewise.
14261 (Context.gcc_checkout): Likewise.
14262 (get_parser): Add --replace-sources option.
14263 (main): Pass replace_sources argument to Context call.
14264
14265 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14266
14267 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14268 * nptl/allocatestack.c (allocate_stack): Likewise.
14269 (__reclaim_stacks): Likewise.
14270 (setxid_signal_thread): Obtain pid through syscall.
14271 * nptl/nptl-init.c (sigcancel_handler): Likewise.
14272 (sighandle_setxid): Likewise.
14273 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14274 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14275 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14278 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14279 comment.
14280 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14281 * nptl/descr.h (struct pthread): Change comment about pid value.
14282 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14283 pid assert.
14284 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14285 Do not set pid value.
14286 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14287 pid cache check.
14288 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14289 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14290 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14291 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14292 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14293 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14294 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14295 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14296 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14297 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14298 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14299 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14300 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14301 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14302 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14303 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14304 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14305 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14306 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14307 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14308 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14309 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14310 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14311 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14312 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14315 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14316 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14317 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14318 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14320 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14321 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14322 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14323 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14324 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14325 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14326 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14327 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14328 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14329 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14330 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14333 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14334 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14335 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14336 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14337 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14338 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14339 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14340 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14341 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14342 struct access.
14343 (clone_test): Remove function.
14344 (do_test): Rewrite to take in consideration pid is not cached anymore.
14345
14346 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14347
14348 * bits/flt-eval-method.h: New file.
14349 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14350 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14351 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14352 * math/Makefile (headers): Add bits/flt-eval-method.h.
14353 * math/math.h: Include <bits/flt-eval-method.h>.
14354 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14355 [__USE_ISOC99] (double_t): Likewise.
14356 * bits/mathdef.h (float_t): Remove.
14357 (double_t): Likewise.
14358 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14359 (double_t): Likewise.
14360 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14361 (double_t): Likewise.
14362 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14363 (double_t): Likewise.
14364 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14365 (double_t): Likewise.
14366 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14367 (double_t): Likewise.
14368 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14369 (double_t): Likewise.
14370 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14371 (double_t): Likewise.
14372 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14373 (double_t): Likewise.
14374 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14375 (double_t): Likewise.
14376 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14377 (double_t): Likewise.
14378 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14379 (double_t): Likewise.
14380 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14381 (double_t): Likewise.
14382 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14383 (double_t): Likewise.
14384
14385 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14386
14387 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14388 instead of PIC.
14389
14390 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14391
14392 [BZ #20859]
14393 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14394 (-0x7fffffff) instead of 0x80000001.
14395 * math/test-fp-ilogb-constants.c: New file.
14396 * math/Makefile (tests): Add test-fp-ilogb-constants.
14397
14398 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14399
14400 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14401 (_init): Use it in place of hardcoded R_MIPS_JALR.
14402 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14403 (_init): Use it in place of hardcoded R_MIPS_JALR.
14404 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14405 (_init): Use it in place of hardcoded R_MIPS_JALR.
14406
14407 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14408
14409 [BZ #20787]
14410 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14411 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14412 (double_t): Do not define to double if [__x86_64__] when
14413 __FLT_EVAL_METHOD__ is nonzero.
14414 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14415 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14416 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14417 test-flt-eval-method-387 and test-flt-eval-method-sse.
14418 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14419 variable.
14420 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14421
14422 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14423
14424 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14425 use of -fno-isolate-erroneous-paths options for tilepro.
14426
14427 2016-11-23 Florian Weimer <fweimer@redhat.com>
14428
14429 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14430 structure initialization is no longer needed.
14431
14432 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14433
14434 [BZ #20855]
14435 * bits/mathdef.h (float_t): Define to float.
14436 * math/test-flt-eval-method.c: New file.
14437 * math/Makefile (tests): Add test-flt-eval-method.
14438 (CFLAGS-test-flt-eval-method.c): New variable.
14439
14440 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14441
14442 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14443 and __fstatfs. Make them aliases of __fstatfs64 if
14444 STATFS_IS_STATFS64 is set to non-zero.
14445 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14446 and __statfs64.
14447 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14448 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14449 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14450 for __statfs and statfs.
14451 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14452 to 0.
14453 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14454 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14455 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14456 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14457 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14458 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14461 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14462 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14463 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14464 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14465
14466 2016-11-22 Andreas Schwab <schwab@suse.de>
14467
14468 * misc/mkstemp.c: Include <fcntl.h>.
14469 * misc/mkstemps.c: Likewise.
14470 * misc/mkostemp.c: Likewise.
14471 * misc/mkostemps.c: Likewise.
14472
14473 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14474
14475 [BZ #20847]
14476 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14477 array bounds.
14478 (__execvpe): Likewise.
14479
14480 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14481
14482 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14483 -fno-isolate-erroneous-paths options for tilepro.
14484
14485 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14486
14487 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14488 to 0 when in 32 bit mode.
14489 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14490 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14491 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14492 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14494 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14495 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14496 XSTAT_IS_XSTAT64 test.
14497 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14498 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14499 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14500 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14501 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14502 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14503 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14504 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14505 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14506 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14507 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14508
14509 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14510
14511 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14512 (setpayload): New declaration.
14513 * math/Versions (setpayload): New libm symbol at version
14514 GLIBC_2.25.
14515 (setpayloadf): Likewise.
14516 (setpayloadl): Likewise.
14517 * math/Makefile (libm-calls): Add s_setpayloadF.
14518 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14519 test_Ff_b1_data.
14520 (RUN_TEST_Ff_b1): New macro.
14521 (RUN_TEST_LOOP_Ff_b1): Likewise.
14522 (canonicalize_test_data): Update type.
14523 (setpayload_test_data): New array.
14524 (setpayload_test): New function.
14525 (main): Call setpayload_test.
14526 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14527 setpayloadf and setpayloadl.
14528 * manual/libm-err-tab.pl: Update comment on interfaces without
14529 ulps tabulated.
14530 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14531 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14533 Likewise.
14534 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14535 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14542 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14543 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14544 setpayload.
14545 (CFLAGS-nldbl-setpayload.c): New variable.
14546 * sysdeps/nacl/libm.abilist: Update.
14547 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14560 Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14562 Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14564 Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14566 Likewise.
14567 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14573 Likewise.
14574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14575 Likewise.
14576 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14579
14580 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14581
14582 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14583 * include/unistd.h: Extend comment about __access_noerrno return
14584 semantics.
14585 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14586 (access_common): Correct typo for EACCES.
14587
14588 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14589
14590 * sysdeps/tile/math-tests.h: New file.
14591
14592 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14593 (__old_set_dataplane): Rename from set_dataplane and make a
14594 compatibility symbol.
14595 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14596 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14597 sys/dataplane.h.
14598
14599 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14600
14601 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14602 script quote words in command output to log suitably for input to
14603 the shell.
14604
14605 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14606 Maciej W. Rozycki <macro@imgtec.com>
14607
14608 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14609 `.Lno_weak_fn' label.
14610 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14611 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14612
14613 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14614 Yury Norov <ynorov@caviumnetworks.com>
14615
14616 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14617 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14618 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14619 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14620 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14622 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14624 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14626 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14627 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14628 (sysdep_routines): Remove oldgetrlimit64.
14629 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14630 (sysdep_routines): Likewise.
14631 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14632 (sysdep_routines): Likewise.
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14634 [$(subdir) = resource] (sysdep_routines): Likewise.
14635 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14636 [$(subdir) = resource] (sysdep_routines): Likewise.
14637 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14638 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14639 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14640 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14641 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14642 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14643 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14644 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14645 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14646 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14647 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14648 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14649 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14650 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14651 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14652 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14653 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14654 setrlimit and getrlimit.
14655 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14657 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14660 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14661 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14662 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14664 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14665 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14666 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14667 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14668 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14669 (__old_getrlimit64): Add compatibility symbol.
14670 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14671
14672 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14673
14674 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14675 newly built gmp, mpfr and mpc.
14676
14677 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14678
14679 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14680
14681 * conform/Makefile (linknamespace-libs): Rename to
14682 linknamespace-libs-thr.
14683 (linknamespace-libs-posix): New variable.
14684 (linknamespace-libs-xsi): Likewise.
14685 (linknamespace-libs-XPG3): Include libcrypt.a.
14686 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14687 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14688 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14689 (linknamespace-libs-XOPEN2K): Likewise.
14690 (linknamespace-libs-XOPEN2K8): Likewise.
14691 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14692
14693 [BZ #20829]
14694 * stdio-common/Versions (__snprintf): Add to version
14695 GLIBC_PRIVATE.
14696 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14697 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14698 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14699 of snprintf.
14700 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14701
14702 2016-11-16 Zack Weinberg <zackw@panix.com>
14703
14704 * string/string.h: Remove obsolete comment stating that
14705 strcoll_l and strxfrm_l have not yet been standardized.
14706
14707 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14708
14709 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14710 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14711 __access_noerrno.
14712 * io/access.c (__access_noerrno): New function.
14713 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14714 (hurd_fail_seterrno): Likewise.
14715 (access_common): Likewise.
14716 (__access_noerrno): Likewise.
14717 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14718 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14719 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14720 macro.
14721
14722 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14723
14724 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14725 Only declare fpregs if [__SH_FPU_ANY__].
14726
14727 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14728
14729 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14730 Make code unconditional.
14731 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14732
14733 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14734
14735 * manual/sysinfo.texi (S_APPEND): Delete.
14736 (S_IMMUTABLE): Likewise.
14737
14738 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14739 Magnus Granberg <zorry@gentoo.org>
14740 Mike Frysinger <vapier@gentoo.org>
14741
14742 [BZ #20662]
14743 * configure.ac (libc_cv_predef_stack_protector): Also check for
14744 __stack_chk_fail_local symbols.
14745 * configure: Regenerated.
14746
14747 2016-11-15 Florian Weimer <fweimer@redhat.com>
14748
14749 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14750 (libc_hidden_def): Remove redefinition.
14751 (__sigsetjmp): Add hidden definition.
14752 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14753 (libc_hidden_def): Remove redefinition.
14754 (__sigsetjmp): Add hidden definition.
14755
14756 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14757
14758 * scripts/build-many-glibcs.py (os.path): Do not import.
14759 (Context): Inherit explicitly from object. Remove blank line
14760 between class and docstring.
14761 (Config): Likewise.
14762 (Glibc): Likewise.
14763 (Command): Likewise.
14764 (CommandList): Likewise.
14765 (Context.write_files): Store chmod mode in a variable.
14766
14767 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14768 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14769 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14770
14771 2016-11-14 Zack Weinberg <zackw@panix.com>
14772
14773 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14774 creating or re-creating it.
14775
14776 * string/bits/string2.h: Fix typo in comment.
14777
14778 2016-11-14 Zack Weinberg <zackw@panix.com>
14779
14780 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14781 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14782 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14783 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14784 of redirected function names.
14785
14786 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14787 as well. Document that MESSAGE must be a single string literal.
14788
14789 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14790
14791 * scripts/build-many-glibcs.py: New file.
14792
14793 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14794 (do_test): Disable -Wmaybe-uninitialized around uses of
14795 except_mask.
14796
14797 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14798
14799 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14800
14801 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14802 (atomic_store_release): Provide tilepro-specific implementations.
14803
14804 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14805
14806 * math/math.h (__MATH_TG): New macro.
14807 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14808 [__USE_ISOC99] (signbit): Likewise.
14809 [__USE_ISOC99] (isfinite): Likewise.
14810 [__USE_ISOC99] (isnan): Likewise.
14811 [__USE_ISOC99] (isinf): Likewise.
14812 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14813 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14814 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14815 __MATH_TG and __MATH_EVAL_FMT2.
14816 * sysdeps/generic/math_private.h (fabs_tg): Define using
14817 __MATH_TG.
14818 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14819 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14820 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14821 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14822 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14823 macro.
14824 (__iscanonical): Likewise.
14825 (iscanonical): Define using __MATH_TG.
14826
14827 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14828
14829 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14830 guards.
14831
14832 * sysdeps/unix/sysv/linux/access.c: New file.
14833 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14834
14835 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14836
14837 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14838 and __WORDSIZE32_PTRDIFF_LONG.
14839
14840 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14841
14842 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14843
14844 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14845
14846 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14847 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14848 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14849 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14850 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14852 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14853 * sysdeps/unix/sysv/linux/truncate.c: New file.
14854 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14855 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14856 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14857 Remove.
14858 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14859 Likewise.
14860
14861 * posix/tst-truncate-common.c: New file.
14862 * posix/tst-truncate.c: Use tst-truncate-common.c.
14863 * posix/tst-truncate64.c: Likewise and add LFS tests.
14864 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14865 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14866 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14867 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14868 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14870 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14871 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14872 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14873 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14874 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14875 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14876 Remove.
14877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14878 Likewise.
14879
14880 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14881
14882 [BZ #20790]
14883 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14884 to MAXLINESIZE.
14885 * sunrpc/bug20790.x: New file.
14886 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14887 variable.
14888 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14889 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14890
14891 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14892
14893 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14894
14895 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14896 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14897 calloc, realloc, free, memalign and __libc_memalign rather than
14898 making them optional.
14899
14900 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14901 for libc.so.
14902
14903 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14904
14905 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14906 ptw-lseek64.
14907 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14908 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14909 Likewise.
14910 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14911 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14912 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14913 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14914 * sysdeps/unix/sysv/linux/lseek.c: New file.
14915 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14916 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14917 __libc_lseek64 from auto-generation.
14918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14919 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14920
14921 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14922
14923 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14924 * nptl/tst-cleanup1.c (do_test): Likewise.
14925 * nptl/tst-cleanup3.c (do_test): Likewise.
14926 * nptl/tst-key1.c (do_test): Likewise.
14927 * nptl/tst-key2.c (tf, do_test): Likewise.
14928 * nptl/tst-key3.c (tf, do_test): Likewise.
14929 * nptl/tst-stdio1.c (do_test): Likewise.
14930 * nptl/tst-stdio2.c (do_test): Likewise.
14931
14932 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14933 * nptl/tst-kill6.c (handler): Likewise.
14934 * nptl/tst-tls2.c (CB): Likewise.
14935 * nptl/tst-tls3.c (CB): Likewise.
14936
14937 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14938
14939 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14940
14941 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14942 Steve Ellcey <sellcey@caviumnetworks.com>
14943
14944 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14945 __ASSUME_ST_INO_64_BIT as 0
14946 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14947 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14948 over the code where __ASSUME_ST_INO_64_BIT is used.
14949 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14950 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14951 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14952
14953 2016-11-07 Florian Weimer <fweimer@redhat.com>
14954
14955 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14956 Document ABI exposure of the __kind offset.
14957 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14958 Mention reason for the __kind offset exposure in the ABI.
14959 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14960 Likewise.
14961 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14962 Likewise.
14963 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14964 Likewise.
14965 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14966 (struct __pthread_mutex_s): Likewise.
14967 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14968 Likewise.
14969 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14970 Likewise.
14971 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14972 Likewise.
14973 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14974 Likewise.
14975 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14976 Likewise.
14977 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14978 Likewise.
14979 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14980 (struct __pthread_mutex_s): Likewise.
14981 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14982 (struct __pthread_mutex_s): Likewise.
14983 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14984 Likewise.
14985
14986 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14987
14988 * test-skeleton.c: Document do_test usage.
14989
14990 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14991
14992 * iconv/gconv.h (__gconv_info): Define __data element using a
14993 zero-length array.
14994
14995 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14996
14997 * math/test-tgmath2.c: Split up test function.
14998
14999 2016-11-04 Joseph Myers <joseph@codesourcery.com>
15000
15001 * Rules (tests-expected): New variable, depending on
15002 $(run-built-tests).
15003 (tests): Pass $(tests-expected) to merge-test-results.sh, not
15004 $(tests).
15005
15006 * Rules [$(run-built-tests) = no] (tests): Do not depend on
15007 $(tests-unsupported).
15008
15009 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15010
15011 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
15012 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
15013
15014 2016-11-04 Joseph Myers <joseph@codesourcery.com>
15015
15016 [BZ #20768]
15017 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
15018 __fegetenv instead of fegetenv.
15019
15020 [BZ #14139]
15021 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
15022 (find_files): Obtain platform name from libm-test-ulps-name and
15023 store in %pplatforms.
15024 (canonicalize_platform): Remove.
15025 (print_platforms): Use $pplatforms directly.
15026 (by_platforms): Do not allow for platforms missing from
15027 %pplatforms.
15028 * sysdeps/aarch64/libm-test-ulps-name: New file.
15029 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
15030 * sysdeps/arm/libm-test-ulps-name: Likewise.
15031 * sysdeps/generic/libm-test-ulps-name: Likewise.
15032 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
15033 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
15034 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
15035 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
15036 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
15037 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
15038 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
15039 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
15040 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
15041 * sysdeps/nios2/libm-test-ulps-name: Likewise.
15042 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
15043 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
15044 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
15045 * sysdeps/sh/libm-test-ulps-name: Likewise.
15046 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
15047 * sysdeps/tile/libm-test-ulps-name: Likewise.
15048 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
15049
15050 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
15051
15052 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
15053 (test-xfail-check-execstack): New variable.
15054
15055 * sysdeps/mips/localplt.data: New file.
15056
15057 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
15058 Steve Ellcey <sellcey@caviumnetworks.com>
15059
15060 * bits/wordsize.h: Add documentation.
15061 * sysdeps/aarch64/bits/wordsize.h : New file
15062 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
15063 definitions.
15064 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
15065 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
15066 with #if instead of #ifdef.
15067 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
15068 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
15069 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
15070 Add or change defines.
15071 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
15072 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15073 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
15074 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
15075 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15076 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15077 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
15078 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15079 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
15080 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
15082 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
15083 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
15084 * sysdeps/x86/bits/wordsize.h: Likewise.
15085
15086 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
15087 Kevin Petit <kevin.petit@arm.com>
15088
15089 * sysdeps/aarch64/memchr.S (__memchr): New file.
15090
15091 2016-11-04 Joseph Myers <joseph@codesourcery.com>
15092
15093 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
15094
15095 2016-11-03 Joseph Myers <joseph@codesourcery.com>
15096
15097 [BZ #19398]
15098 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
15099 $(linknamespace-symlists-tests).
15100
15101 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
15102
15103 * time/tst-strptime2.c: Ignore -Wformat-length warning.
15104
15105 2016-11-02 Florian Weimer <fweimer@redhat.com>
15106 Carlos O'Donell <carlos@redhat.com>
15107
15108 [Bug #20729]
15109 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
15110 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
15111 for -Os related change.
15112
15113 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
15114
15115 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
15116
15117 2016-11-01 Joseph Myers <joseph@codesourcery.com>
15118
15119 [BZ #19673]
15120 * manual/math.texi (Exponents and Logarithms): Correct description
15121 of clog10.
15122
15123 2016-10-31 Carlos O'Donell <carlos@redhat.com>
15124
15125 [Bz #20729]
15126 * locale/weight.h: Include libc-internal.h.
15127 * locale/weightwc.h: Likewise.
15128 * nptl/nptl_dbP.h: Likewise.
15129
15130 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
15131
15132 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
15133 when it is MACH_PORT_NULL.
15134
15135 2016-10-31 Andreas Schwab <schwab@suse.de>
15136
15137 [BZ #20707]
15138 * posix/glob.c (glob): Initialize pglob before checking for
15139 GLOB_BRACE. Don't call glob recursively if pattern contains no
15140 valid brace expression despite GLOB_BRACE.
15141 * posix/globtest.sh: Test it.
15142
15143 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15144
15145 [BZ #20729]
15146 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15147 Define.
15148 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15149 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15150 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15151 for seq2.back_us and seq1.back_us only for -Os compiles.
15152 * locale/weightwc.h (findix): Likewise.
15153 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15154 DB_GET_FIELD_ADDRESS only for -Os compiles.
15155 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15156 for slen only for -Os compiles.
15157 * string/strcoll_l.c (get_next_seq): Ignore
15158 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15159 for -Os compiles.
15160
15161 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15162 * include/crypt.h: New file.
15163
15164 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15165
15166 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15167 from test-skeleton.c.
15168 (statclass): Replace calls to write with calls to write_message.
15169
15170 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15171
15172 * math/math.h
15173 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15174 New macro.
15175 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15176 Likewise.
15177 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15178 Likewise.
15179 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15180 SNANL.
15181 * math/test-double.h (snan_value_MACRO): New macro.
15182 * math/test-float.h (snan_value_MACRO): Likewise.
15183 * math/test-ldouble.h (snan_value_MACRO): Likewise.
15184 * math/libm-test.inc (issignaling_test_data): Add tests of
15185 snan_value_MACRO.
15186
15187 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15188
15189 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15190 behavior when eliding a lock not held by the current thread.
15191 * sysdeps/powerpc/nptl/elide.h: Likewise.
15192
15193 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15194
15195 [BZ #20728]
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15197 branch to _exit() by a function call.
15198
15199 2016-10-28 Florian Weimer <fweimer@redhat.com>
15200
15201 * malloc/malloc.c: Update chunk layout comments.
15202 (chunk_main_arena): Update comment.
15203
15204 2016-10-28 Florian Weimer <fweimer@redhat.com>
15205
15206 * crypt/sha256.c, crypt/sha256-block.c,
15207 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15208 sha256_process_block to __sha256_process_block.
15209 * crypt/sha512.c, crypt/sha512-block.c,
15210 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15211 sha512_process_block to __sha512_process_block.
15212
15213 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15214
15215 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15216
15217 * math/test-nan-overflow.c: Include stdlib.h for malloc.
15218
15219 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
15220
15221 [BZ #20019]
15222 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15223 definition in unrelocated shared library.
15224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15225
15226 2016-10-28 Florian Weimer <fweimer@redhat.com>
15227
15228 [BZ #20729]
15229 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15230 * sysdeps/unix/sysv/linux/i386/Makefile
15231 (uses-6-syscall-arguments): Define.
15232 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15233 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15234 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15235 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15236 Likewise.
15237 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15238 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15239 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15240 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15241 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15242 (CFLAGS-fallocate64.os): Likewise.
15243 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15244 (CFLAGS-pthread_rwlock_timedrdlock.os)
15245 (CFLAGS-pthread_rwlock_timedwrlock.o)
15246 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15247 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15248 (CFLAGS-sem_timedwait.os): Likewise.
15249
15250 2016-10-28 Florian Weimer <fweimer@redhat.com>
15251
15252 * elf/tst-linkall-static.c: New file.
15253 * elf/Makefile (tests-static): Add tst-linkall-static.
15254 (tst-linkall-static): Link against static libraries.
15255
15256 2016-10-27 Florian Weimer <fweimer@redhat.com>
15257
15258 * malloc/malloc.c (sysmalloc): Initialize previous size field of
15259 mmaped chunks.
15260
15261 2016-10-28 Florian Weimer <fweimer@redhat.com>
15262
15263 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15264 members to mchunk_prev_size, mchunk_size.
15265 (chunk_main_arena): Reverse sense and rename from
15266 chunk_non_main_arena.
15267 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15268 mchunk_size instead of size.
15269 (set_non_main_arena): Define.
15270 (chunksize): Use chunksize_nomask instead of direct member access.
15271 (chunksize_nomask): Define.
15272 (next_chunk): Use chunksize instead of direct member access.
15273 (prev_size, set_prev_size): Define.
15274 (prev_chunk): Use prev_size instead of direct member access.
15275 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15276 (inuse_bit_at_offset, set_inuse_bit_at_offset)
15277 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15278 (mchunk_prev_size, mchunk_size): Poison tokens.
15279 (unlink): Use chunksize_nomask, prev_size accessors.
15280 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15281 (do_check_free_chunk): Use prev_size accessor.
15282 (sysmalloc): Use set_prev_size, set_head accessors.
15283 (munmap_chunk, mremap_chunk): Use prev_size accessor.
15284 (__libc_free): Use chunksize_nomask accessor.
15285 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15286 chunk_main_arena accessors.
15287 (_int_free): Use chunksize_nomask, prev_size accessors.
15288 (malloc_consolidate): Use chunksize, prev_size accessors.
15289 (_int_realloc): Use chunksize_nomask accessor.
15290 (_int_memalign): Use set_prev_size accessor.
15291 (__malloc_info): Use chunksize_nomask accessor.
15292 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15293 accessors.
15294 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15295 (heap_trim): Use chunksize_nomask, prev_size accessors.
15296
15297 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15298
15299 [BZ #19380]
15300 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15301 for inexact results.
15302 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15303 of inexact result where mpfr_subnormalize is the only inexact
15304 step.
15305 * stdlib/tst-strtod-round-data.h: Regenerated.
15306 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15307 Define to 0.
15308 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15309
15310 2016-10-27 David S. Miller <davem@davemloft.net>
15311
15312 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15313
15314 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
15315
15316 * malloc/malloc.c (do_set_mallopt_check): New function.
15317 (do_set_mmap_threshold): Likewise.
15318 (do_set_mmaps_max): Likewise.
15319 (do_set_top_pad): Likewise.
15320 (do_set_perturb_byte): Likewise.
15321 (do_set_trim_threshold): Likewise.
15322 (do_set_arena_max): Likewise.
15323 (do_set_arena_test): Likewise.
15324 (__libc_mallopt): Use them.
15325
15326 2016-10-26 Joseph Myers <joseph@codesourcery.com>
15327
15328 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15329 (canonicalize): New declaration.
15330 * math/Versions (canonicalize): New libm symbol at version
15331 GLIBC_2.25.
15332 (canonicalizef): Likewise.
15333 (canonicalizel): Likewise.
15334 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15335 * math/s_canonicalize_template.c: New file.
15336 * math/libm-test.inc: Update comment on functions tested and
15337 testing of NaN payloads.
15338 (TEST_NAN_PAYLOAD): New macro.
15339 (NO_TEST_INLINE): Update value.
15340 (XFAIL_TEST): Likewise.
15341 (ERRNO_UNCHANGED): Likewise.
15342 (ERRNO_EDOM): Likewise.
15343 (ERRNO_ERANGE): Likewise.
15344 (IGNORE_RESULT): Likewise.
15345 (NON_FINITE): Likewise.
15346 (TEST_SNAN): Likewise.
15347 (NO_TEST_MATHVEC): Likewise.
15348 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15349 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15350 (struct test_Ffp_b1_data): New type.
15351 (RUN_TEST_Ffp_b1): New macro.
15352 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15353 (canonicalize_test_data): New array.
15354 (canonicalize_test): New function.
15355 (main): Call canonicalize_test.
15356 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15357 canonicalizef and canonicalizel.
15358 * manual/libm-err-tab.pl: Update comment on interfaces without
15359 ulps tabulated.
15360 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15361 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15362 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15363 canonicalize.
15364 (CFLAGS-nldbl-canonicalize.c): New variable.
15365 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15366 to ...
15367 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15368 ... here.
15369 (do_test): Also test canonicalizel.
15370 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15371 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15372 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15373 file.
15374 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15375 Use libm_hidden_def.
15376 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15377 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15378 (do_test): Also test canonicalizel.
15379 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15380 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15381 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15382 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15383 libm_hidden_def.
15384 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15385 macro.
15386 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15387 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15388 * sysdeps/nacl/libm.abilist: Update.
15389 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15402 Likewise.
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15404 Likewise.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15406 Likewise.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15408 Likewise.
15409 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15415 Likewise.
15416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15417 Likewise.
15418 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15419 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15420 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15421
15422 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15423 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15424 getpayload.
15425 (CFLAGS-nldbl-getpayload.c): New variable.
15426
15427 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15428
15429 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15430 integer from the format string.
15431
15432 2016-10-26 Florian Weimer <fweimer@redhat.com>
15433
15434 [BZ #19473]
15435 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15436 declarations.
15437 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15438 weak aliases.
15439 * malloc/hooks.c (__malloc_get_state): Remove definition.
15440 (malloc_get_state): New stub implementation as
15441 compatibility symbol.
15442 (malloc_set_state): Rename from __malloc_set_state. Turn into
15443 compat symbol.
15444 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15445 malloc_set_state.
15446 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15447
15448 2016-10-26 Florian Weimer <fweimer@redhat.com>
15449
15450 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15451 (names): Turn into concatenation of strings.
15452 (gconv_init): Adapt iteration over names.
15453
15454 2016-10-26 Florian Weimer <fweimer@redhat.com>
15455
15456 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15457 make const.
15458 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15459 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15460 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15461 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15462 character in sbconv.
15463 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15464 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15465 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15466
15467 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15468
15469 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15470
15471 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15472 (M_TRIM_THRESHOLD): Likewise.
15473
15474 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15475 (M_ARENA_MAX): Likewise.
15476 * malloc/malloc.c: Remove obsolete comment.
15477
15478 * manual/memory.texi: Add environment variable alternatives to
15479 setting mallopt parameters.
15480
15481 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15482
15483 * include/atomic.h
15484 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15485 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15486
15487 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15488
15489 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15490 * stdlib/tst-strfrom.h: New file.
15491 * stdlib/tst-strfrom.c: New file.
15492 * stdlib/tst-strfrom-locale.c: New file.
15493
15494 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15495 * stdlib/bug-strtod2.c: Likewise.
15496 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15497 * stdlib/tst-strtod6.c: Likewise.
15498 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15499
15500 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15501
15502 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15503 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15504 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15505 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15506 * stdlib/stdlib.h (strfromd): New declaration.
15507 (strfromf): Likewise.
15508 (strfroml): Likewise.
15509 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15510 strfrom.
15511 * stdlib/strfromd.c: New file.
15512 * stdlib/strfromf.c: Likewise.
15513 * stdlib/strfroml.c: Likewise.
15514 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15515 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15516 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15517 * sysdeps/arm/nacl/libc.abilist: Update.
15518 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15519 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15546
15547 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15548
15549 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15550 instead of cmpli.
15551 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15552 instead of cmpli.
15553
15554 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15555
15556 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15557 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15558 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15559 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15560 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15561 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15562
15563 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15564
15565 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15566 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15567 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15568 SYSCALL_LL64_PRW.
15569 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15570 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15571 __ASSUME_PRW_DUMMY_ARG.
15572 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15573 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15574 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15575 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15576 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15577 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15578
15579 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15580
15581 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15582
15583 2016-10-22 Florian Weimer <fweimer@redhat.com>
15584
15585 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15586 "C++", to override a potential extern "C" directive around the
15587 header file inclusion.
15588
15589 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15590
15591 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15592
15593 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15594
15595 * sysdeps/powerpc/fpu/fenv_private.h:
15596 (_FPU_MASK_ALL): Rename to...
15597 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15598 XE FPSCR bits.
15599
15600 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15601
15602 (_FPU_MASK_ROUNDING): Rename to...
15603 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15604 NI bits.
15605
15606 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15607 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15608 bits and rounding bits.
15609
15610 (__libc_feholdbits_ppc): New inline function to mask, set,
15611 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15612 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15613 (libc_feholdexcept_setround_ppc): Likewise.
15614
15615 (__libc_femergeenv_ppc): New function to dynamically mask both
15616 old and new FP environments and merge.
15617 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15618 (libc_feresetround_ppc): Likewise.
15619 (libc_feupdateenv_test_ppc): Likewise.
15620 (libc_feupdateenv_ppc): Likewise.
15621
15622 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15623 of ISA RN bits, and update macro names.
15624 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15625 effectively the same as the previously mentioned function.
15626
15627 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15628 usage with fe_resetround_ppc.
15629
15630 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15631 to be used.
15632 (libc_feholdexcept_setround_ctxf): Likewise.
15633 (libc_feholdexcept_setround_ctxl): Likewise.
15634
15635 2016-10-21 Florian Weimer <fweimer@redhat.com>
15636
15637 [BZ #20715]
15638 * math/math.h [__cplusplus] (iszero): Define as function template.
15639 * math/Makefile [CXX] (tests): Add test-math-iszero.
15640 (CFLAGS-test-math-iszero.cc): Set.
15641 * math/test-math-iszero.cc: New file.
15642
15643 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15644
15645 [BZ #20660]
15646 * sysdeps/arm/e_sqrt.c: New file.
15647 * sysdeps/arm/e_sqrtf.c: Likewise.
15648
15649 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15650
15651 [BZ #20718]
15652 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15653 not use floating-point comparisons to test sign.
15654 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15655 Likewise.
15656
15657 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15658 (getpayload): New declaration.
15659 * math/Versions (getpayload): New libm symbol at version
15660 GLIBC_2.25.
15661 (getpayloadf): Likewise.
15662 (getpayloadl): Likewise.
15663 * math/Makefile (libm-calls): Add s_getpayloadF.
15664 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15665 (struct test_f_f_data): Add comment.
15666 (RUN_TEST_fp_f): New macro.
15667 (RUN_TEST_LOOP_fp_f): Likewise.
15668 (getpayload_test_data): New array.
15669 (getpayload_test): New function.
15670 (main): Call getpayload_test.
15671 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15672 descriptor.
15673 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15674 getpayloadf and getpayloadl.
15675 * manual/libm-err-tab.pl: Update comment on interfaces without
15676 ulps tabulated.
15677 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15678 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15679 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15683 * sysdeps/nacl/libm.abilist: Update.
15684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15686 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15687 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15688 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15692 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15697 Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15699 Likewise.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15701 Likewise.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15703 Likewise.
15704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15710 Likewise.
15711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15712 Likewise.
15713 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15716
15717 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15718
15719 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15720 tst-fallocate{64}.
15721 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15722 on syscall return.
15723
15724 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15725
15726 [BZ #20689]
15727 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15728 usable.
15729
15730 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15731
15732 * sysdeps/generic/nan-high-order-bit.h: New file.
15733 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15734 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15735 * sysdeps/hppa/math_private.h: Remove file.
15736 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15737 not define here.
15738 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15739 <nan-high-order-bit.h>.
15740 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15741 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15742 <nan-high-order-bit.h>.
15743 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15744 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15745 <nan-high-order-bit.h>.
15746 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15747 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15748 <nan-high-order-bit.h>.
15749 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15750 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15751 <nan-high-order-bit.h>.
15752 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15753 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15754 <nan-high-order-bit.h>.
15755 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15756 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15757 <nan-high-order-bit.h>.
15758 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15759 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15760 <nan-high-order-bit.h>.
15761 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15762 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15763 <nan-high-order-bit.h>.
15764 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15765 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15766 <nan-high-order-bit.h>.
15767 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15768 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15769 <nan-high-order-bit.h>.
15770 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15771 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15772 <nan-high-order-bit.h>.
15773 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15774 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15775 <nan-high-order-bit.h>.
15776 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15777 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15778 <nan-high-order-bit.h>.
15779 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15780 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15781 <nan-high-order-bit.h>.
15782 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15783 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15784 <nan-high-order-bit.h>.
15785 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15786 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15787 <nan-high-order-bit.h>.
15788 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15789 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15790 <nan-high-order-bit.h>.
15791 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15792
15793 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15794
15795 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15796
15797 2016-09-22 John David Anglin <dave.anglin@bell.net>
15798
15799 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15800 abort-instr.h.
15801 (EFAULT): Remove conditional define.
15802 (ENOSYS): Likewise.
15803 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15804 instead of conditional branch instructions.
15805
15806 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15807
15808 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15809 (totalordermag): New declaration.
15810 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15811 New macro.
15812 * math/Versions (totalordermag): New libm symbol at version
15813 GLIBC_2.25.
15814 (totalordermagf): Likewise.
15815 (totalordermagl): Likewise.
15816 * math/Makefile (libm-calls): Add s_totalordermagF.
15817 * math/libm-test.inc (totalordermag_test_data): New array.
15818 (totalordermag_test): New function.
15819 (main): Call totalordermag_test.
15820 * math/test-tgmath.c (NCALLS): Increase to 125.
15821 (F(compile_test)): Call totalordermag.
15822 (F(totalordermag)): New function.
15823 * manual/arith.texi (FP Comparison Functions): Document
15824 totalordermag, totalordermagf and totalordermagl.
15825 * manual/libm-err-tab.pl: Update comment on interfaces without
15826 ulps tabulated.
15827 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15828 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15829 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15834 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15835 totalordermag.
15836 (CFLAGS-nldbl-totalordermag.c): New variable.
15837 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15838 (do_test): Also test totalordermagl.
15839 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15840 Likewise.
15841 * sysdeps/nacl/libm.abilist: Update.
15842 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15855 Likewise.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15857 Likewise.
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15859 Likewise.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15861 Likewise.
15862 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15868 Likewise.
15869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15870 Likewise.
15871 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15874
15875 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15876
15877 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15878 boolean.
15879
15880 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15881
15882 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15883 raising FE_INVALID with feraisexcept in case where part of
15884 argument is infinite, subtract that part of argument from itself.
15885 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15886 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15887 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15888
15889 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15890
15891 * math/libm-test.inc (totalorder_test_data): Add more tests.
15892
15893 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15894
15895 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15896 Undefine weak_alias and add a comment why mips64 require
15897 versioning.
15898
15899 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 [BZ #20647]
15902 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15903 maximum CPUID level is less than 2.
15904
15905 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15906
15907 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15908 (totalorder): New declaration.
15909 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15910 New macro.
15911 * math/Versions (totalorder): New libm symbol at version
15912 GLIBC_2.25.
15913 (totalorderf): Likewise.
15914 (totalorderl): Likewise.
15915 * math/Makefile (libm-calls): Add s_totalorderF.
15916 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15917 string.
15918 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15919 (qnan_value_pl): Likewise.
15920 (snan_value_pl): Likewise.
15921 (qnan_value): Define using qnan_value_pl.
15922 (snan_value): Define using snan_value_pl.
15923 (struct test_ff_i_data): Add comment about which tests use this
15924 structure.
15925 (RUN_TEST_ff_b): New macro.
15926 (RUN_TEST_LOOP_ff_b): Likewise.
15927 (totalorder_test_data): New array.
15928 (totalorder_test): New function.
15929 (main): Call totalorder_test.
15930 * math/test-tgmath.c (NCALLS): Increase to 122.
15931 (F(compile_test)): Call totalorder.
15932 (F(totalorder)): New function.
15933 * manual/arith.texi (FP Comparison Functions): Document
15934 totalorder, totalorderf and totalorderl.
15935 * manual/libm-err-tab.pl: Update comment on interfaces without
15936 ulps tabulated.
15937 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15938 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15939 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15944 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15945 totalorder.
15946 (CFLAGS-nldbl-totalorder.c): New variable.
15947 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15948 file.
15949 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15950 Add test-totalorderl-ldbl-128ibm.
15951 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15952 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15953 test-totalorderl-ldbl-96.
15954 * sysdeps/nacl/libm.abilist: Update.
15955 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15968 Likewise.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15970 Likewise.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15972 Likewise.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15974 Likewise.
15975 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15981 Likewise.
15982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15983 Likewise.
15984 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15987
15988 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15989
15990 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15991 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15992 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15993 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15994 remove ENOSYS implementation.
15995 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15996 Consolidate all Linux implementations.
15997
15998 2016-10-11 Florian Weimer <fweimer@redhat.com>
15999
16000 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
16001 * resolv/herror.c (herror): Cast away const-ness.
16002 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
16003 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
16004
16005 2016-10-11 Joseph Myers <joseph@codesourcery.com>
16006
16007 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
16008 instead of M_NAN + M_NAN.
16009 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
16010
16011 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16012
16013 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
16014 unused variable 'p'.
16015
16016 2016-10-09 Alan Modra <amodra@gmail.com>
16017 Andreas Schwab <schwab@linux-m68k.org>
16018
16019 [BZ #20554]
16020 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
16021 [PIC && !SHARED]: Set up PIC register for PLT call.
16022
16023 2016-10-07 Joseph Myers <joseph@codesourcery.com>
16024
16025 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
16026 conditional on value of [__FLT_EVAL_METHOD__].
16027 * math/test-iseqsig-excess-precision.c: New file.
16028 * math/Makefile (tests): Add test-iseqsig-excess-precision.
16029
16030 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16031
16032 * math/s_iseqsig_template.c: Include math-private.h.
16033
16034 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
16035 * posix/tst-posix_fadvise.c: New file.
16036 * posix/tst-posix_fadvise64.c: Likewise.
16037 * posix/tst-posix_fadvise-common.c: Likewise.
16038 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16039 (__ASSUME_FADVISE64_64_6ARG): Define.
16040 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16041 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
16042 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16043 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
16044 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
16045 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
16046 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
16047 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
16048 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
16049 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
16050 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
16051 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
16054 Likewise.
16055 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
16056 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
16057 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
16058 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16059 Alias to __posix_fadvise64_l32.
16060 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
16061 Add compat definition to posix_fadvise64.
16062 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16063 Add versioned definition to posix_fadvise64.
16064 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
16065 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
16066 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
16067 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
16068 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
16069
16070 * io/Makefile (tests): Add tst-posix_fallocate and
16071 tst-posix_fallocate64.
16072 * io/tst-posix_fallocate-common.c: New file.
16073 * io/tst-posix_fallocate.c: Likewise.
16074 * io/tst-posix_fallocate64.c: Likewise.
16075 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
16076 file.
16077 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
16078 Likewise.
16079 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
16080 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
16081 Likewise.
16082 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
16083 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
16084 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
16085 SYSCALL_LL to pass both offset and len arguments.
16086 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
16087 Likewise.
16088 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
16089 __libc_pwrite64 alias used by posix_fallocate64.
16090
16091 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16092 tst-fallocate64.
16093 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16094 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16095 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16096 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16097 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16098 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16099 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16100 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16101 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16102 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16103 macro on offset argument.
16104 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16105 SYSCALL_LL64 on offset argument.
16106
16107 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16108 tst-fallocate64.
16109 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16110 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16111 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16112 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16113 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16114 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16115 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16116 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16117 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16118 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16119 macro on offset argument.
16120 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16121 SYSCALL_LL64 on offset argument.
16122 * test-skeleton.c (FAIL_RET): Add macro.
16123 (FAIL_EXIT): Likewise.
16124 (FAIL_EXIT1): Likewise.
16125 (_FAIL): Likewise.
16126
16127 2016-10-07 Florian Weimer <fweimer@redhat.com>
16128
16129 [BZ #20629]
16130 resolv: Remove RES_USEBSTRING and its implementation.
16131 * resolv/resolv.h (RES_USEBSTRING): Remove.
16132 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
16133 (digitvalue, encode_bitstring, decode_bitstring): Remove.
16134 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
16135 (labellen): Remove extended label types support.
16136 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
16137 * resolv/res_init.c (res_setoptions): Likewise.
16138 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16139
16140 2016-10-07 Florian Weimer <fweimer@redhat.com>
16141
16142 resolv: Remove RES_NOIP6DOTINT and its implementation.
16143 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16144 (RES_NOIP6DOTINT): Remove.
16145 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16146 handling.
16147 * resolv/res_debug.c (p_option): Likewise.
16148 * resolv/res_init.c (res_setoptions): Likewise.
16149 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16150
16151 2016-10-07 Florian Weimer <fweimer@redhat.com>
16152
16153 resolv: Deprecate unimplemented flags.
16154 * misc/sys/cdefs.h (__glibc_macro_warning1)
16155 (__glibc_macro_warning): Define.
16156 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16157 (RES_KEEPTSIG): Mark as deprecated.
16158 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16159 RES_NOCHECKNAME, RES_KEEPTSIG.
16160 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16161
16162 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16163
16164 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16165 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16166 Use strong_alias to create symbols for glibc verison 2.19.
16167
16168 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16169
16170 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16171
16172 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16173
16174 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16175
16176 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16177
16178 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16179
16180 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16181
16182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16183 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16184 in header for using it as type for ifunc function because __GI_* symbols
16185 for ppc32 do not target the ifunc symbols.
16186 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16187
16188 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16189
16190 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16191 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16192 libc_ifunc_hidden_def.
16193 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16194 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16195 Redirect ifunced function in header for using it as type of ifunc'ed
16196 function. Redefine libc_hidden_def to use fallback non ifunc'ed
16197 function for __GI_* symbol.
16198 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16199 * include/libc-symbols.h
16200 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16201
16202 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16203
16204 [BZ #20478]
16205 * sysdeps/s390/multiarch/ifunc-resolve.h
16206 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16207 to create ifunc symbols.
16208 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16209 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16210 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16211 for using it as type for ifunc function.
16212 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16213 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16214 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16215 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16216 * sysdeps/s390/multiarch/strcat.c: Likewise.
16217 * sysdeps/s390/multiarch/strchr.c: Likewise.
16218 * sysdeps/s390/multiarch/strcmp.c: Likewise.
16219 * sysdeps/s390/multiarch/strcpy.c: Likewise.
16220 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16221 * sysdeps/s390/multiarch/strlen.c: Likewise.
16222 * sysdeps/s390/multiarch/strncmp.c: Likewise.
16223 * sysdeps/s390/multiarch/strncpy.c: Likewise.
16224 * sysdeps/s390/multiarch/strnlen.c: Likewise.
16225 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16226 * sysdeps/s390/multiarch/strrchr.c: Likewise.
16227 * sysdeps/s390/multiarch/strspn.c: Likewise.
16228 * sysdeps/s390/multiarch/wcschr.c: Likewise.
16229 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16230 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16231 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16232 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16233 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16234 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16235 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16236 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16237 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16238 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16239 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16240
16241 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16242
16243 * include/libc-symbols.h (__ifunc_resolver):
16244 New macro is used by __ifunc* macros.
16245 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16246 depending on HAVE_GCC_IFUNC.
16247 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16248 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16250 Redirect ifunced function in header for using as type for ifunc function.
16251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16257 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16259 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16263 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16270 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16271 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16272 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16273 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16274 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16275 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16276 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16277 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16278 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16279 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16280 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16281 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16282 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16283 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16285 Add libc_hidden_def() and use libc_ifunc_hidden() macro
16286 instead of libc_ifunc() macro.
16287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16288 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16289
16290 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16291
16292 * config.h.in (HAVE_GCC_IFUNC): New undef.
16293 * configure.ac: Add check if gcc supports attribute ifunc feature.
16294 * configure: Regenerated.
16295 * manual/install.texi: Add recommendation for gcc with
16296 indirect-function support.
16297 * INSTALL: Regenerated.
16298
16299 2016-10-06 Joseph Myers <joseph@codesourcery.com>
16300
16301 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16302 macro.
16303 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16304 (__iseqsig): New declaration.
16305 * math/s_iseqsig_template.c: New file.
16306 * math/Versions (__iseqsigf): New libm symbol at version
16307 GLIBC_2.25.
16308 (__iseqsig): Likewise.
16309 (__iseqsigl): Likewise.
16310 * math/libm-test.inc (iseqsig_test_data): New array.
16311 (iseqsig_test): New function.
16312 (main): Call iseqsig_test.
16313 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16314 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16315 * manual/libm-err-tab.pl: Update comment on interfaces without
16316 ulps tabulated.
16317 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16318 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16319 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16320 * sysdeps/nacl/libm.abilist: Update.
16321 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16322 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16323 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16334 Likewise.
16335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16336 Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16338 Likewise.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16340 Likewise.
16341 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16347 Likewise.
16348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16349 Likewise.
16350 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16351 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16352 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16353
16354 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16355
16356 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16357 do_sincos_2, sloww, sloww1): Update comments.
16358
16359 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16360 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16361
16362 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16363 K boolean and rename it.
16364 (__sin): Adjust.
16365 (__cos): Adjust.
16366
16367 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16368 Siddhesh Poyarekar <siddhesh@sourceware.org>
16369
16370 * manual/nss.texi: Fix typos in the manual.
16371
16372 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16373
16374 * manual/contrib.texi: Fix typos in the manual.
16375
16376 * manual/maint.texi: Fix typos in the manual.
16377
16378 * manual/install.texi: Fix typos in the manual.
16379 * INSTALL: Regenerated.
16380
16381 * manual/lang.texi: Fix typos in the manual.
16382
16383 * manual/probes.texi: Fix typos in the manual.
16384
16385 * manual/threads.texi: Fix typos in the manual.
16386
16387 * manual/debug.texi: Fix typos in the manual.
16388
16389 * manual/crypt.texi: Fix typos in the manual.
16390
16391 * manual/conf.texi: Fix typos in the manual.
16392
16393 * manual/sysinfo.texi: Fix typos in the manual.
16394
16395 * manual/users.texi: Fix typos in the manual.
16396
16397 * manual/job.texi: Fix typos in the manual.
16398
16399 * manual/process.texi: Fix typos in the manual.
16400
16401 * manual/argp.texi: Fix typos in the manual.
16402 * manual/getopt.texi: Likewise.
16403 * manual/startup.texi: Likewise.
16404
16405 * manual/signal.texi: Fix typos in the manual.
16406
16407 * manual/setjmp.texi: Fix typos in the manual.
16408
16409 * manual/resource.texi: Fix typos in the manual.
16410
16411 * manual/time.texi: Fix typos in the manual.
16412
16413 * manual/arith.texi: Fix typos in the manual.
16414
16415 * manual/math.texi: Fix typos in the manual.
16416
16417 * manual/syslog.texi: Fix typos in the manual.
16418
16419 * manual/terminal.texi: Fix typos in the manual.
16420
16421 * manual/socket.texi: Fix typos in the manual.
16422
16423 * manual/filesys.texi: Fix typos in the manual.
16424
16425 * manual/llio.texi: Fix typos in the manual.
16426
16427 * manual/stdio.text: Fix typos in the manual.
16428
16429 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16430
16431 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16432 instead of K1.
16433
16434 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16435 SHIFT_QUADRANT and make it bool.
16436 (do_sincos_2): Likewise.
16437 (sloww): Likewise.
16438 (sloww1): Likewise.
16439 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16440 (__cos): Likewise.
16441
16442 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16443
16444 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16445
16446 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16447
16448 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16449 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16450 0x7fffffffL].
16451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16452
16453 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16454
16455 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16456 inline by __inline__.
16457 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16458 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16459 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16460 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16461 sigset_t from signal.h.
16462 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16463 which is already required.
16464
16465 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16466
16467 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16468
16469 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16470
16471 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16472 (struct tcp_repair_window): New type.
16473
16474 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16475
16476 * libio/tst-memstream3.c: Include string.h.
16477
16478 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16479
16480 [BZ #18241]
16481 [BZ #20181]
16482 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16483 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16484 write position is at the end the buffer.
16485 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16486 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16487 (_IO_str_seekoff): Set correct offset from negative displacement and
16488 set EINVAL for invalid ones.
16489 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16490 buffer length.
16491 (_IO_wstr_switch_to_get_mode): New function.
16492 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16493 set EINVAL for invalid ones.
16494 * libio/tst-memstream3.c: New file.
16495 * libio/tst-wmemstream3.c: Likewise.
16496 * manual/examples/memstrm.c: Remove warning when priting size_t.
16497
16498 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16499
16500 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16501 macro to use __builtin_fma.
16502 * sysdeps/x86_64/fpu/dla.h: Remove file.
16503
16504 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16505 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16506 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16507
16508 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16509
16510 [BZ #20292]
16511 * elf/Makefile (routines): Add dl-addr-obj.
16512 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16513 tst-_dl_addr_inside_object.
16514 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16515 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16516 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16517 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16518 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16519 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16520 * elf/dl-open.c: Likewise.
16521 * elf/dl-addr-obj.c: New file.
16522 * elf/tst-_dl_addr_inside_object.c: New file.
16523
16524 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16525
16526 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16527 <bits/iscanonical.h>.
16528 * bits/iscanonical.h: New file.
16529 * math/s_iscanonicall.c: Likewise.
16530 * math/Versions (__iscanonicall): New libm symbol at version
16531 GLIBC_2.25.
16532 * math/libm-test.inc (iscanonical_test_data): New array.
16533 (iscanonical_test): New function.
16534 (main): Call iscanonical_test.
16535 * math/Makefile (headers): Add bits/iscanonical.h.
16536 (type-ldouble-routines): Add s_iscanonicall.
16537 * manual/arith.texi (Floating Point Classes): Document
16538 iscanonical.
16539 * manual/libm-err-tab.pl: Update comment on interfaces without
16540 ulps tabulated.
16541 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16542 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16543 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16544 Likewise.
16545 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16546 test-iscanonical-ldbl-128ibm.
16547 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16548 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16549 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16550 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16551 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16552 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16553 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16555 Likewise.
16556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16557 Likewise.
16558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16559 Likewise.
16560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16561 Likewise.
16562 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16563 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16564
16565 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16566
16567 * string/bits/string3.h: Remove C++ style comments.
16568
16569 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16570
16571 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16572 instead of ternary condition.
16573 (do_sincos_2): Likewise.
16574 (__sin): Likewise.
16575 (__cos): Likewise.
16576 (slow): Likewise.
16577 (sloww): Likewise.
16578 (sloww1): Likewise.
16579 (bsloww): Likewise.
16580 (bsloww1): Likewise.
16581
16582 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16583 instead of ternary condition.
16584 (do_sin_slow): Likewise.
16585 (do_sincos_1): Likewise.
16586 (do_sincos_2): Likewise.
16587 (__cos): Likewise.
16588 (sloww): Likewise.
16589 (sloww1): Likewise.
16590 (sloww2): Likewise.
16591 (bsloww): Likewise.
16592 (bsloww1): Likewise.
16593 (bsloww2): Likewise.
16594
16595 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16596 check from here...
16597 (slow2): ... and here...
16598 (__sin): ... to here.
16599
16600 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16601
16602 * math/math.h
16603 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16604 Cast argument to its own type.
16605 * math/test-iszero-excess-precision.c: New file.
16606 * math/Makefile (tests): Add test-iszero-excess-precision.
16607 (CFLAGS-test-iszero-excess-precision.c): New variable.
16608
16609 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16610
16611 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16612 field, add err field.
16613 (__spawni_child): Report error through err member instead of pipe.
16614 (__spawnix): Likewise.
16615
16616 2016-09-28 Zack Weinberg <zackw@panix.com>
16617
16618 * scripts/check-installed-headers.sh: Generalize treatment of
16619 sys/elf.h to all target architectures.
16620
16621 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16622 deleted typedef ucontext_t.
16623
16624 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16625
16626 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16627 (__INTERNAL_SYSCALL1): Likewise.
16628 (__INTERNAL_SYSCALL2): Likewise.
16629 (__INTERNAL_SYSCALL3): Likewise.
16630 (__INTERNAL_SYSCALL4): Likewise.
16631 (__INTERNAL_SYSCALL5): Likewise.
16632 (__INTERNAL_SYSCALL6): Likewise.
16633 (__INTERNAL_SYSCALL7): Likewise.
16634 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16635 (__INTERNAL_SYSCALL_NARGS): Likewise.
16636 (__INTERNAL_SYSCALL_DISP): Likewise.
16637 (INTERNAL_SYSCALL_CALL): Likewise.
16638 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16639 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16640 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16641 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16642 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16643 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16644 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16645 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16646 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16647 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16648 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16649 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16650 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16651
16652 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16653
16654 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16655 macro.
16656 * math/libm-test.inc (iszero_test_data): New array.
16657 (iszero_test): New function.
16658 (main): Call iszero_test.
16659 * manual/arith.texi (Floating Point Classes): Document iszero.
16660 * manual/libm-err-tab.pl: Update comment on interfaces without
16661 ulps tabulated.
16662
16663 2016-09-23 Zack Weinberg <zackw@panix.com>
16664
16665 * scripts/check-installed-headers.sh: New script.
16666 * Rules: In each directory that defines header files to be installed,
16667 run check-installed-headers.sh on them as a special test.
16668 * Makefile: Likewise for the headers installed at top level.
16669
16670 * include/aliases.h, include/alloca.h, include/argz.h
16671 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16672 * include/elf.h, include/envz.h, include/err.h
16673 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16674 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16675 * include/link.h, include/malloc.h, include/mcheck.h
16676 * include/mntent.h, include/netinet/ether.h
16677 * include/nss.h, include/obstack.h, include/printf.h
16678 * include/pty.h, include/resolv.h, include/rpc/auth.h
16679 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16680 * include/rpc/clnt.h, include/rpc/des_crypt.h
16681 * include/rpc/key_prot.h, include/rpc/netdb.h
16682 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16683 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16684 * include/rpc/rpc_msg.h, include/rpc/svc.h
16685 * include/rpc/svc_auth.h, include/rpc/xdr.h
16686 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16687 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16688 * include/rpcsvc/ypupd.h, include/shadow.h
16689 * include/stdio_ext.h, include/sys/epoll.h
16690 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16691 * include/sys/prctl.h, include/sys/profil.h
16692 * include/sys/statfs.h, include/sys/sysctl.h
16693 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16694 * sysdeps/arm/nacl/include/bits/setjmp.h
16695 * sysdeps/mips/include/sys/asm.h
16696 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16697 * sysdeps/unix/sysv/linux/include/sys/timex.h
16698 * sysdeps/x86/fpu/include/bits/fenv.h:
16699 Add #ifndef _ISOMAC guard around internal declarations.
16700 Add multiple-inclusion guard if not already present.
16701
16702 2016-09-23 Zack Weinberg <zackw@panix.com>
16703
16704 * sysdeps/generic/sys/ucontext.h
16705 * sysdeps/arm/sys/ucontext.h
16706 * sysdeps/i386/sys/ucontext.h
16707 * sysdeps/m68k/sys/ucontext.h
16708 * sysdeps/mips/sys/ucontext.h
16709 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16710 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16711 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16712 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16713 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16714 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16715 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16716 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16717 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16718 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16719 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16720 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16721 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16722 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16723 Include both bits/sigcontext.h and bits/sigstack.h.
16724 Fix grammar error in comment, if present.
16725
16726 * bits/sigstack.h
16727 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16728 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16729 * sysdeps/unix/sysv/linux/bits/sigstack.h
16730 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16731 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16732 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16733 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16734 * bits/sigcontext.h
16735 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16736 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16737 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16738 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16739 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16740 as well as signal.h, if this was not already allowed. Request
16741 definition of size_t if necessary. Minimize semantically-null
16742 differences across files.
16743
16744 2016-09-23 Zack Weinberg <zackw@panix.com>
16745
16746 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16747 Remove all logic conditional on __need macros. Move all the
16748 conditionally defined types to their own headers...
16749 * time/bits/types/clock_t.h: Define clock_t here.
16750 * time/bits/types/clockid_t.h: Define clockid_t here.
16751 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16752 * time/bits/types/struct_timespec.h: Define struct timespec here.
16753 * time/bits/types/struct_timeval.h: Define struct timeval here.
16754 * time/bits/types/struct_tm.h: Define struct tm here.
16755 * time/bits/types/time_t.h: Define time_t here.
16756 * time/bits/types/timer_t.h: Define timer_t here.
16757 * time/Makefile: Install the new headers.
16758
16759 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16760 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16761 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16762 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16763 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16764 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16765 * sysdeps/unix/sysv/linux/bits/resource.h
16766 * sysdeps/unix/sysv/linux/bits/timex.h
16767 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16768 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16770 * sysdeps/unix/sysv/linux/sys/acct.h
16771 * sysdeps/unix/sysv/linux/sys/timerfd.h
16772 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16773 * time/sys/time.h, time/sys/timeb.h
16774 Use the new bits/types headers.
16775
16776 * include/time.h: Remove __need logic.
16777 * include/bits/time.h
16778 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16779 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16780 * include/bits/types/struct_itimerspec.h
16781 * include/bits/types/struct_timespec.h
16782 * include/bits/types/struct_timeval.h
16783 * include/bits/types/struct_tm.h:
16784 New wrapper headers.
16785
16786 2016-09-23 Zack Weinberg <zackw@panix.com>
16787
16788 * sysdeps/mach/hurd/net/if_ppp.h
16789 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16790 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16791 if __USE_MISC is defined, to ensure struct ifreq is declared.
16792
16793 * inet/netinet/ether.h: Condition all function prototypes
16794 on __USE_MISC, to ensure struct ether_addr is declared.
16795
16796 * socket/bits/types/struct_osockaddr.h: New header.
16797 * include/bits/types/struct_osockaddr.h: New wrapper.
16798 * socket/Makefile: Install the new header.
16799 * socket/sys/socket.h, inet/protocols/talkd.h:
16800 Refer to bits/types/struct_osockaddr.h for the definition of
16801 struct osockaddr.
16802
16803 2016-09-23 Zack Weinberg <zackw@panix.com>
16804
16805 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16806 * inet/protocols/routed.h, inet/protocols/talkd.h
16807 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16808 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16809 * sysdeps/generic/netinet/if_ether.h
16810 * sysdeps/generic/netinet/in_systm.h
16811 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16812 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16813 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16814 * sysdeps/mach/hurd/net/if_arp.h
16815 * sysdeps/mach/hurd/net/if_ppp.h
16816 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16817 * sysdeps/unix/sysv/linux/bits/in.h
16818 * sysdeps/unix/sysv/linux/net/ethernet.h
16819 * sysdeps/unix/sysv/linux/net/if_arp.h
16820 * sysdeps/unix/sysv/linux/net/if_ppp.h
16821 * sysdeps/unix/sysv/linux/net/if_shaper.h
16822 * sysdeps/unix/sysv/linux/net/route.h
16823 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16824 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16825 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16826 * sysdeps/unix/sysv/linux/netipx/ipx.h
16827 * sysdeps/unix/sysv/linux/sys/acct.h
16828 * include/arpa/nameser.h, include/resolv.h:
16829 Change all uses of u_char to unsigned char,
16830 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16831 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16832 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16833 and u_int64_t and u_quad_t to uint64_t.
16834
16835 * mach/sys/reboot.h: Remove two casts of integer literals
16836 to the types they already have.
16837
16838 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16839 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16840 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16841 from referring to 'unsigned char' to 'uint8_t' for consistency with
16842 the macro definition below.
16843
16844 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16845 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16846 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16847 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16848 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16849 * sysdeps/unix/sysv/linux/sys/acct.h
16850 * include/arpa/nameser.h, include/resolv.h:
16851 Fix indentation disrupted by mechanical edits.
16852
16853 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16854 * sysdeps/generic/netinet/in_systm.h
16855 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16856 * sysdeps/gnu/netinet/udp.h
16857 * sysdeps/unix/sysv/linux/net/ethernet.h
16858 * sysdeps/unix/sysv/linux/net/if_arp.h
16859 * sysdeps/unix/sysv/linux/net/if_ppp.h
16860 * sysdeps/unix/sysv/linux/net/if_shaper.h
16861 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16862 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16863 * sysdeps/unix/sysv/linux/netipx/ipx.h
16864 * sysdeps/unix/sysv/linux/sys/acct.h
16865 Include stdint.h for uintNN_t definitions.
16866 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16867
16868 2016-09-23 Zack Weinberg <zackw@panix.com>
16869
16870 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16871 * sysdeps/unix/sysv/linux/netrose/rose.h:
16872 Include sys/socket.h and netax25/ax25.h.
16873
16874 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16875 * resolv/arpa/nameser_compat.h:
16876 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16877
16878 * sysdeps/unix/sysv/linux/sys/quota.h:
16879 Use __caddr_t instead of caddr_t.
16880 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16881 Use __clockid_t instead of clockid_t.
16882
16883 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16884
16885 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16886 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16887 expanding it.
16888
16889 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16890 Define __glibc_c99_flexarr_available to 1 when the compiler
16891 supports C99-compatible flexible array members, 0 otherwise.
16892 * sysdeps/unix/sysv/linux/bits/socket.h
16893 * sysdeps/mach/hurd/bits/socket.h
16894 * bits/socket.h: Use __glibc_c99_flexarr_available in
16895 definitions of struct cmsghdr and CMSG_DATA.
16896
16897 2016-09-23 Florian Weimer <fweimer@redhat.com>
16898
16899 * manual/nss.texi (NSS Modules Interface): Adjust function return
16900 type to enum nss_status. Document errnop argument. Clarify
16901 h_errnop semantics. Fix cross-reference formatting.
16902 (NSS Module Function Internals): Mention that *errnop needs to be
16903 set on failure, but not to zero.
16904
16905 2016-09-23 Florian Weimer <fweimer@redhat.com>
16906
16907 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16908 (get_random_name): New functions.
16909 (check_wrapper_flags_mode): Use linkat to give the new file a name
16910 determined by get_random_name.
16911 (do_test): Add calls to test open64 and openat64.
16912
16913 2016-09-23 Florian Weimer <fweimer@redhat.com>
16914
16915 * test-skeleton.c: Remove #include <stdarg.h>.
16916
16917 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16918
16919 [BZ #19826]
16920 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16921 initialization of static TLS entries.
16922 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16923 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16924
16925 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16926
16927 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16928 _hurd_malloc_fork_prepare.
16929 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16930 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16931 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16932 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16933 (_hurd_fork_child_hook): Drop malloc_fork_child.
16934 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16935 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16936 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16937 after locking locks (notably hurd_dtable_lock). Call
16938 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16939 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16940 __malloc_fork_unlock_child.
16941 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16942
16943 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16944
16945 * soft-fp/extendhftf2.c: New.
16946 * soft-fp/fixhfti.c: Likewise.
16947 * soft-fp/fixunshfti.c: Likewise.
16948 * soft-fp/floattihf.c: Likewise.
16949 * soft-fp/floatuntihf.c: Likewise.
16950 * soft-fp/half.h: Likewise.
16951 * soft-fp/trunctfhf2.c: Likewise.
16952
16953 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16954
16955 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16956 macro.
16957 * math/libm-test.inc (issubnormal_test_data): New array.
16958 (issubnormal_test): New function.
16959 * manual/arith.texi (Floating Point Classes): Document
16960 issubnormal.
16961 * manual/libm-err-tab.pl: Update comment on interfaces without
16962 ulps tabulated.
16963
16964 * sysdeps/generic/stdint.h: Define
16965 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16966 <bits/libc-header-start.h> instead of including <features.h>.
16967 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16968 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16969 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16970 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16972 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16977 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16979 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16980 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16981 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16982 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16983 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16984 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16985 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16986 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16987 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16989 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16990 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16991 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16992 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16993 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16995 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16996 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16997 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16998 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16999 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
17000 * manual/arith.texi (Integers): Document these macros for types
17001 specified by width properties.
17002 * manual/lang.texi (Width of Type): Document these macros for
17003 other standard typedefs.
17004 * stdlib/tst-width-stdint.c: New file.
17005 * stdlib/Makefile (tests): Add tst-width-stdint.
17006
17007 2016-09-21 Florian Weimer <fweimer@redhat.com>
17008
17009 [BZ #20016]
17010 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
17011 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
17012 Move ...
17013 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
17014 ... here, as compatibility symbols in a new file.
17015 * resolv/Makefile (libresolv-routines): Add compat-hooks.
17016 * resolv/res_init.c (__res_vinit): Adjust member names.
17017 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
17018 * resolv/resolv.h (res_sendhookact, res_send_qhook)
17019 (res_send_rhook): Remove.
17020 (struct __res_state): Rename qhook, rhook members.
17021
17022 2016-09-21 Florian Weimer <fweimer@redhat.com>
17023
17024 malloc: Use __libc_lock wrappers.
17025 * malloc/arena.c (list_lock, free_list_lock): Define using
17026 __libc_lock_define_initialized.
17027 (arena_lock): Adjust formatting.
17028 * malloc/malloc.c (struct malloc_state): Define mutex using
17029 __libc_lock_define.
17030 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
17031 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
17032 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
17033 (mutex_unlock, mutex_trylock): Remove.
17034 (__pthread_initialize): Remove unused macro.
17035 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
17036 (mutex_unlock, mutex_trylock): Remove.
17037
17038 2016-09-21 Florian Weimer <fweimer@redhat.com>
17039
17040 [BZ #20592]
17041 Remove RR type classification macros.
17042 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
17043 (ns_t_udp_p, ns_t_xfr_p): Remove.
17044
17045 2016-09-21 Florian Weimer <fweimer@redhat.com>
17046
17047 Remove misleading version information.
17048 * resolv/arpa/nameser.h (__NAMESER): Remove.
17049 * resolv/arpa/nameser_compat.h (__BIND): Remove.
17050
17051 2016-09-21 Florian Weimer <fweimer@redhat.com>
17052
17053 Remove the always-defined BIND_4_COMPAT macro.
17054 * resolv/arpa/nameser.h: Unconditionally include
17055 <arpa/nameser_compat.h>.
17056 (BIND_4_COMPAT): Remove.
17057 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
17058
17059 2016-09-21 Florian Weimer <fweimer@redhat.com>
17060
17061 [BZ #20591]
17062 Remove obsolete DNSSEC support.
17063 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
17064 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
17065 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
17066 (ns_verify_tcp, ns_verify_tcp_init): Remove.
17067 (ns_cert_types): Add comment.
17068 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
17069 separately.
17070 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
17071 (dst_s_dns_key_id): Remove.
17072 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
17073 variables.
17074
17075 2016-09-21 Florian Weimer <fweimer@redhat.com>
17076
17077 [BZ #20524]
17078 * manual/string.texi (String/Array Comparison): Clarify the
17079 strverscmp behavior.
17080
17081 2016-09-21 Florian Weimer <fweimer@redhat.com>
17082
17083 * test-skeleton.c (xasprintf): Add function.
17084 * io/tst-open-tmpfile.c: New test.
17085 * io/Makefile (tests): Add it.
17086
17087 2016-09-21 Florian Weimer <fweimer@redhat.com>
17088
17089 Avoid running $(CXX) during build to obtain header file paths.
17090 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
17091 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
17092 * Makerules (cstdlib, cmath): Remove variables. Use
17093 $(c++-cstdlib-header), $(c++-cmath-header) instead.
17094 * configure: Regenerate.
17095
17096 2016-09-21 Florian Weimer <fweimer@redhat.com>
17097
17098 * Makeconfig (all-object-suffixes): Include .op only if
17099 $(build-profile).
17100
17101 2016-09-21 Florian Weimer <fweimer@redhat.com>
17102
17103 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
17104 conditionals. Do not define PATH_MAX.
17105
17106 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17107
17108 * posix/Makefile (tests): Add tst-spawn3.
17109 * posix/tst-spawn3.c: New file.
17110 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
17111 if it is already opened for open action.
17112
17113 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
17114 all signals when executing the clone vfork child.
17115 (SIGALL_SET): Remove macro.
17116
17117 * nptl/Makefile (tests): Add tst-exec5.
17118 * nptl/tst-exec5.c: New file.
17119 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
17120 asynchronous cancellation.
17121
17122 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17123
17124 * hurd/exc2signal.c: #include <hurd/signal.h>
17125 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
17126 'sigcode', 'error' parameters with 'detail' parameter. Fix code
17127 accordingly.
17128 * mach/mach_error.c (mach_error): Fix old-style function definition.
17129 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
17130
17131 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17132
17133 * math/Makefile (libm-calls): Remove s_nanF.
17134 (gen-libm-calls): Add s_nanF.
17135
17136 * math/s_nan.c: Refactor into ...
17137 * math/s_nan_template.c: New file.
17138
17139 * math/s_nanf.c: Removed.
17140 * math/s_nanl.c: Removed.
17141 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17142 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17143
17144 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17145 (LDOUBLE_nanl_libm_version): New macro.
17146
17147 * sysdeps/generic/math-type-macros-double.h:
17148 (M_STRTO_NAN): New macro.
17149 * sysdeps/generic/math-type-macros-float.h: Likewise.
17150 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17151
17152 * sysdeps/generic/math-type-macros.h: Document
17153 M_STRTO_NAN.
17154
17155 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17156
17157 * math/s_nanf.c: Remove __nanf undef.
17158 * math/s_nan.c: Remove __nan undef.
17159 * math/s_nanl.c: Remove __nanl undef.
17160
17161 * sysdeps/generic/math_private.h (__nan): Remove macro
17162 override.
17163 (__nanf): Likewise.
17164 (__nanl): Likewise.
17165
17166 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17167
17168 * math/Makefile (gen-all-calls): New variable.
17169 (generated): Replace gen-libm-calls with gen-all-calls.
17170 (gen-libm-templates.stmp): Likewise. Also, ensure
17171 the output directory exists or is created and add
17172 dependency on the Makefile.
17173 (calls): Move s_ldexpF into gen-calls.
17174 (gen-calls): New variable.
17175
17176 * math/s_ldexpf.c: Removed.
17177 * math/s_ldexpl.c: Removed.
17178 * math/s_ldexp.c: Refactored into ...
17179 * math/s_ldexp_template.c: New file.
17180
17181 * sysdeps/generic/math-type-macros-double.h: Remove
17182 redundant fall-through definition of declare_mgen_alias.
17183 (declare_mgen_alias_2): New macro.
17184
17185 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17186 New macro for function aliased to two exported symbols.
17187
17188 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17189 new template file.
17190 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17191
17192 2016-09-20 Florian Weimer <fweimer@redhat.com>
17193
17194 * Makeconfig (all-object-suffixes): Remove .og.
17195 * Makerules (elide-routines.og): Remove.
17196 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17197 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17198 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17199
17200 2016-09-20 Florian Weimer <fweimer@redhat.com>
17201
17202 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17203 .os objects.
17204
17205 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17206
17207 [BZ #20615]
17208 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17209 fpu directory by non-fpu.
17210 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17211 on non-fpu directory from a fpu directory.
17212
17213 2016-09-19 Joseph Myers <joseph@codesourcery.com>
17214
17215 * include/limits.h: Define
17216 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17217 <bits/libc-header-start.h> instead of including <features.h>.
17218 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17219 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17220 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17221 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17222 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17223 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17224 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17225 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17226 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17227 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17228 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17229 * manual/lang.texi (Width of Type): Document these macros.
17230 * stdlib/tst-width.c: New file.
17231 * stdlib/Makefile (tests): Add tst-width.
17232
17233 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17234
17235 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17236 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17237
17238 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17239
17240 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17241 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17242 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17243
17244 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17245
17246 [BZ #18243]
17247 * rt/Makefile (test): Add tst-shm-cancel.
17248 * rt/tst-shm-cancel.c: New file.
17249 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17250
17251 [BZ #18243]
17252 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17253 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17254 definition.
17255 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17256 uncontended case.
17257 * nptl/sem_wait.c (__new_sem_wait): Likewise.
17258 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17259 (tf): Fix check for uncontended case.
17260 (do_test): Likewise.
17261 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17262 (tf): Fix check for uncontended case.
17263 (do_test): Likewise.
17264 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17265 (tf): Fix check for uncontended case.
17266 (do_test): Likewise.
17267 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17268 (tf): Fix check for uncontended case.
17269 (do_test): Likewise.
17270
17271 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17272 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17273
17274 [BZ #15765]
17275 * nptl/Makefile (tests): Add tst-sem16.
17276 * nptl/tst-sem16.c: New file.
17277 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17278
17279 * nptl/sem_open.c (sem_open): Init pad value to 0.
17280 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17281 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17282
17283 2016-09-15 Florian Weimer <fweimer@redhat.com>
17284
17285 [BZ #20611]
17286 * inet/Makefile (routines): Add inet6_scopeid_pton.
17287 (tests): Add tst-inet6_scopeid_pton.
17288 * inet/inet6_scopeid_pton.c: New file.
17289 * inet/net-internal.h: Likewise.
17290 * inet/tst-inet6_scopeid_pton.c: New test.
17291 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17292 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17294
17295 2016-09-14 Florian Weimer <fweimer@redhat.com>
17296
17297 Remove support for compiling wrappers with PTW.
17298 * sysdeps/nptl/Makeconfig: Drop ptw- support.
17299 * nptl/Makefile (pthread-compat-wrappers): Define.
17300 (libpthread-routines): Use pthread-compat-wrappers.
17301 * sysdeps/unix/sysv/linux/alpha/Makefile
17302 (libpthread-routines, libpthread-shared-only-routines): Remove
17303 ptw- prefix.
17304 * sysdeps/s390/nptl/Makefile
17305 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17306 * sysdeps/ia64/nptl/Makefile
17307 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17308 * sysdeps/nacl/Makefile (libpthread-routines): Use
17309 pthread-compat-wrappers to filter the routines list instead of the
17310 ptw- prefix.
17311
17312 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17313
17314 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17315 with L() and remove explicit suffix, convert real literals
17316 which can be equivalentally substituted with integers, and
17317 transform -L(x) to L(-x).
17318
17319 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17367 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17369
17370 2016-09-13 Florian Weimer <fweimer@redhat.com>
17371
17372 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17373
17374 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17375
17376 * malloc/Makefile (tests): Remove individual static test names
17377 and just add all of tests-static.
17378
17379 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17380
17381 2016-09-07 Joseph Myers <joseph@codesourcery.com>
17382
17383 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17384 file.
17385
17386 * sysdeps/sparc/fpu/fegetmode.c: New file.
17387 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17388
17389 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17390 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17391
17392 * sysdeps/s390/fpu/fegetmode.c: New file.
17393 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17394
17395 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17396 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17397 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17398 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17401
17402 * sysdeps/mips/fpu/fegetmode.c: New file.
17403 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17404
17405 * sysdeps/m68k/fpu/fegetmode.c: New file.
17406 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17407
17408 * sysdeps/ia64/fpu/fegetmode.c: New file.
17409 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17410
17411 * sysdeps/hppa/fpu/fegetmode.c: New file.
17412 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17413
17414 * sysdeps/arm/fegetmode.c: New file.
17415 * sysdeps/arm/fesetmode.c: Likewise.
17416
17417 * sysdeps/alpha/fpu/fegetmode.c: New file.
17418 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17419
17420 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17421 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17422
17423 * math/fegetmode.c: New file.
17424 * math/fesetmode.c: Likewise.
17425 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17426 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17427 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17428 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17429 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17431 declaration.
17432 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17433 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17434 typedef.
17435 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17436 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17437 (femode_t): New typedef.
17438 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17439 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17440 (femode_t): New typedef.
17441 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17442 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17443 (femode_t): New typedef.
17444 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17445 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17446 (femode_t): New typedef.
17447 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17448 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17449 (femode_t): New typedef.
17450 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17451 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17452 (femode_t): New typedef.
17453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17454 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17455 (femode_t): New typedef.
17456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17457 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17458 (femode_t): New typedef.
17459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17460 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17461 (femode_t): New typedef.
17462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17463 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17464 (femode_t): New typedef.
17465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17466 declaration.
17467 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17468 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17469 (femode_t): New typedef.
17470 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17471 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17472 (femode_t): New typedef.
17473 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17474 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17475 (femode_t): New typedef.
17476 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17477 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17478 (femode_t): New typedef.
17479 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17480 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17481 (femode_t): New typedef.
17482 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17483 * manual/arith.texi (FE_DFL_MODE): Document macro.
17484 (fegetmode): Document function.
17485 (fesetmode): Likewise.
17486 * math/Versions (fegetmode): New libm symbol at version
17487 GLIBC_2.25.
17488 (fesetmode): Likewise.
17489 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17490 (tests): Add test-femode and test-femode-traps.
17491 * math/test-femode-traps.c: New file.
17492 * math/test-femode.c: Likewise.
17493 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17494 alias for __fe_dfl_env.
17495 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17496 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17497 (__fe_dfl_mode): Likewise.
17498 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17499 version GLIBC_2.25.
17500 * sysdeps/nacl/libm.abilist: Update.
17501 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17507 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17511 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17512 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17514 Likewise.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17516 Likewise.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17518 Likewise.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17520 Likewise.
17521 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17527 Likewise.
17528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17529 Likewise.
17530 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17533
17534 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 [BZ #20495]
17537 [BZ #20508]
17538 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17539 processors, set Use_dl_runtime_resolve_slow and set
17540 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17541 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17542 New.
17543 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17544 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17545 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17546 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17547 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17548 if Use_dl_runtime_resolve_opt is set. Use
17549 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17550 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17551 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17552 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17553 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17554 New.
17555 (_dl_runtime_resolve_opt): Likewise.
17556 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17557 defined.
17558
17559 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17560
17561 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17562 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17563
17564 2016-09-06 Florian Weimer <fweimer@redhat.com>
17565
17566 Convert malloc to __libc_lock. Automated part, using this Perl
17567 s/// command:
17568 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17569 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17570 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17571 conversion.
17572
17573 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17574
17575 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17576 (linknamespace-symlists-tests): Likewise.
17577 (linknamespace-header-tests): Likewise.
17578
17579 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17580
17581 [BZ #19810]
17582 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17583 * elf/tst-noload.c: New test case.
17584 * elf/Makefile (tests): Add tst-noload.
17585
17586 2016-09-02 Roland McGrath <roland@hack.frob.com>
17587
17588 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17589
17590 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17591 not any more.
17592
17593 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17594
17595 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17596
17597 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17598 (do_cos_slow): Likewise.
17599 (do_sin): Likewise.
17600 (do_sin_slow): Likewise.
17601 (slow): Likewise.
17602 (slow1): Likewise.
17603 (slow2): Likewise.
17604 (sloww): Likewise.
17605 (sloww1): Likewise.
17606 (sloww2): Likewise.
17607 (bsloww): Likewise.
17608 (bsloww1): Likewise.
17609 (bsloww2): Likewise.
17610 (cslow2): Likewise.
17611
17612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17613
17614 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17615 arguments. Consolidate input partitioning from callers here.
17616 (do_cos_slow): Likewise.
17617 (do_sin): Likewise.
17618 (do_sin_slow): Likewise.
17619 (do_sincos_1): Remove the no longer necessary input partitioning.
17620 (do_sincos_2): Likewise.
17621 (__sin): Likewise.
17622 (__cos): Likewise.
17623 (slow1): Likewise.
17624 (slow2): Likewise.
17625 (sloww1): Likewise.
17626 (sloww2): Likewise.
17627 (bsloww1): Likewise.
17628 (bsloww2): Likewise.
17629 (cslow2): Likewise.
17630
17631 2016-09-02 Florian Weimer <fweimer@redhat.com>
17632
17633 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17634 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17635 outside of allocated array.
17636
17637 2016-09-02 Florian Weimer <fweimer@redhat.com>
17638
17639 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17640 instead of MB_CUR_MAX to avoid variable-length array.
17641
17642 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17643
17644 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17645 (type-double-routines): Add k_rem_pio2.
17646 (type-float-routines): Add k_rem_pio2f.
17647
17648 * sysdeps/generic/math_private.h:
17649 (__kernel_rem_pio2l): Removed.
17650
17651 * math/k_rem_pio2l.c: Removed.
17652 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17653 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17654 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17655 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17656
17657 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17658
17659 * math/Makefile (gen-libm-calls): Add s_fmin
17660 (libm-calls): Remove above.
17661
17662 * math/s_fmin.c: Refactor into ...
17663 * math/s_fmin_template.c: New file.
17664
17665 * math/s_fminf.c: Removed.
17666 * math/s_fminl.c: Removed.
17667 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17668 (LDOUBLE_fmin_libm_version): New macro.
17669
17670 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17671 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17672
17673 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17674
17675 * math/Makefile: (gen-libm-calls): Add s_fmax.
17676 (libm-calls): Remove above.
17677
17678 * math/s_fmax.c: Refactor into ...
17679 * math/s_fmax_template.c: New file.
17680 * math/s_fmaxf.c: Removed.
17681 * math/s_fmaxl.c: Removed.
17682
17683 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17684 (LDOUBLE_fmaxl_libm_version): New macro.
17685
17686 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17687 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17688
17689 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17690 s_fmin.c to pick the aarch64 version of the file.
17691 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17692 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17693
17694 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17695
17696 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17697 (libm-calls): Remove above.
17698
17699 * math/s_nextdown.c: Refactor into ...
17700 * math/s_nextdown_template.c: New file.
17701 * math/s_nextdownf.c: Removed.
17702 * math/s_nextdownl.c: Removed.
17703
17704 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17705
17706 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17707
17708 * math/Makefile (gen-libm-calls): Add s_fdim.
17709 (libm-calls): Move to above.
17710
17711 * math/s_fdim.c: Renamed and refactored into to ...
17712 * math/s_fdim_template.c: New file.
17713 * math/s_fdiml.c: Removed.
17714 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17715 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17716
17717 * sysdeps/generic/math-type-macros-double.h:
17718 (declare_mgen_alias): Don't declare if already declared.
17719 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17720 Likewise.
17721
17722 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17723 (declare_mgen_alias): Don't declare if already declared.
17724 (M_LIBM_NEED_COMPAT): Likewise.
17725 (declare_mgen_libm_compat): Likewise.
17726 (LDOUBLE_fdiml_libm_version): New macro.
17727
17728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17729 Include math/s_fdim.c now that ldbl-opt version is not needed.
17730 (declare_mgen_alias): New macro to disable aliasing.
17731
17732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17733 (declare_mgen_alias): Likewise.
17734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17735 (declare_mgen_alias): Likewise.
17736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17737 (declare_mgen_alias): Likewise.
17738 (M_LIBM_NEED_COMPAT): Likewise.
17739
17740 2016-09-01 Florian Weimer <fweimer@redhat.com>
17741
17742 [BZ #20525]
17743 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17744 Include <linux/quota.h>.
17745 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17746 and btodb.
17747 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17748 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17749 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17750 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17751 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17752 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17753 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17754 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17755 types.
17756 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17757 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17758
17759 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17760
17761 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17762 (gammal_positive): Fix spacing.
17763 (__ieee754_gammal_r): Likewise.
17764
17765 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17766
17767 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17768 (_Float128): Define as long double, always.
17769 (L): Apply long double type suffix, always.
17770
17771 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17772 _Float128, excepting comments.
17773
17774 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17840 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17842
17843 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17844 _Float128, and include math_private.h.
17845 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17846
17847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17848 long double semantics.
17849 (_Float128): Likewise.
17850 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17854
17855 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17856
17857 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17858 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17859 * sysdeps/s390/configure: Regenerated.
17860 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17861 instruction for raising over-/underflow if z196 zarch is supported
17862 by default.
17863 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17864
17865 2016-08-30 Svante Signell <svante.signell@gmail.com>
17866
17867 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17868 it point to a dumb buffer for RPC to fill it.
17869
17870 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17871
17872 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17873 instead of if/else.
17874 (do_sin_slow): Likewise.
17875 (do_sincos_1): Use fabs instead of if/else.
17876 (do_sincos_2): Likewise.
17877 (__sin): Likewise.
17878 (__cos): Likewise.
17879 (slow2): Likewise.
17880 (sloww): Likewise.
17881 (sloww1): Likewise. Drop argument M.
17882 (sloww2): Use fabs instead of if/else.
17883 (bsloww): Likewise.
17884 (bsloww1): Likewise.
17885 (bsloww2): Likewise.
17886
17887 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17888 fall through comment.
17889 (do_sincos_1): Likewise.
17890
17891 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17892 Consolidate switch cases 0 and 2.
17893
17894 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17895
17896 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17897 (libm-calls): Remove the above.
17898
17899 * math/s_cexp_template.c: Update using type-generic macros.
17900 * math/s_clog10_template.c: Likewise.
17901 * math/s_cpow_template.c: Likewise.
17902 * math/s_clog_template.c: Likewise.
17903 * math/s_cproj_template.c: Likewise.
17904 * math/s_csqrt_template.c: Likewise.
17905
17906 * math/s_cexp.c: Removed.
17907 * math/s_cexpf.c: Removed.
17908 * math/s_cexpl.c: Removed.
17909 * math/s_clog10.c: Removed.
17910 * math/s_clog10f.c: Removed.
17911 * math/s_clog10l.c: Removed.
17912 * math/s_cpow.c: Removed.
17913 * math/s_cpowf.c: Removed.
17914 * math/s_cpowl.c: Removed.
17915 * math/s_clog.c: Removed.
17916 * math/s_clogf.c: Removed.
17917 * math/s_clogl.c: Removed.
17918 * math/s_cproj.c: Removed.
17919 * math/s_cprojf.c: Removed.
17920 * math/s_cprojl.c: Removed.
17921 * math/s_csqrt.c: Removed.
17922 * math/s_csqrtf.c: Removed.
17923 * math/s_csqrtl.c: Removed.
17924
17925 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17926 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17927 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17928 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17929 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17930 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17931
17932 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17933 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17934 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17935 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17936 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17937 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17938 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17939 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17940 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17941 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17942 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17943
17944 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17945 version.
17946
17947 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17948 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17949 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17950 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17951
17952 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17953
17954 * s_cexp_template.c: Copy of s_cexp.c.
17955 * s_clog_template.c: Copy of s_clog.c.
17956 * s_clog10_template.c: Copy of s_clog10.c.
17957 * s_cpow_template.c: Copy of s_cpow.c.
17958 * s_cproj_template.c: Copy of s_cproj.c.
17959 * s_csqrt_template.c: Copy of s_csqrt.c.
17960
17961 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17962
17963 [BZ #20517]
17964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17965 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17966 exported.
17967
17968 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17969
17970 * math/fetestexceptflag.c: New file.
17971 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17972 Stefan Liebler.
17973 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17974 (fetestexceptflag): New function declaration.
17975 * manual/arith.texi (fetestexceptflag): Document function.
17976 * math/Versions (fetestexceptflag): New libm symbol at version
17977 GLIBC_2.25.
17978 * math/Makefile (libm-support): Add fetestexceptflag.
17979 (tests): Add test-fetestexceptflag.
17980 * math/test-fetestexceptflag.c: New file.
17981 * sysdeps/nacl/libm.abilist: Update.
17982 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17995 Likewise.
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17997 Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17999 Likewise.
18000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18001 Likewise.
18002 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18008 Likewise.
18009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18010 Likewise.
18011 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18014
18015 2016-08-26 Florian Weimer <fweimer@redhat.com>
18016
18017 [BZ #20432]
18018 Avoid strong references to malloc-internal symbols when linking
18019 statically, to support statically interposed mallocs.
18020 * include/libc-symbols.h (call_function_static_weak): New macro.
18021 * malloc/Makefile (tests): Add tst-interpose-nothread,
18022 tst-interpose-thread, tst-interpose-static-nothread,
18023 tst-interpose-static-thread.
18024 (tests-static): Add tst-interpose-static-nothread,
18025 tst-interpose-static-thread.
18026 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
18027 tst-interpose-aux-thread.o.
18028 (test-extras): Add tst-interpose-aux-nothread,
18029 tst-interpose-aux-thread.
18030 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
18031 tst-interpose-aux-nothread.o.
18032 (tst-interpose-thread, tst-interpose-static-thread): Link with
18033 tst-interpose-aux-thread.o and libthread.
18034 * malloc/tst-interpose-aux-nothread.c: New file.
18035 * malloc/tst-interpose-aux-thread.c: Likewise.
18036 * malloc/tst-interpose-aux.c: Likewise.
18037 * malloc/tst-interpose-aux.h: Likewise.
18038 * malloc/tst-interpose-nothread.c: Likewise.
18039 * malloc/tst-interpose-skeleton.c: Likewise.
18040 * malloc/tst-interpose-static-nothread.c: Likewise.
18041 * malloc/tst-interpose-static-thread.c: Likewise.
18042 * malloc/tst-interpose-thread.c: Likewise.
18043 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
18044 * sysdeps/mach/hurd/fork.c (__fork): Only call
18045 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18046 __malloc_fork_unlock_child if defined.
18047 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18048
18049 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18050
18051 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
18052 timespec C99 designated initialization.
18053
18054 2016-08-26 Florian Weimer <fweimer@redhat.com>
18055
18056 [BZ #19946]
18057 Avoid expected SIGALRM signals.
18058 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
18059 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
18060 (xpthread_create, xpthread_detach, xpthread_join)
18061 (delayed_exit_thread, delayed_exit): New functions.
18062 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
18063 (tf): Use xpthread_cond_wait.
18064 (do_test): Likewise. Replace alarm with delayed_exit.
18065 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18066 (do_test): Call delayed_exit. Report failure.
18067 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18068 (do_test): Call delayed_exit.
18069 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18070 (do_test): Call delayed_exit. Use xpthread_join. Report error.
18071 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18072 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
18073 error.
18074 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18075 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
18076 error.
18077 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
18078 (do_test): Call delayed_exit.
18079 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
18080 (do_test): Call delayed_exit.
18081 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
18082 (do_test): Call delayed_exit instead of alarm. Use
18083 xpthread_mutex_lock.
18084 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
18085 (do_test): Call delayed_exit instead of alarm. Use
18086 xpthread_mutex_lock.
18087 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
18088 (do_test): Call delayed_exit instead of alarm.
18089 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
18090 (do_test): Call delayed_exit instead of alarm. Use
18091 xpthread_spin_lock.
18092 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
18093 (do_test): Call delayed_exit instead of alarm. Use
18094 xpthread_join.
18095
18096 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
18097
18098 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
18099 adjust CFA when allocating register save area on re-aligned
18100 stack.
18101
18102 2016-08-26 Florian Weimer <fweimer@redhat.com>
18103
18104 * string/tst-cmp.c: New test.
18105 * string/Makefile (tests): Add it.
18106
18107 2016-08-25 Mark Wielaard <mark@klomp.org>
18108
18109 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
18110 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
18111 (check_tree_recurse): Use newly defined accessors.
18112 (check_tree): Likewise.
18113 (maybe_split_for_insert): Likewise.
18114 (__tfind): Likewise.
18115 (__tdelete): Likewise.
18116 (trecurse): Likewise.
18117 (tdestroy_recurse): Likewise.
18118 (__tsearch): Likewise. And add asserts for malloc alignment.
18119 (__twalk): Cast root to node in case CHECK_TREE is defined.
18120
18121 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18122
18123 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
18124
18125 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18126
18127 * math/Makefile (libm-gen-calls): Add
18128 catan, catanh, ctan, ctanh.
18129 (libm-calls): Remove the above.
18130
18131 * math/s_catan_template.c: Update using type-generic macros.
18132 * math/s_catanh_template.c: Likewise.
18133 * math/s_ctan_template.c: Likewise.
18134 * math/s_ctanh_template.c: Likewise.
18135
18136 * math/s_catanf.c: Removed.
18137 * math/s_catan.c: Removed.
18138 * math/s_catanl.c: Removed.
18139 * math/s_catanhf.c: Removed.
18140 * math/s_catanh.c: Removed.
18141 * math/s_catanhl.c: Removed.
18142 * math/s_ctanf.c: Removed.
18143 * math/s_ctan.c: Removed.
18144 * math/s_ctanl.c: Removed.
18145 * math/s_ctanhf.c: Removed.
18146 * math/s_ctanh.c: Removed.
18147 * math/s_ctanhl.c: Removed.
18148
18149 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18150 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18151 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18152 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18153 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18154 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18155
18156 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18157 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18158 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18159 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18160
18161 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18162
18163 * s_catan_template.c: Copy of s_catan.c.
18164 * s_catanh_template.c: Copy of s_catanh.c.
18165 * s_ctan_template.c: Copy of s_ctan.c.
18166 * s_ctanh_template.c: Copy of s_ctanh.c.
18167
18168 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18169
18170 * math/Makefile (gen-libm-calls): Move
18171 casin, casinh, csin, csinh here.
18172 (libm-calls): Remove the above.
18173
18174 * math/s_casin_template.c: Update using type-generic macros.
18175 * math/s_casinh_template.c: Likewise.
18176 * math/s_csin_template.c: Likewise.
18177 * math/s_csinh_template.c: Likewise.
18178 * math/k_casinh_template.c: Likewise.
18179
18180 * math/s_casinf.c: Removed.
18181 * math/s_casin.c: Removed.
18182 * math/s_casinl.c: Removed.
18183 * math/s_casinh.c: Removed.
18184 * math/s_casinhf.c: Removed.
18185 * math/s_casinhl.c: Removed.
18186 * math/s_csin.c: Removed.
18187 * math/s_csinf.c: Removed.
18188 * math/s_csinl.c: Removed.
18189 * math/s_csinh.c: Removed.
18190 * math/s_csinhf.c: Removed.
18191 * math/s_csinhl.c: Removed.
18192 * math/k_casinh.c: Removed.
18193 * math/k_casinhf.c: Removed.
18194 * math/k_casinhl.c: Removed.
18195
18196 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18197 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18198 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18199 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18200
18201 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18202 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18203 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18204 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18205 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18206 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18207 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18208 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18209
18210 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18211 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18212 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18213 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18214
18215 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18216 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18217 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18218 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18219
18220 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18221
18222 * s_casin_template.c: Copy of s_casin.c.
18223 * s_casinh_template.c: Copy of s_casinh.c.
18224 * s_csin_template.c: Copy of s_csin.c.
18225 * s_csinh_template.c: Copy of s_csinh.c.
18226 * k_casinh_template.c: Copy of k_casinh.c.
18227
18228 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
18229
18230 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18231
18232 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18233
18234 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18235 (mul_split) Remove, rename as mul_splitl, remove
18236 redundant float.h include, and include via mul_splitl.h
18237
18238 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18243
18244 * math/mul_splitl.h: New file.
18245
18246 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18247 Move into mul_split.h, and remove redundant float.h include.
18248
18249 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18253
18254 * math/mul_split.h: New file.
18255
18256 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18257
18258 * math/Makefile (libm-gen-calls): Move
18259 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18260 (libm-calls): Remove above.
18261
18262 * math/s_cacos_template.c: Update using type-generic macros.
18263 * math/s_cacosh_template.c: Likewise.
18264 * math/s_ccos_template.c: Likewise.
18265 * math/s_ccosh_template.c: Likewise.
18266
18267 * math/s_cacosf.c: Removed.
18268 * math/s_cacos.c: Removed.
18269 * math/s_cacosl.c: Removed.
18270 * math/s_cacoshf.c: Removed.
18271 * math/s_cacosh.c: Removed.
18272 * math/s_cacoshl.c: Removed.
18273 * math/s_ccosf.c: Removed.
18274 * math/s_ccos.c: Removed.
18275 * math/s_ccosl.c: Removed.
18276 * math/s_ccoshf.c: Removed.
18277 * math/s_ccosh.c: Removed.
18278 * math/s_ccoshl.c: Removed.
18279
18280 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18281 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18282 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18283 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18284 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18285 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18286
18287 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18288 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18289 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18290 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18291
18292 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18293 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18294 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18295 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18296
18297 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18298
18299 * s_cacos_template.c: Copy of s_cacos.c.
18300 * s_cacosh_template.c: Copy of s_cacosh.c.
18301 * s_ccos_template.c: Copy of s_ccos.c.
18302 * s_ccosh_template.c: Copy of s_ccosh.c.
18303
18304 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18305
18306 * stdlib/tst-strtod-round-skeleton.c:
18307 Refactored from tst-strtod-round.c.
18308
18309 (L_): New macro to apply literal modifier.
18310 (FNPFX): New macro to select str or wcs prefix.
18311 (CHAR): New macro to choose wchar_t or char.
18312 (STRM): New macro to choose printf for tested character type.
18313
18314 (STRTO): New macro to choose appropriate string -> real function.
18315 (FNPFXS): Stringitized version of FNPFX.
18316 (STR): Support for above macro.
18317 (STRX): Likewise.
18318
18319 (TEST): Update with above macros.
18320 (test): Likewise.
18321 (GEN_ONE_TEST): Likewise.
18322 (test_in_one_mode): Likewise.
18323
18324 * stdlib/tst-strtod-round.c: New file.
18325 * wcsmbs/tst-wcstod-round.c: New file.
18326
18327 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18328 (tst-wcstod-round): Add libm depencency for fesetround.
18329
18330 2016-08-19 Zack Weinberg <zackw@panix.com>
18331
18332 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18333
18334 2016-08-18 Torvald Riegel <triegel@redhat.com>
18335
18336 [BZ #20477]
18337 * resolv/res_hconf.c (do_init): Use atomic access.
18338 * resolv/res_hconf.h: Add comments.
18339 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18340 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18342
18343 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
18344
18345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18346 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18347 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18348 Likewise.
18349
18350 2016-08-18 Florian Weimer <fweimer@redhat.com>
18351
18352 [BZ #16907]
18353 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18354 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18355 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18356 (__attribute__): Remove definition.
18357
18358 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18359
18360 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18361 Remove unused sqrtl declaration.
18362
18363 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18364
18365 * math/Makefile: (gen-libm-templates.stmp): New rule.
18366 (libm-calls): Move carg conj cimag and cabs into ...
18367 (gen-libm-calls): New variable.
18368 (generated): Inform Make objects from gen-libm-calls
18369 may be generated.
18370
18371 * sysdeps/generic/math-type-macros.h: New file.
18372 * sysdeps/generic/math-type-macros-float.h: Likewise.
18373 * sysdeps/generic/math-type-macros-double.h: Likewise.
18374 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18375 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18376 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18377
18378 * math/cabs.c: Refactor into
18379 * math/cabs_template.c: new file.
18380 * math/cabsf.c: Removed.
18381 * math/cabsl.c: Removed.
18382 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18383 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18384
18385 * math/carg.c: Refactor into
18386 * math/carg_template.c: new file.
18387 * math/cargf.c: Removed.
18388 * math/cargl.c: Removed.
18389 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18390 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18391
18392 * math/conj.c: Refactor into
18393 * math/conj_template.c: new file.
18394 * math/conjf.c: Removed.
18395 * math/conjl.c: Removed.
18396 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18397 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18398
18399 * math/cimag.c: Refactor into
18400 * math/cimag_template.c: new file.
18401 * math/cimagf.c: Removed.
18402 * math/cimagl.c: Removed.
18403 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18404 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18405
18406 * math/cimag.c: Refactor into
18407 * math/cimag_template.c: new file.
18408 * math/cimagf.c: Removed.
18409 * math/cimagl.c: Removed.
18410 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18411 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18412
18413 2016-08-17 Florian Weimer <fweimer@redhat.com>
18414
18415 Reduce time to expected nptl/tst-once5 failure.
18416 * nptl/tst-once5.cc (TIMEOUT): Define.
18417
18418 2016-08-17 Florian Weimer <fweimer@redhat.com>
18419
18420 [BZ #20452]
18421 Avoid additional copies of objects in libc.a in static libraries.
18422 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18423 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18424 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18425 rt-sysdep.
18426 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18427 Add nptl-sysdep.
18428 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18429 Add ptw-sysdep.
18430 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18431 rt-sysdep.
18432 * sysdeps/unix/sysv/linux/alpha/Makefile
18433 (libpthread-shared-only-routines): Add ptw-sysdep,
18434 ptw-sigprocmask, ptw-rt_sigaction.
18435 * sysdeps/unix/sysv/linux/ia64/Makefile
18436 (librt-shared-only-routines): Add rt-sysdep.
18437 * sysdeps/unix/sysv/linux/i386/Makefile
18438 (libpthread-shared-only-routines): Add libc-do-syscall.
18439 * sysdeps/unix/sysv/linux/microblaze/Makefile
18440 (libpthread-shared-only-routines): Add sysdep.
18441 * sysdeps/unix/sysv/linux/powerpc/Makefile
18442 (librt-shared-only-routines): Add rt-sysdep.
18443 (libpthread-shared-only-routines): Add sysdep.
18444 * sysdeps/unix/sysv/linux/s390/Makefile
18445 (librt-shared-only-routines): Add rt-sysdep.
18446 * sysdeps/unix/sysv/linux/sparc/Makefile
18447 (librt-shared-only-routines): Add rt-sysdep.
18448 (libpthread-shared-only-routines): Add sysdep.
18449 * sysdeps/unix/sysv/linux/tile/Makefile
18450 (libpthread-shared-only-routines): Likewise.
18451
18452 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18453
18454 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18455 Mask implicit bit out of unpacked value.
18456 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18459
18460 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18461
18462 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18463
18464 * sysdeps/s390/fpu/fesetexcept.c: New file.
18465
18466 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18467 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18468 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18469
18470 * sysdeps/mips/fpu/fesetexcept.c: New file.
18471
18472 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18473
18474 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18475
18476 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18477
18478 * sysdeps/arm/fesetexcept.c: New file.
18479
18480 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18481
18482 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18483
18484 * math/fesetexcept.c: New file.
18485 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18486 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18487 * math/fenv.h: Define
18488 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18489 <bits/libc-header-start.h> instead of including <features.h>.
18490 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18491 declaration.
18492 * manual/arith.texi (fesetexcept): Document function.
18493 * math/Versions (fesetexcept): New libm symbol at version
18494 GLIBC_2.25.
18495 * math/Makefile (libm-support): Add fesetexcept.
18496 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18497 * math/test-fesetexcept.c: New file.
18498 * math/test-fesetexcept-traps.c: Likewise.
18499 * sysdeps/nacl/libm.abilist: Update.
18500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18513 Likewise.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18515 Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18517 Likewise.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18519 Likewise.
18520 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18526 Likewise.
18527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18528 Likewise.
18529 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18532
18533 2016-08-16 Florian Weimer <fweimer@redhat.com>
18534
18535 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18536 New.
18537 (do_test): Apply default_stack_size_in_mb if not set.
18538 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18539
18540 2016-08-15 Andreas Schwab <schwab@suse.de>
18541
18542 [BZ #20435]
18543 CVE-2016-6323
18544 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18545 as .cantunwind.
18546
18547 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18548
18549 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18550 comment from fraiseexcpt.c.
18551
18552 * math/test-fexcept.c (feraiseexcept_exact): New function.
18553 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18554 (test_except): Likewise.
18555
18556 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18557
18558 [BZ #20455]
18559 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18560 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18561 to be restored.
18562
18563 * math/test-fexcept-traps.c: New file.
18564 * math/test-fexcept.c: Likewise.
18565 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18566 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18567 macro.
18568 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18569 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18570
18571 2016-08-09 Torvald Riegel <triegel@redhat.com>
18572
18573 * include/atomic.h (atomic_fetch_and_relaxed,
18574 atomic_fetch_and_release, atomic_fetch_or_release,
18575 atomic_fetch_xor_release): New.
18576
18577 2016-08-06 Christian Seiler <christian@iwakd.de>
18578
18579 [BZ #20444]
18580 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18581 MACH_PORT_NULL.
18582
18583 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18584
18585 * math/s_fdim.c: Avoid alias renamed.
18586 * math/s_fdimf.c: Likewise.
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18588 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18589 Add s_fdimf-vis3, s_fdim-vis3.
18590 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18591 (CFLAGS-s_fdim-vis3.c): Likewise.
18592 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18593 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18594
18595 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18596
18597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18598 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18599 Remove s_fdimf-vis3, s_fdim-vis3.
18600 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18601 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18608 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18609 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18610
18611 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18612
18613 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18614 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18615 -Wa,-Av9a -mvis.
18616
18617 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18618
18619 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18620 LIT() to individual constants in simple expressions
18621 after splitting on spaces.
18622 (_apply_lit): Rename replaced version, and use it to
18623 apply to what appears to be a token.
18624
18625 * math/libm-test.inc: Fix many, many issues with
18626 spacing.
18627
18628 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18629
18630 * math/math.h: Move comment about <bits/mathdef.h> definitions
18631 above inclusion of <bits/mathdef.h>. Do not mention
18632 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18633
18634 2016-08-05 Torvald Riegel <triegel@redhat.com>
18635
18636 * include/atomic.h (atomic_exchange_relaxed): New.
18637
18638 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18639
18640 * math/e_scalb.c: Do not include <fenv.h>.
18641 (invalid_fn): Do calculation resulting in NaN instead of raising
18642 FE_INVALID and returning a NaN explicitly.
18643 * math/e_scalbf.c: Do not include <fenv.h>.
18644 (invalid_fn): Do calculation resulting in NaN instead of raising
18645 FE_INVALID and returning a NaN explicitly.
18646 * math/e_scalbl.c: Do not include <fenv.h>.
18647 (invalid_fn): Do calculation resulting in NaN instead of raising
18648 FE_INVALID and returning a NaN explicitly.
18649
18650 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18651
18652 * po/de.po: Updated from Translation Project.
18653 * po/fi.po: Likewise.
18654 * po/sv.po: Likewise.
18655
18656 2016-08-04 Florian Weimer <fweimer@redhat.com>
18657
18658 [BZ #20452]
18659 Use sysdep.o from libc.a in static libraries.
18660 * sysdeps/unix/sysv/linux/i386/Makefile
18661 (libpthread-shared-only-routines): Add sysdep.
18662 (librt-shared-only-routines): Likewise.
18663
18664 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18665
18666 * math/tgmath.h (nextdown): Define if
18667 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18668 (nextup): Likewise.
18669
18670 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18671 macro.
18672 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18673 Document.
18674 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18675 Document macro.
18676 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18677 (exp10f): Likewise.
18678 (exp10l): Likewise.
18679 * math/bits/mathcalls.h (exp10): Declare if
18680 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18681
18682 * manual/arith.texi (nextup): Fix typo in last change.
18683
18684 2016-08-03 Zack Weinberg <zackw@panix.com>
18685
18686 [BZ #19239]
18687 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18688 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18689 define major, minor, and makedev to issue deprecation warnings on use.
18690 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18691 previously-activated deprecation warnings for these macros and prevent
18692 subsequent inclusions of this header from having any effect.
18693 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18694 including <sys/sysmacros.h>, and undefine it again afterward.
18695
18696 2016-08-03 Zack Weinberg <zackw@panix.com>
18697
18698 * sysdeps/generic/sys/sysmacros.h: Delete file.
18699 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18700 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18701 * bits/sysmacros.h: ... here; this encoding is now the generic
18702 encoding. Now defines only the following macros:
18703 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18704 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18705 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18706
18707 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18708 bits/sysmacros.h and the above new macros to generate the
18709 public implementations of major, minor, and makedev.
18710 * misc/tst-makedev.c: New test.
18711 * include/sys/sysmacros.h: New wrapper.
18712
18713 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18714 (routines): Add makedev.
18715 (tests): Add tst-makedev.
18716 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18717 gnu_dev_makedev.
18718 * posix/Makefile (headers): Remove sys/sysmacros.h.
18719 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18720
18721 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18722 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18723 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18724 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18725 * sysdeps/unix/sysv/linux/arm/libc.abilist
18726 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18727 * sysdeps/unix/sysv/linux/i386/libc.abilist
18728 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18729 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18730 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18731 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18732 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18734 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18735 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18736 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18741 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18742 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18743 * sysdeps/unix/sysv/linux/sh/libc.abilist
18744 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18745 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18748 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18749 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18750 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18751 Add GLIBC_2.25.
18752
18753 * include/features.h (__glibc_clang_prereq): New macro.
18754 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18755 (__attribute_deprecated_msg__): New macros.
18756
18757 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18758
18759 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18760 macro.
18761 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18762 * manual/arith.texi (issignaling): Document as ISO from TS
18763 18661-1:2014.
18764 (nextup): Likewise.
18765 (nextupf): Likewise.
18766 (nextupl): Likewise.
18767 (nextdown): Likewise.
18768 (nextdownf): Likewise.
18769 (nextdownl): Likewise.
18770 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18771 macro.
18772 * math/math.h: Define
18773 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18774 <bits/libc-header-start.h> instead of including <features.h>.
18775 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18776 [__USE_GNU].
18777 * math/bits/mathcalls.h (nextdown): Declare if
18778 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18779 (nextup): Likewise.
18780 (__issignaling): Likewise.
18781
18782 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18783
18784 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18785 check, and remove __glibc_likely hint
18786 from FP_INFINITE check.
18787 * s_csinhf.c (__csinhf): Likewise.
18788
18789 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18790 hint from FP_INFINITE check.
18791 * s_csinhl.c (__csinhl): Likewise.
18792
18793 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18794
18795 * math/Makefile (libm-calls): Insert F placeholder into
18796 object names. Move w_lgamma_compat* routines into
18797 (libm-compat-calls): New variable.
18798 (libm-compat-calls-ldouble-yes): New variable.
18799 (calls): Insert F placeholder.
18800 (generated): Redefine using new type-foreach macro call.
18801 (routines): Likewise.
18802
18803 (types): New variable to hold a list of symbolic names
18804 for each type supported by the target machine.
18805 (libm-routines): Redefine using new types variable.
18806 (type-foreach): macro to replace fooF with the
18807 appropriately suffixed foo for each types.
18808
18809 (type-ldouble-suffix): New variable.
18810 (type-ldouble-routines): Likewise.
18811 (type-ldouble-yes): Likewise.
18812 (type-double-suffix): Likewise.
18813 (type-double-routines): Likewise.
18814 (type-float-suffix): Likewise.
18815 (type-float-routines): Likewise.
18816
18817 (dbl-only-routines): Remove.
18818 (long-c-yes): Likewise.
18819 (long-m-routines): Likewise.
18820 (long-m-support): Likewise.
18821 (long-m-yes): Likewise.
18822 (test-longdouble-yes): Likewise.
18823
18824 (test-float.o): Simplify by increasing the scope of the
18825 recipe which adds libm-test.stmp to the vector types.
18826 (test-ifloat.o): Likewise.
18827 (test-float-finite.o): Likewise.
18828 (test-double.o): Likewise
18829 (test-idouble.o): Likewise.
18830 (test-double-finite.o): Likewise.
18831 (test-ldouble.o): Likewise
18832 (test-ildoubl.o): Likewise.
18833 (test-ldouble-finite.o): Likewise.
18834
18835 (libm-tests): Redefine type tests using foreach and the
18836 list of types in types.
18837
18838 (CPPFLAGS-test-ildoubl.c): Rename to
18839 (CPPFLAGS-test-ildouble.c): New variable
18840
18841 * math/test-ildoubl.c: Rename to
18842 * math/test-ildouble.c: New file.
18843
18844 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18845
18846 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18847 Use fabsl instead of fabs.
18848 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18849 Likewise.
18850 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18851 Add long double suffix to constant to ensure proper
18852 promotion to long double.
18853
18854 2016-08-03 Tom Tromey <tom@tromey.com>
18855
18856 [BZ #20311]
18857 * nptl_db/Makefile (headers): Add proc_service.h.
18858 * nptl_db/proc_service.h: Add include guard. Use
18859 __BEGIN/__END_DECLS.
18860 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18861 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18862 arguments.
18863
18864
18865 2016-08-03 Florian Weimer <fweimer@redhat.com>
18866
18867 [BZ #17730]
18868 Avoid using memalign for TCB allocations.
18869 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18870 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18871 Avoid alignment gap in the TLS_DTV_AT_TP case.
18872 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18873 determine the pointer to free.
18874 * nptl/tst-tls3-malloc.c: New test.
18875 * nptl/Makefile (tests): Add it.
18876 (tst-tls3-malloc): Link with libdl, libpthread.
18877 (LDFLAGS-tst-tls3-malloc): Set.
18878 (tst-tls3-malloc.out): Depend on DSO used in test.
18879
18880 2016-08-03 Florian Weimer <fweimer@redhat.com>
18881
18882 [BZ #17730]
18883 Avoid using memalign for TLS allocations.
18884 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18885 is_static member with to_free member.
18886 (union dtv): Use struct dtv_pointer.
18887 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18888 dtv_pointer instead of is_static.
18889 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18890 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18891 instead of val.
18892 (allocate_dtv_entry): New function.
18893 (allocate_and_init): Return struct dtv_pointer. Call
18894 allocate_dtv_entry instead of __libc_memalign.
18895 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18896 instead of val.
18897 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18898 instead of is_static. Adjust call to allocate_and_init.
18899 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18900 struct dtv_pointer instead of val.
18901
18902 2016-08-03 Florian Weimer <fweimer@redhat.com>
18903
18904 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18905 (MALLOC_ALIGN_MASK): Move ...
18906 * malloc/malloc-internal.h: ... to here.
18907 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18908
18909 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18910
18911 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18912 (UDP_ENCAP_GTP1U): Likewise.
18913
18914 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18915 (PF_MAX): Update value.
18916 (AF_QIPCRTR): New macro.
18917
18918 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18919
18920 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18921 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18922 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18924 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18925 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18926 s_truncf-vis3, s_trunc-vis3.
18927 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18928 (CFLAGS-s_ceil-vis3.c): Likewise.
18929 (CFLAGS-s_floorf-vis3.c): Likewise.
18930 (CFLAGS-s_floor-vis3.c): Likewise.
18931 (CFLAGS-s_truncf-vis3.c): Likewise.
18932 (CFLAGS-s_trunc-vis3.c): Likewise.
18933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18942 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18943 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18945
18946 2016-08-02 David S. Miller <davem@davemloft.net>
18947
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18949 (__nearbyint_vis3): Don't check for sNaN before float register is
18950 loaded with the incoming argument.
18951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18952 (__nearbyintf_vis3): Likewise.
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18954 Likewise.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18956 Likewise.
18957
18958 * string/test-strncmp.c (do_test_limit): Make sure the test data
18959 stream is aligned as required for the type "CHAR".
18960 (do_test): Likewise.
18961
18962 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18963
18964 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18965 by beq instructions jumping to the end of the function.
18966 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18967 clobber list. Use "i" constraint instead of "X".
18968 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18969 of "X".
18970
18971 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18972
18973 * bits/libc-header-start.h: New file.
18974 * Makefile (headers): Add bits/libc-header-start.h.
18975 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18976 (__GLIBC_USE): New macro.
18977 * libio/stdio.h: Define
18978 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18979 <bits/libc-header-start.h> instead of including <features.h>.
18980 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18981 (open_memstream): Likewise.
18982 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18983 (__asprintf): Likewise.
18984 (asprintf): Likewise.
18985 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18986 (getdelim): Likewise.
18987 (getline): Likewise.
18988 * string/string.h: Define
18989 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18990 <bits/libc-header-start.h> instead of including <features.h>.
18991 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18992 (strndup): Likewise.
18993 * wcsmbs/wchar.h: Define
18994 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18995 <bits/libc-header-start.h> instead of including <features.h>.
18996 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18997 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18998
18999 2016-08-02 Florian Weimer <fweimer@redhat.com>
19000
19001 Support linking against compatibility symbols, for use in tests.
19002 * include/libc-symbols.h (symbol_version_reference): New macro.
19003 (symbol_version): Use it.
19004 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
19005 (compat_symbol): Use compat_symbol_reference.
19006 (compat_symbol_1, compat_symbol_2): Remove.
19007 (compat_symbol_reference, compat_symbol_reference_1)
19008 (compat_symbol_reference_2): New macro. Use
19009 symbol_version_reference.
19010
19011 2016-08-02 Florian Weimer <fweimer@redhat.com>
19012
19013 [BZ #19469]
19014 * malloc/Makefile (CPPFLAGS): Compile tests with
19015 -DTEST_NO_MALLOPT.
19016 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
19017
19018 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
19019
19020 [BZ #20033]
19021 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
19022 finite version.
19023 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
19024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
19025 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
19026 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
19027 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
19028 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
19029 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
19030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
19031 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
19032 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
19033 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
19034 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
19035 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
19036 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
19037 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
19038 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
19039 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
19040 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
19041 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
19042 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
19043 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
19044 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
19045 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
19046 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
19047 in zero power.
19048
19049 2016-08-02 Florian Weimer <fweimer@redhat.com>
19050
19051 [BZ #20370]
19052 * malloc/arena.c (get_free_list): Update comment. Assert that
19053 arenas on the free list have no attached threads.
19054 (remove_from_free_list): New function.
19055 (reused_arena): Call it.
19056
19057 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
19058
19059 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
19060 when it is a NaN.
19061 [_IEEE_FP_INEXACT] Remove.
19062 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
19063 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
19064 when it is a NaN.
19065 [_IEEE_FP_INEXACT] Remove.
19066 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
19067 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
19068 when it is a NaN.
19069 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
19070 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
19071 when its absolute value is greater than 0x1.0p52.
19072 [_IEEE_FP_INEXACT] Remove.
19073 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
19074 when its absolute value is greater than 0x1.0p23.
19075 [_IEEE_FP_INEXACT] Remove.
19076
19077 2016-08-01 Carlos O'Donell <carlos@redhat.com>
19078
19079 * version.h (RELEASE): Set to "development"
19080 (VERSION): Set to 2.24.90.
19081 * NEWS: Add 2.25 section.
19082
19083 * version.h (RELEASE): Set to "stable"
19084 (VERSION): Set to 2.24.
19085 * include/features.h (__GLIBC_MINOR__): Set to 24.
19086
19087 * NEWS: Add 2.24 fixed bugs.
19088 * po/libc.pot: Regenerate.
19089
19090 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
19091
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19093 [$(subdir) = math] (libm-sysdep_routines): Remove.
19094 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
19095 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
19096 s_truncf-vis3, s_trunc-vis3.
19097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
19099 file.
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
19102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
19107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
19110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
19134 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
19135 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
19136 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
19137 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19138 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19139 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19140 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19141 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19142 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19143
19144 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
19145
19146 [BZ #20384]
19147 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19148 test-double-libmvec-sincos-avx-main.o,
19149 test-double-libmvec-sincos-avx2-main.o,
19150 test-double-libmvec-sincos-main.o,
19151 test-float-libmvec-sincosf-avx-main.o,
19152 test-float-libmvec-sincosf-avx2-main.o and
19153 test-float-libmvec-sincosf-main.o.
19154 test-float-libmvec-sincosf-avx512-main.o.
19155 ($(objpfx)test-double-libmvec-sincos): Also link with
19156 $(objpfx)test-double-libmvec-sincos-main.o.
19157 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19158 $(objpfx)test-double-libmvec-sincos-avx-main.o.
19159 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19160 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19161 ($(objpfx)test-float-libmvec-sincosf): Also link with
19162 $(objpfx)test-float-libmvec-sincosf-main.o.
19163 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19164 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19165 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19166 test-double-libmvec-sincos-avx512-main.o and
19167 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19168 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19169 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19170 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19171 (CFLAGS-test-double-libmvec-sincos.c): Removed.
19172 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19173 (CFLAGS-test-double-libmvec-sincos-main.c): New.
19174 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19175 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19176 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19177 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19178 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19179 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19180 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19181 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19182 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19183 -DREQUIRE_AVX2.
19184 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19185 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19186 -DREQUIRE_AVX512F.
19187 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19188 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19189 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19190 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19191 file.
19192 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19193 Likewise.
19194 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19195 Likewise.
19196 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19197 Likewise.
19198 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19199 Likewise.
19200 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19201 Likewise.
19202 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19203 Likewise.
19204 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19205 Likewise.
19206
19207 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
19208
19209 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19210
19211 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
19212
19213 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19214 and typo in a comment about AT_HWCAP entry.
19215
19216 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19217
19218 * sysdeps/aarch64/libm-test-ulps: Updated.
19219
19220 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19221
19222 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19223 of r13 as it is not restored in mvcle case.
19224
19225 2016-07-19 Mike Frysinger <vapier@gentoo.org>
19226
19227 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19228 Rename "ret" to "__ret".
19229 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19230 inline_syscall5, inline_syscall6): Likewise.
19231
19232 2016-07-19 Will Newton <will.newton@gmail.com>
19233
19234 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19235 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19236 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19237 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19238 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19239
19240 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
19241
19242 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19243 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19244 -mfpmath=387 with $(rtld-CFLAGS).
19245 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19246 $(rtld-CFLAGS).
19247
19248 2016-07-18 Ross Burton <ross.burton@intel.com>
19249 Khem Raj <raj.khem@gmail.com>
19250
19251 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19252 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19253 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19254 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19255 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19256 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19257 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19258 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19259 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19260 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19261 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19262 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19263 R_METAG_TLS_DTPOFF): New.
19264
19265 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
19266 Matt Clay <mclay@lycos.com>
19267
19268 [BZ #20357]
19269 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19270 to call __mpsin/__mpcos and to negate values.
19271 * math/auto-libm-test-in: Add test.
19272 * math/auto-libm-test-out: Regenerate.
19273
19274 2016-07-18 Zack Weinberg <zackw@panix.com>
19275
19276 * grp/Makefile: Don't install the internal header grp-merge.h.
19277
19278 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19279
19280 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19281
19282 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
19283
19284 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19285
19286 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19287
19288 [BZ #15368]
19289 * sysdeps/unix/sysv/linux/nptl-signals.h
19290 (__nptl_clear_internal_signals): New function.
19291 (__libc_signal_block_all): Likewise.
19292 (__libc_signal_block_app): Likewise.
19293 (__libc_signal_restore_set): Likewise.
19294 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19295 implementation.
19296 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19297 the cached pid/tid value in pthread structure.
19298
19299 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
19300
19301 [BZ #20347]
19302 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19303
19304 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19305
19306 [BZ #20348]
19307 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19308 preadv64, pwrite64 and pwritev64.
19309
19310 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 [BZ #20350]
19313 * posix/tst-preadwrite.c: Renamed to ...
19314 * posix/tst-preadwrite-common.c: This.
19315 (PREAD): Removed.
19316 (PWRITE): Likewise.
19317 (STRINGIFY): Likewise.
19318 (STRINGIFY2): Likewise.
19319 (do_prepare): Make it static and remove function arguments.
19320 (do_test): Likewise.
19321 (PREPARE): Updated.
19322 (TEST_FUNCTION): New.
19323 (name): Make it static.
19324 (fd): Likewise.
19325 (do_prepare): Use create_temp_file.
19326 (do_test): Renamed to ...
19327 (do_test_with_offset): This. Make it static and accept offset.
19328 Properly check return value of PWRITE and PREAD. Return bytes
19329 read. Don't close fd nor unlink name.
19330 * posix/tst-preadwrite.c: Rewrite.
19331 * posix/tst-preadwrite64.c: Likewise.
19332
19333 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19334
19335 [BZ #20309]
19336 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19337 -mtls-dialect=gnu2 works.
19338 * configure: Regenerated.
19339 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19340 (tests): Add tst-gnu2-tls1.
19341 (modules-names): Add tst-gnu2-tls1mod.
19342 ($(objpfx)tst-gnu2-tls1): New.
19343 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19344 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19345 * elf/tst-gnu2-tls1.c: New file.
19346 * elf/tst-gnu2-tls1mod.c: Likewise.
19347 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19348 bytes for push in the PLT entry to align the stack.
19349
19350 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19351
19352 [BZ #20349]
19353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19354
19355 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19356
19357 [BZ #18707]
19358 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19359 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19360
19361 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19362
19363 * sysdeps/unix/sysv/linux/sysdep.h
19364 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19365 guards.
19366 * misc/tst-preadvwritev-common.c: New file.
19367 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19368 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19369 a check for files larger than 2GB.
19370
19371 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19372 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19373 * sysdeps/unix/sysv/linux/pread.c
19374 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19375 __OFF_T_MATCHES_OFF64_T.
19376 * sysdeps/unix/sysv/linux/pread64.c
19377 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19378 * sysdeps/unix/sysv/linux/preadv.c
19379 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19380 * sysdeps/unix/sysv/linux/preadv64.c
19381 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19382 * sysdeps/unix/sysv/linux/pwrite.c
19383 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19384 * sysdeps/unix/sysv/linux/pwrite64.c
19385 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19386 * sysdeps/unix/sysv/linux/pwritev.c
19387 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19388 * sysdeps/unix/sysv/linux/pwritev64.c
19389 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19390
19391 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19392
19393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19394 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19395
19396 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19397
19398 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19399
19400 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19401
19402 [BZ #20240]
19403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19404 (CFLAGS-s_modf-ppc32.c): New variable.
19405 (CFLAGS-s_modff-ppc32.c): Likewise.
19406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19407 (CFLAGS-s_modf-ppc64.c): Likewise.
19408 (CFLAGS-s_modff-ppc64.c): Likewise.
19409
19410 2016-07-07 Andreas Schwab <schwab@suse.de>
19411
19412 [BZ #20263]
19413 * nptl/tst-robust10.c: New test.
19414 * nptl/Makefile (tests): Add tst-robust10.
19415
19416 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19417
19418 [BZ #20263]
19419 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19420
19421 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19422
19423 * sysdeps/s390/linkmap.h (struct link_map_machine):
19424 Remove member gotplt and add member jmprel.
19425 * sysdeps/s390/s390-32/dl-machine.h
19426 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19427 instead of gotplt with &got[3].
19428 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19429 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19430
19431 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19432
19433 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19434
19435 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19436
19437 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19438 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19439 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19440 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19441 * libio/vtables.c (_IO_vtable_check)
19442 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19443 * libio/libioP.h (IO_set_accept_foreign_vtables)
19444 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19445
19446 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19447
19448 [BZ #20314]
19449 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19450 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19451 $(common-objpfx)cmath.
19452 ($(common-objpfx)cstdlib): New target.
19453 ($(common-objpfx)cmath): Likewise.
19454
19455 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19456
19457 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19458
19459 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19460
19461 [BZ #20327]
19462 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19463 are not part of the string.
19464
19465 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19466
19467 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19468 * nptl/tst-cancel4-common.h (fifoname): New variable.
19469 (fifofd): Likewise.
19470 (cl_fifo): New function.
19471 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19472 SIGINT.
19473 (tf_open): Add early cancel test.
19474
19475 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19476
19477 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19478
19479 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19480
19481 * sysdeps/generic/ldsodefs.h
19482 (dl_symbol_visibility_binds_local_p): New inline function.
19483 * elf/dl-addr.c (determine_info): Treat hidden and internal
19484 symbols as local.
19485 * elf/dl-lookup.c (do_lookup_x): Likewise.
19486 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19487
19488 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19489
19490 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19491 invalid exception for a sNaN input.
19492 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19493 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19494 (__nearbyint_vis3): Likewise
19495 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19496 (__nearbyintf_vis3): Likewise
19497 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19498 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19499 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19500 Likewise.
19501 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19502 Likewise.
19503
19504 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19505
19506 [BZ #20139]
19507 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19508 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19509 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19510 2.24 or above.
19511 (HAVE_AVX512_ASM_SUPPORT): Removed.
19512 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19513 * sysdeps/x86_64/configure: Regenerated.
19514 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19515 check unconditional.
19516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19517 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19518 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19519 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19520 Likewise.
19521 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19522 Likewise.
19523 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19524 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19525 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19527 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19528 Likewise.
19529 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19530 Likewise.
19531 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19532 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19533 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19534 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19535 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19536 Likewise.
19537 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19538 Likewise.
19539 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19540 Likewise.
19541 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19542 Likewise.
19543 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19544 Likewise.
19545 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19546 Likewise.
19547 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19548 Likewise.
19549 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19550 Likewise.
19551 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19552 Likewise.
19553 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19554 Likewise.
19555 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19556 Likewise.
19557
19558 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19559
19560 [BZ #20024]
19561 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19562 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19563 of this implementation of vector function.
19564 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19566 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19567 Likewise.
19568 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19569 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19570 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19571 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19572 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19573 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19574 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19575 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19576 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19577 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19578 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19579 for testing vector sincos with fixed ABI.
19580 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19581 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19582 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19583 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19584 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19585 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19586 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19587 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19588 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19589 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19590 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19591 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19592 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19593 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19594 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19595 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19596
19597 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19598
19599 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19600
19601 2016-06-30 Anton Blanchard <anton@samba.org>
19602
19603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19604 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19605 s_sinf-ppc64.
19606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19609 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19610
19611 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19612
19613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19615 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19616 e_expf-ppc64.
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19618 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19619 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19620 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19621
19622 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19623
19624 [BZ #20277]
19625 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19626 when SHARED is defined.
19627
19628 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19629
19630 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19631 (index_arch_Prefer_ERMS): Likewise.
19632 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19633 __memcpy_erms for Prefer_ERMS.
19634 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19635 (__memmove_erms): Enabled for libc.a.
19636 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19637 __memmove_erms or Prefer_ERMS.
19638 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19639 __mempcpy_erms for Prefer_ERMS.
19640 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19641 __memset_erms for Prefer_ERMS.
19642
19643 2016-06-30 Andreas Schwab <schwab@suse.de>
19644
19645 [BZ #20262]
19646 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19647 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19648 of memory.
19649
19650 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19651
19652 [BZ #18645]
19653 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19654 (test-extras): Add tst-cleanupx4aux.
19655 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19656 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19657 tst-cleanupx4aux.o.
19658 * nptl/tst-cleanupx4aux.c: New file.
19659
19660 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19661
19662 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19663
19664 2016-06-29 Andreas Schwab <schwab@suse.de>
19665
19666 [BZ #20260]
19667 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19668 address before the beginning of the string as an integer to avoid
19669 array-bounds warning.
19670
19671 2016-06-28 Richard Henderson <rth@redhat.com>
19672
19673 * elf/elf.h (EM_BPF): New.
19674 (EM_NUM): Update.
19675 (R_BPF_NONE, R_BPF_MAP_FD): New.
19676
19677 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19678 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19679 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19680 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19681 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19682 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19683 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19684 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19685 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19686 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19687 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19688 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19689 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19690 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19691 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19692 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19693 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19694 (EM_NUM): Update.
19695
19696 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19697
19698 [BZ #18960]
19699 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19700 Set _nl_current_LC_CATEGORY_used to two instead of one.
19701
19702 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19703
19704 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19705 (do_test): ... this.
19706 (TEST_FUNCTION): New macro.
19707 Include test-skeleton.c.
19708 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19709 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19710
19711 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19712
19713 [BZ #15479]
19714 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19715 floating-point environment rather than just control word.
19716 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19717 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19718 floating-point environment, with "invalid" exceptions merged in,
19719 rather than just control word.
19720 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19721 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19722 "inexact" exceptions.
19723
19724 [BZ #15479]
19725 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19726 floating-point environment rather than just control word.
19727 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19728 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19729 floating-point environment, with "invalid" exceptions merged in,
19730 rather than just control word.
19731 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19732 * math/libm-test.inc (floor_test_data): Do not allow spurious
19733 "inexact" exceptions.
19734
19735 [BZ #15479]
19736 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19737 floating-point environment rather than just control word.
19738 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19739 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19740 floating-point environment, with "invalid" exceptions merged in,
19741 rather than just control word.
19742 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19743 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19744 "inexact" exceptions.
19745
19746 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19747
19748 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19749 __libc_vfork.
19750 (__vfork) [IS_IN (libc)]: Remove alias.
19751 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19752 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19753 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19754
19755 2016-06-24 Torvald Riegel <triegel@redhat.com>
19756
19757 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19758 of atomic_compare_and_exchange_bool_rel.
19759 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19760 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19761 catomic_compare_and_exchange_bool_rel): Remove.
19762 * sysdeps/aarch64/atomic-machine.h
19763 (atomic_compare_and_exchange_bool_rel): Likewise.
19764 * sysdeps/alpha/atomic-machine.h
19765 (atomic_compare_and_exchange_bool_rel): Likewise.
19766 * sysdeps/arm/atomic-machine.h
19767 (atomic_compare_and_exchange_bool_rel): Likewise.
19768 * sysdeps/mips/atomic-machine.h
19769 (atomic_compare_and_exchange_bool_rel): Likewise.
19770 * sysdeps/microblaze/atomic-machine.h
19771 ( __arch_compare_and_exchange_bool_8_rel,
19772 __arch_compare_and_exchange_bool_16_rel): Likewise.
19773 * sysdeps/powerpc/atomic-machine.h
19774 ( __arch_compare_and_exchange_bool_8_rel,
19775 __arch_compare_and_exchange_bool_16_rel): Likewise.
19776 * sysdeps/powerpc/powerpc32/atomic-machine.h
19777 ( __arch_compare_and_exchange_bool_32_rel,
19778 __arch_compare_and_exchange_bool_64_rel): Likewise.
19779 * sysdeps/powerpc/powerpc64/atomic-machine.h
19780 ( __arch_compare_and_exchange_bool_32_rel,
19781 __arch_compare_and_exchange_bool_64_rel): Likewise.
19782 * sysdeps/tile/atomic-machine.h
19783 (atomic_compare_and_exchange_bool_rel): Likewise.
19784
19785 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19786
19787 [BZ #20296]
19788 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19789 when either argument is a NaN.
19790 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19791 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19792
19793 * math/libm-test.inc (snan_value_ld): New macro.
19794 (isgreater_test_data): Add sNaN tests.
19795 (isgreaterequal_test_data): Likewise.
19796 (isless_test_data): Likewise.
19797 (islessequal_test_data): Likewise.
19798 (islessgreater_test_data): Likewise.
19799 (isunordered_test_data): Likewise.
19800 (nextafter_test_data): Likewise.
19801 (nexttoward_test_data): Likewise.
19802 (remainder_test_data): Likewise.
19803 (remquo_test_data): Likewise.
19804 (significand_test_data): Likewise.
19805 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19806
19807 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19808
19809 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19810 environment macros are defined.
19811 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19812
19813 2016-06-23 Florian Weimer <fweimer@redhat.com>
19814
19815 [BZ #20191]
19816 Implement vtable verification in libio.
19817 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19818 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19819 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19820 _IO_new_file_init_internal instead of _IO_file_init.
19821 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19822 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19823 * libio/Makefile (routines): Add vtables.
19824 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19825 (_IO_init): Remove, not for internal use.
19826 (_IO_init_internal): Declare, internal replacement for _IO_init.
19827 (_IO_file_init): Remove, not for internal use.
19828 (_IO_new_file_init): Remove, not for internal use.
19829 (_IO_new_file_init_internal): Declare, internal replacement for
19830 _IO_new_file_init.
19831 (_IO_old_file_init): Remove, not for internal use.
19832 (_IO_old_file_init_internal): Declare, internal replacement for
19833 _IO_old_file_init.
19834 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19835 internal use.
19836 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19837 Declare.
19838 (libio_vtable): New macro.
19839 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19840 functions.
19841 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19842 _IO_new_file_init.
19843 (_IO_new_file_init): New externally visible wrapper which disables
19844 vtable verification.
19845 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19846 Define as vtables.
19847 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19848 (_IO_init): New externally visible wrapper which disables
19849 vtable verification.
19850 * libio/iofdopen.c (_IO_new_fdopen): Call
19851 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19852 comment.
19853 * libio/iofopen.c (__fopen_internal): Call
19854 _IO_new_file_init_internal instead of _IO_file_init.
19855 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19856 Define as vtables.
19857 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19858 _IO_new_file_init_internal instead of _IO_file_init.
19859 * libio/iopopen.c (_IO_new_popen): Likewise.
19860 (_IO_proc_jumps): Define as vtable.
19861 * libio/iovdprintf.c (_IO_vdprintf): Call
19862 _IO_new_file_init_internal instead of _IO_file_init.
19863 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19864 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19865 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19866 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19867 _IO_old_file_init.
19868 (_IO_old_file_init): New externally visible wrapper which disables
19869 vtable verification.
19870 (_IO_old_file_jumps): Define as vtable.
19871 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19872 _IO_old_file_init_internal instead of _IO_old_file_init.
19873 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19874 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19875 (_IO_old_proc_jumps): Define as vtable.
19876 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19877 Define as vtables.
19878 * libio/vtables.c: New file.
19879 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19880 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19881 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19882 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19883 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19884 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19885 instead of _IO_init.
19886
19887 2016-06-23 Florian Weimer <fweimer@redhat.com>
19888
19889 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19890
19891 2016-06-23 Florian Weimer <fweimer@redhat.com>
19892
19893 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19894 potentially unused.
19895
19896 2016-06-22 Florian Weimer <fweimer@redhat.com>
19897
19898 * test-skeleton.c (write_message): New function.
19899 * malloc/tst-mallocfork2.c (write_message): Remove.
19900 * debug/tst-longjmp_chk2.c (write_indented): New function.
19901 (write_message): Remove.
19902 (stackoverflow_handler): Call write_indented.
19903
19904 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19905
19906 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19907 "inexact" exceptions after fnstenv.
19908 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19909 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19910 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19911
19912 2015-06-22 Zack Weinberg <zackw@panix.com>
19913
19914 * sysdeps/generic/bits/hwcap.h: Moved to ...
19915 * bits/hwcap.h: Here.
19916
19917 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19918
19919 * sysdeps/aarch64/memcpy.S (memcpy):
19920 Further tuning for performance.
19921
19922 2016-06-21 Florian Weimer <fweimer@redhat.com>
19923
19924 [BZ #20284]
19925 * malloc/arena.c (reused_arena): Do not return NULL if we start
19926 out with a non-corrupted arena.
19927
19928 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19929
19930 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19931 * misc/tst-preadvwritev.c: New file.
19932 * misc/tst-preadvwritev64.c: Likewise.
19933 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19934 usage.
19935 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19936 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19937 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19938 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19939
19940 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19941
19942 [BZ #19654]
19943 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19944 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19945 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19946 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19947 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19948 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19949 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19950 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19951 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19952 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19953 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19954 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19955 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19956 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19957 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19958 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19959 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19960 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19961 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19962 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19963 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19964 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19965 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19966 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19967 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19968 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19969
19970 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19971
19972 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19973 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19974
19975 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19976
19977 * sysdeps/aarch64/memcpy.S (memcpy):
19978 Rewrite of optimized memcpy and memmove.
19979 * sysdeps/aarch64/memmove.S (memmove): Remove
19980 memmove code (merged into memcpy.S).
19981
19982 2016-06-20 Florian Weimer <fweimer@redhat.com>
19983
19984 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19985 * sysdeps/generic/dl-dtv.h: New file.
19986 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19987 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19988 (dtv_t): Remove.
19989 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19990 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19991 (dtv_t): Remove.
19992 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19993 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19994 (dtv_t): Remove.
19995 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19996 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19997 (dtv_t): Remove.
19998 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19999 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
20000 (dtv_t): Remove.
20001 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20002 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
20003 (dtv_t): Remove.
20004 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20005 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
20006 (dtv_t): Remove.
20007 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
20008 (dtv_t): Remove.
20009 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20010 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
20011 (dtv_t): Remove.
20012 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20013 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
20014 (dtv_t): Remove.
20015 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20016 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
20017 (dtv_t): Remove.
20018 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20019 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
20020 (dtv_t): Remove.
20021 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20022 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
20023 (dtv_t): Remove.
20024 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20025 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
20026 (dtv_t): Remove.
20027 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20028 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
20029 (dtv_t): Remove.
20030 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20031 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
20032 (dtv_t): Remove.
20033
20034 2016-06-20 Florian Weimer <fweimer@redhat.com>
20035
20036 Revert symbol poisoning of __malloc_initialize_hook.
20037 * include/stdc-predef.h (__malloc_initialize_hook): Remove
20038 poisoning.
20039 * malloc/Makefile: Remove un-poisoning.
20040 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
20041 instead of old__malloc_initialize_hook.
20042 * malloc/malloc-hooks.h: Likewise.
20043 * malloc/malloc.c: Likewise.
20044 * malloc/mcheck-init.c: Likewise.
20045
20046 2016-06-19 Carlos O'Donell <carlos@redhat.com>
20047
20048 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
20049
20050 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
20051
20052 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
20053 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
20054 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
20055 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
20056
20057 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20058
20059 * NEWS: Mention addition of nextup and nextdown.
20060 * manual/arith.texi: Document nextup and nextdown.
20061 * manual/libm-err-tab.pl: Add nextup and nextdown.
20062 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
20063 * math/Versions (libm): Add GLIBC_2.24.
20064 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
20065 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20066 Add new test.
20067 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
20068 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
20069 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
20070 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
20071 (nextup_test_data): Likewise.
20072 (nextdown_test_data): Likewise.
20073 * math/s_nextdown.c: New file.
20074 * math/s_nextdownf.c: Likewise.
20075 * math/s_nextdownl.c: Likewise.
20076 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
20077 F(nextup): New function.
20078 F(nextdown): Likewise.
20079 * math/tgmath.h: Add nextup and nextdown.
20080 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
20081 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
20082 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
20083 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
20084 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
20085 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
20086 Add nextup and nextdown.
20087 (CFLAGS-nldbl-nextup.c): New variable.
20088 (CFLAGS-nldbl-nextdown.c): Likewise.
20089 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
20090 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
20091 * sysdeps/nacl/libm.abilist: Update.
20092 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20093 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20094 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20095 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20096 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20097 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20098 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20099 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20100 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20101 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20103 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20106 Likewise.
20107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20109 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20110 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20111 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20112 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20113 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
20115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
20116 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20117 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20118 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
20119 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20120
20121 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20122
20123 * manual/pattern.texi: Fix typos & grammar errors.
20124
20125 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20126
20127 * manual/search.texi: Fix typos & grammar errors.
20128
20129 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20130
20131 * manual/message.texi: Fix typos & grammar errors.
20132
20133 2016-06-16 Mike Frysinger <vapier@gentoo.org>
20134
20135 * manual/contrib.texi: Fix spelling typos.
20136 * manual/crypt.texi: Likewise.
20137 * manual/filesys.texi: Likewise.
20138 * manual/locale.texi: Likewise.
20139 * manual/message.texi: Likewise.
20140 * manual/nss.texi: Likewise.
20141 * manual/string.texi: Likewise.
20142
20143 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20144
20145 * manual/locale.texi: Fix typos & grammar errors.
20146
20147 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20148
20149 * manual/charset.texi: Fix typos & grammar errors.
20150
20151 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20152
20153 * manual/string.texi: Fix typos.
20154
20155 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20156
20157 * manual/ctype.texi: Fix typos.
20158
20159 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20160
20161 * manual/memory.texi: Fix various typos & grammar errors.
20162
20163 2016-06-14 Joseph Myers <joseph@codesourcery.com>
20164
20165 [BZ #20255]
20166 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
20167 * math/libm-test.inc (fdim_test_data): Add another test.
20168
20169 [BZ #6796]
20170 [BZ #20255]
20171 [BZ #20256]
20172 * math/s_fdim.c: Include <math_private.h>.
20173 (__fdim): Use math_narrow_eval on result.
20174 * math/s_fdimf.c: Include <math_private.h>.
20175 (__fdimf): Use math_narrow_eval on result.
20176 * sysdeps/i386/fpu/s_fdim.S: Remove file.
20177 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20178 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20179 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20180 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20181 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20182 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20183 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20184 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20185 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20186 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20187 * math/libm-test.inc (fdim_test_data): Expect errno setting on
20188 overflow. Add sNaN tests.
20189
20190 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20191 fpclassify.
20192 * math/s_fdimf.c (__fdimf): Likewise.
20193 * math/s_fdiml.c (__fdiml): Likewise.
20194
20195 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20196
20197 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20198 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20200 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20201 ifunc'ed strcasecmp/strncasecmp.
20202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20203 [EALIGN]: Removed.
20204 [END]: Likewise.
20205 [__strcasecmp]: Define instead of the above to control symbol name.
20206 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20207 for __strcasecmp_power8.
20208 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20209 for __strncasecmp_power8.
20210 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20211 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20212 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20213 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20214 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20215 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20216
20217 2016-06-13 Joseph Myers <joseph@codesourcery.com>
20218
20219 [BZ #20252]
20220 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20221 arguments when second argument is a NaN.
20222 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20223 qNaN tests.
20224
20225 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20226 (conj_test_data): Likewise.
20227 (copysign_test_data): Likewise.
20228 (creal_test_data): Likewise.
20229 (fma_test_data): Likewise.
20230 (fmod_test_data): Likewise.
20231
20232 [BZ #20250]
20233 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20234 itself.
20235 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20236 zero input to itself.
20237 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20238 Likewise.
20239 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20240 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20241 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20242 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20243 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20244
20245 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20246
20247 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20248 * nptl/tst-cancel4-common.c: New file.
20249 * nptl/tst-cancel4-common.h: Likewise.
20250 * nptl/tst-cancel4.c: Move common definitions to
20251 tst-cancel4-common.{c,h} file.
20252 * nptl/tst-cancel4_1.c: New test.
20253 * nptl/tst-cancel4_2.c: New test.
20254
20255 2016-06-13 Florian Weimer <fweimer@redhat.com>
20256
20257 [BZ #20248]
20258 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20259 (write_message): New function.
20260 (stackoverflow_handler): Call it instead of printf, to avoid
20261 excessive stack usage by printf.
20262 (do_test): Restore SIGSEGV, SIGBUS default handlers.
20263
20264 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20265
20266 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20267 (prio_inherit_missing): Remove define.
20268 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20269 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20270 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20271 Likewise.
20272 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20273 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20274 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20275 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20276 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20277 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20278
20279 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20280
20281 [BZ #19670]
20282 [BZ #19672]
20283
20284 * io/test-lfs.c (do_prepare): Use xmalloc.
20285 * io/tst-fcntl.c (do_prepare): Likewise.
20286 * libio/tst-fopenloc.c (do_bz17916): Likewise.
20287 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20288 * login/tst-utmp.c (do_prepare): Likewise.
20289 * posix/tst-exec.c (do_prepare): Likewise.
20290 * posix/tst-pathconf.c (prepare): Likewise.
20291 * posix/tst-spawn.c (do_prepare): Likewise.
20292 * posix/tst-truncate.c (do_prepare): Likewise.
20293 * rt/tst-aio.c (do_prepare): Likewise.
20294 * rt/tst-aio64.c (do_prepare): Likewise.
20295
20296 2016-06-11 Florian Weimer <fweimer@redhat.com>
20297
20298 [BZ #20237]
20299 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20300 (get*ent): Set entidx to NULL during initialization. If entidx is
20301 NULL, start iteration from the beginning.
20302
20303 2016-06-11 Florian Weimer <fweimer@redhat.com>
20304
20305 * malloc/malloc.c (musable): Return correct size for dumped fake
20306 mmapped chunk.
20307
20308 2016-06-11 Florian Weimer <fweimer@redhat.com>
20309
20310 [BZ #20222]
20311 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20312 (_IO_cookie_write): Likewise.
20313 (_IO_cookie_seek): Likewise.
20314 (_IO_cookie_close): Likewise.
20315 (_IO_old_cookie_seek): Likewise.
20316 (set_callbacks): New function.
20317 (_IO_cookie_init): Call set_callbacks to copy callbacks.
20318
20319 2016-06-11 Marko Myllynen <myllynen@redhat.com>
20320
20321 * locale/programs/localedef.c (oldstyle_tables): Remove.
20322 * locale/programs/localedef.h (oldstyle_tables): Likewise.
20323
20324 2016-06-10 Joseph Myers <joseph@codesourcery.com>
20325
20326 [BZ #20240]
20327 * math/Makefile (CFLAGS-s_modf.c): New variable.
20328 (CFLAGS-s_modff.c): Likewise.
20329 (CFLAGS-s_modfl.c): Likewise.
20330 * math/libm-test.inc (modf_test_data): Add sNaN tests.
20331
20332 2016-06-09 Carlos O'Donell <carlos@redhat.com>
20333
20334 [BZ #20215]
20335 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20336 [!__GNUC_PREREQ (3,2)]: Likewise.
20337
20338 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
20339
20340 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20341 (msghdr.msg_controllen): Likewise.
20342 (cmsghdr.cmsg_len): Likewise.
20343 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20344 ptw-oldsendmsg.
20345 (CFLAGS-oldrecvmsg.c): Remove rule.
20346 (CFLAGS-oldsendmsg.c): Likewise.
20347 (CFLAGS-recvmsg.c): Add rule.
20348 (CFLAGS-sendmsg.c): Likewise.
20349 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20350 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20351 (CFLAGS-recvmsg.c): Remove rule.
20352 (CFLAGS-sendmsg.c): Likewise.
20353 (CFLAGS-oldrecvmsg.c): Likewise.
20354 (CFLAGS-oldsendmsg.c): Likewise.
20355 (CFLAGS-recvmmsg.c): Likewise.
20356 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20357 to kernel defined interfaces.
20358 (msghdr.msg_controllen): Likewise.
20359 (cmsghdr.cmsg_len): Likewise.
20360 (msghdr.__glibc_reserved1): Remove member.
20361 (msghdr.__glibc_reserved2): Likewise.
20362 (cmsghdr.__glibc_reserved1): Likewise.
20363 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20364 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20365 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20366 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20367 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20368 version.
20369 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20370 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20371 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20372 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20373 Remove recvmsg and sendmsg.
20374 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20375 Likewise.
20376 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20377 Likewise.
20378 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20379 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20380 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20381 Likewise.
20382 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20383 Likewise.
20384 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20385 [libc] (GLIBC_2.24): Likewise.
20386 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20387 Likewise.
20388 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20389 Likewise.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20391 [libc] (GLIBC_2.24): Likewise.
20392 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20393 Likewise.
20394 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20395 Likewise.
20396 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20397 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20398 Likewise.
20399 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20400 Likewise.
20401 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20402 Likewise.
20403 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20404 Likewise.
20405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20406 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20407 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20408 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20409 version for {recv,send,recm,sendm}msg.
20410 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20412 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20418 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20419 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20420 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20421 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20423 Likewise.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20425 Likewise.
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20428 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20430 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20431 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20432 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20433 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20436 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20438 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20439
20440 2016-06-10 Florian Weimer <fweimer@redhat.com>
20441
20442 [BZ #19564]
20443 Remove __malloc_initialize_hook from the API.
20444 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20445 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20446 #pragma GCC poison.
20447 * malloc/malloc-hooks.h: New file.
20448 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20449 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20450 (old__malloc_initialize_hook): Rename from
20451 __malloc_initialize_hook to evade poisoning. Turn into compat
20452 symbol.
20453 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20454 __malloc_initialize_hook.
20455 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20456 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20457 * manual/memory.texi (Hooks for Malloc): Remove
20458 __malloc_initialize_hook. Adjust hook example.
20459
20460 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20461
20462 [BZ #20235]
20463 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20464 itself.
20465 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20466 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20467
20468 [BZ #20234]
20469 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20470 infinity or NaN input to itself.
20471
20472 [BZ #20233]
20473 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20474 to itself.
20475
20476 [BZ #20232]
20477 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20478 itself.
20479
20480 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20481
20482 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20483 __libc_start_main via GOT.
20484
20485 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20486
20487 * sysdeps/x86_64/memcopy.h: New file.
20488 * sysdeps/x86_64/wordcopy.c: Likewise.
20489
20490 2016-06-09 Florian Weimer <fweimer@redhat.com>
20491
20492 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20493 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20494 <cstdlib>.
20495 (optimization_barrier): New.
20496 (do_test): Use it. Call quick_exit in the global namespace.
20497 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20498 instead of <cstdlib>, <thread>.
20499 (optimization_barrier): New.
20500 (non_main_thread): Adjust declaration. Call optimization_barrier.
20501 Call quick_exit in the global namespace.
20502 (do_test): Call optimization_barrier. Use pthread_create,
20503 pthread_join instead of std::thread.
20504
20505 2016-06-09 Andreas Schwab <schwab@suse.de>
20506
20507 [BZ #19755]
20508 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20509 new entries in auto-propagate mode.
20510 * nscd/grpcache.c (cache_addgr): Likewise.
20511
20512 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20513
20514 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20515 New functions.
20516 (add_temp_file): Use them.
20517
20518 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20519
20520 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20521
20522 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20523
20524 [BZ #20229]
20525 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20526 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20527 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20528
20529 [BZ #20228]
20530 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20531 itself.
20532 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20533 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20534
20535 [BZ #20227]
20536 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20537 itself.
20538 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20539 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20540 * math/libm-test.inc (log_test_data): Add sNaN tests.
20541
20542 [BZ #20226]
20543 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20544 itself.
20545 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20546 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20547 (exp10_test_data): Likewise.
20548 (expm1_test_data): Likewise.
20549
20550 [BZ #20225]
20551 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20552 itself.
20553 * math/s_ldexpf.c (__ldexpf): Likewise.
20554 * math/s_ldexpl.c (__ldexpl): Likewise.
20555 * math/w_scalbln.c (__w_scalbln): Likewise.
20556 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20557 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20558 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20559 (scalbln_test_data): Likewise.
20560
20561 [BZ #20224]
20562 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20563 argument to itself.
20564 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20565
20566 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20567
20568 [BZ #19776]
20569 * sysdeps/x86_64/memcpy.S: Make it dummy.
20570 * sysdeps/x86_64/mempcpy.S: Likewise.
20571 * sysdeps/x86_64/memmove.S: New file.
20572 * sysdeps/x86_64/memmove_chk.S: Likewise.
20573 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20574 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20575 * sysdeps/x86_64/memmove.c: Removed.
20576 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20577 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20578 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20579 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20580 Likewise.
20581 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20582 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20584 memcpy-sse2-unaligned, memmove-avx-unaligned,
20585 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20587 (__libc_ifunc_impl_list): Replace
20588 __memmove_chk_avx512_unaligned_2 with
20589 __memmove_chk_avx512_unaligned. Remove
20590 __memmove_chk_avx_unaligned_2. Replace
20591 __memmove_chk_sse2_unaligned_2 with
20592 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20593 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20594 with __memmove_avx512_unaligned. Replace
20595 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20596 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20597 with __memcpy_chk_avx512_unaligned. Remove
20598 __memcpy_chk_avx_unaligned_2. Replace
20599 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20600 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20601 Replace __memcpy_avx512_unaligned_2 with
20602 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20603 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20604 with __mempcpy_chk_avx512_unaligned. Remove
20605 __mempcpy_chk_avx_unaligned_2. Replace
20606 __mempcpy_chk_sse2_unaligned_2 with
20607 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20608 Replace __mempcpy_avx512_unaligned_2 with
20609 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20610 Replace __mempcpy_sse2_unaligned_2 with
20611 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20612 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20613 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20614 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20615 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20616 (ENTRY): Removed.
20617 (END): Likewise.
20618 (ENTRY_CHK): Likewise.
20619 (libc_hidden_builtin_def): Likewise.
20620 Don't include ../memcpy.S.
20621 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20622 __memcpy_chk_avx512_unaligned_erms and
20623 __memcpy_chk_avx512_unaligned. Use
20624 __memcpy_chk_avx_unaligned_erms and
20625 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20626 Default to __memcpy_chk_sse2_unaligned.
20627 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20628 Change function suffix from unaligned_2 to unaligned.
20629 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20630 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20631 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20632 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20633 (ENTRY): Removed.
20634 (END): Likewise.
20635 (ENTRY_CHK): Likewise.
20636 (libc_hidden_builtin_def): Likewise.
20637 Don't include ../mempcpy.S.
20638 (mempcpy): New. Add a weak alias.
20639 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20640 __mempcpy_chk_avx512_unaligned_erms and
20641 __mempcpy_chk_avx512_unaligned. Use
20642 __mempcpy_chk_avx_unaligned_erms and
20643 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20644 Default to __mempcpy_chk_sse2_unaligned.
20645
20646 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20647
20648 [BZ #19881]
20649 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20650 into ...
20651 * sysdeps/x86_64/memset.S: This.
20652 (__bzero): Removed.
20653 (__memset_tail): Likewise.
20654 (__memset_chk): Likewise.
20655 (memset): Likewise.
20656 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20657 defined.
20658 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20659 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20660 (__memset_zero_constant_len_parameter): Check SHARED instead of
20661 PIC.
20662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20663 memset-avx2 and memset-sse2-unaligned-erms.
20664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20665 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20666 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20667 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20668 (__bzero): Enabled.
20669 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20670 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20671 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20672 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20673 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20674 (memset): Removed.
20675 (__memset_chk): Likewise.
20676 (MEMSET_SYMBOL): New.
20677 (libc_hidden_builtin_def): Replace __memset_sse2 with
20678 __memset_sse2_unaligned.
20679 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20680 __memset_chk_sse2 and __memset_chk_avx2 with
20681 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20682 Use __memset_chk_sse2_unaligned_erms or
20683 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20684 __memset_chk_avx512_unaligned_erms and
20685 __memset_chk_avx512_unaligned.
20686
20687 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20688
20689 * math/gen-auto-libm-test.c (fp_format_desc): remove
20690 suffix member.
20691 (output_generic_value): Remove usage of suffix member,
20692 and the resulting unuse of the fp_format argument.
20693 (output_for_one_input_case): Remove unused fp_format
20694 parameter.
20695
20696 * math/auto-libm-test-out: Regenerate.
20697
20698 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20699 usage with TEST_COND_ibm128.
20700 (TEST_COND_flt_32): Remove.
20701 (TEST_COND_dbl_64): Remove.
20702 (TEST_COND_ldbl_96_intel): Remove.
20703 (TEST_COND_ldbl_96_m68k): Remove.
20704 (TEST_COND_ldbl_128): Remove.
20705
20706 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20707
20708 * auto-libm-test-in:
20709 Replace flt-32 usage with binary32.
20710 Replace dbl-64 usage with binary64.
20711 Replace ldbl-intel-96 usage with intel96.
20712 Replace ldbl-m68k-96 usage with m68k96.
20713 Replace ldbl-128ibm usage with ibm128.
20714 Replace ldbl-128 usage with binary128.
20715
20716 * auto-libm-test-out: Regenerate.
20717
20718 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20719
20720 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20721 (parse_ulps): Dynamically generate type name matching
20722 string from all_floats.
20723 (get_ulps): Generate the ulps as an array instead.
20724 (output_ulps): Dynamically compose the type based
20725 on the number of supported formats, and print
20726 the indices as type specific helper macros.
20727
20728 * math/libm-test.inc: Remove comment about CHOOSE.
20729 (ulp_data): Generate the type in libm-test-ulps.h.
20730 (ULP_IDX): New macro.
20731 (find_ulps): Update usage of max_ulp.
20732
20733 * math/test-double-vlen2.h (CHOOSE): Remove.
20734 * math/test-double-vlen4.h (CHOOSE): Likewise.
20735 * math/test-double-vlen8.h (CHOOSE): Likewise.
20736 * math/test-float.c (CHOOSE): Likewise.
20737 * math/test-float-finite.c (CHOOSE): Likewise.
20738 * math/test-double.c (CHOOSE): Likewise.
20739 * math/test-double-finite.c (CHOOSE): Likewise.
20740 * math/test-idouble.c (CHOOSE): Likewise.
20741 * math/test-ifloat.c (CHOOSE): Likewise.
20742 * math/test-ildoubl.c (CHOOSE): Likewise.
20743 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20744 * math/test-ldouble.c (CHOOSE): Likewise.
20745
20746 * math/test-float.h (TEST_FLOAT): Remove.
20747 * math/test-double.h (TEST_DOUBLE): Likewise.
20748 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20749
20750 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20751
20752 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20753 (parse_args): Strip C suffix from floating point literals
20754 typed with 'f' and wrap them with LIT().
20755
20756 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20757 (test_ff_f_data_nexttoward): Rename to
20758 (test_fj_f_data): New struct.
20759 (nexttoward_test_data): Relabel tests as
20760 TEST_fj_f instead of TEST_ff_f.
20761
20762 2016-06-08 Florian Weimer <fweimer@redhat.com>
20763
20764 Emacs bug 23726.
20765 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20766 (__libc_realloc): Correct size computation for dumped fake mmapped
20767 chunks.
20768
20769 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20770
20771 [BZ #20219]
20772 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20773 to itself.
20774 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20775
20776 [BZ #20218]
20777 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20778 to itself.
20779 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20780
20781 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20782
20783 [BZ #20195]
20784 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20785 check to ...
20786 (init_cpu_features): Here.
20787
20788 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20789
20790 [BZ #20214]
20791 * sysdeps/unix/sysv/linux/bits/in.h
20792 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20793 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20794 Define to 1.
20795 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20796 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20797 Define to 0.
20798 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20799 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20800
20801 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20802
20803 [BZ #20198]
20804 * stdlib/Makefile (tests): Add tst-quick_exit, and
20805 tst-thread-quick_exit.
20806 [ifeq ($(have-cxx-thread_local),yes)]
20807 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20808 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20809 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20810 (LDLIBS-tst-thread-quick_exit): Likewise.
20811 [ifneq ($(have-cxx-thread_local),yes)]
20812 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20813 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20814 If run_dtors is true call __call_tls_dtors.
20815 (exit): Call __run_exit_handlers with run_dtors set to true.
20816 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20817 definition.
20818 * stdlib/quick_exit.c (quick_exit): Remove function.
20819 (__new_quick_exit): New function.
20820 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20821 function.
20822 * stdlib/tst-quick_exit.cc: New file.
20823 * stdlib/tst-thread-quick_exit.cc: New file.
20824 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20825 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20826 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20827 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20828 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20829 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20830 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20831 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20832 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20833 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20834 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20835 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20836 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20837 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20838 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20839 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20844 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20845 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20846 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20847 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20848 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20851 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20852 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20853 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20854
20855 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20856
20857 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20858 a typo in comments.
20859
20860 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20861
20862 [BZ #20213]
20863 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20864 argument to itself.
20865 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20866
20867 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20868
20869 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20870 required flags.
20871 (CFLAGS-pwritev64.c): Likewise.
20872 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20873 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20874 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20875 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20876 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20877 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20878 syscall from auto-generation.
20879 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20880 [WORDSIZE == 64] (pwritev64): Remove macro.
20881 [!PWRITEV] (PWRITEV): Likewise.
20882 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20883 [!PWRITEV] (PWRITE): Likewise.
20884 [!PWRITEV] (OFF_T): Likewise.
20885 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20886 (LO_HI_LONG): Remove macro.
20887 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20888 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20889 (PWRITEV): Remove macro.
20890 (PWRITEV_REPLACEMENTE): Likewise.
20891 (PWRITE): Likewise.
20892 (OFF_T): Likewise.
20893 (pwritev64): New function.
20894 * nptl/tst-cancel4.c (tf_writev): Add test.
20895
20896 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20897 required flags.
20898 (CFLAGS-preadv64.c): Likewise.
20899 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20900 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20901 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20902 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20903 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20905 syscall from auto-generation.
20906 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20907 [WORDSIZE == 64] (preadv64): Remove macro.
20908 [!PREADV] (PREADV): Likewise.
20909 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20910 [!PREADV] (PREAD): Likewise.
20911 [!PREADV] (OFF_T): Likewise.
20912 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20913 (LO_HI_LONG): Remove macro.
20914 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20915 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20916 (PREADV): Remove macro.
20917 (PREADV_REPLACEMENTE): Likewise.
20918 (PREAD): Likewise.
20919 (OFF_T): Likewise.
20920 (preadv64): New function.
20921 * nptl/tst-cancel4.c (tf_preadv): Add test.
20922
20923 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20924
20925 [BZ #20212]
20926 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20927 argument to itself.
20928 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20929
20930 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20931
20932 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20933 New symbol defined as libc_hidden_def.
20934 (strcasestr): Became a weak alias to __strcasestr.
20935 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20936 according to multi-arch support. Move __stpncpy hidden
20937 definition from here to...
20938 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20939 symbol stpncpy.
20940 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20941 libc_hidden_builtin_def.
20942 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20943 memset symbol to use when multi-arch support is available.
20944
20945 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20946
20947 * dlfcn/tst-rec-dlopen.c: Include string.h.
20948
20949 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20950
20951 * manual/install.texi: Remove mention of --without-tls
20952 * INSTALL: Regenerate.
20953
20954 2016-06-05 Florian Weimer <fweimer@redhat.com>
20955
20956 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20957 Remove.
20958 (call_function, interposed_malloc_called): New variables.
20959 (malloc): New function.
20960 (do_test): Do not change malloc hooks. Initialize malloc. Set
20961 and clear call_function as needed.
20962
20963 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20964
20965 * include/wchar.h (__wmemset): Use __typeof.
20966
20967 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20968
20969 * include/wchar.h (__wmemset): Declare function without typeof.
20970
20971 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20972
20973 [BZ #20205]
20974 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20975 exponent when incrementing negative subnormal with low mantissa
20976 word zero.
20977 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20978 Add another test.
20979
20980 2016-06-03 Florian Weimer <fweimer@redhat.com>
20981
20982 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20983 __wmemset instead of wmemset.
20984
20985 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20986
20987 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20988 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20989 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20990 __USE_KERNEL_IPV6_DEFS to 0.
20991 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20992 Update comment.
20993
20994 2016-06-01 Florian Weimer <fweimer@redhat.com>
20995
20996 [BZ #19861]
20997 Do not use IFUNC resolver with potentially unrelocated symbol.
20998 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20999 (DEFINE_FORK): Remove macro and inline definition.
21000 (fork_alias): Renamed from fork_ifunc.
21001 (__fork_alias): Renamed from __fork_ifunc.
21002
21003 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
21004
21005 [BZ 19653]
21006 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
21007 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
21008
21009 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21010
21011 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
21012 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
21013 i386-linux-gnu).
21014 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
21015 Set to no.
21016 * sysdeps/mach/hurd/configure: Refresh.
21017
21018 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21019
21020 [BZ #20178]
21021 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
21022 on failure instead of exit.
21023
21024 2016-05-30 Roland McGrath <roland@hack.frob.com>
21025
21026 [BZ #3629]
21027 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
21028 of POSIX.1-2008.
21029
21030 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21031
21032 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
21033 Use PLT entry for calling _hurd_self_sigstate.
21034
21035 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
21036
21037 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
21038 available logical processors with SMT level type sharing L2
21039 cache for Intel processors.
21040
21041 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21042
21043 [BZ #20160]
21044 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
21045 argument to itself before returning the result.
21046 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21047 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21048 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21050 Likewise.
21051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21052 Likewise.
21053 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
21054 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
21055 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21056 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21057 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21058 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21059
21060 [BZ #20160]
21061 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
21062 argument to itself before returning the result.
21063 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21064 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21065 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21066 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
21067 Likewise.
21068 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21069 Likewise.
21070 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
21071 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
21072 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
21073 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21074 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21075 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21076
21077 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21078
21079 * libm-test.inc: Replace usage of M_El with
21080 (lit_e): New macro.
21081
21082 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21083
21084 * libm-test.inc: Replace usage of M_PI_4l with
21085 (lit_pi_4_d): New macro.
21086
21087 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21088
21089 * libm-test.inc: Replace usage of M_PIl with
21090 (lit_pi): New macro.
21091
21092 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21093
21094 * libm-test.inc: Replace usage of M_PI2l with
21095 (lit_pi_2_d): New macro.
21096
21097 * math/test-double.h (LITM): New macro.
21098 * math/test-float.h (LITM): Likewise.
21099 * math/test-ldouble.h (LITM): Likewise.
21100
21101 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21102
21103 * libm-test.inc (M_PI_34l): Rename to
21104 (lit_pi_3_m_4_d): New Macro.
21105 (M_PI_34_LOG10El): Rename to
21106 (lit_pi_3_m_4_ln10_m_d): New Macro.
21107 (M_PI2_LOG10El): Rename to
21108 (lit_pi_2_ln10_m_d): New Macro.
21109 (M_PI4_LOG10El): Rename to
21110 (lit_pi_4_ln10_m_d): New Macro.
21111 (M_PI_LOG10El): Rename to
21112 (lit_pi_ln10_d): New Macro.
21113
21114 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21115
21116 [BZ #20157]
21117 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
21118 determine whether to negate low half if [_ARCH_PPCGR], and integer
21119 comparison otherwise.
21120 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
21121 determine whether to negate low half.
21122
21123 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
21124 (NO_TEST_INLINE_DOUBLE): Likewise.
21125 (TEST_COND_x86_64): Likewise.
21126 (TEST_COND_x86): Likewise.
21127 (M_PI_6l): Likewise.
21128
21129 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21130
21131 * math/libm-test.inc:
21132 (TEST_FLOAT): Change usage to TEST_COND_binary32.
21133 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21134 (TEST_LDOUBLE): Update usage to evaluate as true if
21135 the guarded tests match the property being tested.
21136 (LDBL_MAX_EXP): Change to MAX_EXP.
21137 (LDBL_MIN_EXP): Change to MIN_EXP.
21138 (LDBL_MANT_DIG): Change to MANT_DIG, except for
21139 nexttoward tests.
21140
21141 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21142
21143 * math/libm-test.inc:
21144 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21145 (TYPE_MIN): Likewise.
21146 (TYPE_TRUE_MIN): Likewise.
21147 (TYPE_MAX): Likewise.
21148 (MIN_EXP): Likewise.
21149 (MAX_EXP): Likewise.
21150 (MANT_DIG): Likewise.
21151
21152 (FSTR_MAX): New macro.
21153 (__CONCATX): Likewise.
21154 (QTYPE_STR): Likewise.
21155 (TEST_COND_binary32): Likewise.
21156 (TEST_COND_binary64): Likewise.
21157 (TEST_COND_binary128): Likewise.
21158 (TEST_COND_ibm128): Likewise.
21159 (TEST_COND_intel96): Likewise.
21160 (TEST_COND_m68k96): Likewise.
21161
21162 (TEST_COND_flt_32): Redefine as equivalent format test macro.
21163 (TEST_COND_dbl_64): Likewise.
21164 (TEST_COND_ldbl_96_intel): Likewise.
21165 (TEST_COND_ldbl_96_m68k): Likewise.
21166 (TEST_COND_ldbl_128): Likewise.
21167 (TEST_COND_ldbl_128ibm): Likewise.
21168
21169 (plus_zero): Redefine using LIT macro.
21170 (minus_zero): Likewise.
21171 (plus_infty): Redefine as (INF).
21172 (minux_infty): Redefine as (-INF).
21173 (max_value): Redefine as TYPE_MAX.
21174 (min_value): Redefine as TYPE_MIN.
21175 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21176
21177 (print_float): Refactor to use snprintf to convert FLOAT values
21178 to string. This brings it closer to dropin replacement of strtof
21179 for the TS 18661 defined types.
21180 (update_stats): Likewise.
21181 (print_complex_function_ulps): Likewise.
21182 (print_max_error): Likewise.
21183 (print_complex_max_error): Likewise.
21184 (check_float_internal): Likewise.
21185
21186 * math/test-float.h (PREFIX): New macro.
21187 (LIT): Likewise.
21188 (TYPE_STR): Likewise.
21189 (FTOSTR): Likewise.
21190
21191 * math/test-double.h (PREFIX): New macro.
21192 (LIT): Likewise.
21193 (TYPE_STR): Likewise.
21194 (FTOSTR): Likewise.
21195
21196 * math/test-ldouble.h (PREFIX): New macro.
21197 (LIT): Likewise.
21198 (TYPE_STR): Likewise.
21199 (FTOSTR): Likewise.
21200
21201 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21202
21203 [BZ #20156]
21204 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21205 to itself when zero or not finite.
21206 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21207 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21208 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21209 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21210
21211 2016-05-26 Joseph Myers <joseph@codesourcery.com>
21212
21213 [BZ #20153]
21214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21215 x * x + x for infinities and NaNs.
21216
21217 [BZ #20151]
21218 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21219 argument to itself before returning result.
21220 (__ieee754_y0l): Likewise.
21221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21222 (__ieee754_y1l).
21223
21224 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21225 (atan_test_data): Likewise.
21226 (ceil_test_data): Likewise.
21227 (cos_test_data): Likewise.
21228 (cosh_test_data): Likewise.
21229 (erf_test_data): Likewise.
21230 (exp2_test_data): Likewise.
21231 (fabs_test_data): Likewise.
21232 (floor_test_data): Likewise.
21233 (ilogb_test_data): Likewise.
21234 (j0_test_data): Likewise.
21235 (j1_test_data): Likewise.
21236 (jn_test_data): Likewise.
21237 (lgamma_test_data): Likewise.
21238 (lrint_test_data): Likewise.
21239 (llrint_test_data): Likewise.
21240 (logb_test_data): Likewise.
21241 (lround_test_data): Likewise.
21242 (llround_test_data): Likewise.
21243 (nearbyint_test_data): Likewise.
21244 (rint_test_data): Likewise.
21245 (round_test_data): Likewise.
21246 (sin_test_data): Likewise.
21247 (sincos_test_data): Likewise.
21248 (sinh_test_data): Likewise.
21249 (sqrt_test_data): Likewise.
21250 (tan_test_data): Likewise.
21251 (tanh_test_data): Likewise.
21252 (tgamma_test_data): Likewise.
21253 (trunc_test_data): Likewise.
21254 (y0_test_data): Likewise.
21255 (y1_test_data): Likewise.
21256 (yn_test_data): Likewise.
21257
21258 * math/libm-test.inc: Update comment about NaN testing.
21259 (TEST_SNAN): New macro.
21260 (snan_value): Likewise.
21261 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21262 (fpclassify_test_data): Add sNaN tests.
21263 (isfinite_test_data): Likewise.
21264 (isinf_test_data): Likewise.
21265 (isnan_test_data): Likewise.
21266 (isnormal_test_data): Likewise.
21267 (issignaling_test_data): Likewise.
21268 (signbit_test_data): Likewise.
21269 * math/gen-libm-test.pl (%beautify): Add snan_value.
21270 (show_exceptions): Add argument $test_snan.
21271 (parse_args): Handle snan_value as non-finite. Update call to
21272 show_exceptions.
21273 * math/Makefile (libm-test-no-inline-cflags): Add
21274 -fsignaling-nans.
21275
21276 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21277
21278 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21279 (CFLAGS-oldsendmsg.c): Add rule.
21280 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21281 Correct recvmsg symbol name.
21282 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21283 Likewise.
21284
21285 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21286
21287 * sysdeps/unix/sysv/linux/Makefile
21288 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21289 oldsendmmsg.
21290 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21291 sendmmsg.
21292 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21293 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21294 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21295 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21300 Likewise.
21301 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21302 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21303 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21304 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21305 iovlen and controllen fields to adjust to POSIX specification.
21306 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21307
21308 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21309 and change to correct expected type.
21310 (msghdr.msg_controllen): Likewise.
21311 (cmsghdr.cmsg_len): Likewise.
21312 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21313 expected POSIX assumption about the size.
21314 (msghdr.msg_controllen): Likewise.
21315 (msghdr.__glibc_reserved1): Likewise.
21316 (msghdr.__glibc_reserved2): Likewise.
21317 (cmsghdr.cmsg_len): Likewise.
21318 (cmsghdr.__glibc_reserved1): Likewise.
21319 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21320 Add ptw-oldrecvmsg and ptw-oldsendmsg.
21321 (CFLAGS-sendmsg.c): Remove rule.
21322 (CFLAGS-recvmsg.c): Likewise.
21323 (CFLAGS-oldsendmsg.c): Add rule.
21324 (CFLAGS-oldrecvmsg.c): Likewise.
21325 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21326 recvmsg and sendmsg.
21327 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21328 Likewise.
21329 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21330 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21331 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21332 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21333 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21334 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21335 Likewise.
21336 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21337 Likewise.
21338 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21339 Likewise.
21340 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21341 Likewise.
21342 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21343 Likewise.
21344 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21345 Likewise.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21347 (GLIBC_2.24): Likewise.
21348 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21349 Likewise.
21350 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21351 Likewise.
21352 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21353 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21354 Likewise.
21355 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21356 Likewise.
21357 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21358 Likewise.
21359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21360 (GLIBC_2.24): Likewise.
21361 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21362 Likewise.
21363 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21364 Likewise.
21365 * sysdeps/unix/sysv/linux/Makefile
21366 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21367 (CFLAGS-sendmsg.c): Add rule.
21368 (CFLAGS-recvmsg.c): Likewise.
21369 (CFLAGS-oldsendmsg.c): Likewise.
21370 (CFLAGS-oldrecvmsg.c): Likewise.
21371 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21372 initialization.
21373 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21374 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21375 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21376 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21377 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21378 iovlen and controllen fields to adjust to POSIX specification.
21379 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21380 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21381 added recvmsg and sendmsg.
21382 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21383 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21384 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21385 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21386 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21387 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21388 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21389 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21391 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21392 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21393 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21395 Likewise.
21396 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21398 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21399 Likewise.
21400 Likewise.
21401 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21402 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21403 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21404 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21405 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21406 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21408 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21410 Likewise.
21411 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21413
21414 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21415 from auto-generation.
21416 (sendmsg): Likewise.
21417 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21418 (sendmsg): Likewise.
21419 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21420 (sendmsg): Likewise.
21421 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21422 (sendmsg): Likewise.
21423 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21424 (sendmsg): Likewise.
21425 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21426 (sendmsg): Likewise.
21427 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21428 Likewise.
21429 (sendmsg): Likewise.
21430 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21431 (sendmsg): Likewise.
21432 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21433 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21434 Remove.
21435 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21436 Likewise.
21437 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21438 Undefine.
21439 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21440 Likewise.
21441 * sysdeps/unix/sysv/linux/kernel-features.h
21442 (__ASSUME_SENDMSG_SYSCALL): Define.
21443 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21444 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21445 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21446 Remove.
21447 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21448 Likewise.
21449 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21450 Undefine.
21451 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21452 Likewise.
21453 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21454 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21455 Remove.
21456 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21457 Likewise.
21458 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21459 Undefine.
21460 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21461 Likewise.
21462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21463 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21464 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21465 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21466 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21467 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21468 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21469 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21470 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21471
21472 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21473
21474 * stdlib/gen-tst-strtod-round.c: Add backslash to
21475 compile command in comment.
21476 (printfp): Remove the literal suffix, and define an infinite
21477 value as INF to avoid expansion clash with INFINITY.
21478 (round_str): Remove the literal suffix.
21479 (round_for_all): Likewise, remove the now duplicate ldbl-64
21480 entry, and remove some magic constants.
21481
21482 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21483 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21484 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21485 (_CONCAT): New macro.
21486 (CONCAT): Likewise.
21487 (CHOOSE_ld): Likewise.
21488 (CHOOSE_f): Likewise.
21489 (CHOOSE_d): Likewise.
21490 (FTYPE_MEMBER): Likewise.
21491 (BOOL_MEMBER): Likewise.
21492 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21493 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21494 (_XNTRY): Likewise.
21495 (XNTRY): Likewise.
21496 (_ENTRY): Likewise.
21497 (ENTRY): Likewise.
21498 (test_exactness): Generate members via macro.
21499 (test_results): Likewise.
21500 (test): Update members.
21501 (TEST): Redefine using new macros.
21502 (INF): New macro.
21503 (fetestmodes): New structure.
21504 (do_test): Refactor to be type generic.
21505 (test_in_one_mode): Refactor duplicate code into
21506 (GEN_ONE_TEST): New macro.
21507
21508 * stdlib/tst-strtod-round-data.h: Regenerate.
21509
21510 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21511 Extend to pass additional arbitrary parameters to
21512 generators.
21513
21514 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21515
21516 [BZ #15479]
21517 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21518 floating-point state after first floating-point operation on
21519 input. Restore full floating-point state instead of just rounding
21520 mode.
21521 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21522 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21523 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21524 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21525 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21526
21527 [BZ #15479]
21528 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21529 floating-point state after first floating-point operation on
21530 input. Restore full floating-point state instead of just rounding
21531 mode.
21532 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21533 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21534 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21535 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21536 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21537
21538 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21539
21540 [BZ #19727]
21541 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21542 valid high surrogate.
21543 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21544 of an utf16 surrogate.
21545 * iconv/gconv_simple.c (BODY): Likewise.
21546 * iconvdata/bug-iconv12.c: New file.
21547 * iconvdata/Makefile (tests): Add bug-iconv12.
21548
21549 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21550
21551 [BZ #19726]
21552 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21553 outptrp in case of an illegal input.
21554 * iconv/tst-iconv6.c: New file.
21555 * iconv/Makefile (tests): Add tst-iconv6.
21556
21557 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21558
21559 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21560 an error in case of a value in range of an utf16 low surrogate.
21561
21562 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21563
21564 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21565 an error in case of a value in range of an utf16 low surrogate.
21566
21567 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21568
21569 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21570 Move to ...
21571 * sysdeps/s390/Makefile: ... here.
21572 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21573 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21574 (BRANCH_ON_COUNT): New define.
21575 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21576 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21577 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21578 run on s390-32, too.
21579 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21580 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21581 run on s390-32, too.
21582 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21583 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21584 run on s390-32, too.
21585
21586 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21587
21588 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21589 etf3eh or new vector loop-variant.
21590
21591 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21592
21593 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21594 etf3eh or new vector loop-variant.
21595
21596 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21597
21598 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21599 or new vector loop-variant.
21600
21601 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21602
21603 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21604 Rename to TR_LOOP and usage of tr instead of troo instruction.
21605
21606 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21607
21608 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21609 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21610
21611 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21612
21613 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21614 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21615 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21616 New override define.
21617 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21618
21619 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21620
21621 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21622 * sysdeps/s390/configure.ac: Add test for S390 vector register
21623 support in gcc.
21624 * sysdeps/s390/configure: Regenerated.
21625
21626 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21627
21628 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21629 Install file from $(objpfx)gconv-modules.
21630 ($(objpfx)gconv-modules): Concatenate architecture specific file
21631 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21632 * sysdeps/s390/gconv-modules: New file.
21633 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21634 Deleted.
21635 ($(objpfx)gconv-modules-s390): Deleted.
21636 (sysdeps-gconv-modules): New variable.
21637
21638 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21639
21640 [BZ #15479]
21641 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21642 of immediate operand to rounding instruction.
21643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21644 Likewise.
21645 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21646 Likewise.
21647 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21648 Likewise.
21649
21650 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21651
21652 * math/libm-test.inc (MIN_EXP): Directly define as
21653 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21654
21655 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21656
21657 * math/libm-test.inc (MANT_DIG): Directly define as
21658 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21659
21660 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21661
21662 * stdlib/gen-tst-strtod-round.c (main):
21663 Change usage to more closely match the generated
21664 output. Add usage and compilation instructions.
21665 (string_to_fp): Add and use FILE* parameter as
21666 output target.
21667 (print_fp): Likewise.
21668 (round_str): Likewise.
21669 (round_for_all): Likewise.
21670 * stdlib/tst-strtod-round.c (tests): Move into
21671 * stdlib/tst-strtod-round-data.h: New file.
21672
21673 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21674
21675 [BZ #15479]
21676 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21677 (__round): Do not force "inexact" exception.
21678 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21679 variable.
21680 (__round): Do not force "inexact" exception.
21681 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21682 (__roundf): Do not force "inexact" exception.
21683 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21684 (__roundl): Do not force "inexact" exception.
21685 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21686 (__roundl): Do not force "inexact" exception.
21687 * math/libm-test.inc (round_test_data): Do not allow spurious
21688 "inexact" exceptions.
21689
21690 [BZ #15479]
21691 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21692 exception in comment.
21693 (huge): Remove variable.
21694 (__floor): Do not force "inexact" exception.
21695 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21696 "inexact" exception in comment.
21697 (huge): Remove variable.
21698 (__floor): Do not force "inexact" exception.
21699 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21700 exception in comment.
21701 (huge): Remove variable.
21702 (__floorf): Do not force "inexact" exception.
21703 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21704 exception in comment.
21705 (huge): Remove variable.
21706 (__floorl): Do not force "inexact" exception.
21707
21708 [BZ #15479]
21709 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21710 exception in comment.
21711 (huge): Remove variable.
21712 (__ceil): Do not force "inexact" exception.
21713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21714 "inexact" exception in comment.
21715 (huge): Remove variable.
21716 (__ceil): Do not force "inexact" exception.
21717 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21718 (__ceilf): Do not force "inexact" exception.
21719 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21720 exception in comment.
21721 (huge): Remove variable.
21722 (__ceill): Do not force "inexact" exception.
21723
21724 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21725
21726 * config.h.in (BIND_NOW): New.
21727 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21728 * configure: Regenerated.
21729 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21730 indirect branch via the GOT slot.
21731
21732 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21733
21734 [BZ #19765]
21735 * sysdeps/s390/mempcpy.S: New File.
21736 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21737 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21738 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21739 Add mempcpy variants.
21740 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21741 (memcpy): Adjust to be usable from mempcpy entry point.
21742 (__memcpy_mvcle): Likewise.
21743 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21744 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21745 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21746 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21747 (__memcpy_z10): Likewise.
21748 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21749
21750 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21751
21752 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21753 Remove __GI_ symbol.
21754 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21755 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21756 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21757 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21758 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21759 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21760
21761 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21762
21763 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21764 Use cghi instead of chi to compare 64bit value.
21765
21766 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21767
21768 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21769 Jump to 1MB check before executing mvc-loop.
21770
21771 2016-05-24 Florian Weimer <fweimer@redhat.com>
21772
21773 [BZ #6527]
21774 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21775 unconditionally.
21776 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21777
21778 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21779
21780 * stdlib/tst-strtod6.c (do_test): Use new type generic
21781 invocation of the test function.
21782 (test): Refactor into ...
21783 (TEST_STRTOD): New macro base function.
21784
21785 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21786
21787 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21788 (TEST_STRTOD): New macro.
21789 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21790
21791 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21792
21793 * stdlib/tst-strtod6.c (do_test): Use new type generic
21794 invocation of the test function.
21795 (test): Refactor into ...
21796 (TEST_STRTOD): New macro base function.
21797
21798 2016-05-23 Florian Weimer <fweimer@redhat.com>
21799
21800 CVE-2016-4429
21801 [BZ #20112]
21802 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21803 payload.
21804
21805 2016-05-23 Florian Weimer <fweimer@redhat.com>
21806
21807 [BZ #20111]
21808 * bits/sockaddr.h (_SS_SIZE): Define.
21809 * bits/socket.h (_SS_SIZE): Remove.
21810 (_SS_PADSIZE): Adjust to account for all padding.
21811 (struct sockaddr_storage): Update comment. Avoid implicit
21812 padding.
21813 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21814 (_SS_PADSIZE): Adjust to account for all padding.
21815 (struct sockaddr_storage): Update comment. Avoid implicit
21816 padding.
21817 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21818 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21819 (_SS_PADSIZE): Adjust to account for all padding.
21820 (struct sockaddr_storage): Update comment. Avoid implicit
21821 padding.
21822 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21823 __SS_SIZE is 126 in this version.
21824 * inet/tst-sockaddr.c: New file.
21825 * inet/Makefile (tests): Add tst-sockaddr.c
21826 (tst-sockaddr.c): Compile with non-strict aliasing.
21827
21828 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21829
21830 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21831 [XPG3 || XPG4].
21832 (NL_ARGMAX): Also expect for [XPG3].
21833 (NL_LANGMAX): Likewise.
21834 (NL_MSGMAX): Likewise.
21835 (NL_NMAX): Likewise.
21836 (NL_SETMAX): Likewise.
21837 (NL_TEXTMAX): Likewise.
21838 (NZERO): Likewise.
21839 (TMP_MAX): Likewise.
21840 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21841 variable.
21842
21843 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21844 (PF_MAX): Update value.
21845 (AF_KCM): New macro.
21846 (SOL_NETBEUI): Likewise.
21847 (SOL_LLC): Likewise.
21848 (SOL_DCCP): Likewise.
21849 (SOL_NETLINK): Likewise.
21850 (SOL_TIPC): Likewise.
21851 (SOL_RXRPC): Likewise.
21852 (SOL_PPPOL2TP): Likewise.
21853 (SOL_BLUETOOTH): Likewise.
21854 (SOL_PNPIPE): Likewise.
21855 (SOL_RDS): Likewise.
21856 (SOL_IUCV): Likewise.
21857 (SOL_CAIF): Likewise.
21858 (SOL_ALG): Likewise.
21859 (SOL_NFC): Likewise.
21860 (SOL_KCM): Likewise.
21861 (MSG_BATCH): New enum value and macro.
21862
21863 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21864
21865 [BZ #18185]
21866 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21867 sharing L2 cache to 2 for Knights Landing.
21868
21869 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21870
21871 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21872 (FTW_DP): Do not expect for [XPG3 || XPG4].
21873 (FTW_SL): Do not expect for [XPG3].
21874 (FTW_SLN): Likewise.
21875 (FTW_PHYS): Likewise.
21876 (FTW_MOUNT): Likewise.
21877 (FTW_DEPTH): Likewise.
21878 (FTW_CHDIR): Likewise.
21879 (nftw): Likewise.
21880 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21881 variable.
21882
21883 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21884
21885 * manual/errno.texi: Fix various typos & grammar errors.
21886
21887 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21888
21889 * manual/intro.texi: Fix duplicated typo.
21890
21891 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21892
21893 [BZ #13304]
21894 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21895 <float.h>, <math_private.h> and <stdlib.h>.
21896 (add_split): New function.
21897 (mul_split): Likewise.
21898 (ext_val): New typedef.
21899 (store_ext_val): New function.
21900 (mul_ext_val): New function.
21901 (compare): New function.
21902 (add_split_ext): New function.
21903 (__fmal): After checking for Inf, NaN and zero, compute result as
21904 an exact sum of scaled double values in round-to-nearest before
21905 adding those up and adjusting for other rounding modes.
21906 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21907 tests of fma.
21908 * math/auto-libm-test-out: Regenerated.
21909
21910 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21911
21912 [BZ #20119]
21913 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21914 processor level type mask for CPUID with EAX == 11.
21915
21916 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21919 logical threads if the HTT bit is 0.
21920 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21921 (index_cpu_HTT): Likewise.
21922 (reg_HTT): Likewise.
21923
21924 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21925
21926 [BZ #20115]
21927 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21928 Remove alignments on jump targets.
21929
21930 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21931
21932 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21933 (getpwent): Likewise.
21934 (setpwent): Likewise.
21935 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21936 variable.
21937
21938 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21939 (remque): Likewise.
21940 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21941 variable.
21942
21943 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21944
21945 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21946 not being tested.
21947
21948 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21949
21950 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21951 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21952 call.
21953 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21954 (__condvar_cleanup1): Likewise.
21955
21956 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21957
21958 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21959 New
21960 (__pthread_unwind): Renamed to ...
21961 (PTHREAD_UNWIND): This.
21962 (__pthread_enable_asynccancel): Replace
21963 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21964
21965 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21966
21967 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21968 (CLONE_NEWCGROUP): New macro.
21969
21970 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21971 (Q_GETNEXTQUOTA): New macro.
21972
21973 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21974
21975 [BZ #19907]
21976 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21977 buffer updated by the previous run.
21978 * string/test-memcpy.c (do_one_test): Likewise.
21979 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21980 * string/test-memmove.c (do_one_test): Likewise.
21981
21982 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21983
21984 [BZ #20094]
21985 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21986 not [__USE_XOPEN].
21987 (unlockpt): Likewise.
21988 (ptsname): Likewise.
21989 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21990 variable.
21991
21992 [BZ #20076]
21993 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21994 instead of [__USE_UNIX98].
21995 (S_ISSOCK): Likewise.
21996 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21997 variable.
21998
21999 [BZ #20074]
22000 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
22001 [__USE_POSIX].
22002 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
22003 variable.
22004
22005 [BZ #20051]
22006 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
22007 (ttyslot): Do not declare.
22008 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
22009 (ttyslot): New prototype.
22010 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
22011 variable.
22012 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22013
22014 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
22015
22016 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
22017
22018 2016-05-13 Florian Weimer <fweimer@redhat.com>
22019
22020 Fix race condition in tst-mallocfork2, use fewer resources.
22021 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
22022 to current process group.
22023 (signal_sender): Yield in the non-sleeping case.
22024
22025 2016-05-13 Joseph Myers <joseph@codesourcery.com>
22026
22027 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
22028 (ecvt): Likewise.
22029 (fcvt): Likewise.
22030 (gcvt): Likewise.
22031 (getsubopt): Likewise.
22032 (grantpt): Likewise.
22033 (initstate): Likewise.
22034 (l64a): Likewise.
22035 (mktemp): Likewise.
22036 (mkstemp): Likewise.
22037 (ptsname): Likewise.
22038 (random): Likewise.
22039 (realpath): Likewise.
22040 (setstate): Likewise.
22041 (srandom): Likewise.
22042 (ttyslot): Likewise.
22043 (unlockpt): Likewise.
22044 (valloc): Likewise.
22045
22046 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
22047 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
22048 variable.
22049
22050 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
22051
22052 [BZ #20072]
22053 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
22054 init_cpu_features only if SHARED is defined.
22055 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
22056
22057 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
22058
22059 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
22060 non-inclusive caches on Intel processors.
22061
22062 2016-05-13 Florian Weimer <fweimer@redhat.com>
22063
22064 * malloc/malloc.c (dumped_main_arena_start)
22065 (dumped_main_arena_end): New variables.
22066 (DUMPED_MAIN_ARENA_CHUNK): New macro.
22067 (do_check_chunk): Skip dumped fake mmapped chunks.
22068 (munmap_chunk): Likewise.
22069 (__libc_free): Do not adjust statistics for fake mmapped chunks.
22070 (__libc_realloc): Adjust hardening check. Always copy dumped fake
22071 mmapped chunks.
22072 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
22073 Mark dumped chunks as using mmap. Update dumped_main_arena_start
22074 and dumped_main_arena_end to cover the dumped heap.
22075
22076 2016-05-12 Joseph Myers <joseph@codesourcery.com>
22077
22078 * conform/data/time.h-data (getdate_err): Do not expect for
22079 [XPG3].
22080 (getdate): Likewise.
22081 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
22082 variable.
22083
22084 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
22085 (F_ULOCK): Likewise.
22086 (F_TEST): Likewise.
22087 (F_TLOCK): Likewise.
22088 (useconds_t): Likewise.
22089 (intptr_t): Do not expect for [XPG3] or [XPG4].
22090 (brk): Do not expect for [XPG3]
22091 (fchown): Likewise.
22092 (fchdir): Likewise.
22093 (ftruncate): Likewise.
22094 (getdtablesize): Likewise.
22095 (gethostid): Likewise.
22096 (getpagesize): Likewise.
22097 (getpgid): Likewise.
22098 (getsid): Likewise.
22099 (getwd): Likewise.
22100 (lchown): Likewise.
22101 (lockf): Likewise.
22102 (readlink): Likewise.
22103 (sbrk): Likewise.
22104 (setpgrp): Likewise.
22105 (setregid): Likewise.
22106 (setreuid): Likewise.
22107 (symlink): Likewise.
22108 (sync): Likewise.
22109 (truncate): Likewise.
22110 (ualarm): Likewise.
22111 (usleep): Likewise.
22112 (vfork): Likewise.
22113 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
22114 variable.
22115
22116 [BZ #20054]
22117 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
22118 not [__USE_UNIX98].
22119 * conform/data/unistd.h-data (gethostname): Do not expect for
22120 [XPG3].
22121
22122 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
22123 [!POSIX] (S_IFBLK): Likewise.
22124 [!POSIX] (S_IFCHR): Likewise.
22125 [!POSIX] (S_IFIFO): Likewise.
22126 [!POSIX] (S_IFREG): Likewise.
22127 [!POSIX] (S_IFDIR): Likewise.
22128 [!POSIX] (S_IFLNK): Likewise.
22129 [!POSIX] (S_IFSOCK): Likewise.
22130 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
22131 variable.
22132 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22133
22134 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
22135
22136 * sysdeps/aarch64/memset.S (__memset):
22137 Rewrite of optimized memset.
22138
22139 2016-05-12 Florian Weimer <fweimer@redhat.com>
22140
22141 [BZ #19703]
22142 Partially async-signal-safe fork for single-threaded processes.
22143 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22144 variable. Do not acquire and reset/release malloc and libio locks
22145 in single-threaded processes.
22146 * malloc/tst-mallocfork2.c: New file.
22147 * malloc/Makefile (tests): Add it.
22148
22149 2016-05-12 Florian Weimer <fweimer@redhat.com>
22150
22151 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22152 argument. Use scratch buffer instead of extend_alloca.
22153 (gethosts): Use scratch buffer instead of extend_alloca.
22154 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
22155 extend_alloca.
22156 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22157
22158 2016-05-11 Joseph Myers <joseph@codesourcery.com>
22159
22160 [BZ #20055]
22161 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22162 instead of [__USE_UNIX98].
22163 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22164 [__USE_UNIX98].
22165 * conform/data/termios.h-data (tcgetsid): Do not expect for
22166 [XPG3].
22167 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22168 variable.
22169 (test-xfail-XPG4/termios.h/conform): Likewise.
22170
22171 2016-05-11 Florian Weimer <fweimer@redhat.com>
22172
22173 Do not use mcheck in localedef.
22174 * locale/programs/localedef.c (turn_on_mcheck)
22175 (__malloc_initialize_hook): Remove.
22176
22177 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22178
22179 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22180 * sysdeps/s390/s390-64/Makefile: Likewise.
22181
22182 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22185 Remove ifunc-defines.sym.
22186 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22187 Likewise.
22188 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22189 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22190 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22191 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22192 rtld-global-offsets.sym.
22193 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22194 * sysdeps/x86/cpu-features-offsets.sym: This.
22195 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22196 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22197
22198 2016-05-10 Joseph Myers <joseph@codesourcery.com>
22199
22200 [BZ #20073]
22201 * io/sys/stat.h (fchmod): Declare for
22202 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22203 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22204 variable.
22205
22206 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22207 [XPG3] (S_IFSOCK): Likewise.
22208 [XPG3] (S_ISVTX): Likewise.
22209 [XPG3] (S_ISLNK): Likewise.
22210 [XPG3] (S_ISSOCK): Likewise.
22211 [XPG3] (fchmod): Likewise.
22212 [XPG3] (lstat): Likewise.
22213 [XPG3] (mknod): Likewise.
22214
22215 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22216 [XPG3]. Expect type long and XFAIL for [XPG4].
22217 (st_blocks): Likewise.
22218
22219 [BZ #20044]
22220 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22221 (pthread_atfork): New prototype.
22222 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22223 variable.
22224
22225 [BZ #20043]
22226 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22227 prototype.
22228
22229 2016-05-10 Florian Weimer <fweimer@redhat.com>
22230
22231 [BZ #20017]
22232 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22233 gmtime.
22234
22235 2016-05-10 Florian Weimer <fweimer@redhat.com>
22236
22237 [BZ #19994]
22238 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22239 flag in _res.options.
22240
22241 2016-05-09 Joseph Myers <joseph@codesourcery.com>
22242
22243 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22244 [XPG3 || XPG4].
22245 (blksize_t): Likewise.
22246 (clockid_t): Likewise.
22247 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22248 variable.
22249 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22250
22251 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22252
22253 * sysdeps/unix/sysv/linux/s390/init-first.c:
22254 Add VDSO_SYMBOL(getcpu).
22255 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22256 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22257 Add VDSO_SYMBOL(getcpu).
22258 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22259 New define HAVE_GETCPU_VSYSCALL.
22260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22261
22262 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
22263
22264 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22265 instead of <sysdeps/x86_64/cacheinfo.c>.
22266 * sysdeps/x86_64/cacheinfo.c: Moved to ...
22267 * sysdeps/x86/cacheinfo.c: Here.
22268
22269 2016-05-04 Florian Weimer <fweimer@redhat.com>
22270
22271 * malloc/malloc-internal.h: Adjust header file guard.
22272
22273 2016-05-04 Florian Weimer <fweimer@redhat.com>
22274
22275 [BZ #19787]
22276 * inet/getnameinfo.c (check_sprintf_result): New function.
22277 (CHECKED_SNPRINTF): New macro.
22278 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22279 to the host buffer.
22280 (gni_host_local): Use checked_copy to copy the host name.
22281 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22282 (gni_serv_local): Use checked_copy to copy the service name.
22283 (getnameinfo): Remove unnecessary truncation of result buffers.
22284
22285 2016-05-04 Florian Weimer <fweimer@redhat.com>
22286
22287 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22288 in case of inet_ntop failure.
22289
22290 2016-05-04 Florian Weimer <fweimer@redhat.com>
22291
22292 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22293 avoid long lines.
22294 (gni_host_inet_numeric): Likewise. Reduce scope of local
22295 variables.
22296 (gni_host_inet, gni_host_local): Add comment.
22297 (gni_host): Add comment. Use temporary to avoid long lines.
22298
22299 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22300
22301 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22302 registers specifiers where general purpose registers specifiers should
22303 have been used.
22304
22305 2016-05-04 Florian Weimer <fweimer@redhat.com>
22306
22307 [BZ #19779]
22308 CVE-2016-1234
22309 Avoid copying names of directory entries.
22310 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22311 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22312 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22313 (struct readdir_result): New type.
22314 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22315 (GL_READDIR): New macros.
22316 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22317 (convert_dirent, convert_dirent64): New functions.
22318 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
22319 convert_dirent64. Adjust references to the readdir result.
22320 * sysdeps/unix/sysv/linux/i386/glob64.c:
22321 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22322 * posix/bug-glob2.c (LONG_NAME): Define.
22323 (filesystem): Add LONG_NAME.
22324 (my_DIR): Increase the size of room_for_dirent.
22325
22326 2016-05-03 Joseph Myers <joseph@codesourcery.com>
22327
22328 [BZ #20041]
22329 * misc/sys/select.h (__need_timespec): Only define if
22330 [__USE_XOPEN2K].
22331 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22332 variable.
22333 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22334 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22335 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22336
22337 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22338 Segher Boessenkool <segher@gcc.gnu.org>
22339
22340 [BZ #20004]
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22342 (__novec_swapcontext): Add missing load.
22343
22344 2016-05-02 Joseph Myers <joseph@codesourcery.com>
22345
22346 [BZ #20023]
22347 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22348 <time.h>.
22349 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22350 variable.
22351 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22352
22353 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22354
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22356 flags CLONE_VM compare.
22357
22358 2016-05-02 Florian Weimer <fweimer@redhat.com>
22359
22360 [BZ #20031]
22361 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22362 completely empty.
22363
22364 2016-05-02 Florian Weimer <fweimer@redhat.com>
22365
22366 [BZ #19573]
22367 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22368 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22369 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22370 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22371 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22372 (hesiod_free_list): Mark as hidden.
22373 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22374 res_set, res_get.
22375 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22376 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22377 (hesiod_init): Remove obsolete res_ninit call.
22378 (hesiod_end): Do not free resolver state. Do not invoke callback.
22379 (hesiod_bind): Do not call init.
22380 (get_txt_records): Use res_mkquery, res_send instead of
22381 res_nmkquery, res_nsend.
22382 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22383 instead of _nss_hesiod_init.
22384 (_nss_hesiod_initgroups_dyn): Likewise.
22385 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22386 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22387 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22388
22389 2016-05-02 Florian Weimer <fweimer@redhat.com>
22390
22391 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22392 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22393
22394 2016-05-02 Florian Weimer <fweimer@redhat.com>
22395
22396 * hesiod/hesiod.h: Remove RCS keyword.
22397 * hesiod/hesiod_p.h: Likewise.
22398
22399 * hesiod/hesiod.c: Likewise.
22400
22401 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22402
22403 [BZ #12450]
22404 * locale/iso-639.def: Add Samogitian/sgs.
22405
22406 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22407
22408 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22409
22410 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22411
22412 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22413 Carlos O'Donell <carlos@redhat.com>
22414
22415 [BZ #19072]
22416 * grp/Makefile (headers): Add grp-merge.h
22417 (routines): Add grp-merge.
22418 * grp/getgrgid_r.c: Include grp-merge.h.
22419 (DEEPCOPY_FN): Define.
22420 (MERGE_FN): Define.
22421 * grp/getgrname_r.c: Include grp-merge.h.
22422 (DEEPCOPY_FN): Define.
22423 (MERGE_FN): Define.
22424 * grp/grp-merge.c: New file.
22425 * grp/grp-merge.h: New file.
22426 * include/grp-merge.h: New file.
22427 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22428 __copy_grp@GLIBC_PRIVATE.
22429 * manual/nss.texi (Actions in the NSS configuration): Describe
22430 return, continue, and merge.
22431 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22432 (DEEPCOPY_FN): Define.
22433 (MERGE_FN): Define.
22434 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22435 (DEEPCOPY_FN): Define.
22436 (MERGE_FN): Define.
22437 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22438 [!MERGE_FN]: Define __merge_einval.
22439 (CHECK_MERGE): Define.
22440 (REENTRANT_NAME): Process merge if do_merge is true.
22441 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22442 (__nss_getent_r): Likewise.
22443 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22444 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22445
22446 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22447
22448 [BZ #20012]
22449 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22450 length to calculate the buffer to read.
22451 (fmemopen_write): Set the buffer position based on bytes written.
22452 (fmemopen_seek): Return EINVAL for invalid whence modes.
22453
22454 [BZ #19957]
22455 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22456 tst-getpid2.
22457 (test): Add tst-clone2.
22458 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22459 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22460 pid/tid fields for CLONE_VM.
22461 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22462 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22463 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22464 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22465 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22466 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22467 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22468 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22470 Likewise.
22471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22472 Likewise.
22473 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22474 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22475 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22476 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22477 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22478 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22479 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22480 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22481
22482 2016-04-29 Florian Weimer <fweimer@redhat.com>
22483
22484 [BZ #19642]
22485 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22486 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22487 (gni_serv_local, gni_serv): New functions extracted from
22488 getnameinfo.
22489 (getnameinfo): Call gni_host and gni_serv to perform the
22490 processing. Always free scratch buffer.
22491
22492 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22493
22494 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22495 remaining bytes in the dest string, with zeros.
22496
22497 2016-04-29 Florian Weimer <fweimer@redhat.com>
22498
22499 [BZ #20010]
22500 CVE-2016-3706
22501 * sysdeps/posix/getaddrinfo.c
22502 (convert_hostent_to_gaih_addrtuple): New function.
22503 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22504 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22505 AF_INET data.
22506
22507 2016-04-29 Florian Weimer <fweimer@redhat.com>
22508
22509 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22510 callback function gl_readdir.
22511 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22512 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22513 (glob_in_dir): Remove len. Use strdup instead of malloc and
22514 memcpy to copy the name.
22515 * manual/pattern.texi (Calling Glob): Document requirements for
22516 implementations of the gl_readdir callback function.
22517 * manual/examples/mkdirent.c: New example.
22518 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22519 per the manual guidance.
22520 * posix/tst-gnuglob.c (my_readdir): Likewise.
22521
22522 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22523
22524 [BZ #20014]
22525 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22526 not [__USE_POSIX].
22527 (getchar_unlocked): Likewise.
22528 (putc_unlocked): Likewise.
22529 (putchar_unlocked): Likewise.
22530 (flockfile): Likewise.
22531 (ftrylockfile): Likewise.
22532 (funlockfile): Likewise.
22533 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22534 variable.
22535 (test-xfail-XPG4/stdio.h/conform): Likewise.
22536
22537 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22538 Expect constant.
22539 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22540 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22541 variable.
22542 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22543 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22544
22545 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22546 [__USE_LARGEFILE64] (off64_t): Likewise.
22547 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22548 variable.
22549
22550 2016-04-28 Florian Weimer <fweimer@redhat.com>
22551
22552 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22553
22554 2016-04-28 Florian Weimer <fweimer@redhat.com>
22555
22556 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22557 * resolv/res_init.c: Likewise.
22558 * resolv/res_mkquery.c: Likewise.
22559
22560 2016-04-28 Florian Weimer <fweimer@redhat.com>
22561
22562 * resolv/res_init.c (isascii): Do not define. Use definition in
22563 <ctype.h>.
22564 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22565 (LOG_AUTH): Remove.
22566 (SPRINTF): Remove, adjust caller.
22567 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22568
22569 2016-04-28 Florian Weimer <fweimer@redhat.com>
22570
22571 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22572 SUNSECURITY conditional.
22573 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22574
22575 2016-04-28 Florian Weimer <fweimer@redhat.com>
22576
22577 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22578 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22579 Remove BSD-related preprocessor conditionals.
22580 * conf/portability.h: Remove.
22581
22582 2016-04-28 Florian Weimer <fweimer@redhat.com>
22583
22584 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22585 * resolv/res_data.c: Likewise.
22586
22587 2016-04-28 Florian Weimer <fweimer@redhat.com>
22588
22589 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22590 * resolv/res_data.c: Remove code conditional on ultrix.
22591
22592 2016-04-28 Florian Weimer <fweimer@redhat.com>
22593
22594 * resolv/res_init.c (RFC1535): Do not define. Remove
22595 RFC1535 preprocessor conditionals.
22596 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22597 because there configuration options which make the resolver
22598 behavior different.
22599
22600 2016-04-28 Florian Weimer <fweimer@redhat.com>
22601
22602 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22603 RESOLVSORT preprocessor conditionals.
22604 * resolv/nss_dns/dns-host.c: Likewise.
22605 * resolv/res_init.c: Likewise.
22606
22607 2016-04-28 Florian Weimer <fweimer@redhat.com>
22608
22609 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22610 is never defined.
22611
22612 2016-04-28 Florian Weimer <fweimer@redhat.com>
22613
22614 * inet/inet_lnaof.c: Remove SCSS keyword.
22615 * inet/inet_mkadr.c: Likewise.
22616 * inet/inet_net.c: Likewise.
22617 * inet/inet_netof.c: Likewise.
22618 * inet/rcmd.c: Likewise.
22619 * inet/rexec.c: Likewise.
22620 * inet/ruserpass.c: Likewise.
22621
22622 2016-04-28 Florian Weimer <fweimer@redhat.com>
22623
22624 * resolv/inet_addr.c: Remove _LIBC conditionals.
22625 * resolv/res_data.c: Likewise.
22626 * resolv/res_init.c: Likewise.
22627 * resolv/res_mkquery.c: Likewise.
22628 * resolv/res_libc.c: Update comment.
22629 * resolv/README: Update.
22630
22631 2016-04-28 Florian Weimer <fweimer@redhat.com>
22632
22633 * resolv/gethnamaddr.c: Remove SCSS keyword.
22634 * resolv/herror.c: Likewise.
22635 * resolv/inet_addr.c: Likewise.
22636 * resolv/inet_net_ntop.c: Likewise.
22637 * resolv/inet_net_pton.c: Likewise.
22638 * resolv/inet_neta.c: Likewise.
22639 * resolv/inet_ntop.c: Likewise.
22640 * resolv/inet_pton.c: Likewise.
22641 * resolv/ns_date.c: Remove RCS keyword.
22642 * resolv/ns_name.c: Likewise.
22643 * resolv/ns_netint.c: Likewise.
22644 * resolv/ns_parse.c: Likewise.
22645 * resolv/ns_print.c: Likewise.
22646 * resolv/ns_samedomain.c: Likewise.
22647 * resolv/ns_ttl.c: Likewise.
22648 * resolv/nsap_addr.c: Likewise.
22649 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22650 * resolv/res_data.c: Remove RCS keyword.
22651 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22652 * resolv/res_init.c: Likewise.
22653 * resolv/res_mkquery.c: Likewise.
22654 * resolv/res_query.c: Likewise.
22655 * resolv/res_send.c: Likewise.
22656
22657 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22658
22659 * conform/data/stdio.h-data (fdopen): Expect also for
22660 [XPG3 || XPG4].
22661
22662 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22663 (fseeko): Likewise.
22664 (ftello): Likewise.
22665 (ftrylockfile): Likewise.
22666 (funlockfile): Likewise.
22667 (getc_unlocked): Likewise.
22668 (getchar_unlocked): Likewise.
22669 (putc_unlocked): Likewise.
22670 (putchar_unlocked): Likewise.
22671
22672 2016-04-27 Florian Weimer <fweimer@redhat.com>
22673
22674 [BZ #19868]
22675 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22676 DNS packet syntax checks (which were not needed before). Skip
22677 over non-PTR records.
22678
22679 2016-04-27 Florian Weimer <fweimer@redhat.com>
22680
22681 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22682 definition. Include <stddef.h> instead.
22683
22684 2016-04-27 Florian Weimer <fweimer@redhat.com>
22685
22686 [BZ #19831]
22687 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22688 function.
22689 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22690 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22691
22692 2016-04-27 Florian Weimer <fweimer@redhat.com>
22693
22694 [BZ #19862]
22695 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22696 (getanswer_r): Do not call syslog.
22697 (gaih_getanswer_slice): Likewise.
22698 * resolv/gethnamaddr.c (AskedForGot): Remove.
22699 (getanswer): Do not call syslog.
22700 (gethostbyaddr): Likewise.
22701
22702 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22703
22704 * conform/data/signal.h-data (union sigval): Expect also if
22705 [XOPEN2K].
22706 (struct sigevent): Likewise.
22707 (SIGEV_NONE): Likewise.
22708 (SIGEV_SIGNAL): Likewise.
22709 (SIGEV_THREAD): Likewise.
22710 (SIGRTMIN): Likewise.
22711 (SIGRTMAX): Likewise.
22712 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22713 variable.
22714 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22715
22716 2016-04-27 Florian Weimer <fweimer@redhat.com>
22717
22718 [BZ #19830]
22719 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22720 (gaih_getanswer_slice): Likewise.
22721 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22722 Also check for availability of RR metadata.
22723
22724 2016-04-27 Florian Weimer <fweimer@redhat.com>
22725
22726 [BZ #19825]
22727 * resolv/res_send.c (send_vc): Remove early *resplen2
22728 initialization. Set *resplen2 on socket error. Call
22729 close_and_return_error for other errors.
22730
22731 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22732
22733 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22734 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22735 (SCM_IUCV_TRGCLS): New define.
22736
22737 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22738
22739 [BZ #20005]
22740 * libio/fmemopen.c (fmemopen_write): Update internal position after
22741 write.
22742 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22743 * stdio-common/tst-fmemopen4.c: New file..
22744
22745 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22746
22747 [BZ #19996]
22748 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22749 not [__USE_XOPEN2K].
22750 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22751 variable.
22752
22753 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22754 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22755 variable.
22756
22757 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22758 [__USE_XOPEN2K8].
22759 [__USE_LARGEFILE64] (off64_t): Likewise.
22760 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22761 variable.
22762
22763 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22764
22765 [BZ #19989]
22766 * libio/stdio.h (cuserid): Do not declare if
22767 [__USE_XOPEN2K && !__USE_GNU].
22768 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22769 variable.
22770
22771 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22772
22773 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22774 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22776 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22777 ifunc'ed strcspn.
22778 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22779 [EALIGN]: Removed.
22780 [END]: Likewise
22781 [STRSPN]: Define instead of the above to control symbol name.
22782 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22783 New file.
22784 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22785 Likewise.
22786 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22787 Likewise.
22788 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22789 Likewise.
22790 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22791 [INITIAL_MASK]: New macro.
22792 [STRCSPN]: Likewise.
22793 [UPDATE_MASK]: Likewise.
22794 [USE_AS_STRCSPN]: Likewise.
22795
22796 2016-04-25 Florian Weimer <fweimer@redhat.com>
22797
22798 [BZ #19931]
22799 * stdio-common/tst-vfprintf-width-prec.c: New file.
22800 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22801 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22802 (generated): Add mtrace-related files.
22803 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22804 (tst-%-mem.out): New pattern rule, replaces
22805 tst-printf-bz18872-mem.out.
22806 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22807 specifier, deallocate any previously allocated work buffer.
22808
22809 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22810
22811 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22812 Add nop before __startcontext, add explaining comments.
22813
22814 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22815
22816 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22817 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22818 completely different API.
22819
22820 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22821 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22822 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22823 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22824 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22825 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22826 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22827 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22828 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22829 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22830
22831 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22832
22833 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22834
22835 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22836
22837 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22838 when it is the default of 0.
22839
22840 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22841
22842 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22843 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22844 (sysdep_routines): Add new strcasestr targets.
22845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22846 (__libc_ifunc_impl_list): Likewise.
22847 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22848 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22849 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22850 * sysdeps/powerpc/powerpc64/power8/Makefile:
22851 New file to add strcasestr-ppc64 to sysdep_routines.
22852 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22853 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22854
22855 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22856
22857 * benchtests/Makefile (wcsmbs-benchset): Include only for
22858 native builds and runs.
22859 (LOCALES): Likewise.
22860 (bench-build): Build timing-type here instead of the bench
22861 target. Generate locale only for native builds.
22862 * benchtests/README: Add note for cross-building.
22863
22864 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22865
22866 * benchtests/README: Update README to include instructions on
22867 using bench-build.
22868
22869 * Makefile.in (bench-build): New target.
22870 * Rules (PHONY): Add bench-build target.
22871 * benchtests/Makefile (bench): Depend on bench-build.
22872 (bench-build): New target.
22873
22874 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22875
22876 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22877 profil_reply_port.
22878 (profile_waiter): Do not initialize profil_reply_port.
22879 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22880 frequency instead of tick length in us.
22881
22882 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22883
22884 [BZ #18712]
22885 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22886 (__old_mempcpy_small): Likewise.
22887 (__old_strcpy_small): Likewise.
22888 (__old_stpcpy_small): Likewise.
22889 (__old_strpbrk_c2): Fix compat symbol name.
22890 (__old_strpbrk_c3): Likewise.
22891 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22892 (__mempcpy_small): Remove.
22893 (__strcpy_small): Remove.
22894 (__stpcpy_small): Remove.
22895
22896 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22897
22898 [BZ #19400]
22899 * locale/iso-639.def: Add the Talossan/tzl language.
22900
22901 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22902
22903 [BZ #16983]
22904 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22905 comment. Add "ln" to strchr check on postal_fmt.
22906
22907 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22908
22909 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22910 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22911 tel_dom_fmt.
22912
22913 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22914
22915 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22916 (sysdep_routines): Added __strlen_power8.
22917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22918 __strlen_power8 entry.
22919 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22920 Implementation for POWER8.
22921 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22922 for __strlen_power8.
22923 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22924 Implementation for POWER8.
22925
22926 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22927
22928 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22929
22930 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22931
22932 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22933 Goldmont and Airmont processors.
22934
22935 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22936
22937 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22938 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22939 (__STRING2_SMALL_GET32): Remove.
22940 (memset): Remove.
22941 (__memset_1): Remove.
22942 (__memset_gc): Remove.
22943 (__mempcpy): Remove.
22944 (mempcpy): Remove.
22945 (__mempcpy_args): Remove.
22946 (strchr): Remove.
22947 (strcpy): Remove.
22948 (strcpy_args): Remove.
22949 (__stpcpy_args): Remove.
22950 (__strcmp_cc): Remove.
22951 (__strcmp_gc): Remove.
22952 (strstr): Remove.
22953
22954 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22955
22956 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22957 * nis/nis_call.c (nis_server_cache_add): Likewise.
22958
22959 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22960
22961 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22962
22963 2016-04-14 Florian Weimer <fweimer@redhat.com>
22964
22965 * malloc/arena.c (__malloc_fork_lock_parent)
22966 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22967 internal_function attribute.
22968
22969 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22970
22971 * stdio-common/printf_fp.c (__printf_fp_l):
22972 Rename ___printf_fp_l to __printf_fp_l and
22973 remove strong alias. Use libc_hidden_def instead
22974 of ldbl_hidden_def macro.
22975
22976 2016-04-14 Florian Weimer <fweimer@redhat.com>
22977
22978 Remove malloc hooks from fork handler. They are no longer needed
22979 because malloc runs right before fork, and no malloc calls from
22980 other fork handlers are not possible anymore.
22981 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22982 declarations.
22983 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22984 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22985 (atfork_recursive_cntr): Remove.
22986 (__malloc_fork_lock_parent): Do not override malloc hooks and
22987 thread_arena.
22988 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22989 thread_arena.
22990 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22991 thread_arena instead of save_arena.
22992
22993 2016-04-14 Florian Weimer <fweimer@redhat.com>
22994
22995 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22996 (thread_atfork, thread_atfork_static): Remove.
22997 * sysdeps/mach/hurd/malloc-machine.h:
22998 (thread_atfork, thread_atfork_static): Remove.
22999
23000 2016-04-14 Florian Weimer <fweimer@redhat.com>
23001
23002 [BZ #19431]
23003 Run the malloc fork handler as late as possible to avoid deadlocks.
23004 * malloc/malloc-internal.h: New file.
23005 * malloc/malloc.c: Include it.
23006 * malloc/arena.c (ATFORK_MEM): Remove.
23007 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
23008 Update comment.
23009 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
23010 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
23011 Remove outdated comment.
23012 (ptmalloc_init): Do not call thread_atfork. Remove
23013 thread_atfork_static.
23014 * malloc/tst-malloc-fork-deadlock.c: New file.
23015 * Makefile (tests): Add tst-malloc-fork-deadlock.
23016 (tst-malloc-fork-deadlock): Link against libpthread.
23017 * manual/memory.texi (Aligned Memory Blocks): Update safety
23018 annotation comments.
23019 * sysdeps/nptl/fork.c (__libc_fork): Call
23020 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
23021 __malloc_fork_unlock_child.
23022 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
23023
23024 2016-04-14 Florian Weimer <fweimer@redhat.com>
23025
23026 [BZ #19613]
23027 Remove union wait.
23028 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
23029 (w_stopsig, w_stopval): Remove.
23030 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
23031 stat_loc argument.
23032 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
23033 (__WAIT_STATUS_DEFN): Remove.
23034 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23035 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
23036 (wait, wait3, wait4): Use int * for the stat_loc argument.
23037 * posix/wait.c (__wait): Likewise.
23038 * posix/wait3.c (__wait3): Likewise.
23039 * posix/wait4.c (__wait4): Likewise.
23040 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
23041 (__WAIT_STATUS_DEFN): Remove.
23042 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23043 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
23044 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
23045 argument.
23046 * sysdeps/posix/wait.c (__libc_wait): Likewise.
23047 * sysdeps/posix/wait3.c (__wait3): Likewise.
23048 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
23049 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23050 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
23051 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
23052 stat_loc argument.
23053 * manual/process.texi (BSD Wait Functions): Remove union wait.
23054
23055 2016-04-13 Andreas Schwab <schwab@suse.de>
23056
23057 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
23058 (test-extras): Add tst-tlsalign-vars.
23059 * math/Makefile: Wrap long lines.
23060 (libm-vec-test-wrappers): Define.
23061 (test-extras): Add $(libm-vec-test-wrappers).
23062 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
23063 * nss/Makefile (extra-test-objs): Add nss_test1.os.
23064 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
23065 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
23066 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
23067 (extra-test-objs): Add corresponding objects.
23068
23069 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
23070
23071 [BZ #19928]
23072 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
23073 New.
23074 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
23075 times of shared cache size.
23076 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
23077 (VMOVNT): New.
23078 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
23079 (VMOVNT): Likewise.
23080 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
23081 (VMOVNT): Likewise.
23082 (VMOVU): Changed to movups for smaller code sizes.
23083 (VMOVA): Changed to movaps for smaller code sizes.
23084 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
23085 comments.
23086 (PREFETCH): New.
23087 (PREFETCH_SIZE): Likewise.
23088 (PREFETCHED_LOAD_SIZE): Likewise.
23089 (PREFETCH_ONE_SET): Likewise.
23090 Rewrite to use forward and backward loops, which move 4 vector
23091 registers at a time, to support overlapping addresses and use
23092 non temporal store if size is above the threshold and there is
23093 no overlap between destination and source.
23094
23095 2016-04-12 Alex Smith <alex.smith@imgtec.com>
23096
23097 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
23098 Include dl-vdso.
23099 * sysdeps/unix/sysv/linux/mips/Versions: Add
23100 __vdso_clock_gettime.
23101 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
23102 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
23103 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
23104 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
23105 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
23106 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
23107 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23108 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23109 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23110
23111 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23112
23113 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
23114 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
23115 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23116 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23117 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23118 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23121 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
23122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
23123 syscalls generation.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23125 [__NR_pwrite64] (__NR_write): Remove define.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23127 [__NR_pwrite64] (__NR_write): Remove define.
23128 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
23129 Remove define.
23130 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
23131 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
23132 Remove define.
23133 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
23134 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
23135 Linux implementation as base.
23136 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23137
23138 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23139 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23140 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23144 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23146 syscall generation.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23148 [__NR_pread64] (__NR_pread): Remove define.
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23150 [__NR_pread64] (__NR_pread): Likewise.
23151 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23152 define.
23153 (__libc_pread): Use SYSCALL_LL macro on offset argument.
23154 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23155 Remove define.
23156 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23157 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23158 Linux implementation as base.
23159 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23160 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23161 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23162
23163 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23164 definition.
23165 (__ALIGNMENT_COUNT): Likewise.
23166 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23167 (__ALIGNMENT_COUNT): Likewise.
23168 (SYSCALL_LL): New define.
23169 (SYSCALL_LL64): Likewise.
23170 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23171 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23172 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23173 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23174
23175 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23176 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23177 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23178 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23179 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23180 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23181
23182 2016-04-11 Florian Weimer <fweimer@redhat.com>
23183
23184 [BZ #19865]
23185 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23186 original buffer before retry.
23187
23188 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23189
23190 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23191 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23192 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23193 GLRO(dl_auxv) list.
23194 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23195 including <ldsodefs.h>.
23196 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23197
23198 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
23199
23200 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23201 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23202 $(CPPFLAGS).
23203
23204 2016-04-09 Khem Raj <raj.khem@gmail.com>
23205
23206 [BZ #17950]
23207 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23208 Add -mfpmath=387.
23209
23210 2016-04-09 Mike Frysinger <vapier@gentoo.org>
23211
23212 * sysdeps/i386/configure.ac: Change == to = when calling test.
23213 * sysdeps/x86_64/configure.ac: Likewise.
23214 * sysdeps/i386/configure: Regenerated.
23215 * sysdeps/x86_64/configure: Likewise.
23216
23217 2016-04-08 Mike Frysinger <vapier@gentoo.org>
23218
23219 [BZ #16137]
23220 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23221 * benchtests/bench-strcoll.c (input_files): Likewise.
23222 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23223 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23224 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23225
23226 2016-04-08 Joseph Myers <joseph@codesourcery.com>
23227
23228 [BZ #19929]
23229 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23230 [__USE_XOPEN2K8 && !__USE_GNU].
23231 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23232 variable.
23233
23234 [BZ #19925]
23235 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23236 define if [!__USE_MISC && __USE_XOPEN2K].
23237 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23238 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23240 Likewise.
23241 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23242 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23243 variable.
23244 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23245
23246 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23247
23248 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23249 (sysdep_routines): Add new strspn targets.
23250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23251 (__libc_ifunc_impl_list): Add strspn.
23252 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23253 New file.
23254 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23255 Likewise.
23256 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23257 Likewise.
23258 * sysdeps/powerpc/powerpc64/power8/strspn.S:
23259 Likewise.
23260
23261 2016-04-07 Florian Weimer <fweimer@redhat.com>
23262
23263 * misc/hsearch_r.c: Include <limits.h>.
23264
23265 2016-04-07 Florian Weimer <fweimer@redhat.com>
23266
23267 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23268
23269 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23270
23271 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23272 (MEMCPY_SYMBOL): New.
23273 (MEMPCPY_SYMBOL): Likewise.
23274 (MEMMOVE_CHK_SYMBOL): Likewise.
23275 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23276 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23277 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
23278 Provide alias for memcpy in libc.a and ld.so.
23279
23280 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23281
23282 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23283 (MEMSET_CHK_SYMBOL): New. Define if not defined.
23284 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23285 Disabled fro now.
23286 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23287 symbols. Properly check USE_MULTIARCH on __memset symbols.
23288
23289 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23290
23291 * benchtests/Makefile (string-benchset): Add memcpy-large,
23292 memmove-large and memset-large.
23293 * benchtests/bench-memcpy-large.c: New file.
23294 * benchtests/bench-memmove-large.c: Likewise.
23295 * benchtests/bench-memmove-large.c: Likewise.
23296 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23297
23298 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23299
23300 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23301 32-bit displacement to avoid long nop between instructions.
23302
23303 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23304
23305 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23306 a comment on VMOVU and VMOVA.
23307
23308 2016-04-04 Florian Weimer <fweimer@redhat.com>
23309
23310 [BZ #19633]
23311 Use specified locale for number formatting in strfmon_l.
23312 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23313 (__nl_lookup_word): New inline functions.
23314 * include/printf.h (__print_fp_l): Declare.
23315 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23316 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
23317 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23318 (___printf_fp): New function.
23319 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23320 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23321 * stdlib/tst-strfmon_l.c (do_test): New test.
23322 * stdlib/Makefile (tests): Add kt.
23323 (LOCALES): Build additional locales.
23324 (tst-strfmon_l.out): Require locales.
23325
23326 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23327
23328 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23329 if not in libc.
23330 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23331 Likewise.
23332 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23333 Likewise.
23334 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23335 Likewise.
23336
23337 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23338
23339 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23340 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23341 with unaligned_erms.
23342 (__memmove_erms): Skip if source == destination.
23343 (__memmove_unaligned_erms): Don't check source == destination
23344 first.
23345
23346 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23347
23348 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23349 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23350
23351 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23352
23353 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23354 * string/strspn.c (strspn): Likewise.
23355
23356 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23357
23358 * benchtests/bench-memset.c (do_test): Support 64-byte
23359 alignment.
23360 (test_main): Test 64-byte alignment.
23361
23362 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23363
23364 * benchtests/bench-memmove.c (test_main): Test 64-byte
23365 alignment.
23366
23367 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23368
23369 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23370
23371 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23372
23373 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23374 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23375 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23376
23377 * string/strpbrk.c (strpbrk): Rewrite function.
23378 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23379 (__strpbrk_c2): Likewise.
23380 (__strpbrk_c3): Likewise.
23381 * string/string-inlines.c
23382 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23383 Likewise.
23384 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23385 Likewise.
23386
23387 * string/strspn.c (strcspn): Rewrite function.
23388 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23389 (__strspn_c1): Remove inline function.
23390 (__strspn_c2): Likewise.
23391 (__strspn_c3): Likewise.
23392 * string/string-inlines.c
23393 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23394 compatibility symbol.
23395 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23396 Likewise.
23397 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23398 Likewise.
23399 * string/string-inlines.c: Include generic version.
23400
23401 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23402 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23403
23404 * string/Version (libc): Add GLIBC_2.24.
23405 * string/strcspn.c (strcspn): Rewrite function.
23406 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23407 (__strcspn_c1): Remove inline function.
23408 (__strcspn_c2): Likewise.
23409 (__strcspn_c3): Likewise.
23410 * string/string-inline.c
23411 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23412 compatibility symbol.
23413 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23414 Likewise.
23415 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23416 Likewise.
23417 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23418
23419 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23420
23421 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23422 Use ahi instead of aghi to adjust stack pointer.
23423
23424 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23425
23426 [BZ #19853]
23427 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23428 TEST to take significant digits as second parameter.
23429 [TEST]: Redefine in terms of TEST_N taking 30
23430 significant digits.
23431 (do_test): Add test case to demonstrate precision
23432 failure in the ldbl-128ibm printf.
23433 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23434 (__mpn_extract_long_double): Carry 7 extra intermediate
23435 bits of precision to aide computing difference when
23436 signs differ.
23437
23438 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 [BZ #19881]
23441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23442 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23443 memset-avx512-unaligned-erms.
23444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23445 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23446 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23447 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23448 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23449 __memset_sse2_unaligned_erms, __memset_erms,
23450 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23451 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23452 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23453 file.
23454 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23455 Likewise.
23456 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23457 Likewise.
23458 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23459 Likewise.
23460
23461 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23462
23463 [BZ #19776]
23464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23465 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23466 memmove-avx512-unaligned-erms.
23467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23468 (__libc_ifunc_impl_list): Test
23469 __memmove_chk_avx512_unaligned_2,
23470 __memmove_chk_avx512_unaligned_erms,
23471 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23472 __memmove_chk_sse2_unaligned_2,
23473 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23474 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23475 __memmove_avx512_unaligned_erms, __memmove_erms,
23476 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23477 __memcpy_chk_avx512_unaligned_2,
23478 __memcpy_chk_avx512_unaligned_erms,
23479 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23480 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23481 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23482 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23483 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23484 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23485 __mempcpy_chk_avx512_unaligned_erms,
23486 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23487 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23488 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23489 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23490 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23491 __mempcpy_erms.
23492 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23493 file.
23494 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23495 Likewise.
23496 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23497 Likewise.
23498 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23499 Likewise.
23500
23501 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23502
23503 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23504 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23505 (La_s390_64_regs): Likewise.
23506 (La_s390_32_retval): Append vector register lrv_v24.
23507 (La_s390_64_retval): Likeweise.
23508 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23509 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23510 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23511 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23512
23513 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23514
23515 [BZ #19916]
23516 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23517 to create a non-vector/vector version for _dl_runtime_resolve and
23518 _dl_runtime_profile. Move implementation to ...
23519 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23520 (_dl_runtime_resolve) Save and restore fpr/vrs.
23521 (_dl_runtime_profile) Save and restore vrs and fix some issues
23522 if _dl_call_pltexit is called.
23523 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23524 Choose the correct resolver function if running on a machine with vx.
23525 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23526 to create a non-vector/vector version for _dl_runtime_resolve and
23527 _dl_runtime_profile. Move implementation to ...
23528 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23529 (_dl_runtime_resolve) Save and restore fpr/vrs.
23530 (_dl_runtime_profile) Save and restore vrs and fix some issues
23531 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23532 Choose the correct resolver function if running on a machine with vx.
23533
23534 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23535
23536 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23537
23538 2016-03-31 Florian Weimer <fweimer@redhat.com>
23539
23540 [BZ #19509]
23541 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23542 skip_map != NULL.
23543 * elf/tst-dlsym-error.c: New file.
23544 * elf/Makefile (tests): Add tst-dlsym-error.
23545 (tst-dlsym-error): Link against libdl.
23546
23547 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23548
23549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23550 (__ASSUME_FUTIMESAT): Remove macro.
23551 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23552
23553 2016-03-29 Florian Weimer <fweimer@redhat.com>
23554
23555 [BZ #19879]
23556 CVE-2016-3075
23557 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23558 copy name.
23559
23560 2016-03-29 Florian Weimer <fweimer@redhat.com>
23561
23562 [BZ #19837]
23563 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23564 error if parse_line fails.
23565
23566 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23567
23568 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23569 (index_cpu_ERMS): Likewise.
23570 (reg_ERMS): Likewise.
23571
23572 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23573
23574 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23575 PER_LINUX_FDPIC): Add.
23576
23577 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23578
23579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23580 memcpy-avx512-no-vzeroupper.
23581 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23582 to ...
23583 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23584 (MEMCPY): Don't define.
23585 (MEMCPY_CHK): Likewise.
23586 (MEMPCPY): Likewise.
23587 (MEMPCPY_CHK): Likewise.
23588 (MEMPCPY_CHK): Renamed to ...
23589 (__mempcpy_chk_avx512_no_vzeroupper): This.
23590 (MEMPCPY_CHK): Renamed to ...
23591 (__mempcpy_chk_avx512_no_vzeroupper): This.
23592 (MEMCPY_CHK): Renamed to ...
23593 (__memmove_chk_avx512_no_vzeroupper): This.
23594 (MEMCPY): Renamed to ...
23595 (__memmove_avx512_no_vzeroupper): This.
23596 (__memcpy_avx512_no_vzeroupper): New alias.
23597 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23598
23599 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 [BZ #18858]
23602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23603 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23604 and mempcpy-avx512-no-vzeroupper.
23605 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23606 New.
23607 (MEMPCPY): Likewise.
23608 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23609 (MEMPCPY_CHK): New.
23610 (MEMPCPY): Likewise.
23611 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23612 (MEMPCPY): Likewise.
23613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23614 (MEMPCPY): Likewise.
23615 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23616 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23617 Likewise.
23618 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23619 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23620
23621 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23622 Amit Pawar <Amit.Pawar@amd.com>
23623
23624 [BZ #19583]
23625 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23626 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23627 processors. Set Fast_Copy_Backward for AMD Excavator
23628 processors.
23629 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23630 New.
23631 (index_arch_Fast_Unaligned_Copy): Likewise.
23632 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23633 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23634
23635 2016-03-25 Florian Weimer <fweimer@redhat.com>
23636
23637 [BZ #19791]
23638 * resolv/res_send.c (close_and_return_error): New function.
23639 (send_dg): Initialize *resplen2 after reopen failure. Call
23640 close_and_return_error for error returns. On error paths without
23641 __res_iclose, initialze *resplen2 explicitly. Update comment for
23642 successful return.
23643
23644 2016-03-25 Florian Weimer <fweimer@redhat.com>
23645
23646 [BZ #19860]
23647 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23648 zero if the compiler does not provide the AVX512F bit.
23649
23650 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23651
23652 [BZ #19848]
23653 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23654 from 8 to 4.
23655 (__ieee754_powl): Compare integer exponent against 4 not 8.
23656 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23657 from 8 to 4.
23658 (__ieee754_powl): Compare integer exponent against 4 not 8.
23659 * math/auto-libm-test-in: Add more tests of pow.
23660 * math/auto-libm-test-out: Regenerated.
23661 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23663
23664 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23665
23666 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23667 Make code unconditional.
23668 [!__NR_utimensat]: Remove conditional code.
23669 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23670 Make code unconditional.
23671 [!__NR_utimensat]: Remove conditional code.
23672 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23673 Make code unconditional.
23674 [!__NR_utimensat]: Remove conditional code.
23675
23676 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23677
23678 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23679 Make code unconditional.
23680
23681 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23682
23683 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23684 call-clobbered %eax on retry path.
23685 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23686
23687 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23688
23689 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23690 Don't set %rcx twice before "rep movsb".
23691
23692 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23693
23694 [BZ #19583]
23695 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23696 inline. Check family before setting family, model and
23697 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23698 bits here.
23699 (init_cpu_features): Replace HAS_CPU_FEATURE and
23700 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23701 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23702 for Intel processors with usable AVX2. Call get_common_indeces
23703 for other processors with family == NULL.
23704 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23705 (CPU_FEATURES_ARCH_P): Likewise.
23706 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23707 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23708
23709 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23710
23711 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23712 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23713 $(shared-thread-library) instead of hardcoding the path to libpthread.
23714
23715 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23716
23717 * sysdeps/unix/sysv/linux/kernel-features.h
23718 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23719 * sysdeps/unix/sysv/linux/getdents.c
23720 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23721 [!have_no_getdents64_defined]: Likewise.
23722 (__GETDENTS): Remove __have_no_getdents64 conditional.
23723
23724 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23725
23726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23727 Remove macro.
23728 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23729 <kernel-features.h>.
23730 (signalfd) [__NR_signalfd4]: Make code unconditional.
23731 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23732
23733 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23734
23735 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23736 style.
23737
23738 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23739
23740 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23741 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23742 __pthread_unwind.
23743 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23744 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23745 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23746 (__condvar_cleanup1): Likewise.
23747
23748 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23749
23750 [BZ #19822]
23751 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23752 move it to the final $@ location.
23753
23754 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23755
23756 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23757 access where posix_spawn success and pid argument is null.
23758 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23759 success case.
23760
23761 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23762
23763 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23764
23765 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23766
23767 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23768 and __fcntl.
23769 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23770 __fcntl only.
23771 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23772 adding attribute_hidden to __open and __fcntl.
23773
23774 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23775 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23776 depend on libc-modules.h,
23777 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23778
23779 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23780
23781 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23782 Remove macro.
23783 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23784 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23785 entry.
23786
23787 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23788 Remove macro.
23789 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23790 include <kernel-features.h>.
23791 [!__ASSUME_FALLOCATE]: Remove conditional code.
23792 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23793
23794 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23795
23796 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23797 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23798 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23799 (_ZGVdN4v_cos_avx2): Likewise.
23800 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23801 (_ZGVdN4v_cos): Likewise.
23802 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23803 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23804 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23805 (_ZGVdN4v_exp_avx2): Likewise.
23806 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23807 (_ZGVdN4v_exp): Likewise.
23808 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23809 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23810 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23811 (_ZGVdN4v_log_avx2): Likewise.
23812 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23813 (_ZGVdN4v_log): Likewise.
23814 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23815 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23816 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23817 (_ZGVdN4vv_pow_avx2): Likewise.
23818 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23819 (_ZGVdN4vv_pow): Likewise.
23820 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23821 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23822 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23823 (_ZGVdN4v_sin_avx2): Likewise.
23824 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23825 (_ZGVdN4v_sin): Likewise.
23826 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23827 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23828 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23829 (_ZGVdN4vvv_sincos_avx2): Likewise.
23830 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23831 (_ZGVdN4vvv_sincos): Likewise.
23832 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23833 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23834 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23835 (_ZGVbN4v_cosf_sse4): Likewise.
23836 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23837 (_ZGVdN8v_cosf_avx2): Likewise.
23838 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23839 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23840 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23841 (_ZGVbN4v_expf_sse4): Likewise.
23842 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23843 (_ZGVdN8v_expf_avx2): Likewise.
23844 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23845 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23846 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23847 (_ZGVbN4v_logf_sse4): Likewise.
23848 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23849 (_ZGVdN8v_logf_avx2): Likewise.
23850 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23851 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23852 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23853 (_ZGVbN4vv_powf_sse4): Likewise.
23854 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23855 (_ZGVdN8vv_powf_avx2): Likewise.
23856 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23857 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23858 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23859 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23860 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23861 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23862 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23863 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23864 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23865 (_ZGVbN4v_sinf_sse4): Likewise.
23866 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23867 (_ZGVdN8v_sinf_avx2): Likewise.
23868 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23869 Use JUMPTARGET to call callee.
23870 (WRAPPER_IMPL_SSE2_ff): Likewise.
23871 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23872 (WRAPPER_IMPL_AVX): Likewise.
23873 (WRAPPER_IMPL_AVX_ff): Likewise.
23874 (WRAPPER_IMPL_AVX_fFF): Likewise.
23875 (WRAPPER_IMPL_AVX512): Likewise.
23876 (WRAPPER_IMPL_AVX512_ff): Likewise.
23877 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23878 Likewise.
23879 (WRAPPER_IMPL_SSE2_ff): Likewise.
23880 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23881 (WRAPPER_IMPL_AVX): Likewise.
23882 (WRAPPER_IMPL_AVX_ff): Likewise.
23883 (WRAPPER_IMPL_AVX_fFF): Likewise.
23884 (WRAPPER_IMPL_AVX512): Likewise.
23885 (WRAPPER_IMPL_AVX512_ff): Likewise.
23886 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23887
23888 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23889
23890 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23891 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23892 qualifier.
23893 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23894 internal_function qualifiers.
23895
23896 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23897
23898 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23899 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23900 * math/atest-exp.c (exp_mpn): Mark chk unused.
23901 * math/atest-exp2.c (exp_mpn): Likewise.
23902 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23903 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23904
23905 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23906
23907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23908 Remove macro.
23909 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23910 <kernel-features.h>.
23911 [__NR_ppoll]: Make code unconditional.
23912 [!__ASSUME_PPOLL]: Remove conditional code.
23913
23914 * sysdeps/unix/sysv/linux/kernel-features.h
23915 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23916 (__ASSUME_ACCEPT4): Likewise.
23917 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23918 Define.
23919 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23920 Likewise.
23921 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23922 Likewise.
23923 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23924 Likewise.
23925 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23926 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23927 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23928 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23929 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23930 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23932 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23933 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23934 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23935 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23936 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23937 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23938 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23939 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23941 Likewise.
23942 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23943 Likewise.
23944 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23945 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23946 0x040300].
23947 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23948 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23949 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23950 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23951 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23952 0x030300].
23953 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23954 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23955 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23956 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23957 0x040300].
23958 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23959 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23961 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23962 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23963 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23964 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23965 0x030300].
23966 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23967 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23968 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23969 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23970 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23971 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23972 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23973 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23974 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23975 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23976 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23977 0x040300].
23978 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23979 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23980 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23981 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23982 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23983 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23984 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23985 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23986 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23987 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23989 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23990 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23991 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23992 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23993 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23995 Likewise.
23996 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23997 Likewise.
23998
23999 2016-03-15 Andreas Schwab <schwab@suse.de>
24000
24001 [BZ #19257]
24002 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
24003 statp->_u._ext.nscount as loop count.
24004
24005 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
24006
24007 * math/test-signgam-finite-c99.c: Also #undef
24008 __LIBC_INTERNAL_MATH_INLINES.
24009 * math/test-signgam-main.c: Likewise.
24010
24011 2016-03-14 Joseph Myers <joseph@codesourcery.com>
24012
24013 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
24014 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
24015 (MADV_FREE): Likewise.
24016 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
24017 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
24018 EPOLLEXCLUSIVE.
24019
24020 2016-03-14 Carlos O'Donell <carlos@redhat.com>
24021
24022 * timezone/README: Remove mention of checktab.awk. Mention wiki
24023 SharedSourceFiles.
24024
24025 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
24026
24027 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
24028 WUNTRACED.
24029
24030 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24031
24032 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
24033 order to match the type of p when calling atomic_exchange_acq().
24034
24035 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24036
24037 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
24038 cfi_offset calls.
24039 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
24040 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
24041 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
24042 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
24043 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
24044
24045 2016-03-10 Carlos O'Donell <carlos@redhat.com>
24046
24047 * timezone/checktab.awk: Removed.
24048
24049 2016-03-10 Joseph Myers <joseph@codesourcery.com>
24050
24051 * manual/math.texi (Errors in Math Functions): Document relaxed
24052 accuracy goals for IBM long double.
24053 * math/libm-test.inc (test_exceptions): Always allow spurious
24054 "underflow" and "inexact" exceptions for IBM long double.
24055
24056 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
24057
24058 [BZ #19762]
24059 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24060 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
24061 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
24062 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
24063 (bit_arch_*): This for feature array.
24064 (bit_*): Renamed to ...
24065 (bit_cpu_*): This for cpu array.
24066 (index_*): Renamed to ...
24067 (index_arch_*): This for feature array.
24068 (index_*): Renamed to ...
24069 (index_cpu_*): This for cpu array.
24070 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
24071 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
24072 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
24073 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
24074 bit_##name with index_cpu_##name and bit_cpu_##name.
24075 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
24076 bit_##name with index_arch_##name and bit_arch_##name.
24077
24078 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
24079
24080 [BZ #19792]
24081 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
24082 Terminate FDE before return label.
24083
24084 2016-03-09 Joseph Myers <joseph@codesourcery.com>
24085
24086 [BZ #19790]
24087 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
24088 (rintl): Define as macro.
24089 [USE_AS_NEARBYINTL] (__rintl): Likewise.
24090 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
24091 of fesetround. Ensure results are evaluated before end of scope.
24092 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
24093 USE_AS_NEARBYINTL and include s_rintl.c.
24094 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
24095 Disable exception traps in new environment.
24096 (libc_feholdsetround_ppc_ctx): Likewise.
24097
24098 2016-03-08 Roland McGrath <roland@hack.frob.com>
24099
24100 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
24101 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
24102 (tst_audit10_aux) [__AVX512F__]: ... here.
24103
24104 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
24105
24106 * include/sys/auxv.h: New file.
24107
24108 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
24109
24110 [BZ #19759]
24111 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
24112
24113 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
24114
24115 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
24116 operand modifier.
24117 (feclearexcept): Likewise.
24118
24119 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24120
24121 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
24122 to reflect the entire 32-bit HWCAP.
24123 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
24124 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
24125
24126 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
24127
24128 [BZ #19783]
24129 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
24130 $(test-via-rtld-prefix).
24131 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
24132
24133 2016-03-08 Florian Weimer <fweimer@redhat.com>
24134
24135 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
24136 union wait. Report any non-zero exit status as error.
24137
24138 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24139
24140 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24141 configured with --enable-hardcoded-path-in-tests.
24142
24143 2016-03-08 Joseph Myers <joseph@codesourcery.com>
24144
24145 [BZ #19677]
24146 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24147 (__ieee754_remainderl): Put zero low parts in canonical form.
24148 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24149 file. Based on
24150 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24151 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24152 with wrapper round test-fmodrem-ldbl-128ibm.c.
24153 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24154 file.
24155 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24156 Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24158 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24159
24160 2016-03-07 Florian Weimer <fweimer@redhat.com>
24161
24162 [BZ #19610]
24163 * elf/ldconfig.c (opt_link): Update comment.
24164 (options): Update help string for option -X.
24165 (search_dir): Unlink stale symbolic link only if updating symbolic
24166 links.
24167 * elf/tst-ldconfig-X.sh: New file.
24168 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24169 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24170
24171 2016-03-07 Andreas Schwab <schwab@suse.de>
24172
24173 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24174 needed arguments.
24175
24176 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
24177
24178 [BZ #15333]
24179 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24180 to lstat64.
24181
24182 2016-03-07 Florian Weimer <fweimer@redhat.com>
24183
24184 * libio/filedoalloc.c (isatty): Remove.
24185 (local_isatty): Add comment. Call __isatty directly.
24186 (_IO_file_doallocate): Update comment. Assume _LIBC.
24187 * libio/wfiledoalloc.c (isatty): Remove.
24188 (_IO_wfile_doallocate): Update comment.
24189
24190 2016-03-07 Florian Weimer <fweimer@redhat.com>
24191
24192 [BZ #19269]
24193 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24194 tst-audit4-aux.o.
24195 (tst-audit10): Depend on tst-audit10-aux.o.
24196 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24197 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24198 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24199 instead of inline AVX code.
24200 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24201 instead of inline AVX512 code.
24202 * sysdeps/x86_64/tst-audit4-aux.c: New file
24203 * sysdeps/x86_64/tst-audit10-aux.c: New file
24204
24205 [BZ #19648]
24206 * test-skeleton.c (main): Do not set RLIMIT_DATA.
24207
24208 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24209
24210 [BZ #14750]
24211 [BZ #10354]
24212 [BZ #18433]
24213 * include/sched.h (__clone): Add hidden prototype.
24214 (__clone2): Likewise.
24215 * include/unistd.h (__dup): Likewise.
24216 * posix/Makefile (tests): Add tst-spawn2.
24217 * posix/tst-spawn2.c: New file.
24218 * sysdeps/posix/dup.c (__dup): Add hidden definition.
24219 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24220 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24221 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24222 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24223 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24224 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24225 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24226 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24227 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24228 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24230 Likewise.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24232 Likewise.
24233 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24234 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24235 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24236 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24237 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24238 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24239 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24240 * sysdeps/unix/sysv/linux/nptl-signals.h
24241 (____nptl_is_internal_signal): New function.
24242 * sysdeps/unix/sysv/linux/spawni.c: New file.
24243
24244 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24245 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24246 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24247 * posix/tst-execvp2.c (do_test): Likewise.
24248 * posix/tst-execvp3.c (do_test): Likewise.
24249 * posix/tst-execvp4.c (do_test): Likewise.
24250 * posix/tst-execvpe1.c: New file.
24251 * posix/tst-execvpe2.c: Likewise.
24252 * posix/tst-execvpe3.c: Likewise.
24253 * posix/tst-execvpe4.c: Likewise.
24254 * posix/tst-execvpe5.c: Likewise.
24255 * posix/tst-execvpe6.c: Likewise.
24256
24257 [BZ #19534]
24258 * posix/execl.c (execl): Remove dynamic memory allocation.
24259 * posix/execle.c (execle): Likewise.
24260 * posix/execlp.c (execlp): Likewise.
24261
24262 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24263
24264 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24265 Replace .text with .text.avx512.
24266 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24267 Likewise.
24268
24269 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
24270
24271 * sysdeps/generic/libnsl.abilist: New file.
24272 * sysdeps/generic/libutil.abilist: New file.
24273
24274 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24275
24276 [BZ #19762]
24277 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24278 HAS_ARCH_FEATURE with Fast_Rep_String.
24279 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24280 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24281 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24282 Likewise.
24283 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24284 Likewise.
24285 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24286 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24287 Likewise.
24288 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24289 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24290 Likewise.
24291
24292 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24293
24294 [BZ #19745]
24295 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24296 with *%rax in call.
24297
24298 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 [BZ #19745]
24301 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24302 with *__libc_start_main@GOTPCREL(%rip) in call.
24303
24304 2016-03-04 Roland McGrath <roland@hack.frob.com>
24305
24306 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24307 inside conditional for nonempty $(CXX).
24308
24309 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24310 nonempty.
24311
24312 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24313 to test for empty $(CXX) rather than $(CXX) of "no".
24314
24315 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24316
24317 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24318
24319 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
24320 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 [BZ #18880]
24323 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24324 instead of Slow_BSF, and also check for Fast_Copy_Backward to
24325 enable __memcpy_ssse3_back.
24326
24327 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24328
24329 [BZ #19758]
24330 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24331 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24332
24333 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
24334
24335 [BZ #19490]
24336 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24337 (__fentry__): Likewise.
24338
24339 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24340
24341 * gmon/Makefile (noprof): Add $(sysdep_noprof).
24342 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24343
24344 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24345
24346 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24347 __mcount_internal directly.
24348 (C_LABEL(__fentry__)): Likewise.
24349 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24350 directly.
24351
24352 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24355 (__start_context): Call __setcontext directly.
24356
24357 2016-02-26 Joseph Myers <joseph@codesourcery.com>
24358
24359 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24360 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24361 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24362 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24363 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24364 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24365 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24366 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24367 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24368 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24369 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24370 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24371 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24372 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24373 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24374 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24375 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24376 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24377 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24378 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24379 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24380 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24381 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24382 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24383 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24384 Remove conditional code.
24385 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24386 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24387 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24388 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24389 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24390 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24391 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24392 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24393 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24394 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24395 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24396 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24397
24398 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24399
24400 * NEWS (2.23): Fix typo in bug 19048 text.
24401
24402 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24403
24404 [BZ #14259]
24405 * Makeconfig: Rename msgcatdir to localedir.
24406 Rename inst_msgcatdir to inst_localedir.
24407 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24408 * config.make.in: Add localedir.
24409 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24410 (ldd-rewrite): Likewise.
24411 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24412 (install-others): Use inst_localedir.
24413 (CPPFLAGS): Use localedir.
24414 * locale/Makefile (locale-CPPFLAGS): Likewise.
24415 * po/Makefile (mo-installed): Use inst_localedir.
24416
24417 [BZ #19575]
24418 * localedata/charmaps/GB18030: Update comments regarding PAU to
24419 non-PUA mappings.
24420
24421 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24422
24423 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24424 test for header.
24425 * sysdeps/unix/sysv/linux/configure: Regenerated.
24426 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24427 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24428 Remove conditional code.
24429 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24430
24431 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24432 Define to 3.2.0.
24433 (arch_minimum_kernel): Likewise.
24434 * sysdeps/unix/sysv/linux/configure: Regenerated.
24435 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24436 Define to 2.6.32.
24437 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24438 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24439 (arch_minimum_kernel): Define to 2.6.32.
24440 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24441 * README: Document Linux 3.2 requirement.
24442 * manual/install.texi (Linux): Document Linux 3.2 headers
24443 requirement.
24444 * INSTALL: Regenerated.
24445
24446 2016-02-24 Andreas Schwab <schwab@suse.de>
24447
24448 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24449 if !NO_LONG_DOUBLE.
24450
24451 2016-02-22 Roland McGrath <roland@hack.frob.com>
24452
24453 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24454 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24455
24456 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24457
24458 [BZ #19512]
24459 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24460
24461 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24462
24463 * posix/tst-dir.c: Include libc-internal.h.
24464
24465 2016-02-20 Florian Weimer <fweimer@redhat.com>
24466
24467 [BZ #19056]
24468 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24469 * manual/filesys.texi (Reading/Closing Directory): Mention
24470 deprecaion.
24471 * posix/tst-dir.c (main): Disable deprecation warning in test.
24472
24473 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24474
24475 [BZ #19679]
24476 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24477 Renamed to ...
24478 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24479 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24480 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24481 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24482 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24483 * sysdeps/x86_64/dl-trampoline.h
24484 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24485 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24486
24487 2016-02-19 Mark Wielaard <mjw@redhat.com>
24488
24489 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24490
24491 2016-02-19 Mark Wielaard <mjw@redhat.com>
24492
24493 * elf/elf.h (R_386_GOT32X): New.
24494 (R_386_NUM): Update.
24495 (R_X86_64_GOTPCRELX: New.
24496 (R_X86_64_REX_GOTPCRELX): New.
24497 (R_X86_64_NUM): Update.
24498
24499 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24500
24501 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24502
24503 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24504
24505 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24506 assign attr->stackaddr to it, and adjust it down when
24507 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24508 [_STACK_GROWS_UP]: Delete assert.
24509 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24510 Implement stack grows up logic.
24511 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24512 stack grows up logic.
24513
24514 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24515
24516 * NEWS: Update with 2.24 template.
24517
24518 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24519
24520 [BZ #19678]
24521 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24522 Ensure +0.0 is returned when taking the next value below the least
24523 positive value.
24524
24525 2016-02-19 Florian Weimer <fweimer@redhat.com>
24526
24527 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24528 available. Do not define NO_THREADS.
24529 * malloc/malloc.c: Do not check NO_THREADS.
24530 * malloc/arena.c: Likewise.
24531
24532 2016-02-19 Florian Weimer <fweimer@redhat.com>
24533
24534 * malloc/malloc.c (__libc_mallinfo): Update comment.
24535 (struct malloc_par): Remove max_total_mem member, it was always 0.
24536 (int_mallinfo): Store 0 into usmblks (no functional change).
24537 * malloc/hooks.c (struct malloc_state): Document that
24538 max_total_mem is always 0.
24539 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24540 always 0.
24541 * manual/memory.texi (Statistics of Malloc): Likewise.
24542
24543 2016-02-19 Florian Weimer <fweimer@redhat.com>
24544
24545 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24546 * malloc/arena.c (arena_max): Remove.
24547 (heap_trim, _int_new_arena): Do not update arena_max.
24548
24549 2016-02-19 Florian Weimer <fweimer@redhat.com>
24550
24551 * resolv/res_init.c (res_ninit): Update comment.
24552
24553 2016-02-19 Florian Weimer <fweimer@redhat.com>
24554
24555 [BZ #19505]
24556 * posix/spawn_int.h: Add headers and include guard.
24557 (__spawn_valid_fd): New function.
24558 * posix/spawn_faction_addopen.c
24559 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24560 * posix/spawn_faction_addclose.c
24561 (posix_spawn_file_actions_addclose): Likewise.
24562 * posix/spawn_faction_adddup2.c
24563 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24564 second file descriptor.
24565 * posix/spawn_valid_fd.c: New file.
24566 * posix/tst-posix_spawn-fd.c: New file.
24567 * posix/Makefile (routines): Add spawn_valid_fd.
24568 (tests): Add tst-posix_spawn-fd.
24569
24570 2016-02-19 Florian Weimer <fweimer@redhat.com>
24571
24572 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24573 (do_test): Limit the number of arenas, so that we can use fewer
24574 outer threads. Limit timeout to 3 seconds, in preparation for a
24575 larger TIMEOUT value.
24576
24577 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24578
24579 [BZ #19674]
24580 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24581 sign in overflowing and underflowing results when overflow or
24582 underflow is detected early. Include sign in result before rather
24583 than after scaling.
24584
24585 [BZ #19603]
24586 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24587 (__ieee754_remainderl): Adjust sign of integer version of low part
24588 when taking absolute value of high part.
24589 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24590 * math/libm-test.inc (remainder_test_data): Add another test.
24591 (remquo_test_data): Likewise.
24592
24593 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24594
24595 [BZ #19602]
24596 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24597 equal high parts and both low parts zero specially.
24598 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24599 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24600 Add test-fmodl-ldbl-128ibm.
24601
24602 [BZ #19595]
24603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24604 common logic for all cases of shifting subnormal results. Do not
24605 insert sign bit in shifted mantissa. Always pass -1023 as biased
24606 exponent to ldbl_insert_mantissa in subnormal case.
24607
24608 [BZ #19594]
24609 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24610 on high and low parts then adjust result and use
24611 ldbl_canonicalize_int if needed.
24612
24613 [BZ #19593]
24614 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24615 on high part and __floor or __ceil on low part then use
24616 ldbl_canonicalize_int if needed.
24617
24618 [BZ #19592]
24619 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24620 high and low parts then use ldbl_canonicalize_int if needed.
24621
24622 [BZ #17899]
24623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24624 New function.
24625 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24626 on high and low parts then use ldbl_canonicalize_int if needed.
24627
24628 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24629
24630 * configure: Regenerated.
24631
24632 * po/libc.pot: Regenerated.
24633
24634 * po/be.po: Updated translation.
24635 * po/bg.po: Likewise.
24636 * po/ca.po: Likewise.
24637 * po/cs.po: Likewise.
24638 * po/da.po: Likewise.
24639 * po/el.po: Likewise.
24640 * po/eo.po: Likewise.
24641 * po/es.po: Likewise.
24642 * po/fi.po: Likewise.
24643 * po/fr.po: Likewise.
24644 * po/gl.po: Likewise.
24645 * po/hr.po: Likewise.
24646 * po/hu.po: Likewise.
24647 * po/ia.po: Likewise.
24648 * po/id.po: Likewise.
24649 * po/it.po: Likewise.
24650 * po/ja.po: Likewise.
24651 * po/lt.po: Likewise.
24652 * po/nb.po: Likewise.
24653 * po/nl.po: Likewise.
24654 * po/pt_BR.po: Likewise.
24655 * po/rw.po: Likewise.
24656 * po/sk.po: Likewise.
24657 * po/sl.po: Likewise.
24658 * po/sv.po: Likewise.
24659 * po/tr.po: Likewise.
24660 * po/zh_CN.po: Likewise.
24661 * po/zh_TW.po: Likewise.
24662
24663 * version.h (RELEAES): Set to "development".
24664 (VERSION): Set to 2.23.90.
24665
24666 * version.h (RELEASE): Set to "stable".
24667 (VERSION): Set to 2.23.
24668 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24669
24670 * NEWS: Updated fixed bugs.
24671
24672 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24673 Wilco Dijkstra <wdijkstr@arm.com>
24674
24675 [BZ #19462]
24676 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24677 (_STRING_INLINE_unaligned): This.
24678 * include/string.h: Include <string_private.h>.
24679 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24680 _STRING_INLINE_unaligned.
24681 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24682 (_STRING_INLINE_unaligned): New.
24683 * sysdeps/aarch64/string_private.h: New file.
24684 * sysdeps/generic/string_private.h: Likewise.
24685 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24686 * sysdeps/s390/string_private.h: Likewise.
24687 * sysdeps/x86/string_private.h: Likewise.
24688 * sysdeps/m68k/m680x0/m68020/bits/string.h
24689 (_STRING_ARCH_unaligned): Renamed to ...
24690 (_STRING_INLINE_unaligned): This.
24691 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24692 to ...
24693 (_STRING_INLINE_unaligned): This.
24694 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24695 to ...
24696 (_STRING_INLINE_unaligned): This.
24697 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24698 to ...
24699 (_STRING_INLINE_unaligned): This.
24700
24701 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24702 H.J. Lu <hongjiu.lu@intel.com>
24703
24704 [BZ #19590]
24705 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24706 relocation.
24707
24708 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24709
24710 [BZ #18665]
24711 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24712 *herrno_p.
24713 (gaih_getanswer): Document functional behviour. Return tryagain
24714 if any result is tryagain.
24715 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24716 when freed.
24717 * resolv/res_send.c: Add copyright text.
24718 (__libc_res_nsend): Document that MAXPACKET is expected.
24719 (send_vc): Document. Remove buffer reuse.
24720 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24721 size of the buffer. Add Dprint for truncated UDP buffer.
24722
24723 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24724
24725 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24726 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24727 * INSTALL: Regenerate.
24728
24729 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24730 Jonathan Wakely <jwakely@redhat.com>
24731 Carlos O'Donell <carlos@redhat.com>
24732
24733 [BZ 19439]
24734 * math/Makefile (tests): Add test-math-isinff.
24735 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24736 * math/bits/mathcalls.h [__USE_MISC]: Use
24737 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24738 functions not in C++11 and which don't conflict e.g. isinff,
24739 isinfl etc.
24740 * math/test-math-isinff.cc: New file.
24741
24742 2016-02-12 Florian Weimer <fweimer@redhat.com>
24743
24744 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24745
24746 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24747
24748 [BZ #19529]
24749 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24750
24751 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24752
24753 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24754
24755 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24756
24757 [BZ #19550]
24758 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24759 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24760 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24761 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24762 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24763 New syscall entry.
24764 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24765 New syscall entry.
24766 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24767 syscall entry.
24768
24769 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24770
24771 [BZ #18240]
24772 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24773 unsigned int wraparound.
24774
24775 2016-01-27 Florian Weimer <fweimer@redhat.com>
24776
24777 [BZ #18240]
24778 * misc/bug18240.c: New test.
24779 * misc/Makefile (tests): Add it.
24780
24781 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24782 Joseph Myers <joseph@codesourcery.com>
24783
24784 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24785 load in branch delay slot when less than a word of input left.
24786
24787 2016-01-27 Andreas Schwab <schwab@suse.de>
24788
24789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24791 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24792 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24793
24794 2016-01-26 David S. Miller <davem@davemloft.net>
24795
24796 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24797
24798 2016-01-25 David S. Miller <davem@davemloft.net>
24799
24800 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24801 __sqrtl_finite.
24802 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24803 instead using versioned_symbol.
24804 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24805 of entries.
24806
24807 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24808 __sqrtl_finite to GLIBC_2.23
24809
24810 2016-01-25 Ricchard Henderson <rth@redhat.com>
24811
24812 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24813
24814 2016-01-25 Andreas Schwab <schwab@suse.de>
24815
24816 [BZ #17514]
24817 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24818 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24819 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24820 * nptl/tst-mutex-errorcheck.c: New file.
24821
24822 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24823
24824 [BZ #18560]
24825 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24826 (IPCOP_semop): Likewise.
24827 (IPCOP_semget): Likewise.
24828 (IPCOP_semctl): Likewise.
24829 (IPCOP_msgsnd): Likewise.
24830 (IPCOP_msgrcv): Likewise.
24831 (IPCOP_msgget): Likewise.
24832 (IPCOP_msgctl): Likewise.
24833 (IPCOP_shmat): Likewise.
24834 (IPCOP_shmdt): Likewise.
24835 (IPCOP_shmget): Likewise.
24836 (IPCOP_shmctl): Likewise.
24837
24838 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24839
24840 * string/tst-endian.c: Include <libc-internal.h>.
24841 (do_test): Ignore tautological-compare warnings around
24842 "htobeXX (beXXtoh (i)) != i" and
24843 "htoleXX (leXXtoh (i)) != i" if-statements.
24844
24845 2016-01-24 David S. Miller <davem@davemloft.net>
24846
24847 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24848 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24849 alias.
24850 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24851 __sqrtl_finite.
24852
24853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24854
24855 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24856
24857 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24858 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24859 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24860
24861 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24862
24863 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24864 (thread_func): Use new function to simplify barrier check.
24865 (do_test): Use new function to simplify checking barrier exit
24866 code, and actually join the child thread.
24867
24868 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24869
24870 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24871 semicolon.
24872 (__libc_tend): Likewise.
24873 (__libc_tabort): Likewise.
24874
24875 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24876
24877 * sysdeps/nios2/libm-test-ulps: Update.
24878 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24879 (__gtsf2): Likewise.
24880 (__unorddf2): Likewise.
24881 (__unordsf2): Likewise.
24882 (__ledf2): Likewise.
24883
24884 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24885
24886 * nis/nis_table.c (__follow_path): Disable diagnostic for
24887 uninitialized variable that is a false positive for gcc 4.7.
24888 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24889
24890 2016-01-20 Roland McGrath <roland@hack.frob.com>
24891
24892 * sysdeps/nacl/lowlevellock-futex.h
24893 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24894 Always evaluate PRIVATE argument.
24895
24896 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24897
24898 [BZ #19490]
24899 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24900 (pthread_cond_broadcast): Use ENTRY/END
24901 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24902 (pthread_cond_signal): Likewise.
24903 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24904 Likewise.
24905 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24906 Likewise.
24907 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24908 Likewise.
24909
24910 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24911
24912 * sysdeps/ieee754/dbl-64/s_finite.c
24913 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24914 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24915 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24916 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24917 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24918
24919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24920 (__gtsf2): Add as optional for libc.so.
24921 (__unordsf2): Likewise.
24922 (__signbit): Remove for libc.so.
24923 (__signbitl): Likewise.
24924
24925 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24926
24927 * iconvdata/bug-iconv11.c (test_ibm93x):
24928 Use %zu printf format specifier for size_t argument.
24929
24930 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24931
24932 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24933 already-recorded ulps.
24934 * sysdeps/arm/libm-test-ulps: Regenerated.
24935 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24936 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24937 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24938
24939 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24940 Paul Pluzhnikov <ppluzhnikov@google.com>
24941
24942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24943 assembler not supporting AVX-512.
24944
24945 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24946
24947 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24948
24949 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24950
24951 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24952 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24953
24954 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24955
24956 * sysdeps/arm/libm-test-ulps: Regenerated.
24957
24958 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24959
24960 [BZ #19451]
24961 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24962
24963 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24964
24965 [BZ #19486]
24966 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24967 * sysdeps/generic/fix-fp-int-convert-overflow.h
24968 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24969 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24970 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24971 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24972 Likewise.
24973 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24974 Avoid conversions to long int where inexact exceptions
24975 could be raised.
24976 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24977 Likewise.
24978 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24979 Avoid conversions to long long int where inexact exceptions
24980 could be raised.
24981 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24982 Likewise.
24983
24984 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24985
24986 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24987 * configure: Regenerated.
24988
24989 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24990
24991 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24992
24993 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24994
24995 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24996 outside of comment.
24997
24998 2016-01-15 Torvald Riegel <triegel@redhat.com>
24999
25000 * nptl/tst-barrier1.c: Add description on first line.
25001 * nptl/tst-barrier2.c: Likewise.
25002 * nptl/tst-barrier3.c: Likewise.
25003 * nptl/tst-barrier4.c: Likewise.
25004 * nptl/tst-barrier5.c: Likewise.
25005
25006 2016-01-15 Torvald Riegel <triegel@redhat.com>
25007
25008 [BZ #18868]
25009 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
25010
25011 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
25012
25013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
25014 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25015 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
25016 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
25017 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
25018 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
25019 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25020 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25021 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25022 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25024
25025 2016-01-15 Torvald Riegel <triegel@redhat.com>
25026
25027 [BZ #13065]
25028 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
25029 new implementation.
25030 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
25031 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
25032 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
25033 (BARRIER_IN_THRESHOLD): New macro.
25034 * nptl/pthread_barrierattr_setpshared.c
25035 (pthread_barrierattr_setpshared): Clean up.
25036 * nptl/tst-barrier4.c: Correct comment.
25037 * nptl/tst-barrier5.c: New file.
25038 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
25039 (gen-as-const-headers): Remove lowlevelbarrier.sym.
25040 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
25041 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
25042 * nptl/lowlevelbarrier.sym: Remove.
25043 * nptl/DESIGN-barrier.txt: Remove.
25044 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
25045 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
25046 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
25047 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
25048 error.
25049 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
25050 implementation.
25051
25052 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25053
25054 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
25055 (do_child): Mask SIGRTMIN while thr is running.
25056
25057 2016-01-15 Martin Sebor <msebor@redhat.com>
25058
25059 [BZ #19432]
25060 * iconvdata/Makefile: Add bug-iconv11.
25061 * iconvdata/bug-iconv11.c: New test.
25062 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
25063 * iconvdata/ibm933.c: Same.
25064 * iconvdata/ibm935.c: Same.
25065 * iconvdata/ibm937.c: Same.
25066 * iconvdata/ibm939.c: Same.
25067
25068 2016-01-15 Martin Sebor <msebor@redhat.com>
25069
25070 [BZ #19443]
25071 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
25072 [DEBUG] (_ufc_set_bits): Declare used.
25073 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
25074 [DEBUG] (print_all): Declare used.
25075 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
25076 operands of the ternary ?: expression to target type.
25077 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
25078 calling the undeclared abort.
25079 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
25080
25081 2016-01-15 Martin Sebor <msebor@redhat.com>
25082
25083 [BZ #18755]
25084 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
25085 warnings.
25086 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
25087 (__gai_create_helper_thread): Same.
25088 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
25089 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
25090 to suppress -Wmaybe-uninitialized warnings.
25091
25092 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
25093
25094 [BZ #19465]
25095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
25096 inside if.
25097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25098 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25100
25101 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
25102
25103 [BZ #19466]
25104 * time/tst-mktime2.c (time_t_max): Removed.
25105 (time_t_min): Likewise.
25106 (TYPE_SIGNED): New.
25107 (TYPE_MINIMUM): Likewise.
25108 (TYPE_MAXIMUM): Likewise.
25109 (TIME_T_MIN): Likewise.
25110 (TIME_T_MAX): Likewise.
25111 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
25112 and TIME_T_MIN.
25113 (do_test): Likewise.
25114
25115 2016-01-14 Amit Pawar <amit.pawar@amd.com>
25116
25117 [BZ #19467]
25118 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25119 index_Fast_Unaligned_Load flag for Excavator family CPUs.
25120
25121 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
25122
25123 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
25124
25125 2016-01-13 Carlos O'Donell <carlos@redhat.com>
25126
25127 * benchtests/Makefile (PYTHON): Define.
25128 (bench-func): Use $(PYTHON) to run python scripts.
25129 ($(objpfx)bench-%.c): Likewise.
25130
25131 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
25132
25133 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
25134 leading slash when `file_name' is "/".
25135
25136 2016-01-12 Joseph Myers <joseph@codesourcery.com>
25137
25138 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25139 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25140 Likewise.
25141 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25142 Likewise.
25143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25144 Likewise.
25145 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25146 enum constant and macro.
25147 (PTRACE_SETSIGMASK): Likewise.
25148 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25149 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25150 (PTRACE_GETSIGMASK): Likewise.
25151 (PTRACE_SETSIGMASK): Likewise.
25152 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25153 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25154 Likewise.
25155 (PTRACE_SETSIGMASK): Likewise.
25156 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25158 (PTRACE_GETSIGMASK): Likewise.
25159 (PTRACE_SETSIGMASK): Likewise.
25160 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25162 Likewise.
25163 (PTRACE_SETSIGMASK): Likewise.
25164 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25165 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25166 Likewise.
25167 (PTRACE_SETSIGMASK): Likewise.
25168 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25169 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25170 Likewise.
25171 (PTRACE_SETSIGMASK): Likewise.
25172 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25173
25174 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
25175 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25176
25177 [BZ #19439]
25178 * math/bits/mathcalls.h
25179 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25180 prototype.
25181 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25182
25183 2016-01-11 Andreas Schwab <schwab@suse.de>
25184
25185 [BZ #19253]
25186 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25187 cache when TZDEFRULES was used.
25188 * time/tst-tzname.c: New file.
25189 * time/Makefile (test): Add tst-tzname.
25190 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25191 * timezone/Makefile (test-zones): Add $(posixrules-file).
25192 ($(testdata)/$(posixrules-file)): New rule.
25193
25194 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
25195
25196 Fix doc quoting problems with Texinfo 5
25197 Without this change, in the info file output, Texinfo 5 quotes code
25198 in text with undirected single quotes 'like this' and generates
25199 code examples that with many PDF readers cannot be cut out of PDFs
25200 and pasted into code.
25201 * manual/libc.texinfo: Configure the libc manual like the GNU
25202 Emacs manual, by using @documentencoding and setting
25203 txicodequoteundirected and txicodequotebacktick. This way,
25204 Texinfo 5 quotes code in text with directed single quotes ‘like
25205 this’ and produces examples that can be cut out of PDFs. This
25206 change causes Texinfo 5 to generate info files that contain UTF-8
25207 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
25208 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
25209
25210 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25211
25212 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25213 __libc_tabort, __libc_tend): New wrappers that enforce compiler
25214 barriers to their respective compiler built-ins.
25215 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25216 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25217 * sysdeps/powerpc/sysdep.h: Likewise.
25218 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25219 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25220 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25221
25222 2016-01-08 Marko Myllynen <myllynen@redhat.com>
25223
25224 * scripts/config.guess: Revert previous shebang change.
25225 * scripts/config.sub: Likewise.
25226 * scripts/mkinstalldirs: Likewise.
25227
25228 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25229
25230 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25231 PPC_FEATURE2_HAS_IEEE128.
25232 * sysdeps/powerpc/dl-procinfo.c:
25233 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25234
25235 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
25236
25237 [BZ #19415]
25238 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25239 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
25240 (_dl_lookup_address): Rewrite using function resolver trampoline.
25241 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25242 two bits in address.
25243
25244 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25245
25246 * longlong.h: Change !__SHMEDIA__ to
25247 (!defined (__SHMEDIA__) || !__SHMEDIA__).
25248 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25249
25250 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
25251 Joseph Myers <joseph@codesourcery.com>
25252 Mark Shinwell <shinwell@codesourcery.com>
25253 Andrew Stubbs <ams@codesourcery.com>
25254 Rich Felker <dalias@libc.org>
25255
25256 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25257
25258 2016-01-07 Richard Henderson <rth@redhat.com>
25259
25260 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25261
25262 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25263
25264 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25265 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25266 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25267 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25268 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25269
25270 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
25271 Joseph Myers <joseph@codesourcery.com>
25272
25273 * timezone/private.h: Update from tzcode 2015g.
25274 * timezone/tzfile.h: Likewise.
25275 * timezone/tzselect.ksh: Likewise.
25276 * timezone/zdump.c: Likewise.
25277 * timezone/zic.c: Likewise.
25278 * timezone/ialloc.c: Remove file.
25279 * timezone/scheck.c: Likewise.
25280 * timezone/Makefile (extra-objs): Remove variable.
25281 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25282 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25283 -Wno-maybe-uninitialized.
25284 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25285 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25286 (CFLAGS-ialloc.c): Remove variable.
25287 (CFLAGS-scheck.c): Likewise.
25288 * timezone/README: Update list of files from tzcode.
25289
25290 2016-01-07 Khem Raj <raj.khem@gmail.com>
25291
25292 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25293 instead of __fxprintf when _LIBC is undefined.
25294
25295 2016-01-07 Marko Myllynen <myllynen@redhat.com>
25296
25297 * catgets/test-gencat.sh: Remove space after shebang.
25298 * conform/GlibcConform.pm: Likewise.
25299 * conform/check-header-lists.sh: Likewise.
25300 * conform/conformtest.pl: Likewise.
25301 * conform/linknamespace.pl: Likewise.
25302 * conform/list-header-symbols.pl: Likewise.
25303 * debug/catchsegv.sh: Likewise.
25304 * elf/genrtldtbl.awk: Likewise.
25305 * elf/tst-pathopt.sh: Likewise.
25306 * elf/tst-rtld-load-self.sh: Likewise.
25307 * grp/tst_fgetgrent.sh: Likewise.
25308 * iconvdata/gen-8bit-gap-1.sh: Likewise.
25309 * iconvdata/gen-8bit-gap.sh: Likewise.
25310 * iconvdata/gen-8bit.sh: Likewise.
25311 * iconvdata/run-iconv-test.sh: Likewise.
25312 * intl/tst-gettext.sh: Likewise.
25313 * intl/tst-gettext2.sh: Likewise.
25314 * intl/tst-gettext4.sh: Likewise.
25315 * intl/tst-gettext6.sh: Likewise.
25316 * intl/tst-translit.sh: Likewise.
25317 * io/ftwtest-sh: Likewise.
25318 * libio/test-freopen.sh: Likewise.
25319 * locale/gen-translit.pl: Likewise.
25320 * malloc/tst-mtrace.sh: Likewise.
25321 * manual/check-safety.sh: Likewise.
25322 * manual/libc-texinfo.sh: Likewise.
25323 * manual/tsort.awk: Likewise.
25324 * manual/xtract-typefun.awk: Likewise.
25325 * nptl/tst-cancel-wrappers.sh: Likewise.
25326 * nptl/tst-tls6.sh: Likewise.
25327 * posix/globtest.sh: Likewise.
25328 * posix/tst-getconf.sh: Likewise.
25329 * posix/wordexp-tst.sh: Likewise.
25330 * scripts/check-c++-types.sh: Likewise.
25331 * scripts/check-local-headers.sh: Likewise.
25332 * scripts/config.guess: Likewise.
25333 * scripts/config.sub: Likewise.
25334 * scripts/cpp: Likewise.
25335 * scripts/cross-test-ssh.sh: Likewise.
25336 * scripts/documented.sh: Likewise.
25337 * scripts/evaluate-test.sh: Likewise.
25338 * scripts/gen-libc-abis: Likewise.
25339 * scripts/gen-sorted.awk: Likewise.
25340 * scripts/list-fixed-bugs.py: Likewise.
25341 * scripts/merge-test-results.sh: Likewise.
25342 * scripts/mkinstalldirs: Likewise.
25343 * scripts/rellns-sh: Likewise.
25344 * scripts/test-installation.pl: Likewise.
25345 * scripts/update-copyrights: Likewise.
25346 * stdio-common/tst-printf.sh: Likewise.
25347 * stdio-common/tst-unbputc.sh: Likewise.
25348 * stdlib/tst-fmtmsg.sh: Likewise.
25349 * stdlib/tst-setcontext3.sh: Likewise.
25350 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25351 * sysdeps/unix/make-syscalls.sh: Likewise.
25352
25353 2016-01-06 John David Anglin <dave.anglin@bell.net>
25354
25355 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25356 asm stw with atomic_exchange_rel. Add explanatory comment.
25357 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25358 Likewise.
25359
25360 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25361
25362 [BZ #19122]
25363 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25364 * sysdeps/generic/dl-unistd.h: New file.
25365 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25366
25367 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25368
25369 [BZ #19122]
25370 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25371 * sysdeps/generic/dl-mman.h: New file.
25372 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25373
25374 2016-01-05 Joseph Myers <joseph@codesourcery.com>
25375
25376 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25377 trailing whitespace removed.
25378 * scripts/config.guess: Update to version 2016-01-01.
25379 * scripts/config.sub: Update to version 2016-01-01.
25380 * scripts/move-if-change: Update from gnulib.
25381
25382 2016-01-04 Anton Blanchard <anton@samba.org>
25383
25384 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25385 for array indices.
25386 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25387
25388 2016-01-04 Joseph Myers <joseph@codesourcery.com>
25389
25390 * NEWS: Update copyright dates.
25391 * catgets/gencat.c (print_version): Likewise.
25392 * csu/version.c (banner): Likewise.
25393 * debug/catchsegv.sh: Likewise.
25394 * debug/pcprofiledump.c (print_version): Likewise.
25395 * debug/xtrace.sh (do_version): Likewise.
25396 * elf/ldconfig.c (print_version): Likewise.
25397 * elf/ldd.bash.in: Likewise.
25398 * elf/pldd.c (print_version): Likewise.
25399 * elf/sotruss.sh: Likewise.
25400 * elf/sprof.c (print_version): Likewise.
25401 * iconv/iconv_prog.c (print_version): Likewise.
25402 * iconv/iconvconfig.c (print_version): Likewise.
25403 * locale/programs/locale.c (print_version): Likewise.
25404 * locale/programs/localedef.c (print_version): Likewise.
25405 * login/programs/pt_chown.c (print_version): Likewise.
25406 * malloc/memusage.sh (do_version): Likewise.
25407 * malloc/memusagestat.c (print_version): Likewise.
25408 * malloc/mtrace.pl: Likewise.
25409 * manual/libc.texinfo: Likewise.
25410 * nptl/version.c (banner): Likewise.
25411 * nscd/nscd.c (print_version): Likewise.
25412 * nss/getent.c (print_version): Likewise.
25413 * nss/makedb.c (print_version): Likewise.
25414 * posix/getconf.c (main): Likewise.
25415 * scripts/test-installation.pl: Likewise.
25416 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25417
25418 * All files with FSF copyright notices: Update copyright dates
25419 using scripts/update-copyrights.
25420 * intl/plural.c: Regenerated.
25421 * locale/programs/charmap-kw.h: Likewise.
25422 * locale/programs/locfile-kw.h: Likewise.
25423
25424 2016-01-02 Helge Deller <deller@gmx.de>
25425
25426 [BZ #19285]
25427 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25428 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25429 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25430 (MADV_xxK_PAGES): Remove.
25431
25432 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25433
25434 [BZ #15421]
25435 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25436 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25437 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25438 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25439
25440 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25441
25442 [BZ #19408]
25443 * sysdeps/unix/sysv/linux/personality.c: New file.
25444 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25445 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25446 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25447 (sysdep_routines): Add personality.
25448 (tests): Add tst-personality.
25449 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25450 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25451 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25452 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25453 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25454 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25455 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25456 Likewise.
25457 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25458 Likewise.
25459 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25460 Likewise.
25461 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25462 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25463 Likewise.
25464
25465 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25466
25467 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25468 (PATH_ARM_SYSTYPE): Remove.
25469 (PATH_CPUINFO): Likewise.
25470 (IO_BASE_FOOTBRIDGE): Likewise.
25471 (IO_SHIFT_FOOTBRIDGE): Likewise.
25472 (struct platform): Likewise.
25473 (init_iosys): Remove compatibility code for 2.4 kernels.
25474 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25475
25476 2015-12-29 Florian Weimer <fweimer@redhat.com>
25477
25478 * malloc/tst-malloc-thread-fail.c: New file.
25479 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25480 (tst-malloc-thread-fail): Link against libpthread.
25481
25482 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25483
25484 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25485 (get_parser): New function.
25486 (main): New function.
25487
25488 2015-12-29 Rob Wu <rob@robwu.nl>
25489
25490 [BZ #19369]
25491 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25492
25493 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25494
25495 [BZ #19270]
25496 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25497
25498 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25499
25500 [BZ #15421]
25501 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25502
25503 2015-12-23 Torvald Riegel <triegel@redhat.com>
25504
25505 [BZ #13690]
25506 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25507 after releasing it.
25508 (__lll_robust_unlock): Likewise.
25509 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25510 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25511 (lll_robust_unlock): Likewise.
25512 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25513 Prevent warnings in callers.
25514
25515 2015-12-23 Florian Weimer <fweimer@redhat.com>
25516
25517 * malloc/arena.c (list_lock): Update comment.
25518
25519 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25520
25521 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25522 __parse_hwcap_and_convert_at_platform to libc.a.
25523
25524 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25525
25526 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25527 platform and feature support for POWER9.
25528 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25529 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25530 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25531 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25532 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25533 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25534 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25535 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25536
25537 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25538
25539 Harmonize generic stdio-lock support with nptl
25540
25541 This fixes build when _IO_funlockfile is a macro, fixes build where
25542 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25543 stack unwind.
25544
25545 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25546 _IO_release_lock ): Use cleanup attribute on new
25547 _IO_acquire_lock_file variable instead of assuming that
25548 _IO_release_lock will be called.
25549 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25550 _IO_acquire_lock_needs_exceptions_enabled.
25551 (_IO_acquire_lock_clear_flags2): New macro.
25552
25553 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25554
25555 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25556
25557 2015-12-21 Florian Weimer <fweimer@redhat.com>
25558
25559 [BZ #19182]
25560 * malloc/arena.c (list_lock): Document lock ordering requirements.
25561 (free_list_lock): New lock.
25562 (ptmalloc_lock_all): Comment on free_list_lock.
25563 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25564 (detach_arena): Update comment. free_list_lock is now needed.
25565 (_int_new_arena): Use free_list_lock around detach_arena call.
25566 Acquire arena lock after list_lock. Add comment, including FIXME
25567 about incorrect synchronization.
25568 (get_free_list): Switch to free_list_lock.
25569 (reused_arena): Acquire free_list_lock around detach_arena call
25570 and attached threads counter update. Add two FIXMEs about
25571 incorrect synchronization.
25572 (arena_thread_freeres): Switch to free_list_lock.
25573 * malloc/malloc.c (struct malloc_state): Update comments to
25574 mention free_list_lock.
25575
25576 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25577
25578 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25579 Remove functions.
25580 (sloww, sloww1): Accept argument to offset quadrant.
25581 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25582 quadrant.
25583 (__sin, __cos): Consolidate common code into new functions.
25584 (reduce_sincos_1, do_sincos_1): New functions.
25585 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25586
25587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25588 code to new functions.
25589 (reduce_sincos_2, do_sincos_2): New functions.
25590 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25591
25592 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25593 common code for sincos.
25594 (__cos) [!IN_SINCOS]: Likewise.
25595 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25596 New function.
25597 (__sincos): Use it.
25598
25599 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25600
25601 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25602 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25603 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25604
25605 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25606
25607 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25610 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25611 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25612 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25613 index_Prefer_No_VZEROUPPER): New feature.
25614 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25615 Prefer_No_VZEROUPPER for Knights Landing.
25616
25617 015-12-18 Torvald Riegel <triegel@redhat.com>
25618
25619 * math/atest-exp2.c (mp_exp_m1): Remove.
25620
25621 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25622
25623 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25624 syscalls.
25625 (__SYSCALL0): New macro.
25626 (__SYSCALL1): Likewise.
25627 (__SYSCALL2): Likewise.
25628 (__SYSCALL3): Likewise.
25629 (__SYSCALL4): Likewise.
25630 (__SYSCALL5): Likewise.
25631 (__SYSCALL6): Likewise.
25632 (__SYSCALL_CONCAT_X): Likewise.
25633 (__SYSCALL_CONCAT): Likewise.
25634 (__SYSCALL_DIST): Likewise.
25635 (__SYSCALL_CALL): Likewise.
25636
25637 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25638
25639 [BZ #19363]
25640 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25641
25642 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25643
25644 [BZ #19375]
25645 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25646 negative subnormals.
25647
25648 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25649
25650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25651 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25652 (INTERNAL_SYSCALL_NCS): Use it.
25653 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25654
25655 2015-12-16 Florian Weimer <fweimer@redhat.com>
25656
25657 [BZ #19243]
25658 * malloc/arena.c (get_free_list): Remove assert and adjust
25659 reference count handling. Add comment about reused_arena
25660 interaction.
25661 (reused_arena): Add comments abount get_free_list interaction.
25662 * malloc/tst-malloc-thread-exit.c: New file.
25663 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25664 (tst-malloc-thread-exit): Link against libpthread.
25665
25666 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25667
25668 [BZ #19367]
25669 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25670 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25671 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25672 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25673 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25674
25675 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25676
25677 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25678 Silvermont optimizations for Knights Landing.
25679
25680 2015-12-15 Andreas Schwab <schwab@suse.de>
25681
25682 [BZ #17197]
25683 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25684 immediately after emitting SI.
25685 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25686 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25687 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25688 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25689 * iconvdata/bug-iconv10.c: New file.
25690 * iconvdata/Makefile (tests): Add bug-iconv10.
25691 ($(objpfx)bug-iconv10.out): New rule.
25692
25693 2015-12-15 Florian Weimer <fweimer@redhat.com>
25694
25695 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25696 aliasing violation.
25697
25698 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25699
25700 [BZ #18472]
25701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25702 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25703 conditionals for them.
25704 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25705 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25707 sys/kdaemon.h.
25708 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25709 compat-only syscall, obsoleted in glibc 2.23.
25710 (create_module): Likewise.
25711 (get_kernel_syms): Likewise.
25712 (query_module): Likewise.
25713 (uselib): Likewise.
25714 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25715
25716 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25717
25718 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25719 <linux/version.h>.
25720 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25721 conditional code.
25722 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25723 and ioshift_name initialization.
25724
25725 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25726
25727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25728 Fix indentation.
25729
25730 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25731
25732 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25733
25734 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25735
25736 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25737
25738 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25739 Jakub Wilk <jwilk@debian.org>
25740
25741 [BZ #19347]
25742 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25743 to change the group of the device to the tty group.
25744
25745 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25746
25747 Split large string section; add truncation advice
25748 * manual/examples/strncat.c: Remove.
25749 This example was misleading, as the code would have undefined
25750 behavior if "hello" was longer than SIZE. Anyway, the manual
25751 shouldn't encourage strncpy+strncat for this sort of thing.
25752 * manual/string.texi (Copying Strings and Arrays): Split into
25753 three sections Copying Strings and Arrays, Concatenating Strings,
25754 and Truncating Strings, as this section was way too long. All
25755 cross-referenced changed. Add advice about string-truncation
25756 functions. Remove misleading strncat example.
25757
25758 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25759
25760 * manual/nss.texi (NSS Modules Interface): Document
25761 NSS_STATUS_NOTFOUND and SUCCESS.
25762
25763 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25764
25765 [BZ 18568]
25766 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25767 201505L, for Unicode 8.
25768
25769 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25770
25771 * locale/C-translit.h: Regenerate.
25772
25773 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25774
25775 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25776 and U+0153.
25777
25778 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25779
25780 [BZ #19351]
25781 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25782 expanding log(1+z), compare z rather than its square with epsilon
25783 to determine when to avoid evaluating the expansion.
25784
25785 [BZ #19350]
25786 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25787 Increase overflow threshold.
25788
25789 [BZ #19349]
25790 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25791 when small.
25792
25793 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25794 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25795 New macro.
25796 [__LINUX_KERNEL_VERSION >= 0x040300]
25797 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25798 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25799 Likewise.
25800 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25801 Likewise.
25802 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25803 Likewise.
25804 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25805 Likewise.
25806 [__LINUX_KERNEL_VERSION >= 0x040300]
25807 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25808 [__LINUX_KERNEL_VERSION >= 0x040300]
25809 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25810 [__LINUX_KERNEL_VERSION >= 0x040300]
25811 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25812 [__LINUX_KERNEL_VERSION >= 0x040300]
25813 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25814 [__LINUX_KERNEL_VERSION >= 0x040300]
25815 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25816 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25817 Likewise.
25818 [__LINUX_KERNEL_VERSION >= 0x040300]
25819 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25820 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25821 Likewise.
25822 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25823 Likewise.
25824 [__LINUX_KERNEL_VERSION >= 0x040300]
25825 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25826 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25827 Likewise.
25828 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25829 Likewise.
25830 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25831 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25832 Likewise.
25833 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25834 Likewise.
25835 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25836 Likewise.
25837 [__LINUX_KERNEL_VERSION >= 0x040300]
25838 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25839 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25840 Likewise.
25841 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25842 Likewise.
25843 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25844 Likewise.
25845 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25846 Likewise.
25847 [__LINUX_KERNEL_VERSION >= 0x040300]
25848 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25849 [__LINUX_KERNEL_VERSION >= 0x040300]
25850 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25851 [__LINUX_KERNEL_VERSION >= 0x040300]
25852 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25853 [__LINUX_KERNEL_VERSION >= 0x040300]
25854 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25855 [__LINUX_KERNEL_VERSION >= 0x040300]
25856 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25857 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25858 Likewise.
25859 [__LINUX_KERNEL_VERSION >= 0x040300]
25860 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25861 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25862 Likewise.
25863 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25864 Likewise.
25865 [__LINUX_KERNEL_VERSION >= 0x040300]
25866 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25867 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25868 Likewise.
25869 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25870 Likewise.
25871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25872 (__ASSUME_SOCKET_SYSCALL): Likewise.
25873 (__ASSUME_BIND_SYSCALL): Likewise.
25874 (__ASSUME_CONNECT_SYSCALL): Likewise.
25875 (__ASSUME_LISTEN_SYSCALL): Likewise.
25876 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25877 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25878 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25879 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25880 (__ASSUME_SEND_SYSCALL): Likewise.
25881 (__ASSUME_SENDTO_SYSCALL): Likewise.
25882 (__ASSUME_RECV_SYSCALL): Likewise.
25883 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25884 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25885 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25886 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25887 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25888 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25889 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25890 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25891 Likewise.
25892 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25893 Likewise.
25894 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25895 Likewise.
25896 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25897 Likewise.
25898 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25899 Likewise.
25900 [__LINUX_KERNEL_VERSION >= 0x020625]
25901 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25902 [__LINUX_KERNEL_VERSION >= 0x020625]
25903 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25904 [__LINUX_KERNEL_VERSION >= 0x020625]
25905 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25906 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25907 Likewise.
25908 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25909 Likewise.
25910 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25911 Likewise.
25912 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25913 Likewise.
25914 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25915 Likewise.
25916 [__LINUX_KERNEL_VERSION >= 0x020625]
25917 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25918 [__LINUX_KERNEL_VERSION >= 0x020625]
25919 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25920 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25921 Likewise.
25922 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25923 Likewise.
25924
25925 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25926
25927 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25928 record the current if the current ABI and CPU support the FP64
25929 extension.
25930 (has-modd-spreg): Define to record the current if the current ABI and
25931 CPU support 32-bit floating point values in odd FPU registers.
25932 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25933 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25934 $(has-modd-spreg) equals yes.
25935 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25936 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25937 $(has-modd-spreg) equal yes.
25938
25939 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25940
25941 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25942 basename.
25943
25944 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25945
25946 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25947 (bench-string): ... here.
25948 (bench): Add bench-string.
25949 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25950 to *-benchset to reflect what they are.
25951 (benchset): Adjust.
25952
25953 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25954 cos-inputs.
25955
25956 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25957
25958 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25959 __attribute__ ((__simd__)) for vector math function declarations.
25960
25961 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25962
25963 Fix typo in strncat, wcsncat manual entries
25964 * manual/string.texi (Copying and Concatenation): Fix typos in
25965 sample implementations of strncat and wcsncat, by having them use
25966 the old value of the destination length, not the new one.
25967
25968 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25969
25970 [BZ #16961]
25971 [BZ #16962]
25972 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25973 string on the stack for strtod.
25974 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25975 a string on the stack for strtof.
25976 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25977 constructing a string on the stack for strtold.
25978 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25979 __strtold_nan to GLIBC_PRIVATE.
25980 * math/test-nan-overflow.c: New file.
25981 * math/test-nan-payload.c: Likewise.
25982 * math/Makefile (tests): Add test-nan-overflow and
25983 test-nan-payload.
25984
25985 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25986
25987 Consistency about byte vs character in string.texi
25988 * manual/string.texi (String and Array Utilities):
25989 Distinguish more carefully among bytes, multibyte characters,
25990 and wide characters. Use "byte" when talking about C 'char',
25991 to distinguish it more clearly from multibyte characters.
25992 Say "wide character" or "multibyte character" instead of
25993 "character", when a wide or multibyte character is intended.
25994 Similarly for "multibyte string" versus "string".
25995 Define these terms more carefully.
25996
25997 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25998
25999 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
26000 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
26001 Likewise.
26002 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26003 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26004 * sysdeps/sh/math_private.h: New file.
26005 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
26006 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
26007 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
26008 long double function name.
26009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26010 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26011 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26013 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
26015 Remove __finitel, __isinfl, and __isnanl.
26016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26017 Likewise.
26018 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26020 Remove __finitel.
26021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26022 Likewise.
26023 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26024
26025 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
26026
26027 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
26028 installed libmvec_nonshared.a.
26029
26030 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26031
26032 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
26033 (sysdep_routines): Likewise.
26034 (sysdep-rtld-routines): Likewise.
26035 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
26036 [$(subdir) = nptl](tests-static): test-get_hwcap-static
26037 * sysdeps/powerpc/Versions: Added new
26038 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
26039 * sysdeps/powerpc/hwcapinfo.c: New file.
26040 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
26041 and parse hwcap, hwcap2 and platform number information.
26042 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
26043 to store HWCAP+HWCAP2 and platform number.
26044 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
26045 for HWCAP+HWCAP2 and platform number in the TCB.
26046 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
26047 the HWCAP, HWCAP2 and platform number in the TCB.
26048 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
26049 (TLS_INIT_TP): Included calls to add the hwcap and
26050 at_platform values in the TCB in TP initialization.
26051 (TLS_DEFINE_INIT_TP): Likewise.
26052 (THREAD_GET_HWCAP): New macro.
26053 (THREAD_SET_HWCAP): Likewise.
26054 (THREAD_GET_AT_PLATFORM): Likewise.
26055 (THREAD_SET_AT_PLATFORM): Likewise.
26056 * sysdeps/powerpc/powerpc32/dl-machine.h:
26057 (dl_platform_init): New function that calls
26058 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
26059 powerpc32.
26060 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
26061 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
26062 this functionality, static linking case.
26063 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
26064 linking case.
26065 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
26066 __parse_hwcap_and_convert_at_platform for the static linking case.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
26068 Included the new __parse_hwcap_and_convert_at_platform symbol in the
26069 ABI list for GLIBC 2.23.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
26071 Likewise.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
26073 Likewise.
26074
26075 2015-12-02 Ludovic Courtès <ludo@gnu.org>
26076
26077 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
26078 * configure: Regenerate.
26079 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
26080 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
26081
26082 2015-12-02 Carlos O'Donell <carlos@redhat.com>
26083
26084 * iconvdata/ibm930.c: Add comment explaining encoding uses.
26085 * iconvdata/ibm933.c: Likewise.
26086 * iconvdata/ibm935.c: Likewise.
26087 * iconvdata/ibm937.c: Likewise.
26088 * iconvdata/ibm939.c: Likewise.
26089
26090 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26091
26092 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
26093 pthread_join.
26094 * nptl/tst-cancel21.c (tf): Likewise.
26095
26096 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
26097
26098 [BZ #19313]
26099 * bits/typesizes.h (__CPU_MASK_TYPE): New.
26100 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26101 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26102 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
26103 Likewise.
26104 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
26105 Likewise.
26106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
26107 Likewise.
26108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
26109 Likewise.
26110 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
26111 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
26112 unsigned long int with __CPU_MASK_TYPE.
26113
26114 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26115
26116 * sysdeps/aarch64/libm-test-ulps: Regenerated.
26117
26118 2015-12-01 Joseph Myers <joseph@codesourcery.com>
26119
26120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
26121 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
26122 t512.x.
26123 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
26124
26125 2015-11-30 Amit Pawar <amit.pawar@amd.com>
26126
26127 [BZ #19214]
26128 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
26129 argument to return extended model. Update family and model
26130 with extended family and model when family == 0x0f.
26131 (init_cpu_features): Updated.
26132
26133 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26134
26135 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
26136 signed off_t, so 32bit bigger than 2GiB values are fine actually.
26137
26138 * sysdeps/mach/hurd/mmap64.c: New file.
26139
26140 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
26141
26142 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26143 rights for its main user thread in NEWTASK.
26144
26145 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
26146
26147 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26148 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26149
26150 2015-11-27 Carlos O'Donell <carlos@redhat.com>
26151
26152 [BZ #14259]
26153 * Makeconfig: Rename localedir to complocaledir.
26154 Rename inst_localedir to inst_complocaledir.
26155 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26156 * config.make.in: Use complocaledir and libc_cv_complocaledir.
26157 * configure.ac: Use libc_cv_complocaledir.
26158 * configure: Regenerate.
26159 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26160 -DCOMPLOCALEDIR.
26161 * locale/findlocale.c: Use COMPLOCALEDIR.
26162 * locale/loadarchive.c: Likewise.
26163 * locale/programs/locale.c: Likewise.
26164 * locale/programs/localedef.c: Likewise.
26165 * locale/programs/locarchive.c: Likewise.
26166 * localedata/Makefile: Use inst_complocaledir.
26167 * sysdeps/gnu/configure: Regenerate.
26168 * sysdeps/hppa/configure: Regenerate.
26169 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26170 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26172 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26173 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26174 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26175 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26176
26177 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
26178
26179 [BZ #19058]
26180 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26181 AS_NEEDED.
26182 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26183 workaround.
26184 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26185 libmvec-static-only-routines): Added new file.
26186 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26187
26188 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
26189
26190 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26191 of interrupted RPC instead of restoring it.
26192
26193 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26194 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26195 libc_hidden_def.
26196 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26197 into initialized data instead of common. Define rtld_hidden_data_def.
26198 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26199 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26200 libc_hidden_def.
26201 (if_freenameindex): Add libc_hidden_weak.
26202 (if_nameindex): Add libc_hidden_weak.
26203 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26204 __open64.
26205 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26206 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26207 * sysdeps/mach/nanosleep.c: Include <time.h>
26208 (__nanosleep): Rename to __libc_nanosleep.
26209 (__nanosleep): Add weak_alias.
26210 (nanosleep): Update alias.
26211
26212 2015-11-24 Joseph Myers <joseph@codesourcery.com>
26213
26214 * stdlib/strtod_nan.c: New file.
26215 * stdlib/strtod_nan_double.h: Likewise.
26216 * stdlib/strtod_nan_float.h: Likewise.
26217 * stdlib/strtod_nan_main.c: Likewise.
26218 * stdlib/strtod_nan_narrow.h: Likewise.
26219 * stdlib/strtod_nan_wide.h: Likewise.
26220 * stdlib/strtof_nan.c: Likewise.
26221 * stdlib/strtold_nan.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26223 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26224 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26225 * wcsmbs/wcstod_nan.c: Likewise.
26226 * wcsmbs/wcstof_nan.c: Likewise.
26227 * wcsmbs/wcstold_nan.c: Likewise.
26228 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26229 strtold_nan.
26230 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26231 wcstof_nan.
26232 * include/stdlib.h (__strtof_nan): Declare and use
26233 libc_hidden_proto.
26234 (__strtod_nan): Likewise.
26235 (__strtold_nan): Likewise.
26236 (__wcstof_nan): Likewise.
26237 (__wcstod_nan): Likewise.
26238 (__wcstold_nan): Likewise.
26239 * include/wchar.h (____wcstoull_l_internal): Declare.
26240 * stdlib/strtod_l.c: Do not include <ieee754.h>.
26241 (____strtoull_l_internal): Remove declaration.
26242 (STRTOF_NAN): Define macro.
26243 (SET_MANTISSA): Remove macro.
26244 (STRTOULL): Likewise.
26245 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26246 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26247 (STRTOF_NAN): Define macro.
26248 (SET_MANTISSA): Remove macro.
26249 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26250 (SET_MANTISSA): Remove macro.
26251 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26252 macro.
26253 (SET_MANTISSA): Remove macro.
26254 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26255 macro.
26256 (SET_MANTISSA): Remove macro.
26257 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26258 (SET_MANTISSA): Remove macro.
26259 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26260 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26261 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26262
26263 [BZ #19266]
26264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26265 upper case and lower case letters inside NAN(), not using TOLOWER.
26266 * stdlib/tst-strtod-nan-locale-main.c: New file.
26267 * stdlib/tst-strtod-nan-locale.c: Likewise.
26268 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26269 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26270 Depend on $(gen-locales).
26271 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26272 * wcsmbs/tst-wcstod-nan-locale.c: New file.
26273 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26274 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26275 Depend on $(gen-locales).
26276 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26277
26278 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
26279
26280 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26281
26282 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26284 __finitel, __isinfl, and __isnanl.
26285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26286 Likewise.
26287 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26289 __finitel.
26290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26291 Likewise.
26292 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26293
26294 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26295
26296 * malloc/memusage.c (me): Remove redundant getenv call.
26297
26298 2015-10-24 Florian Weimer <fweimer@redhat.com>
26299
26300 [BZ #19143]
26301 [BZ #19164]
26302 * nptl/check-cpuset.h: Remove.
26303 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26304 Remove CPU set size check.
26305 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26306 Likewise.
26307 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26308 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26309 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26310 (__pthread_setaffinity_new): Remove CPU set size check.
26311 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26312 (__kernel_cpumask_size): Remove.
26313 (__sched_setaffinity_new): Remove CPU set size check.
26314 * manual/threads.texi (Default Thread Attributes): Remove stale
26315 reference to check_cpuset_attr, determine_cpumask_size in comment.
26316 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26317 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
26318 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26319 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26320 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26321 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26322 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26323 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26324 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26325 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26326 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26327 skeleton test file.
26328 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
26329 tst-affinity-pid.
26330
26331 2015-11-24 Florian Weimer <fweimer@redhat.com>
26332
26333 * scripts/update-abilist.sh: New file.
26334 * Makefile (+subdir_targets): Add subdir_update-all-abi.
26335 * Makerules (update-all-abi-%, update-all-abi)
26336 (subdir_update-all-abi): New targets.
26337 * elf/Makefile (update-all-abi): New target.
26338
26339 2015-11-24 Florian Weimer <fweimer@redhat.com>
26340
26341 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26342 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26343 (__libc_lock_define_initialized): Use it.
26344 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26345 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26346 * malloc/malloc.c (main_arena): Likewise.
26347 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26348 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26349
26350 2015-11-23 Joseph Myers <joseph@codesourcery.com>
26351
26352 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26353 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26354 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26355 (PTRACE_O_MASK): Update value.
26356 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26357 New value in enum __ptrace_setoptions.
26358 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26359 (PTRACE_O_MASK): Update value.
26360 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26361 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26362 (PTRACE_O_MASK): Update value.
26363 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26364 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26365 (PTRACE_O_MASK): Update value.
26366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26367 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26368 (PTRACE_O_MASK): Update value.
26369 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26370 New value in enum __ptrace_setoptions.
26371 (PTRACE_O_MASK): Update value.
26372 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26373 New value in enum __ptrace_setoptions.
26374 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26375 (PTRACE_O_MASK): Update value.
26376
26377 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26378 New macro.
26379 (PACKET_AUXDATA): Likewise.
26380 (PACKET_ORIGDEV): Likewise.
26381 (PACKET_VERSION): Likewise.
26382 (PACKET_HDRLEN): Likewise.
26383 (PACKET_RESERVE): Likewise.
26384 (PACKET_TX_RING): Likewise.
26385 (PACKET_LOSS): Likewise.
26386 (PACKET_VNET_HDR): Likewise.
26387 (PACKET_TX_TIMESTAMP): Likewise.
26388 (PACKET_TIMESTAMP): Likewise.
26389 (PACKET_FANOUT): Likewise.
26390 (PACKET_TX_HAS_OFF): Likewise.
26391 (PACKET_QDISC_BYPASS): Likewise.
26392 (PACKET_ROLLOVER_STATS): Likewise.
26393 (PACKET_FANOUT_DATA): Likewise.
26394 (PACKET_MR_UNICAST): Likewise.
26395
26396 [BZ #19242]
26397 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26398 (TOUPPER): Likewise.
26399 * stdlib/tst-strtol-locale-main.c: New file.
26400 * stdlib/tst-strtol-locale.c: Likewise.
26401 * stdlib/Makefile (tests): Add tst-strtol-locale.
26402 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26403 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26404 Depend on $(gen-locales).
26405 * wcsmbs/tst-wcstol-locale.c: New file.
26406 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26407 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26408 tr_TR.ISO-8859-9.
26409 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26410 Depend on $(gen-locales).
26411
26412 2015-11-20 Roland McGrath <roland@hack.frob.com>
26413
26414 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26415 __glibc_likely instead of __builtin_expect. After falling back to
26416 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26417 system interface to register the code pages as occupied.
26418
26419 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26420
26421 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26422 [!ARM_MATH_PRIVATE_H].
26423 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26424 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26425 [!HPPA_MATH_PRIVATE_H].
26426 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26427 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26428 to [!I386_MATH_PRIVATE_H].
26429 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26430 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26431 Change guard to [!M68K_MATH_PRIVATE_H].
26432 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26433 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26434 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26435 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26436 macro.
26437 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26438 [!MIPS_MATH_PRIVATE_H].
26439 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26440 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26441 [!NIO2_MATH_PRIVATE_H].
26442 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26443 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26444 [!TILE_MATH_PRIVATE_H].
26445 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26446
26447 [BZ #15421]
26448 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26449 initialize with 0 and define as weak alias of __signgam.
26450 * include/math.h [!_ISOMAC] (__signgam): Declare.
26451 * math/Makefile (libm-calls): Add w_lgamma_compat.
26452 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26453 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26454 test-signgam-ullong-init.
26455 (tests-static): Add test-signgam-uchar-static,
26456 test-signgam-uchar-init-static, test-signgam-uint-static,
26457 test-signgam-uint-init-static, test-signgam-ullong-static and
26458 test-signgam-ullong-init-static.
26459 (CFLAGS-test-signgam-uchar.c): New variable.
26460 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26461 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26462 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26463 (CFLAGS-test-signgam-uint.c): Likewise.
26464 (CFLAGS-test-signgam-uint-init.c): Likewise.
26465 (CFLAGS-test-signgam-uint-static.c): Likewise.
26466 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26467 (CFLAGS-test-signgam-ullong.c): Likewise.
26468 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26469 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26470 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26471 * math/Versions (libm): Add GLIBC_2.23.
26472 * math/lgamma-compat.h: New file.
26473 * math/test-signgam-main.c: Likewise.
26474 * math/test-signgam-uchar-init-static.c: Likewise.
26475 * math/test-signgam-uchar-init.c: Likewise.
26476 * math/test-signgam-uchar-static.c: Likewise.
26477 * math/test-signgam-uchar.c: Likewise.
26478 * math/test-signgam-uint-init-static.c: Likewise.
26479 * math/test-signgam-uint-init.c: Likewise.
26480 * math/test-signgam-uint-static.c: Likewise.
26481 * math/test-signgam-uint.c: Likewise.
26482 * math/test-signgam-ullong-init-static.c: Likewise.
26483 * math/test-signgam-ullong-init.c: Likewise.
26484 * math/test-signgam-ullong-static.c: Likewise.
26485 * math/test-signgam-ullong.c: Likewise.
26486 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26487 wrapper of w_lgamma_main.c.
26488 * math/w_lgamma_compat.c: New file.
26489 * math/w_lgamma_compatf.c: Likewise.
26490 * math/w_lgamma_compatl.c: Likewise.
26491 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26492 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26493 defining compatibility symbols.
26494 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26495 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26496 wrapper of w_lgammaf_main.c.
26497 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26498 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26499 defining compatibility symbols.
26500 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26501 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26502 wrapper of w_lgammal_main.c.
26503 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26504 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26505 defining compatibility symbols.
26506 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26507 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26508 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26509 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26510 <lgamma-compat.h>.
26511 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26512 (__ieee754_gamma): Define as alias.
26513 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26514 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26515 <lgamma-compat.h>.
26516 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26517 (__ieee754_gammaf): Define as alias.
26518 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26519 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26520 <lgamma-compat.h>.
26521 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26522 (__ieee754_gammal): Define as alias.
26523 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26524 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26525 <math/w_lgamma_compat.c>.
26526 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26527 Define as alias of __lgamma_compat and use in defining lgammal.
26528 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26529 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26530 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26531 (USE_AS_COMPAT): New macro.
26532 (LGAMMA_OLD_VER): Undefine and redefine.
26533 (lgammal): Do not define here.
26534 (gammal): Only define here if [GAMMA_ALIAS].
26535 * conform/linknamespace.pl (@whitelist): Remove signgam.
26536 * sysdeps/nacl/libm.abilist: Update.
26537 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26539 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26540 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26541 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26542 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26543 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26544 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26545 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26546 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26547 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26548 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26550 Likewise.
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26552 Likewise.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26554 Likewise.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26556 Likewise.
26557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26558 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26559 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26560 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26561 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26563 Likewise.
26564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26565 Likewise.
26566 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26567 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26568 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26569
26570 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26571
26572 [BZ #16364]
26573 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26574 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26575
26576 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26577
26578 * sysdeps/s390/fpu/bits/mathinline.h:
26579 Use __asm__ [__volatile__] instead of asm [volatile].
26580 * sysdeps/s390/abort-instr.h: Likewise.
26581 * sysdeps/s390/atomic-machine.h: Likewise.
26582 * sysdeps/s390/bits/string.h: Likewise.
26583 * sysdeps/s390/dl-tls.h: Likewise.
26584 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26585 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26586 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26587 * sysdeps/s390/fpu/fesetround.c: Likewise.
26588 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26589 * sysdeps/s390/fpu/s_fma.c: Likewise.
26590 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26591 * sysdeps/s390/memusage.h: Likewise.
26592 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26593 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26594 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26595 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26596 * sysdeps/s390/nptl/tls.h: Likewise.
26597 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26598 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26599 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26600 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26601 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26602 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26603 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26604 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26605 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26606 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26607 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26608 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26609 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26610 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26611 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26612 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26613 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26614 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26615 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26616 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26617 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26618 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26619 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26620
26621 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26622 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26623
26624 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26625 Add lwarx hint, and use macro for acquire instruction.
26626 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26627 Likewise.
26628 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26629 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26630 update to use new atomic macros.
26631
26632 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26633
26634 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26635 (__lll_trylock_elision): Fix setting of adapt_count.
26636 * sysdeps/unix/sysv/linux/powerpc/htm.h
26637 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26638 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26639 (_ABORT_SYSCALL): Renumber, and clarify definition.
26640 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26641
26642 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26643
26644 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26645 after system headers to prevent MIN/MAX redefinition. Define
26646 HAVE_ALLOCA to preserve builtin alloca usage.
26647
26648 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26649
26650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26651 static and don't set or restore rounding.
26652 (__cos)[IN_SINCOS]: Likewise.
26653 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26654 (__sincos): Set and restore rounding mode. Remove check for infinite
26655 or NaN input.
26656
26657 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26658
26659 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26660 as used.
26661
26662 2015-11-16 Florian Weimer <fweimer@redhat.com>
26663
26664 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26665
26666 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26667
26668 * config.make.in (have-glob-dat-reloc): New.
26669 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26670 target supports GLOB_DAT relocaton. AC_SUBST.
26671 * configure: Regenerated.
26672 * elf/Makefile (tests): Add tst-prelink.
26673 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26674 (tst-prelink-ENV): New.
26675 ($(objpfx)tst-prelink-conflict.out): Likewise.
26676 ($(objpfx)tst-prelink-cmp.out): Likewise.
26677 * sysdeps/x86/tst-prelink.c: Moved to ...
26678 * elf/tst-prelink.c: Here.
26679 * sysdeps/x86/tst-prelink.exp: Moved to ...
26680 * elf/tst-prelink.exp: Here.
26681 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26682 (tst-prelink-ENV): Removed.
26683 ($(objpfx)tst-prelink-conflict.out): Likewise.
26684 ($(objpfx)tst-prelink-cmp.out): Likewise.
26685 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26686
26687 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26688
26689 [BZ #14551]
26690 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26691 (__mpn_construct_long_double): If high part overflows to infinity,
26692 set errno and recompute overflowed result of the correct sign.
26693 * sysdeps/ieee754/ldbl-128ibm/Makefile
26694 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26695 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26696 $(libm).
26697 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26698
26699 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26700
26701 [BZ #15479]
26702 [BZ #19238]
26703 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26704 floating-point state after first operation on input. Restore full
26705 state rather than just rounding mode.
26706 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26707 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26708 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26709
26710 [BZ #19235]
26711 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26712 add 0.5 to integer arguments.
26713 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26714 Likewise.
26715 (.LC2): New object.
26716
26717 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26718
26719 * scripts/pylintrc (reports): Set to no.
26720
26721 2015-11-10 Roland McGrath <roland@hack.frob.com>
26722
26723 * elf/dl-load.c (open_verify): Take new argument FD.
26724 Skip __open call if passed FD is not -1.
26725 (_dl_map_object, open_path): Update callers.
26726 * elf/dl-sysdep-open.h: New file.
26727 * elf/dl-load.c: Include it.
26728 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26729 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26730 * sysdeps/nacl/dl-sysdep-open.h: New file.
26731 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26732 from libc to rtld.
26733
26734 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26735
26736 [BZ #19228]
26737 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26738 and restore full floating-point state.
26739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26740 Likewise.
26741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26742 Likewise.
26743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26744 Likewise.
26745 * math/test-nearbyint-except-2.c: New file.
26746 * math/Makefile (tests): Add test-nearbyint-except-2.
26747
26748 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26749
26750 [BZ #19178]
26751 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26752 (tst-prelink-ENV): New.
26753 ($(objpfx)tst-prelink-conflict.out): Likewise.
26754 ($(objpfx)tst-prelink-cmp.out): Likewise.
26755 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26756 * sysdeps/x86/tst-prelink.c: New file.
26757 * sysdeps/x86/tst-prelink.exp: Likewise.
26758
26759 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26760
26761 * math/auto-libm-test-in: Add another test of pow.
26762 * math/auto-libm-test-out: Regenerated.
26763 * math/libm-test.inc (pow_test_data): Add another test.
26764
26765 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26766
26767 [BZ #19219]
26768 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26769 weak_alias to nearbyintl.
26770
26771 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26772
26773 * sysdeps/aarch64/bits/string.h: New file.
26774 (_STRING_ARCH_unaligned): Define.
26775
26776 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26777
26778 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26779 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26780 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26781 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26783
26784 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26785
26786 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26787 for original name of the DSO. Add it to the name list of the DSO
26788 if it is actually given.
26789 (_dl_map_object): Keep track of whether an audit module rewrote
26790 the file name. If yes, pass the original name to
26791 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26792 debugging is enabled, log the change of the file name.
26793 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26794 _dl_map_object_from_fd.
26795 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26796 * elf/tst-audit11.c: New file
26797 * elf/tst-auditmod11.c: New file.
26798 * elf/tst-audit11mod1.c: New file.
26799 * elf/tst-audit11mod2.c: New file.
26800 * elf/tst-audit11mod2.map: New file.
26801 * elf/tst-audit12.c: New file
26802 * elf/tst-auditmod12.c: New file.
26803 * elf/tst-audit12mod1.c: New file.
26804 * elf/tst-audit12mod2.c: New file.
26805 * elf/tst-audit12mod2.map: New file.
26806 * elf/tst-audit12mod3.c: New file.
26807
26808 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26809
26810 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26811 Don't create weak aliases,
26812 because versioned symbols are created later.
26813 * sysdeps/s390/s390-32/setjmp.S
26814 (setjmp, _setjmp): Remove weak and rename to an unique name
26815 in SHARED case due to existing versioned symbols.
26816 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26817 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26818 (getcontext): Create weak alias only in non SHARED case.
26819 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26820
26821 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26822
26823 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26824 (__ASSUME_*_SYSCALL) Define new macros.
26825 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26826 Remove socketcall syscalls.
26827 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26828 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26829 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26830 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26831 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26832 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26833
26834 2015-11-09 Florian Weimer <fweimer@redhat.com>
26835
26836 [BZ #12926]
26837 Terminate process on invalid netlink response.
26838 * sysdeps/unix/sysv/linux/netlinkaccess.h
26839 (__netlink_assert_response): Declare.
26840 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26841 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26842 (sysdep_routines): Add netlink_assert_response.
26843 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26844 __netlink_assert_response.
26845 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26846 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26847 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26848 __netlink_assert_response.
26849
26850 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26851
26852 [BZ #19178]
26853 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26854 (RTYPE_CLASS_PLT): Likewise.
26855 (RTYPE_CLASS_COPY): Likewise.
26856 (RTYPE_CLASS_TLS): Likewise.
26857 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26858 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26859 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26860 DL_DEBUG_PRELINK.
26861
26862 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26863
26864 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26865 calls with argument -0.5.
26866 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26867
26868 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26869 (libc_cv_z_nodlopen): Likewise.
26870 (libc_cv_z_initfirst): Likewise.
26871 * configure: Regenerated.
26872
26873 2015-11-06 Florian Weimer <fweimer@redhat.com>
26874
26875 Simplify abilist format to be line-based.
26876 * scripts/abilist.awk: Collect descriptors in the descs variable.
26877 (emit): Write descs variable and sort it
26878 externally, with sort.
26879 * sysdeps/**/*.abilist: Convert to new format.
26880
26881 2015-11-06 Mark Wielaard <mjw@redhat.com>
26882
26883 [BZ #11460]
26884 * io/Makefile (routines): Add fts64.
26885 (tests): Add tst-fts and tst-fts-lfs.
26886 (CFLAGS-fts64.c): New.
26887 * io/Versions (GLIBC_2.23): New.
26888 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26889 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26890 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26891 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26892 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26893 (FTSENT64): Likewise.
26894 (fts64_children): Likewise.
26895 (fts64_close): Likewise.
26896 (fts64_open): Likewise.
26897 (fts64_read): Likewise.
26898 (fts64_set): Likewise.
26899 * io/fts64.c: New file.
26900 * io/tst-fts.c: New test.
26901 * io/tst-fts-lfs.c: Likewise.
26902 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26903 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26904 fts64_set.
26905 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26906 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26907 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26908 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26909 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26910 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26911 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26912 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26913 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26914 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26915 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26916 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26917 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26919 Likewise.
26920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26921 Likewise.
26922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26924 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26925 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26926 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26927 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26928 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26931 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26932 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26933 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26934 * sysdeps/wordsize-64/fts.c: New file.
26935 * sysdeps/wordsize-64/fts64.c: Likewise.
26936 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26937 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26938 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26939 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26940
26941 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26942
26943 * math/libm-test.inc (NON_FINITE): New macro.
26944 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26945 * math/gen-libm-test.pl (show_exceptions): Add argument
26946 $non_finite.
26947 (parse_args): Update call to show_exceptions.
26948 * math/test-math-finite.h: New file.
26949 * math/test-math-no-finite.h: Likewise.
26950 * math/test-double-finite.c: Likewise.
26951 * math/test-float-finite.c: Likewise.
26952 * math/test-ldouble-finite.c: Likewise.
26953 * math/test-double.c: Include "test-math-no-finite.h".
26954 * math/test-float.c: Include "test-math-no-finite.h".
26955 * math/test-ldouble.c: Include "test-math-no-finite.h".
26956 * math/test-math-inline.h (TEST_FINITE): New macro.
26957 * math/test-math-vector.h (TEST_FINITE): Likewise.
26958 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26959 (libm-tests): Add test-float-finite and test-double-finite.
26960 ($(objpfx)test-float-finite.o): New dependency on
26961 $(objpfx)libm-test.stmp.
26962 ($(objpfx)test-double-finite.o): Likewise.
26963 ($(objpfx)test-ldouble-finite.o): Likewise.
26964 (libm-test-no-inline-cflags): New variable.
26965 (libm-test-finite-cflags): Likewise.
26966 (CFLAGS-test-float-finite.c): Likewise.
26967 (CFLAGS-test-double-finite.c): Likewise.
26968 (CFLAGS-test-ldouble-finite.c): Likewise.
26969 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26970 (CFLAGS-test-double.c): Likewise.
26971 (CFLAGS-test-ldouble.c): Likewise.
26972
26973 2015-11-05 Roland McGrath <roland@hack.frob.com>
26974
26975 * io/fcntl.c (__fcntl): Add ... to prototype.
26976 * misc/ioctl.c (__ioctl): Likewise.
26977 * misc/syscall.c (syscall): Likewise.
26978
26979 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26980
26981 * scripts/list-fixed-bugs.py: New file.
26982
26983 [BZ #19213]
26984 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26985 returned for argument 1.
26986 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26987 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26988 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26989 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26990 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26991 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26992
26993 [BZ #19211]
26994 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26995 __USE_XOPEN], not if [!__USE_ISOC99].
26996 (lgammaf): Likewise.
26997 (lgammal): Likewise.
26998 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26999 (gammaf): Likewise.
27000 (gammal): Likewise.
27001 * math/test-signgam-finite-c11.c: New file.
27002 * math/test-signgam-finite-c99.c: Likewise.
27003 * math/test-signgam-finite.c: Likewise.
27004 * math/Makefile (tests): Add test-signgam-finite,
27005 test-signgam-finite-c99 and test-signgam-finite-c11.
27006 (CFLAGS-test-signgam-finite.c): New variable.
27007 (CFLAGS-test-signgam-finite-c99.c): Likewise.
27008 (CFLAGS-test-signgam-finite-c11.c): Likewise.
27009
27010 [BZ #19212]
27011 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
27012 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
27013 500].
27014 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
27015 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
27016 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
27017 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
27018 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
27019 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
27020 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
27021 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
27022 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
27023 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
27024
27025 [BZ #19209]
27026 * math/bits/math-finite.h (ldexp): Remove declaration.
27027 (ldexpf): Likewise.
27028 (ldexpl): Likewise.
27029
27030 [BZ #19205]
27031 * math/bits/math-finite.h (acosf): Condition declaration on
27032 [__USE_ISOC99].
27033 (acosl): Likewise.
27034 (acoshf): Likewise.
27035 (acoshl): Likewise.
27036 (asinf): Likewise.
27037 (asinl): Likewise.
27038 (atan2f): Likewise.
27039 (atan2l): Likewise.
27040 (atanhf): Likewise.
27041 (atanhl): Likewise.
27042 (coshf): Likewise.
27043 (coshl): Likewise.
27044 (expf): Likewise.
27045 (expl): Likewise.
27046 (fmodf): Likewise.
27047 (fmodl): Likewise.
27048 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
27049 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
27050 (j0l): Likewise.
27051 (y0f): Likewise.
27052 (y0l): Likewise.
27053 (j1f): Likewise.
27054 (j1l): Likewise.
27055 (y1f): Likewise.
27056 (y1l): Likewise.
27057 (jnf): Likewise.
27058 (jnl): Likewise.
27059 (ynf): Likewise.
27060 (ynl): Likewise.
27061 (lgammaf_r): Condition declaration on [__USE_ISOC99].
27062 (lgammal_r): Likewise.
27063 (__lgamma_r_finite): New declaration.
27064 (__lgammaf_r_finite): Likewise.
27065 (__lgammal_r_finite): Likewise.
27066 (lgamma): Use __lgamma_r_finite.
27067 (lgammaf): Condition definition on [__USE_ISOC99]. Use
27068 __lgammaf_r_finite.
27069 (lgammal): Condition definition on [__USE_ISOC99]. Use
27070 __lgammal_r_finite.
27071 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
27072 __lgamma_r_finite.
27073 (gammaf): Condition definition on [__USE_ISOC99]. Use
27074 __lgammaf_r_finite.
27075 (gammal): Condition definition on [__USE_ISOC99]. Use
27076 __lgammal_r_finite.
27077 (logf): Condition declaration on [__USE_ISOC99].
27078 (logl): Likewise.
27079 (log10f): Likewise.
27080 (log10l): Likewise.
27081 (ldexpf): Likewise.
27082 (ldexpl): Likewise.
27083 (powf): Likewise.
27084 (powl): Likewise.
27085 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
27086 __USE_ISOC99].
27087 (remainderf): Condition declaration on [__USE_ISOC99].
27088 (remainderl): Likewise.
27089 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
27090 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
27091 (scalbl): Likewise.
27092 (sinhf): Condition declaration on [__USE_ISOC99].
27093 (sinhl): Likewise.
27094 (sqrtf): Likewise.
27095 (sqrtl): Likewise.
27096
27097 2015-11-04 Joseph Myers <joseph@codesourcery.com>
27098
27099 * sysdeps/arm/atomic-machine.h
27100 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27101 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27102 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
27103 Remove conditional code.
27104 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27105 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27106 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
27107 Change conditional to [__ASSEMBLER__].
27108 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27109 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
27110 [!__ASSEMBLER__].
27111 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
27112 code.
27113 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
27114 conditional macro definitions.
27115 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
27116 (__arch_compare_and_exchange_val_16_acq): Likewise.
27117 (__arch_compare_and_exchange_val_32_acq): Likewise.
27118 (atomic_exchange_and_add): Likewise.
27119 (atomic_add): Likewise.
27120 (atomic_add_negative): Likewise.
27121 (atomic_add_zero): Likewise.
27122 (atomic_bit_set): Likewise.
27123 (atomic_bit_test_set): Likewise.
27124 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
27125 code unconditional.
27126 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27127
27128 * math/test-math-errno.h: New file.
27129 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
27130 empty.
27131 (TEST_ERRNO): New macro.
27132 (TEST_EXCEPTIONS): Likewise.
27133 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
27134 (TEST_EXCEPTIONS): Likewise.
27135 * math/test-math-vector.h (TEST_ERRNO): Likewise.
27136 * math/test-double.c: Include "test-math-errno.h".
27137 * math/test-float.c: Likewise.
27138 * math/test-ldouble.c: Likewise.
27139 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27140 code unconditional.
27141 (test_exceptions): Only run code if TEST_EXCEPTIONS.
27142 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27143 unconditional.
27144 (test_errno): Only run code if TEST_ERRNO.
27145 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27146
27147 2015-11-04 Florian Weimer <fweimer@redhat.com>
27148
27149 * nptl/tst-once5.cc: Remove attribution.
27150
27151 2015-11-04 Joseph Myers <joseph@codesourcery.com>
27152
27153 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27154 sqrt, tan, tanh, y0, y1 and yn.
27155 * math/auto-libm-test-out: Regenerated.
27156 * math/libm-test.inc (scalb_test_data): Add more tests.
27157 (scalbn_test_data): Likewise.
27158 (scalbln_test_data): Likewise.
27159 (signbit_test_data): Likewise.
27160 (sin_test_data): Likewise.
27161 (sincos_test_data): Likewise.
27162 (sinh_test_data): Likewise.
27163 (sqrt_test_data): Likewise.
27164 (tan_test_data): Likewise.
27165 (tanh_test_data): Likewise.
27166 (tgamma_test_data): Likewise.
27167 (y0_test_data): Likewise.
27168 (y1_test_data): Likewise.
27169 (yn_test_data): Likewise.
27170 (significand_test_data): Likewise.
27171 * sysdeps/i386/fpu/libm-test-ulps: Update.
27172
27173 2015-11-03 David Kastrup <dak@gnu.org>
27174
27175 [BZ #18604]
27176 * assert/assert.h (assert): Don't macro-expand failed assertion
27177 expression in error message.
27178 * malloc/malloc.c (assert): Likewise.
27179
27180 2015-11-03 Joseph Myers <joseph@codesourcery.com>
27181
27182 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27183 test.
27184 * configure: Regenerated.
27185
27186 2015-11-02 Joseph Myers <joseph@codesourcery.com>
27187
27188 * math/libm-test.inc (modf_test_data): Add more tests.
27189 (nearbyint_test_data): Likewise.
27190 (nextafter_test_data): Likewise.
27191 (nexttoward_test_data): Likewise.
27192 (pow_test_data): Likewise.
27193 (remainder_test_data): Likewise.
27194 (remquo_test_data): Likewise.
27195 (rint_test_data): Likewise.
27196
27197 [BZ #19201]
27198 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27199 Check for zero remainder in case of large exponents and ensure
27200 correct sign of result in that case.
27201 * math/libm-test.inc (remainder_test_data): Add more tests.
27202
27203 [BZ #6799]
27204 * math/s_nextafter.c: Include <errno.h>.
27205 (__nextafter): Set errno on overflow and underflow.
27206 * math/s_nexttowardf.c: Include <errno.h>.
27207 (__nexttowardf): Set errno on overflow and underflow.
27208 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27209 (__nextafterl): Set errno on overflow and underflow.
27210 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27211 (__nexttoward): Set errno on overflow and underflow.
27212 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27213 (__nexttowardf): Set errno on overflow and underflow.
27214 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27215 (__nextafterf): Set errno on overflow and underflow.
27216 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27217 (__nextafterl): Set errno on overflow and underflow.
27218 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27219 (__nexttoward): Set errno on overflow and underflow.
27220 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27221 (__nexttowardf): Set errno on overflow and underflow.
27222 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27223 (__nextafterl): Set errno on overflow and underflow.
27224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27225 (__nexttoward): Set errno on overflow and underflow.
27226 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27227 (__nexttowardf): Set errno on overflow and underflow.
27228 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27229 (__nexttoward): Set errno on overflow and underflow.
27230 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27231 (__nexttowardf): Set errno on overflow and underflow.
27232 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27233 (__nldbl_nexttowardf): Set errno on overflow and underflow.
27234 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27235 (__nextafterl): Set errno on overflow and underflow.
27236 * math/libm-test.inc (nextafter_test_data): Do not allow errno
27237 setting to be missing on overflow. Add more tests.
27238 (nexttoward_test_data): Likewise.
27239
27240 * configure.ac (libc_cv_initfini_array): Remove configure test.
27241 * configure: Regenerated.
27242
27243 2015-10-29 Joseph Myers <joseph@codesourcery.com>
27244
27245 [BZ #19189]
27246 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27247 non-finite argument handle arguments with negative sign.
27248
27249 * math/libm-test.inc (j0_test_data): Do not test sign of zero
27250 result from infinite argument.
27251 (j1_test_data): Likewise.
27252 (jn_test_data): Likewise.
27253 (y0_test_data): Likewise.
27254 (y1_test_data): Likewise.
27255 (yn_test_data): Likewise.
27256
27257 [BZ #16171]
27258 * math/w_remainder.c (drem): Define as weak alias of __remainder.
27259 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27260 * math/w_remainderf.c (dremf): Define as weak alias of
27261 __remainderf.
27262 * math/w_remainderl.c (dreml): Define as weak alias of
27263 __remainderl.
27264 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27265 __remainder.
27266 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27267 __remainderf.
27268 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27269 __remainderl.
27270 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27271 weak alias of remainderl.
27272 * sysdeps/ieee754/ldbl-opt/w_remainder.c
27273 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27274 alias of __remainder.
27275 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27276 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27277 strong alias of __remainderl.
27278 (dreml): Use long_double_symbol.
27279 * math/Makefile (libm-calls): Remove w_drem.
27280 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27281 (CFLAGS-nldbl-drem.c): Remove variable.
27282 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27283 * math/w_drem.c: Remove file.
27284 * math/w_dremf.c: Likewise.
27285 * math/w_dreml.c: Likewise.
27286 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27287 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27288 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27289
27290 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27291 * sysdeps/i386/configure: Regenerated.
27292 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27293 * sysdeps/x86_64/configure: Regenerated.
27294
27295 * configure.ac (libc_cv_asm_protected_directive): Remove configure
27296 test.
27297 (libc_cv_visibility_attribute): Likewise.
27298 (libc_cv_protected_data): Test unconditionally.
27299 (libc_cv_broken_visibility_attribute): Remove configure test.
27300 (libc_cv_have_sdata_section): Test unconditionally.
27301 * configure: Regenerated.
27302
27303 * include/libc-internal.h (libc_max_align_t): Remove typedef.
27304 * include/scratch_buffer.h: Include <stddef.h> instead of
27305 <libc-internal.h>.
27306 (struct scratch_buffer): Use max_align_t instead of
27307 libc_max_align_t.
27308
27309 2015-10-29 Florian Weimer <fweimer@redhat.com>
27310
27311 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27312 instead of extend_alloca. Change control flow to avoid a goto.
27313 Remove assert which is trivially always true.
27314
27315 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27316
27317 [BZ #16068]
27318 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27319 (FE_ALL_EXCEPT_X86): New macro.
27320 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27321 FE_ALL_EXCEPT. Ensure precision control is included in
27322 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27323 handle "denormal operand exception" and clear FZ and DAZ bits.
27324 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27325 (FE_ALL_EXCEPT_X86): New macro.
27326 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27327 FE_ALL_EXCEPT. Ensure precision control is included in
27328 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27329 handle "denormal operand exception" and clear FZ and DAZ bits.
27330 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27331 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27332 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27333 test-fenv-x87 and test-fenv-sse-2.
27334 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27335
27336 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27337 * math/test-double.h (BUILD_COMPLEX): New macro.
27338 * math/test-float.h (BUILD_COMPLEX): Likewise.
27339 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27340
27341 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27342 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27343 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27345 instead of DBL_DENORM_MIN in comment.
27346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27347 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27348 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27349 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27350 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27351 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27352
27353 2015-10-28 Florian Weimer <fweimer@redhat.com>
27354
27355 [BZ #19048]
27356 * malloc/malloc.c (struct malloc_state): Update comment. Add
27357 attached_threads member.
27358 (main_arena): Initialize attached_threads.
27359 * malloc/arena.c (list_lock): Update comment.
27360 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27361 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27362 (deattach_arena): New function.
27363 (_int_new_arena): Initialize arena reference count and deattach
27364 replaced arena.
27365 (get_free_list, reused_arena): Update reference count and deattach
27366 replaced arena.
27367 (arena_thread_freeres): Update arena reference count and only put
27368 unreferenced arenas on the free list.
27369
27370 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27371
27372 [BZ #19181]
27373 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27374 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27375 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27376 * math/test-fenv-clear-main.c: New file.
27377 * math/test-fenv-clear.c: Likewise.
27378 * math/Makefile (tests): Add test-fenv-clear.
27379 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27380 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27381 test-fenv-clear-sse.
27382 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27383
27384 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27385 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27386 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27387
27388 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27389
27390 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27391 static libc.
27392
27393 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27394
27395 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27396 test.
27397 * sysdeps/i386/configure: Regenerated.
27398 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27399 test.
27400 * sysdeps/x86_64/configure: Regenerated.
27401 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27403 memset-avx2 unconditionally instead of conditionally on
27404 [$(config-cflags-avx2) = yes].
27405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27406 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27407 unconditional.
27408 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27409 * sysdeps/x86_64/multiarch/memset_chk.S
27410 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27411 to [IS_IN (libc) && SHARED].
27412
27413 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27414
27415 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27416 configure test.
27417 * sysdeps/arm/configure: Regenerated.
27418 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27419 Define variable if not already defined.
27420
27421 [BZ #17404]
27422 * sysdeps/mips/atomic-machine.h
27423 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27424 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27425 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27426
27427 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27428 unconditional.
27429 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27430 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27431 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27432 unconditional.
27433 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27434 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27435 unconditional.
27436 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27437 * stdlib/setenv.c
27438 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27439 code unconditional.
27440 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27441 Remove conditional code.
27442 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27443 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27444 unconditional.
27445 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27446 code.
27447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27448 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27449 unconditional.
27450 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27451 code.
27452 * sysdeps/ieee754/ldbl-128/k_tanl.c
27453 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27454 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27455 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27456 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27457 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27458 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27459 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27460 unconditional.
27461 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27462 code.
27463 * sysdeps/ieee754/ldbl-96/k_tanl.c
27464 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27465 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27466
27467 * nptl/tst-initializers1-c11.c: New file.
27468 * nptl/tst-initializers1-gnu11.c: Likewise.
27469 * nptl/Makefile (tests): Add these new tests.
27470 (CFLAGS-tst-initializers1-c11.c): New variable.
27471 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27472
27473 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27474 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27475 instead of -std=gnu99.
27476 * configure.ac (systemtap): Test with -std=gnu11 instead of
27477 -std=gnu99.
27478 * configure: Regenerated.
27479 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27480 in compilation command in comment.
27481
27482 * sysdeps/nptl/configure.ac: Remove file.
27483 * sysdeps/nptl/configure: Remove generated file.
27484 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27485 * configure: Regenerated.
27486 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27487 * config.make.in (have-forced-unwind): Remove variable.
27488 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27489 unconditional.
27490 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27491 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27492 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27493 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27494 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27495 unconditional.
27496
27497 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27498
27499 [BZ #19174]
27500 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27501 .skip_lock_out_of_tbegin_retries.
27502 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27503 (__lll_lock_elision): Likewise, and respect a value of
27504 try_tbegin <= 0.
27505
27506 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27507
27508 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27509 statement.
27510
27511 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27512
27513 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27514 variable.
27515 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27516 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27517
27518 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27519 of -std=c1x -D_ISOC11_SOURCE.
27520
27521 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27522 * configure: Regenerated.
27523 * manual/install.texi (Tools for Compilation): Document
27524 requirement for GCC 4.7 or later.
27525 * INSTALL: Regenerated.
27526
27527 2015-10-27 Ludovic Courtès <ludo@gnu.org>
27528
27529 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27530 on CNT to a conditional jump to 'puntdata'.
27531
27532 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27533
27534 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27535 (libc_cv_gcc_tls_model_attr): Likewise.
27536 * configure: Regenerated.
27537
27538 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27539 * configure: Regenerated.
27540 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27541
27542 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27543
27544 * configure.ac (old_glibc_headers): Remove configure test.
27545 * configure: Regenerated.
27546 * config.make.in (old-glibc-headers): Remove variable.
27547 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27548 (install): Remove dependency on remove-old-headers.
27549 (headers2_0): Remove variable.
27550 (remove-old-headers): Remove rule.
27551
27552 * configure.ac (libc_cv_dot_text): Remove configure test.
27553 (libc_cv_asm_set_directive): Use .text instead of
27554 ${libc_cv_dot_text} in configure test.
27555 * configure: Regenerated.
27556
27557 2015-10-26 Florian Weimer <fweimer@redhat.com>
27558
27559 [BZ #19168]
27560 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27561
27562 2015-10-26 Florian Weimer <fweimer@redhat.com>
27563
27564 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27565 not support static linking.
27566 * configure: Regenerate.
27567
27568 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27569
27570 * math/libm-test.inc (check_float_internal): Do not special-case
27571 errors up to 0.5 ulp.
27572
27573 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27574 log2.
27575 * math/auto-libm-test-out: Regenerated.
27576 * math/libm-test.inc (MAX_EXP): New macro.
27577 (ilogb_test_data): Add more tests.
27578 (isfinite_test_data): Likewise.
27579 (isgreater_test_data): Likewise.
27580 (isgreaterequal_test_data): Likewise.
27581 (isinf_test_data): Likewise.
27582 (isless_test_data): Likewise.
27583 (islessequal_test_data): Likewise.
27584 (islessgreater_test_data): Likewise.
27585 (isnan_test_data): Likewise.
27586 (isnormal_test_data): Likewise.
27587 (issignaling_test_data): Likewise.
27588 (isunordered_test_data): Likewise.
27589 (j0_test_data): Likewise.
27590 (j1_test_data): Likewise.
27591 (jn_test_data): Likewise.
27592 (lgamma_test_data): Likewise.
27593 (log_test_data): Likewise.
27594 (log10_test_data): Likewise.
27595 (log1p_test_data): Likewise.
27596 (log2_test_data): Likewise.
27597 (logb_test_data): Likewise.
27598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27599
27600 [BZ #18611]
27601 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27602 avoid excess range and precision on underflow.
27603 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27604 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27605 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27606 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27607 underflow.
27608 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27610 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27611 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27612 * math/auto-libm-test-in: Do not allow missing errno setting for
27613 tests of j1 and jn.
27614 * math/auto-libm-test-out: Regenerated.
27615
27616 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27617
27618 [BZ #15491]
27619 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27620 floating-point environment instead of clearing all exceptions.
27621 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27622 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27623 merging in "invalid" exceptions from frndint.
27624 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27625 * math/test-nearbyint-except.c: New file.
27626 * math/Makefile (tests): Add test-nearbyint-except.
27627
27628 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27629
27630 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27631
27632 * sysdeps/tile/libm-test-ulps: Regenerated.
27633
27634 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27635
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27637 (__NR_sync_file_range2): Assume it is always defined.
27638 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27639 (__NR_sync_file_range): Assume it is always defined.
27640
27641 2015-10-22 Andreas Schwab <schwab@suse.de>
27642
27643 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27644 INTERNAL_SYSCALL_ERRNO.
27645 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27646 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27647 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27648 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27649 Likewise.
27650 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27651
27652 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27653
27654 * io/tst-fcntl.c (fd): New static variable.
27655 (do_prepare): Open temporary file here....
27656 (do_test): ...not here.
27657
27658 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27659
27660 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27661
27662 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27663 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27664 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27665 Moved before "#ifdef __ASSEMBLER__".
27666
27667 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27668
27669 [BZ #19156]
27670 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27671 arguments very close to 0.
27672
27673 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27674
27675 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27676 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27677
27678 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27679
27680 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27681 New. Defined for GCC 5 and above when not compiling for
27682 profiling.
27683 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27684
27685 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27686 Renamed to ...
27687 (CFLAGS-epoll_pwait.o): This.
27688 (CFLAGS-mmap.c): Renamed to ...
27689 (CFLAGS-mmap.o): This.
27690 (CFLAGS-mmap64.c): Renamed to ...
27691 (CFLAGS-mmap64.o): This.
27692 (CFLAGS-epoll_pwait.os): New.
27693 (CFLAGS-mmap.os): Likewise.
27694 (CFLAGS-mmap64.os): Likewise.
27695 (CFLAGS-semtimedop.os): Likewise.
27696 (CFLAGS-semtimedop.c): Renamed to ...
27697 (CFLAGS-semtimedop.o): This.
27698
27699 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27700
27701 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27702 warning message.
27703
27704 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27705
27706 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27707 * Makefile ($(objpfx)c++-types-check.out): Filter out
27708 $(+gccwarn-c) instead of -Wstrict-prototypes.
27709
27710 * io/fts.c (fts_open): Convert to prototype-style function
27711 definition.
27712 * malloc/mcheck.c (mcheck): Likewise.
27713 (mcheck_pedantic): Likewise.
27714 * posix/regexec.c (re_search_2_stub): Likewise. Use
27715 internal_function.
27716 (re_search_internal): Likewise.
27717 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27718 prototype-style function definition.
27719 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27720 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27721 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27722 (xdr_utmpptr): Likewise.
27723 (xdr_utmparr): Likewise.
27724 (xdr_utmpidle): Likewise.
27725 (xdr_utmpidleptr): Likewise.
27726 (xdr_utmpidlearr): Likewise.
27727
27728 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27729 log, log10 and log2.
27730 * math/auto-libm-test-out: Regenerated.
27731 * math/libm-test.inc (fmod_test_data): Add more tests.
27732 (fpclassify_test_data): Likewise.
27733 (frexp_test_data): Likewise.
27734 (hypot_test_data): Likewise.
27735 (ilogb_test_data): Likewise.
27736
27737 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27738
27739 * debug/fortify_fail.c (__fortify_fail): Convert to
27740 prototype-style function definition. Use internal_function.
27741 * libio/genops.c (save_for_backup): Convert to prototype-style
27742 function definition.
27743 * libio/wgenops.c (save_for_wbackup): Likewise.
27744 * login/grantpt.c (grantpt): Likewise.
27745 * login/ptsname.c (ptsname): Likewise.
27746 (__ptsname_r): Likewise.
27747 * login/unlockpt.c (unlockpt): Likewise.
27748 * mach/msgserver.c (__mach_msg_server): Likewise.
27749 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27750 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27751 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27752 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27753 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27754 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27755 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27756 Likewise.
27757 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27758 internal_function.
27759 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27760 prototype-style function definition.
27761 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27762 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27763 (__pthread_create_2_0): Likewise.
27764 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27765 * nptl/register-atfork.c (__register_atfork): Likewise.
27766 * posix/glob.c (glob): Likewise.
27767 * posix/regcomp.c (re_comp): Likewise.
27768 * posix/regexec.c (re_exec): Likewise.
27769 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27770 [!__STDC__]: Remove conditional code.
27771 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27772 [!__STDC__]: Remove conditional code.
27773 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27774 [!__STDC__]: Remove conditional code.
27775 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27776 [!__STDC__]: Remove conditional code.
27777 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27778 [!__STDC__]: Remove conditional code.
27779 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27780 [!__STDC__]: Remove conditional code.
27781 * stdlib/mul.c [__STDC__]: Make code unconditional.
27782 [!__STDC__]: Remove conditional code.
27783 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27784 [!__STDC__]: Remove conditional code.
27785 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27786 [!__STDC__]: Remove conditional code.
27787 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27788 function definition.
27789 (STRTOF): Likewise.
27790 * stdlib/strtod_l.c (__STRTOF): Likewise.
27791 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27792 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27793 (__strtol_l): Likewise.
27794 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27795 [!__STDC__]: Remove conditional code.
27796 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27797 definition.
27798 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27799 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27800 type.
27801 (__strcasecmp): Convert to prototype-style function definition.
27802 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27803 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27804 type.
27805 (__strncasecmp): Convert to prototype-style function definition.
27806 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27807 * sunrpc/xdr.c (xdr_union): Likewise.
27808 * sunrpc/xdr_array.c (xdr_array): Likewise.
27809 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27810 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27811 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27812 Likewise.
27813 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27814 Likewise.
27815 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27816 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27817 Likewise.
27818 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27819 (LOCALE_PARAM_PROTO): Likewise.
27820 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27821 argument type.
27822 (ut_argument_spec): Remove macro.
27823 (ut_argument_spec_iso): Rename to ut_argument_spec.
27824 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27825 prototype-style function definition.
27826 (memcpy_uppcase): Likewise.
27827 (__strftime_internal): Likewise.
27828 (my_strftime): Likewise.
27829 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27830 (LOCALE_PARAM_DECL): Likewise.
27831 [_LIBC] (LOCALE_PARAM): Include argument type.
27832 (__strptime_internal): Convert to prototype-style function
27833 definition.
27834 (strptime): Likewise.
27835 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27836 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27837 type.
27838 (__wcscasecmp): Convert to prototype-style function definition.
27839 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27840 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27841 type.
27842 (__wcsncasecmp): Convert to prototype-style function definition.
27843
27844 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27845 function definition.
27846 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27847 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27848 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27849 * elf/dl-minimal.c (_itoa): Likewise.
27850 * hurd/hurdmalloc.c (malloc): Likewise.
27851 (free): Likewise.
27852 (realloc): Likewise.
27853 * inet/inet6_option.c (inet6_option_space): Likewise.
27854 (inet6_option_init): Likewise.
27855 (inet6_option_append): Likewise.
27856 (inet6_option_alloc): Likewise.
27857 (inet6_option_next): Likewise.
27858 (inet6_option_find): Likewise.
27859 * io/ftw.c (FTW_NAME): Likewise.
27860 (NFTW_NAME): Likewise.
27861 (NFTW_NEW_NAME): Likewise.
27862 (NFTW_OLD_NAME): Likewise.
27863 * libio/iofwide.c (_IO_fwide): Likewise.
27864 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27865 (_IO_str_init_static): Likewise.
27866 (_IO_str_init_readonly): Likewise.
27867 (_IO_str_overflow): Likewise.
27868 (_IO_str_underflow): Likewise.
27869 (_IO_str_count): Likewise.
27870 (_IO_str_seekoff): Likewise.
27871 (_IO_str_pbackfail): Likewise.
27872 (_IO_str_finish): Likewise.
27873 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27874 (_IO_wstr_overflow): Likewise.
27875 (_IO_wstr_underflow): Likewise.
27876 (_IO_wstr_count): Likewise.
27877 (_IO_wstr_seekoff): Likewise.
27878 (_IO_wstr_pbackfail): Likewise.
27879 (_IO_wstr_finish): Likewise.
27880 * locale/programs/localedef.c (normalize_codeset): Likewise.
27881 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27882 (add_locales_to_archive): Likewise.
27883 (delete_locales_from_archive): Likewise.
27884 * malloc/malloc.c (__libc_mallinfo): Likewise.
27885 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27886 * misc/tsearch.c (__tfind): Likewise.
27887 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27888 * nptl/pthread_attr_getdetachstate.c
27889 (__pthread_attr_getdetachstate): Likewise.
27890 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27891 Likewise.
27892 * nptl/pthread_attr_getinheritsched.c
27893 (__pthread_attr_getinheritsched): Likewise.
27894 * nptl/pthread_attr_getschedparam.c
27895 (__pthread_attr_getschedparam): Likewise.
27896 * nptl/pthread_attr_getschedpolicy.c
27897 (__pthread_attr_getschedpolicy): Likewise.
27898 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27899 Likewise.
27900 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27901 Likewise.
27902 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27903 Likewise.
27904 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27905 Likewise.
27906 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27907 (__pthread_attr_init_2_0): Likewise.
27908 * nptl/pthread_attr_setdetachstate.c
27909 (__pthread_attr_setdetachstate): Likewise.
27910 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27911 Likewise.
27912 * nptl/pthread_attr_setinheritsched.c
27913 (__pthread_attr_setinheritsched): Likewise.
27914 * nptl/pthread_attr_setschedparam.c
27915 (__pthread_attr_setschedparam): Likewise.
27916 * nptl/pthread_attr_setschedpolicy.c
27917 (__pthread_attr_setschedpolicy): Likewise.
27918 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27919 Likewise.
27920 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27921 Likewise.
27922 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27923 Likewise.
27924 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27925 Likewise.
27926 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27927 Likewise.
27928 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27929 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27930 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27931 use internal_function.
27932 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27933 prototype-style function definition.
27934 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27935 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27936 internal_function.
27937 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27938 Convert to prototype-style function definition.
27939 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27940 Likewise.
27941 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27942 Likewise.
27943 (__pthread_mutex_unlock): Likewise.
27944 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27945 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27946 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27947 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27948 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27949 * nss/makedb.c (process_input): Likewise.
27950 * posix/fnmatch.c (__strchrnul): Likewise.
27951 (__wcschrnul): Likewise.
27952 (fnmatch): Likewise.
27953 * posix/fnmatch_loop.c (FCT): Likewise.
27954 * posix/glob.c (globfree): Likewise.
27955 (__glob_pattern_type): Likewise.
27956 (__glob_pattern_p): Likewise.
27957 * posix/regcomp.c (re_compile_pattern): Likewise.
27958 (re_set_syntax): Likewise.
27959 (re_compile_fastmap): Likewise.
27960 (regcomp): Likewise.
27961 (regerror): Likewise.
27962 (regfree): Likewise.
27963 * posix/regexec.c (regexec): Likewise.
27964 (re_match): Likewise.
27965 (re_search): Likewise.
27966 (re_match_2): Likewise.
27967 (re_search_2): Likewise.
27968 (re_search_stub): Likewise. Use internal_function
27969 (re_copy_regs): Likewise.
27970 (re_set_registers): Convert to prototype-style function
27971 definition.
27972 (prune_impossible_nodes): Likewise. Use internal_function.
27973 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27974 prototype-style function definition.
27975 (inet_net_pton_ipv4): Likewise.
27976 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27977 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27978 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27979 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27980 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27981 Make variadic.
27982 * time/strptime_l.c (localtime_r): Convert to prototype-style
27983 function definition.
27984 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27985 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27986 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27987 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27988
27989 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27990 definition.
27991 (_ufc_doit_r): Likewise.
27992 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27993 (_ufc_output_conversion_r): Likewise.
27994 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27995 * inet/rcmd.c (rcmd_af): Likewise.
27996 (rcmd): Likewise.
27997 (ruserok_af): Likewise.
27998 (ruserok): Likewise.
27999 (ruserok2_sa): Likewise.
28000 (ruserok_sa): Likewise.
28001 (iruserok_af): Likewise.
28002 (iruserok): Likewise.
28003 (__ivaliduser): Likewise.
28004 (__validuser2_sa): Likewise.
28005 * inet/rexec.c (rexec_af): Likewise.
28006 (rexec): Likewise.
28007 * inet/ruserpass.c (ruserpass): Likewise.
28008 * locale/programs/xmalloc.c (xcalloc): Likewise.
28009 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
28010 * math/w_drem.c (__drem): Likewise.
28011 * math/w_dremf.c (__dremf): Likewise.
28012 * math/w_dreml.c (__dreml): Likewise.
28013 * misc/daemon.c (daemon): Likewise.
28014 * resolv/res_debug.c (p_fqnname): Likewise.
28015 * stdlib/div.c (div): Likewise.
28016 * string/memcmp.c (memcmp_bytes): Likewise.
28017 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
28018 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
28019
28020 * crypt/cert.c (main): Convert to prototype-style function
28021 definition.
28022 * io/pipe.c (__pipe): Likewise.
28023 * io/pipe2.c (__pipe2): Likewise.
28024 * misc/futimesat.c (futimesat): Likewise.
28025 * misc/utimes.c (__utimes): Likewise.
28026 * posix/execve.c (__execve): Likewise.
28027 * posix/execvp.c (execvp): Likewise.
28028 * posix/execvpe.c (__execvpe): Likewise.
28029 * posix/fexecve.c (fexecve): Likewise.
28030 * socket/socketpair.c (socketpair): Likewise.
28031 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28032 * stdlib/erand48.c (erand48): Likewise.
28033 * stdlib/erand48_r.c (__erand48_r): Likewise.
28034 * stdlib/jrand48.c (jrand48): Likewise.
28035 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
28036 * stdlib/lcong48.c (lcong48): Likewise.
28037 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
28038 * stdlib/nrand48.c (nrand48): Likewise.
28039 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
28040 * stdlib/seed48.c (seed48): Likewise.
28041 * stdlib/seed48_r.c (__seed48_r): Likewise.
28042 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
28043 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
28044 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
28045
28046 2015-10-19 Joseph Myers <joseph@codesourcery.com>
28047
28048 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
28049 * configure: Regenerated.
28050 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
28051 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
28052 unconditional.
28053 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28054 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28055 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28056 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
28057 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
28058 unconditional.
28059 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28060
28061 * posix/Makefile (CFLAGS-regex.c): Remove variable.
28062 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
28063
28064 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
28065 function definition.
28066 * crypt/crypt_util.c (__encrypt_r): Likewise.
28067 * libio/genops.c (_IO_no_init): Likewise.
28068 * libio/iofopncook.c (_IO_fopencookie): Likewise.
28069 (_IO_old_fopencookie): Likewise.
28070 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28071 * libio/iogetline.c (_IO_getline): Likewise.
28072 (_IO_getline_info): Likewise.
28073 * libio/iogetwline.c (_IO_getwline): Likewise.
28074 (_IO_getwline_info): Likewise.
28075 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
28076 * libio/vswprintf.c (_IO_vswprintf): Likewise.
28077 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
28078 (find_entry): Likewise.
28079 (iterate_table): Likewise.
28080 (lookup): Likewise.
28081 * login/forkpty.c (forkpty): Likewise.
28082 * misc/hsearch_r.c (__hsearch_r): Likewise.
28083 * misc/select.c (__select): Likewise.
28084 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
28085 Likewise.
28086 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
28087 Likewise.
28088 * nptl/old_pthread_cond_timedwait.c
28089 (__pthread_cond_timedwait_2_0): Likewise.
28090 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28091 * nptl/pthread_barrierattr_getpshared.c
28092 (pthread_barrierattr_getpshared): Likewise.
28093 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
28094 Likewise.
28095 * nptl/pthread_mutex_setprioceiling.c
28096 (pthread_mutex_setprioceiling): Likewise.
28097 * nptl/pthread_mutexattr_getprioceiling.c
28098 (pthread_mutexattr_getprioceiling): Likewise.
28099 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28100 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28101 Likewise.
28102 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28103 Likewise.
28104 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
28105 Likewise.
28106 * socket/recvfrom.c (__recvfrom): Likewise.
28107 * socket/sendto.c (__sendto): Likewise.
28108 * socket/setsockopt.c (__setsockopt): Likewise.
28109 * stdio-common/_itoa.c (_itoa): Likewise.
28110 * stdio-common/_itowa.c (_itowa): Likewise.
28111 * stdio-common/reg-printf.c (__register_printf_specifier):
28112 Likewise.
28113 (__register_printf_function): Likewise.
28114 * stdio-common/tempname.c (__path_search): Likewise.
28115 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
28116 * stdlib/mul_1.c (mpn_mul_1): Likewise.
28117 * stdlib/random_r.c (__initstate_r): Likewise.
28118 * stdlib/setenv.c (__add_to_environ): Likewise.
28119 * stdlib/submul_1.c (mpn_submul_1): Likewise.
28120 * streams/getpmsg.c (getpmsg): Likewise.
28121 * streams/putmsg.c (putmsg): Likewise.
28122 * streams/putpmsg.c (putpmsg): Likewise.
28123 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
28124 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28125 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
28126 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28127 * sunrpc/pm_getport.c (pmap_getport): Likewise.
28128 * sunrpc/svc_udp.c (cache_get): Likewise.
28129 * sunrpc/xdr_array.c (xdr_vector): Likewise.
28130 * sysdeps/mach/hurd/getcwd.c
28131 (__canonicalize_directory_name_internal): Likewise.
28132 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
28133 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
28134 * sysdeps/mach/hurd/select.c (__select): Likewise.
28135 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28136 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
28137 * sysdeps/sparc/nptl/pthread_barrier_init.c
28138 (__pthread_barrier_init): Likewise.
28139 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28140 (__pthread_cond_timedwait): Likewise.
28141 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28142 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28143 Likewise.
28144 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28145 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28146 Likewise.
28147 * sysvipc/semtimedop.c (semtimedop): Likewise.
28148 * time/setitimer.c (__setitimer): Likewise.
28149 * time/strftime_l.c (emacs_strftime): Likewise.
28150
28151 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28152
28153 * config.make.in (have-ssp): Delete.
28154 (stack-protector): New variable.
28155 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
28156 cache test for -fstack-protector-strong. Export stack_protector to
28157 the best ssp flag.
28158 * configure: Regenerated.
28159 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28160 * nscd/Makefile (CFLAGS-nscd): Likewise.
28161 * resolv/Makefile (CFLAGS-libresolv): Likewise.
28162
28163 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
28164
28165 [BZ #19122]
28166 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28167 attribute_hidden.
28168
28169 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28170
28171 [BZ #18743]
28172 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28173 code to...
28174 (ELIDE_LOCK): ...here.
28175 (__get_new_count): New function with part of the code from
28176 __elide_lock that updates the value of adapt_count after a
28177 transaction abort.
28178 (__elided_trylock): Moved this code to...
28179 (ELIDE_TRYLOCK): ...here.
28180
28181 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28182
28183 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28184 * configure: Regenerate.
28185 * INSTALL: Regenerate.
28186 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28187 and tweak grammar.
28188
28189 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
28190
28191 * login/programs/pt_chown.c: Include signal.h
28192 (main): Clear any signal mask from the parent process.
28193
28194 2015-10-19 Joseph Myers <joseph@codesourcery.com>
28195
28196 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28197 * configure: Regenerated.
28198 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28199 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28200 $(gnu89-inline-CFLAGS).
28201
28202 * configure.ac (libc_cv_asm_weak_directive): Remove configure
28203 test.
28204 (libc_cv_asm_weakext_directive): Likewise.
28205 * configure: Regenerated.
28206 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28207 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28208 * include/libc-symbols.h
28209 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28210 #error.
28211 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28212 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28213
28214 * sysdeps/arm/backtrace.c (__backtrace): Convert to
28215 prototype-style function definition.
28216 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28217 * sysdeps/i386/ffs.c (__ffs): Likewise.
28218 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28219 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28220 Likewise.
28221 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28222 Likewise.
28223 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28225 Likewise.
28226 * sysdeps/m68k/ffs.c (__ffs): Likewise.
28227 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28228 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28229 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28230 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28231 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28232 * sysdeps/mach/hurd/access.c (__access): Likewise.
28233 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28234 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28235 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28236 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28237 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28238 (cthread_getspecific): Likewise.
28239 (cthread_setspecific): Likewise.
28240 (__libc_getspecific): Likewise.
28241 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28242 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28243 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28244 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28245 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28246 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28247 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28248 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28249 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28250 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28251 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28252 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28253 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28254 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28255 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28256 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28257 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28258 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28259 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28260 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28261 * sysdeps/mach/hurd/link.c (__link): Likewise.
28262 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28263 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28264 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28265 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28266 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28267 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28268 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28269 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28270 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28271 * sysdeps/mach/hurd/rename.c (rename): Likewise.
28272 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28273 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28274 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28275 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28276 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28277 * sysdeps/mach/hurd/send.c (__send): Likewise.
28278 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28279 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28280 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28281 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28282 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28283 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28284 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28285 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28286 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28287 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28288 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28289 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28290 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28291 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28292 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28293 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28294 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28295 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28296 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28297 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28298 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28299 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28300 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28301 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28302 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28303 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28304 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28305 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28306 * sysdeps/posix/alarm.c (alarm): Likewise.
28307 * sysdeps/posix/cuserid.c (cuserid): Likewise.
28308 * sysdeps/posix/dirfd.c (dirfd): Likewise.
28309 * sysdeps/posix/dup.c (__dup): Likewise.
28310 * sysdeps/posix/dup2.c (__dup2): Likewise.
28311 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28312 (main): Likewise.
28313 * sysdeps/posix/flock.c (__flock): Likewise.
28314 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28315 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28316 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28317 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28318 * sysdeps/posix/isatty.c (__isatty): Likewise.
28319 * sysdeps/posix/killpg.c (killpg): Likewise.
28320 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28321 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28322 * sysdeps/posix/raise.c (raise): Likewise.
28323 * sysdeps/posix/remove.c (remove): Likewise.
28324 * sysdeps/posix/rename.c (rename): Likewise.
28325 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28326 * sysdeps/posix/seekdir.c (seekdir): Likewise.
28327 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28328 * sysdeps/posix/sigignore.c (sigignore): Likewise.
28329 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28330 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28331 * sysdeps/posix/sigset.c (sigset): Likewise.
28332 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28333 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28334 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28335 * sysdeps/posix/time.c (time): Likewise.
28336 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28337 (ttyname): Likewise.
28338 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28339 * sysdeps/posix/utime.c (utime): Likewise.
28340 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28341 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28342 Likewise.
28343 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28344 (pthread_spin_trylock): Likewise.
28345 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28346 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28347 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28348 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28349 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28350 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28351 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28352 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28353 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28354 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28355 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28356 * sysdeps/s390/ffs.c (__ffs): Likewise.
28357 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28358 Likewise.
28359 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28360 Likewise.
28361 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28362 Likewise.
28363 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28364 (pthread_barrier_destroy): Likewise.
28365 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28366 (__pthread_barrier_wait): Likewise.
28367 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28368 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28369 (__pthread_barrier_wait): Likewise.
28370 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28371 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28372 (memcmp_not_common_alignment): Likewise.
28373 (MEMCMP): Likewise.
28374 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28375 (_wordcopy_fwd_dest_aligned): Likewise.
28376 (_wordcopy_bwd_aligned): Likewise.
28377 (_wordcopy_bwd_dest_aligned): Likewise.
28378 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28379 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28380 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28381 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28382 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28383 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28384 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28385 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28386 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28387 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28388 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28389 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28390 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28391 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28392 * sysdeps/unix/stime.c (stime): Likewise.
28393 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28394 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28395 Likewise. Use internal_function.
28396 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28397 Convert to prototype-style function definition.
28398 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28399 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28400 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28401 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28402 Likewise. Use internal_function.
28403 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28404 prototype-style function definition
28405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28406 Likewise.
28407 (__getlogin_r): Likewise.
28408 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28409 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28410 (__pthread_cond_broadcast): Likewise.
28411 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28412 (__pthread_cond_destroy): Likewise.
28413 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28414 (__pthread_cond_init): Likewise.
28415 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28416 (__pthread_cond_signal): Likewise.
28417 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28418 (__pthread_cond_wait): Likewise.
28419 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28420 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28421 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28422 Likewise.
28423 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28424 Likewise.
28425 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28426 Likewise.
28427 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28428 Likewise.
28429 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28431 (__ftruncate64): Likewise.
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28433 (truncate64): Likewise.
28434 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28435 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28436 (pthread_getcpuclockid): Likewise.
28437 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28438 Likewise.
28439 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28440 Likewise.
28441 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28442 Likewise.
28443 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28444 Likewise.
28445 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28446 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28447 (__libc_sigaction): Likewise.
28448 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28449 Likewise.
28450 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28451 (__sigprocmask): Likewise.
28452 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28453 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28454 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28455 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28456 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28457 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28458 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28459 Likewise.
28460 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28461 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28462 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28463 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28465 Likewise.
28466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28467 (__sigprocmask): Likewise.
28468 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28469 (cfgetispeed): Likewise.
28470 (cfsetospeed): Likewise.
28471 (cfsetispeed): Likewise.
28472 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28473 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28474 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28475 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28476 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28477 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28478 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28479 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28480 Likewise.
28481 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28482 Likewise.
28483 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28484 Likewise.
28485 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28486 Likewise.
28487 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28488
28489 2015-10-17 Florian Weimer <fweimer@redhat.com>
28490
28491 sunrpc: Rewrite with explicit TLS access using __thread.
28492 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28493 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28494 directly.
28495 (__rpc_thread_variables): Access thread_rpc_vars directly.
28496 Eliminate redundant assignment of the tvp variable.
28497
28498 2015-10-17 Florian Weimer <fweimer@redhat.com>
28499
28500 malloc: Rewrite with explicit TLS access using __thread.
28501 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28502 (tsd_setspecific, tsd_getspecific): Remove.
28503 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28504 (tsd_setspecific, tsd_getspecific): Likewise.
28505 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28506 (tsd_setspecific, tsd_getspecific): Likewise.
28507 * malloc/arena.c (thread_arena): New TLS variable.
28508 (arena_key): Remove variable.
28509 (arena_get): Use thread_arena.
28510 (arena_lookup): Remove macro.
28511 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28512 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28513 (_int_new_arena, get_free_list, reused_arena)
28514 (arena_thread_freeres): Use thread_arena.
28515 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28516 tsd_getspecific, tsd_setspecific from safety annotations.
28517 (Allocating Cleared Space): Remove arena_lookup from safety
28518 annotations.
28519
28520 2015-10-17 Florian Weimer <fweimer@redhat.com>
28521
28522 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28523 struct scratch_buffer instead of extend_alloca.
28524
28525 2015-10-17 Florian Weimer <fweimer@redhat.com>
28526
28527 * sysdeps/unix/sysv/linux/kernel-features.h
28528 (__ASSUME_SOCK_CLOEXEC): Remove.
28529 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28530 (__have_paccept): Remove unused macro.
28531 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28532 * misc/syslog.c (openlog_internal): Remove fallback code for
28533 !__ASSUME_SOCK_CLOEXEC.
28534 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28535 missing SOCK_CLOEXEC.
28536 * nscd/connections.c (have_sock_cloexec): Remove definition.
28537 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28538 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28539 !__ASSUME_SOCK_CLOEXEC.
28540 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28541 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28542 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28543 definition.
28544 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28545 code for !__ASSUME_SOCK_CLOEXEC.
28546
28547 2015-10-17 Florian Weimer <fweimer@redhat.com>
28548
28549 [BZ #18982]
28550 * manual/stdio.texi (Variable Arguments Output): Add portability
28551 note, explaining that vfprintf clobbers the va_list pointer.
28552
28553 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28554
28555 * math/libm-test.inc (fabs_test_data): Add more tests.
28556 (fdim_test_data): Likewise.
28557 (fma_test_data): Likewise.
28558 (fmax_test_data): Likewise.
28559 (fmin_test_data): Likewise.
28560 (fmod_test_data): Likewise.
28561
28562 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28563
28564 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28565 data.
28566
28567 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28568
28569 * math/libm-test.inc (ceil_test_data): Add more tests and more
28570 expectations for "inexact".
28571 (floor_test_data): Add more tests.
28572 (round_test_data): Likewise.
28573 (trunc_test_data): Likewise.
28574
28575 * crypt/cert.c (good_bye): Convert to prototype-style function
28576 definition.
28577 (get8): Likewise.
28578 (put8): Likewise.
28579 * crypt/crypt-entry.c (crypt): Likewise.
28580 (__fcrypt): Likewise.
28581 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28582 (_ufc_set_bits): Likewise.
28583 (_ufc_clearmem): Likewise.
28584 (__init_des_r): Likewise.
28585 (shuffle_sb): Likewise.
28586 (shuffle_sb): Likewise.
28587 (_ufc_setup_salt_r): Likewise.
28588 (_ufc_mk_keytab_r): Likewise.
28589 (_ufc_dofinalperm_r): Likewise.
28590 (encrypt): Likewise.
28591 (__setkey_r): Likewise.
28592 (setkey): Likewise.
28593 * crypt/md5.c (md5_init_ctx): Likewise.
28594 (md5_read_ctx): Likewise.
28595 (md5_finish_ctx): Likewise.
28596 (md5_stream): Likewise.
28597 (md5_buffer): Likewise.
28598 (md5_process_bytes): Likewise.
28599 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28600 (__sha256_finish_ctx): Likewise.
28601 (__sha256_process_bytes): Likewise.
28602 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28603 (__sha512_finish_ctx): Likewise.
28604 (__sha512_process_bytes): Likewise.
28605 * ctype/isctype.c (__isctype): Likewise.
28606 * debug/backtrace.c (__backtrace): Likewise.
28607 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28608 * debug/fgets_chk.c (__fgets_chk): Likewise.
28609 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28610 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28611 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28612 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28613 * debug/memset_chk.c (__memset_chk): Likewise.
28614 * debug/strcat_chk.c (__strcat_chk): Likewise.
28615 * debug/strncat_chk.c (__strncat_chk): Likewise.
28616 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28617 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28618 * dirent/dirfd.c (dirfd): Likewise.
28619 * dirent/getdents.c (__getdirentries): Likewise.
28620 * dirent/getdents64.c (getdirentries64): Likewise.
28621 * dirent/rewinddir.c (__rewinddir): Likewise.
28622 * dirent/seekdir.c (seekdir): Likewise.
28623 * dirent/telldir.c (telldir): Likewise.
28624 * elf/sln.c (makesymlinks): Likewise.
28625 (makesymlink): Likewise.
28626 * gmon/gmon.c (__moncontrol): Likewise.
28627 (__monstartup): Likewise.
28628 (write_hist): Likewise.
28629 (write_call_graph): Likewise.
28630 (write_bb_counts): Likewise.
28631 * grp/setgroups.c (setgroups): Likewise.
28632 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28633 * inet/inet_net.c (inet_network): Likewise.
28634 * inet/inet_netof.c (inet_netof): Likewise.
28635 * inet/rcmd.c (rresvport_af): Likewise.
28636 (rresvport): Likewise.
28637 * io/access.c (__access): Likewise.
28638 * io/chdir.c (__chdir): Likewise.
28639 * io/chmod.c (__chmod): Likewise.
28640 * io/chown.c (__chown): Likewise.
28641 * io/close.c (__close): Likewise.
28642 * io/creat.c (creat): Likewise.
28643 * io/creat64.c (creat64): Likewise.
28644 * io/dup.c (__dup): Likewise.
28645 * io/dup2.c (__dup2): Likewise.
28646 * io/dup3.c (__dup3): Likewise.
28647 * io/euidaccess.c (__euidaccess): Likewise.
28648 * io/faccessat.c (faccessat): Likewise.
28649 * io/fchmod.c (__fchmod): Likewise.
28650 * io/fchmodat.c (fchmodat): Likewise.
28651 * io/fchown.c (__fchown): Likewise.
28652 * io/fchownat.c (fchownat): Likewise.
28653 * io/fcntl.c (__fcntl): Likewise.
28654 * io/flock.c (__flock): Likewise.
28655 * io/fts.c (fts_load): Likewise.
28656 (fts_close): Likewise.
28657 (fts_read): Likewise.
28658 (fts_set): Likewise.
28659 (fts_children): Likewise.
28660 (fts_build): Likewise.
28661 (fts_stat): Likewise.
28662 (fts_sort): Likewise.
28663 (fts_alloc): Likewise.
28664 (fts_lfree): Likewise.
28665 (fts_palloc): Likewise.
28666 (fts_padjust): Likewise.
28667 (fts_maxarglen): Likewise.
28668 (fts_safe_changedir): Likewise.
28669 * io/getwd.c (getwd): Likewise.
28670 * io/isatty.c (__isatty): Likewise.
28671 * io/lchown.c (__lchown): Likewise.
28672 * io/link.c (__link): Likewise.
28673 * io/linkat.c (linkat): Likewise.
28674 * io/lseek.c (__libc_lseek): Likewise.
28675 * io/mkdir.c (__mkdir): Likewise.
28676 * io/mkdirat.c (mkdirat): Likewise.
28677 * io/mkfifo.c (mkfifo): Likewise.
28678 * io/mkfifoat.c (mkfifoat): Likewise.
28679 * io/open.c (__libc_open): Likewise.
28680 * io/open64.c (__libc_open64): Likewise.
28681 * io/readlink.c (__readlink): Likewise.
28682 * io/readlinkat.c (readlinkat): Likewise.
28683 * io/rmdir.c (__rmdir): Likewise.
28684 * io/symlink.c (__symlink): Likewise.
28685 * io/symlinkat.c (symlinkat): Likewise.
28686 * io/ttyname.c (ttyname): Likewise.
28687 * io/ttyname_r.c (__ttyname_r): Likewise.
28688 * io/umask.c (__umask): Likewise.
28689 * io/unlink.c (__unlink): Likewise.
28690 * io/unlinkat.c (unlinkat): Likewise.
28691 * io/utime.c (utime): Likewise.
28692 * libio/clearerr.c (clearerr): Likewise.
28693 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28694 * libio/feof.c (_IO_feof): Likewise.
28695 * libio/feof_u.c (feof_unlocked): Likewise.
28696 * libio/ferror.c (_IO_ferror): Likewise.
28697 * libio/ferror_u.c (ferror_unlocked): Likewise.
28698 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28699 * libio/fileno.c (__fileno): Likewise.
28700 * libio/fputc.c (fputc): Likewise.
28701 * libio/fputc_u.c (fputc_unlocked): Likewise.
28702 * libio/fputwc.c (fputwc): Likewise.
28703 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28704 * libio/freopen.c (freopen): Likewise.
28705 * libio/freopen64.c (freopen64): Likewise.
28706 * libio/fseek.c (fseek): Likewise.
28707 * libio/fseeko.c (fseeko): Likewise.
28708 * libio/fseeko64.c (fseeko64): Likewise.
28709 * libio/ftello.c (__ftello): Likewise.
28710 * libio/ftello64.c (ftello64): Likewise.
28711 * libio/fwide.c (fwide): Likewise.
28712 * libio/genops.c (_IO_un_link): Likewise.
28713 (_IO_link_in): Likewise.
28714 (_IO_least_marker): Likewise.
28715 (_IO_switch_to_main_get_area): Likewise.
28716 (_IO_switch_to_backup_area): Likewise.
28717 (_IO_switch_to_get_mode): Likewise.
28718 (_IO_free_backup_area): Likewise.
28719 (_IO_switch_to_put_mode): Likewise.
28720 (__overflow): Likewise.
28721 (__underflow): Likewise.
28722 (__uflow): Likewise.
28723 (_IO_setb): Likewise.
28724 (_IO_doallocbuf): Likewise.
28725 (_IO_default_underflow): Likewise.
28726 (_IO_default_uflow): Likewise.
28727 (_IO_default_xsputn): Likewise.
28728 (_IO_sgetn): Likewise.
28729 (_IO_default_xsgetn): Likewise.
28730 (_IO_sync): Likewise.
28731 (_IO_default_setbuf): Likewise.
28732 (_IO_default_seekpos): Likewise.
28733 (_IO_default_doallocate): Likewise.
28734 (_IO_init): Likewise.
28735 (_IO_old_init): Likewise.
28736 (_IO_default_sync): Likewise.
28737 (_IO_default_finish): Likewise.
28738 (_IO_default_seekoff): Likewise.
28739 (_IO_sputbackc): Likewise.
28740 (_IO_sungetc): Likewise.
28741 (_IO_set_column): Likewise.
28742 (_IO_set_column): Likewise.
28743 (_IO_adjust_column): Likewise.
28744 (_IO_get_column): Likewise.
28745 (_IO_init_marker): Likewise.
28746 (_IO_remove_marker): Likewise.
28747 (_IO_marker_difference): Likewise.
28748 (_IO_marker_delta): Likewise.
28749 (_IO_seekmark): Likewise.
28750 (_IO_unsave_markers): Likewise.
28751 (_IO_nobackup_pbackfail): Likewise.
28752 (_IO_default_pbackfail): Likewise.
28753 (_IO_default_seek): Likewise.
28754 (_IO_default_stat): Likewise.
28755 (_IO_default_read): Likewise.
28756 (_IO_default_write): Likewise.
28757 (_IO_default_showmanyc): Likewise.
28758 (_IO_default_imbue): Likewise.
28759 (_IO_iter_next): Likewise.
28760 (_IO_iter_file): Likewise.
28761 * libio/getc.c (_IO_getc): Likewise.
28762 * libio/getwc.c (_IO_getwc): Likewise.
28763 * libio/iofclose.c (_IO_new_fclose): Likewise.
28764 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28765 * libio/iofflush.c (_IO_fflush): Likewise.
28766 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28767 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28768 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28769 * libio/iofgets.c (_IO_fgets): Likewise.
28770 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28771 * libio/iofgetws.c (fgetws): Likewise.
28772 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28773 * libio/iofopen64.c (_IO_fopen64): Likewise.
28774 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28775 (_IO_cookie_write): Likewise.
28776 (_IO_cookie_seek): Likewise.
28777 (_IO_cookie_close): Likewise.
28778 (_IO_cookie_seekoff): Likewise.
28779 (_IO_old_cookie_seek): Likewise.
28780 * libio/iofputs.c (_IO_fputs): Likewise.
28781 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28782 * libio/iofputws.c (fputws): Likewise.
28783 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28784 * libio/iofread.c (_IO_fread): Likewise.
28785 * libio/iofread_u.c (__fread_unlocked): Likewise.
28786 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28787 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28788 * libio/ioftell.c (_IO_ftell): Likewise.
28789 * libio/iofwrite.c (_IO_fwrite): Likewise.
28790 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28791 * libio/iogets.c (_IO_gets): Likewise.
28792 * libio/iopadn.c (_IO_padn): Likewise.
28793 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28794 (_IO_new_popen): Likewise.
28795 (_IO_new_proc_close): Likewise.
28796 * libio/ioputs.c (_IO_puts): Likewise.
28797 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28798 (_IO_seekoff): Likewise.
28799 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28800 (_IO_seekpos): Likewise.
28801 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28802 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28803 * libio/ioungetc.c (_IO_ungetc): Likewise.
28804 * libio/ioungetwc.c (ungetwc): Likewise.
28805 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28806 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28807 * libio/iowpadn.c (_IO_wpadn): Likewise.
28808 * libio/libc_fatal.c (__libc_fatal): Likewise.
28809 * libio/memstream.c (__open_memstream): Likewise.
28810 (_IO_mem_sync): Likewise.
28811 (_IO_mem_finish): Likewise.
28812 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28813 (_IO_old_file_close_it): Likewise.
28814 (_IO_old_file_finish): Likewise.
28815 (_IO_old_file_fopen): Likewise.
28816 (_IO_old_file_attach): Likewise.
28817 (_IO_old_file_setbuf): Likewise.
28818 (_IO_old_do_write): Likewise.
28819 (old_do_write): Likewise.
28820 (_IO_old_file_underflow): Likewise.
28821 (_IO_old_file_overflow): Likewise.
28822 (_IO_old_file_sync): Likewise.
28823 (_IO_old_file_seekoff): Likewise.
28824 (_IO_old_file_write): Likewise.
28825 (_IO_old_file_xsputn): Likewise.
28826 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28828 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28829 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28830 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28831 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28832 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28833 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28834 (_IO_old_popen): Likewise.
28835 (_IO_old_proc_close): Likewise.
28836 * libio/oldpclose.c (__old_pclose): Likewise.
28837 * libio/pclose.c (__new_pclose): Likewise.
28838 * libio/peekc.c (_IO_peekc_locked): Likewise.
28839 * libio/putc.c (_IO_putc): Likewise.
28840 * libio/putc_u.c (putc_unlocked): Likewise.
28841 * libio/putchar.c (putchar): Likewise.
28842 * libio/putchar_u.c (putchar_unlocked): Likewise.
28843 * libio/putwc.c (putwc): Likewise.
28844 * libio/putwc_u.c (putwc_unlocked): Likewise.
28845 * libio/putwchar.c (putwchar): Likewise.
28846 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28847 * libio/rewind.c (rewind): Likewise.
28848 * libio/setbuf.c (setbuf): Likewise.
28849 * libio/setlinebuf.c (setlinebuf): Likewise.
28850 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28851 * libio/vscanf.c (_IO_vscanf): Likewise.
28852 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28853 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28854 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28855 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28856 (_IO_switch_to_main_wget_area): Likewise.
28857 (_IO_switch_to_wbackup_area): Likewise.
28858 (_IO_wsetb): Likewise.
28859 (_IO_wdefault_pbackfail): Likewise.
28860 (_IO_wdefault_finish): Likewise.
28861 (_IO_wdefault_uflow): Likewise.
28862 (__woverflow): Likewise.
28863 (__wuflow): Likewise.
28864 (__wunderflow): Likewise.
28865 (_IO_wdefault_xsputn): Likewise.
28866 (_IO_wdefault_xsgetn): Likewise.
28867 (_IO_wdoallocbuf): Likewise.
28868 (_IO_wdefault_doallocate): Likewise.
28869 (_IO_switch_to_wget_mode): Likewise.
28870 (_IO_free_wbackup_area): Likewise.
28871 (_IO_switch_to_wput_mode): Likewise.
28872 (_IO_sputbackwc): Likewise.
28873 (_IO_sungetwc): Likewise.
28874 (_IO_adjust_wcolumn): Likewise.
28875 (_IO_init_wmarker): Likewise.
28876 (_IO_wmarker_delta): Likewise.
28877 (_IO_seekwmark): Likewise.
28878 (_IO_unsave_wmarkers): Likewise.
28879 * libio/wmemstream.c (open_wmemstream): Likewise.
28880 (_IO_wmem_sync): Likewise.
28881 (_IO_wmem_finish): Likewise.
28882 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28883 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28884 * locale/programs/simple-hash.c (init_hash): Likewise.
28885 (delete_hash): Likewise.
28886 (insert_entry): Likewise.
28887 (set_entry): Likewise.
28888 (next_prime): Likewise.
28889 (is_prime): Likewise.
28890 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28891 (xmalloc): Likewise.
28892 (xrealloc): Likewise.
28893 * locale/programs/xstrdup.c (xstrdup): Likewise.
28894 * localedata/collate-test.c (xstrcoll): Likewise.
28895 * localedata/xfrm-test.c (xstrcmp): Likewise.
28896 * login/getlogin_r.c (__getlogin_r): Likewise.
28897 * login/getpt.c (__posix_openpt): Likewise.
28898 * login/login_tty.c (login_tty): Likewise.
28899 * login/setlogin.c (setlogin): Likewise.
28900 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28901 (mach_msg_destroy_port): Likewise.
28902 (mach_msg_destroy_memory): Likewise.
28903 * malloc/mcheck.c (flood): Likewise.
28904 * misc/acct.c (acct): Likewise.
28905 * misc/brk.c (__brk): Likewise.
28906 * misc/chflags.c (chflags): Likewise.
28907 * misc/chroot.c (chroot): Likewise.
28908 * misc/fchflags.c (fchflags): Likewise.
28909 * misc/fstab.c (getfsspec): Likewise.
28910 (getfsfile): Likewise.
28911 * misc/fsync.c (fsync): Likewise.
28912 * misc/ftruncate.c (__ftruncate): Likewise.
28913 * misc/ftruncate64.c (__ftruncate64): Likewise.
28914 * misc/getdomain.c (getdomainname): Likewise.
28915 (getdomainname): Likewise.
28916 * misc/gethostname.c (__gethostname): Likewise.
28917 * misc/getpass.c (getpass): Likewise.
28918 * misc/getttyent.c (skip): Likewise.
28919 (value): Likewise.
28920 * misc/gtty.c (gtty): Likewise.
28921 * misc/hsearch.c (hsearch): Likewise.
28922 (hcreate): Likewise.
28923 * misc/hsearch_r.c (__hcreate_r): Likewise.
28924 (__hdestroy_r): Likewise.
28925 * misc/ioctl.c (__ioctl): Likewise.
28926 * misc/mkdtemp.c (mkdtemp): Likewise.
28927 * misc/mkostemp.c (mkostemp): Likewise.
28928 * misc/mkostemp64.c (mkostemp64): Likewise.
28929 * misc/mkostemps.c (mkostemps): Likewise.
28930 * misc/mkostemps64.c (mkostemps64): Likewise.
28931 * misc/mkstemp.c (mkstemp): Likewise.
28932 * misc/mkstemp64.c (mkstemp64): Likewise.
28933 * misc/mkstemps.c (mkstemps): Likewise.
28934 * misc/mkstemps64.c (mkstemps64): Likewise.
28935 * misc/mktemp.c (__mktemp): Likewise.
28936 * misc/preadv.c (preadv): Likewise.
28937 * misc/preadv64.c (preadv64): Likewise.
28938 * misc/pwritev.c (pwritev): Likewise.
28939 * misc/pwritev64.c (pwritev64): Likewise.
28940 * misc/readv.c (__readv): Likewise.
28941 * misc/revoke.c (revoke): Likewise.
28942 * misc/setdomain.c (setdomainname): Likewise.
28943 * misc/setegid.c (setegid): Likewise.
28944 * misc/seteuid.c (seteuid): Likewise.
28945 * misc/sethostid.c (sethostid): Likewise.
28946 * misc/sethostname.c (sethostname): Likewise.
28947 * misc/setregid.c (__setregid): Likewise.
28948 * misc/setreuid.c (__setreuid): Likewise.
28949 * misc/sstk.c (sstk): Likewise.
28950 * misc/stty.c (stty): Likewise.
28951 * misc/syscall.c (syscall): Likewise.
28952 * misc/syslog.c (setlogmask): Likewise.
28953 * misc/truncate.c (__truncate): Likewise.
28954 * misc/truncate64.c (truncate64): Likewise.
28955 * misc/ualarm.c (ualarm): Likewise.
28956 * misc/usleep.c (usleep): Likewise.
28957 * misc/ustat.c (ustat): Likewise.
28958 * misc/writev.c (__writev): Likewise.
28959 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28960 * nptl/old_pthread_cond_broadcast.c
28961 (__pthread_cond_broadcast_2_0): Likewise.
28962 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28963 Likewise.
28964 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28965 Likewise.
28966 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28967 Likewise.
28968 * nptl/pt-raise.c (raise): Likewise.
28969 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28970 Likewise.
28971 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28972 * nptl/pthread_barrierattr_destroy.c
28973 (pthread_barrierattr_destroy): Likewise.
28974 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28975 Likewise.
28976 * nptl/pthread_barrierattr_setpshared.c
28977 (pthread_barrierattr_setpshared): Likewise.
28978 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28979 Likewise.
28980 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28981 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28982 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28983 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28984 Likewise.
28985 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28986 Likewise.
28987 * nptl/pthread_condattr_getpshared.c
28988 (pthread_condattr_getpshared): Likewise.
28989 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28990 Likewise.
28991 * nptl/pthread_condattr_setpshared.c
28992 (pthread_condattr_setpshared): Likewise.
28993 * nptl/pthread_detach.c (pthread_detach): Likewise.
28994 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28995 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28996 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28997 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28998 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28999 Likewise.
29000 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
29001 Likewise.
29002 * nptl/pthread_mutex_getprioceiling.c
29003 (pthread_mutex_getprioceiling): Likewise.
29004 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
29005 Likewise.
29006 * nptl/pthread_mutexattr_getprotocol.c
29007 (pthread_mutexattr_getprotocol): Likewise.
29008 * nptl/pthread_mutexattr_getpshared.c
29009 (pthread_mutexattr_getpshared): Likewise.
29010 * nptl/pthread_mutexattr_getrobust.c
29011 (pthread_mutexattr_getrobust): Likewise.
29012 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29013 Likewise.
29014 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
29015 Likewise.
29016 * nptl/pthread_mutexattr_setprioceiling.c
29017 (pthread_mutexattr_setprioceiling): Likewise.
29018 * nptl/pthread_mutexattr_setprotocol.c
29019 (pthread_mutexattr_setprotocol): Likewise.
29020 * nptl/pthread_mutexattr_setpshared.c
29021 (pthread_mutexattr_setpshared): Likewise.
29022 * nptl/pthread_mutexattr_setrobust.c
29023 (pthread_mutexattr_setrobust): Likewise.
29024 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
29025 Likewise.
29026 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
29027 Likewise.
29028 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
29029 Likewise.
29030 * nptl/pthread_rwlockattr_getkind_np.c
29031 (pthread_rwlockattr_getkind_np): Likewise.
29032 * nptl/pthread_rwlockattr_getpshared.c
29033 (pthread_rwlockattr_getpshared): Likewise.
29034 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
29035 Likewise.
29036 * nptl/pthread_rwlockattr_setkind_np.c
29037 (pthread_rwlockattr_setkind_np): Likewise.
29038 * nptl/pthread_rwlockattr_setpshared.c
29039 (pthread_rwlockattr_setpshared): Likewise.
29040 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
29041 Likewise.
29042 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
29043 Likewise.
29044 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
29045 Likewise.
29046 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
29047 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
29048 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
29049 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
29050 * nptl/sem_close.c (sem_close): Likewise.
29051 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
29052 * nptl/sem_init.c (__old_sem_init): Likewise.
29053 * nptl/sigaction.c (__sigaction): Likewise.
29054 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29055 * posix/_exit.c (_exit): Likewise.
29056 * posix/alarm.c (alarm): Likewise.
29057 * posix/confstr.c (confstr): Likewise.
29058 * posix/fpathconf.c (__fpathconf): Likewise.
29059 * posix/getgroups.c (__getgroups): Likewise.
29060 * posix/getpgid.c (__getpgid): Likewise.
29061 * posix/group_member.c (__group_member): Likewise.
29062 * posix/pathconf.c (__pathconf): Likewise.
29063 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
29064 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
29065 * posix/setgid.c (__setgid): Likewise.
29066 * posix/setpgid.c (__setpgid): Likewise.
29067 * posix/setuid.c (__setuid): Likewise.
29068 * posix/sleep.c (__sleep): Likewise.
29069 * posix/sysconf.c (__sysconf): Likewise.
29070 * posix/times.c (__times): Likewise.
29071 * posix/uname.c (__uname): Likewise.
29072 * posix/waitid.c (__waitid): Likewise.
29073 * pwd/getpw.c (__getpw): Likewise.
29074 * resolv/base64.c (b64_pton): Likewise.
29075 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29076 * resolv/gethnamaddr.c (Dprintf): Likewise.
29077 (gethostbyname): Likewise.
29078 (gethostbyname2): Likewise.
29079 (gethostbyaddr): Likewise.
29080 (_sethtent): Likewise.
29081 (_gethtbyname): Likewise.
29082 (_gethtbyname2): Likewise.
29083 (_gethtbyaddr): Likewise.
29084 (map_v4v6_address): Likewise.
29085 (map_v4v6_hostent): Likewise.
29086 (addrsort): Likewise.
29087 (ht_sethostent): Likewise.
29088 (ht_gethostbyname): Likewise.
29089 (ht_gethostbyaddr): Likewise.
29090 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
29091 (inet_net_ntop_ipv4): Likewise.
29092 * resolv/inet_neta.c (inet_neta): Likewise.
29093 * resolv/inet_ntop.c (inet_ntop): Likewise.
29094 (inet_ntop4): Likewise.
29095 (inet_ntop6): Likewise.
29096 * resolv/inet_pton.c (__inet_pton): Likewise.
29097 (inet_pton4): Likewise.
29098 (inet_pton6): Likewise.
29099 * resolv/res_debug.c (loc_aton): Likewise.
29100 (loc_ntoa): Likewise.
29101 * resource/getpriority.c (__getpriority): Likewise.
29102 * resource/getrusage.c (__getrusage): Likewise.
29103 * resource/nice.c (nice): Likewise.
29104 * resource/setpriority.c (__setpriority): Likewise.
29105 * resource/setrlimit64.c (setrlimit64): Likewise.
29106 * resource/vlimit.c (vlimit): Likewise.
29107 * resource/vtimes.c (vtimes): Likewise.
29108 * rt/aio_error.c (aio_error): Likewise.
29109 * rt/aio_return.c (aio_return): Likewise.
29110 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
29111 * signal/kill.c (__kill): Likewise.
29112 * signal/killpg.c (killpg): Likewise.
29113 * signal/raise.c (raise): Likewise.
29114 * signal/sigaction.c (__sigaction): Likewise.
29115 * signal/sigaddset.c (sigaddset): Likewise.
29116 * signal/sigaltstack.c (sigaltstack): Likewise.
29117 * signal/sigandset.c (sigandset): Likewise.
29118 * signal/sigblock.c (__sigblock): Likewise.
29119 * signal/sigdelset.c (sigdelset): Likewise.
29120 * signal/sigempty.c (sigemptyset): Likewise.
29121 * signal/sigfillset.c (sigfillset): Likewise.
29122 * signal/sighold.c (sighold): Likewise.
29123 * signal/sigignore.c (sigignore): Likewise.
29124 * signal/sigintr.c (siginterrupt): Likewise.
29125 * signal/sigisempty.c (sigisemptyset): Likewise.
29126 * signal/sigismem.c (sigismember): Likewise.
29127 * signal/signal.c (signal): Likewise.
29128 * signal/sigorset.c (sigorset): Likewise.
29129 * signal/sigpause.c (__sigpause): Likewise.
29130 * signal/sigpending.c (sigpending): Likewise.
29131 * signal/sigprocmask.c (__sigprocmask): Likewise.
29132 * signal/sigrelse.c (sigrelse): Likewise.
29133 * signal/sigreturn.c (__sigreturn): Likewise.
29134 * signal/sigset.c (sigset): Likewise.
29135 * signal/sigsetmask.c (__sigsetmask): Likewise.
29136 * signal/sigstack.c (sigstack): Likewise.
29137 * signal/sigsuspend.c (__sigsuspend): Likewise.
29138 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29139 * signal/sysv_signal.c (__sysv_signal): Likewise.
29140 * socket/accept.c (accept): Likewise.
29141 * socket/accept4.c (__libc_accept4): Likewise.
29142 * socket/bind.c (__bind): Likewise.
29143 * socket/connect.c (__connect): Likewise.
29144 * socket/getpeername.c (getpeername): Likewise.
29145 * socket/getsockname.c (__getsockname): Likewise.
29146 * socket/getsockopt.c (getsockopt): Likewise.
29147 * socket/listen.c (__listen): Likewise.
29148 * socket/recv.c (__recv): Likewise.
29149 * socket/recvmsg.c (__recvmsg): Likewise.
29150 * socket/send.c (__send): Likewise.
29151 * socket/sendmsg.c (__sendmsg): Likewise.
29152 * socket/shutdown.c (shutdown): Likewise.
29153 * socket/sockatmark.c (sockatmark): Likewise.
29154 * socket/socket.c (__socket): Likewise.
29155 * stdio-common/ctermid.c (ctermid): Likewise.
29156 * stdio-common/cuserid.c (cuserid): Likewise.
29157 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29158 * stdio-common/remove.c (remove): Likewise.
29159 * stdio-common/rename.c (rename): Likewise.
29160 * stdio-common/renameat.c (renameat): Likewise.
29161 * stdio-common/tempname.c (__gen_tempname): Likewise.
29162 * stdio-common/xbug.c (InitBuffer): Likewise.
29163 (AppendToBuffer): Likewise.
29164 (ReadFile): Likewise.
29165 * stdlib/a64l.c (a64l): Likewise.
29166 * stdlib/drand48_r.c (drand48_r): Likewise.
29167 * stdlib/getcontext.c (getcontext): Likewise.
29168 * stdlib/getenv.c (getenv): Likewise.
29169 * stdlib/l64a.c (l64a): Likewise.
29170 * stdlib/llabs.c (llabs): Likewise.
29171 * stdlib/lldiv.c (lldiv): Likewise.
29172 * stdlib/lrand48_r.c (lrand48_r): Likewise.
29173 * stdlib/mrand48_r.c (mrand48_r): Likewise.
29174 * stdlib/putenv.c (putenv): Likewise.
29175 * stdlib/random.c (__srandom): Likewise.
29176 (__initstate): Likewise.
29177 (__setstate): Likewise.
29178 * stdlib/random_r.c (__srandom_r): Likewise.
29179 (__setstate_r): Likewise.
29180 (__random_r): Likewise.
29181 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29182 * stdlib/setcontext.c (setcontext): Likewise.
29183 * stdlib/setenv.c (setenv): Likewise.
29184 (unsetenv): Likewise.
29185 * stdlib/srand48.c (srand48): Likewise.
29186 * stdlib/srand48_r.c (__srand48_r): Likewise.
29187 * stdlib/swapcontext.c (swapcontext): Likewise.
29188 * stdlib/system.c (__libc_system): Likewise.
29189 * stdlib/tst-strtod.c (expand): Likewise.
29190 * stdlib/tst-strtol.c (expand): Likewise.
29191 * stdlib/tst-strtoll.c (expand): Likewise.
29192 * streams/fattach.c (fattach): Likewise.
29193 * streams/fdetach.c (fdetach): Likewise.
29194 * streams/getmsg.c (getmsg): Likewise.
29195 * streams/isastream.c (isastream): Likewise.
29196 * string/ffs.c (__ffs): Likewise.
29197 * string/ffsll.c (ffsll): Likewise.
29198 * string/memcmp.c (memcmp_common_alignment): Likewise.
29199 (memcmp_not_common_alignment): Likewise.
29200 (MEMCMP): Likewise.
29201 * string/memcpy.c (memcpy): Likewise.
29202 * string/memmove.c (MEMMOVE): Likewise.
29203 * string/memset.c (memset): Likewise.
29204 * string/rawmemchr.c (RAWMEMCHR): Likewise.
29205 * string/strchrnul.c (STRCHRNUL): Likewise.
29206 * string/strerror.c (strerror): Likewise.
29207 * string/strndup.c (__strndup): Likewise.
29208 * string/strverscmp.c (__strverscmp): Likewise.
29209 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29210 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29211 (clnttcp_freeres): Likewise.
29212 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29213 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29214 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29215 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29216 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29217 (xdr_callhdr): Likewise.
29218 * sunrpc/rpcinfo.c (udpping): Likewise.
29219 (tcpping): Likewise.
29220 (pstatus): Likewise.
29221 (pmapdump): Likewise.
29222 (brdcst): Likewise.
29223 (deletereg): Likewise.
29224 (getprognum): Likewise.
29225 (getvers): Likewise.
29226 (get_inet_address): Likewise.
29227 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29228 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29229 (svcudp_stat): Likewise.
29230 (svcudp_recv): Likewise.
29231 (svcudp_reply): Likewise.
29232 (svcudp_getargs): Likewise.
29233 (svcudp_freeargs): Likewise.
29234 (svcudp_destroy): Likewise.
29235 * sunrpc/xdr.c (xdr_bytes): Likewise.
29236 (xdr_netobj): Likewise.
29237 (xdr_string): Likewise.
29238 (xdr_wrapstring): Likewise.
29239 * sunrpc/xdr_float.c (xdr_float): Likewise.
29240 (xdr_double): Likewise.
29241 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29242 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29243 * sysvipc/ftok.c (ftok): Likewise.
29244 * sysvipc/msgctl.c (msgctl): Likewise.
29245 * sysvipc/msgget.c (msgget): Likewise.
29246 * sysvipc/msgrcv.c (msgrcv): Likewise.
29247 * sysvipc/msgsnd.c (msgsnd): Likewise.
29248 * sysvipc/semget.c (semget): Likewise.
29249 * sysvipc/semop.c (semop): Likewise.
29250 * sysvipc/shmat.c (shmat): Likewise.
29251 * sysvipc/shmctl.c (shmctl): Likewise.
29252 * sysvipc/shmdt.c (shmdt): Likewise.
29253 * sysvipc/shmget.c (shmget): Likewise.
29254 * termios/cfmakeraw.c (cfmakeraw): Likewise.
29255 * termios/speed.c (cfgetospeed): Likewise.
29256 (cfgetispeed): Likewise.
29257 (cfsetospeed): Likewise.
29258 (cfsetispeed): Likewise.
29259 * termios/tcflow.c (tcflow): Likewise.
29260 * termios/tcflush.c (tcflush): Likewise.
29261 * termios/tcgetattr.c (__tcgetattr): Likewise.
29262 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29263 * termios/tcgetsid.c (tcgetsid): Likewise.
29264 * termios/tcsendbrk.c (tcsendbreak): Likewise.
29265 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29266 * time/adjtime.c (__adjtime): Likewise.
29267 * time/dysize.c (dysize): Likewise.
29268 * time/ftime.c (ftime): Likewise.
29269 * time/getitimer.c (__getitimer): Likewise.
29270 * time/gettimeofday.c (__gettimeofday): Likewise.
29271 * time/gmtime.c (__gmtime_r): Likewise.
29272 (gmtime): Likewise.
29273 * time/localtime.c (__localtime_r): Likewise.
29274 (localtime): Likewise.
29275 * time/offtime.c (__offtime): Likewise.
29276 * time/settimeofday.c (__settimeofday): Likewise.
29277 * time/stime.c (stime): Likewise.
29278 * time/strftime_l.c (tm_diff): Likewise.
29279 (iso_week_days): Likewise.
29280 * time/strptime.c (strptime): Likewise.
29281 * time/time.c (time): Likewise.
29282 * time/timespec_get.c (timespec_get): Likewise.
29283 * time/tzset.c (tzset_internal): Likewise.
29284 (compute_change): Likewise.
29285 (__tz_compute): Likewise.
29286 * wcsmbs/btowc.c (__btowc): Likewise.
29287 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29288 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29289 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29290 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29291 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29292 * wcsmbs/wcscat.c (__wcscat): Likewise.
29293 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29294 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29295 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29296 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29297 * wcsmbs/wcsdup.c (wcsdup): Likewise.
29298 * wcsmbs/wcslen.c (__wcslen): Likewise.
29299 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29300 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29301 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29302 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29303 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29304 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29305 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29306 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29307 * wcsmbs/wcstok.c (wcstok): Likewise.
29308 * wcsmbs/wctob.c (wctob): Likewise.
29309 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29310 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29311 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29312 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29313 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29314 * wcsmbs/wmemset.c (__wmemset): Likewise.
29315 * wctype/wcfuncs.c (__towlower): Likewise.
29316 (__towupper): Likewise.
29317
29318 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29319 (lll_unlock_elision): Add adapt_count parameter.
29320
29321 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29322
29323 * sysdeps/nptl/configure.ac: Do not give errors based on the
29324 results of top-level configure tests.
29325 * sysdeps/nptl/configure: Regenerated.
29326
29327 * configure.ac (libc_cv_Bgroup): Remove configure test.
29328 * configure: Regenerated.
29329 * config.make.in (have-Bgroup): Remove variable.
29330
29331 * configure.ac (sizeof_long_double): Remove configure test.
29332 * configure: Regenerated.
29333 * config.make.in (sizeof-long-double): Remove variable.
29334
29335 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29336 * configure: Regenerated.
29337 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29338 variable.
29339 (exceptions): Likewise.
29340 * sysdeps/arm/configure: Regenerated.
29341 * config.make.in (exceptions): Remove variable.
29342 * Makeconfig (uses-callbacks): Use -fexceptions instead of
29343 $(exceptions).
29344 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29345 (CFLAGS-vdprintf_chk.c): Likewise.
29346 (CFLAGS-printf_chk.c): Likewise.
29347 (CFLAGS-fprintf_chk.c): Likewise.
29348 (CFLAGS-vprintf_chk.c): Likewise.
29349 (CFLAGS-vfprintf_chk.c): Likewise.
29350 (CFLAGS-gets_chk.c): Likewise.
29351 (CFLAGS-fgets_chk.c): Likewise.
29352 (CFLAGS-fgets_u_chk.c): Likewise.
29353 (CFLAGS-fread_chk.c): Likewise.
29354 (CFLAGS-fread_u_chk.c): Likewise.
29355 (CFLAGS-wprintf_chk.c): Likewise.
29356 (CFLAGS-fwprintf_chk.c): Likewise.
29357 (CFLAGS-vwprintf_chk.c): Likewise.
29358 (CFLAGS-vfwprintf_chk.c): Likewise.
29359 (CFLAGS-fgetws_chk.c): Likewise.
29360 (CFLAGS-fgetws_u_chk.c): Likewise.
29361 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29362 (CFLAGS-fputc.c): Likewise.
29363 (CFLAGS-fputwc.c): Likewise.
29364 (CFLAGS-freopen64.c): Likewise.
29365 (CFLAGS-freopen.c): Likewise.
29366 (CFLAGS-fseek.c): Likewise.
29367 (CFLAGS-fseeko64.c): Likewise.
29368 (CFLAGS-fseeko.c): Likewise.
29369 (CFLAGS-ftello64.c): Likewise.
29370 (CFLAGS-ftello.c): Likewise.
29371 (CFLAGS-fwide.c): Likewise.
29372 (CFLAGS-genops.c): Likewise.
29373 (CFLAGS-getc.c): Likewise.
29374 (CFLAGS-getchar.c): Likewise.
29375 (CFLAGS-getwc.c): Likewise.
29376 (CFLAGS-getwchar.c): Likewise.
29377 (CFLAGS-iofclose.c): Likewise.
29378 (CFLAGS-iofflush.c): Likewise.
29379 (CFLAGS-iofgetpos64.c): Likewise.
29380 (CFLAGS-iofgetpos.c): Likewise.
29381 (CFLAGS-iofgets.c): Likewise.
29382 (CFLAGS-iofgetws.c): Likewise.
29383 (CFLAGS-iofputs.c): Likewise.
29384 (CFLAGS-iofputws.c): Likewise.
29385 (CFLAGS-iofread.c): Likewise.
29386 (CFLAGS-iofsetpos64.c): Likewise.
29387 (CFLAGS-iofsetpos.c): Likewise.
29388 (CFLAGS-ioftell.c): Likewise.
29389 (CFLAGS-iofwrite.c): Likewise.
29390 (CFLAGS-iogetdelim.c): Likewise.
29391 (CFLAGS-iogetline.c): Likewise.
29392 (CFLAGS-iogets.c): Likewise.
29393 (CFLAGS-iogetwline.c): Likewise.
29394 (CFLAGS-ioputs.c): Likewise.
29395 (CFLAGS-ioseekoff.c): Likewise.
29396 (CFLAGS-ioseekpos.c): Likewise.
29397 (CFLAGS-iosetbuffer.c): Likewise.
29398 (CFLAGS-iosetvbuf.c): Likewise.
29399 (CFLAGS-ioungetc.c): Likewise.
29400 (CFLAGS-ioungetwc.c): Likewise.
29401 (CFLAGS-oldfileops.c): Likewise.
29402 (CFLAGS-oldiofclose.c): Likewise.
29403 (CFLAGS-oldiofgetpos64.c): Likewise.
29404 (CFLAGS-oldiofgetpos.c): Likewise.
29405 (CFLAGS-oldiofsetpos64.c): Likewise.
29406 (CFLAGS-oldiofsetpos.c): Likewise.
29407 (CFLAGS-peekc.c): Likewise.
29408 (CFLAGS-putc.c): Likewise.
29409 (CFLAGS-putchar.c): Likewise.
29410 (CFLAGS-putwc.c): Likewise.
29411 (CFLAGS-putwchar.c): Likewise.
29412 (CFLAGS-rewind.c): Likewise.
29413 (CFLAGS-wfileops.c): Likewise.
29414 (CFLAGS-wgenops.c): Likewise.
29415 (CFLAGS-oldiofopen.c): Likewise.
29416 (CFLAGS-iofopen.c): Likewise.
29417 (CFLAGS-iofopen64.c): Likewise.
29418 (CFLAGS-oldtmpfile.c): Likewise.
29419 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29420 (CFLAGS-fprintf.c): Likewise.
29421 (CFLAGS-printf.c): Likewise.
29422 (CFLAGS-vfwprintf.c): Likewise.
29423 (CFLAGS-vfscanf.c): Likewise.
29424 (CFLAGS-vfwscanf.c): Likewise.
29425 (CFLAGS-fscanf.c): Likewise.
29426 (CFLAGS-scanf.c): Likewise.
29427 (CFLAGS-isoc99_vfscanf.c): Likewise.
29428 (CFLAGS-isoc99_vscanf.c): Likewise.
29429 (CFLAGS-isoc99_fscanf.c): Likewise.
29430 (CFLAGS-isoc99_scanf.c): Likewise.
29431 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29432 (CFLAGS-isoc99_fwscanf.c): Likewise.
29433 (CFLAGS-isoc99_vwscanf.c): Likewise.
29434 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29435
29436 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29437 after mkstemp64.
29438 * login/tst-utmp.c (do_prepare): Likewise.
29439 * rt/tst-aio.c (do_prepare): Likewise.
29440 * rt/tst-aio64.c (do_prepare): Likewise.
29441
29442 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29443
29444 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29445 (__lll_lock_elision): Remove adapt_count decrement...
29446 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29447 (__lll_trylock_elision): Likewise.
29448 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29449 (__lll_unlock_elision): ... to here. And utilize
29450 new adapt_count parameter.
29451 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29452 (__lll_unlock_elision): Update to include adapt_count
29453 parameter.
29454 (lll_unlock_elision): Pass pointer to adapt_count
29455 variable.
29456
29457 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29458
29459 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29460 Add elision adapt_count parameter to list of arguments.
29461 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29462 (lll_unlock_elision): Update with new parameter list
29463 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29464 (lll_unlock_elision): Likewise.
29465 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29466 (lll_unlock_elision): Likewise.
29467
29468 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29469
29470 [BZ #19122]
29471 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29472 attribute_hidden.
29473
29474 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29475 attribute_hidden.
29476 [IS_IN (rtld)] (__strdup): Likewise.
29477 [IS_IN (rtld)] (__strerror_r): Likewise.
29478 [IS_IN (rtld)] (__strsep_g): Likewise.
29479 [IS_IN (rtld)] (memchr): Likewise.
29480 [IS_IN (rtld)] (memcmp): Likewise.
29481 [IS_IN (rtld)] (memcpy): Likewise.
29482 [IS_IN (rtld)] (memmove): Likewise.
29483 [IS_IN (rtld)] (memset): Likewise.
29484 [IS_IN (rtld)] (rawmemchr): Likewise.
29485 [IS_IN (rtld)] (stpcpy): Likewise.
29486 [IS_IN (rtld)] (strchr): Likewise.
29487 [IS_IN (rtld)] (strcmp): Likewise.
29488 [IS_IN (rtld)] (strlen): Likewise.
29489 [IS_IN (rtld)] (strnlen): Likewise.
29490 [IS_IN (rtld)] (strsep): Likewise.
29491
29492 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29493 attribute_hidden.
29494 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29495
29496 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29497 attribute_hidden.
29498 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29499
29500 * include/setjmp.h (__longjmp): Add attribute_hidden.
29501 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29502
29503 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29504 Add attribute_hidden.
29505
29506 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29507 [IS_IN (rtld)] (__open): Likewise.
29508 [IS_IN (rtld)] (__fcntl): Likewise.
29509
29510 * include/dirent.h (__opendirat): Add attribute_hidden.
29511 (__getdents): Likewise.
29512 (__getdents64): Likewise.
29513 (__alloc_dir): Likewise.
29514 [IS_IN (rtld)] (__closedir): Likewise.
29515 [IS_IN (rtld)] (__fdopendir): Likewise.
29516 [IS_IN (rtld)] (__readdir): Likewise.
29517 [IS_IN (rtld)] (__readdir64): Likewise.
29518 [IS_IN (rtld)] (__rewinddir): Likewise.
29519
29520 * include/dlfcn.h (_dl_catch_error): Moved to ...
29521 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29522 attribute_hidden.
29523
29524 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29525 (_itoa_word): Likewise.
29526
29527 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29528 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29529 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29530 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29531 (_dl_higher_prime_number): Likewise.
29532 (_dl_debug_printf_c): Likewise.
29533 (_dl_signal_cerror): Likewise.
29534 (_dl_receive_error): Likewise.
29535 (_dl_reloc_bad_type): Likewise.
29536 (_dl_resolve_conflicts): Likewise.
29537 (_dl_check_all_versions): Likewise.
29538 (_dl_check_map_versions): Likewise.
29539 (_dl_sort_fini): Likewise.
29540 (_dl_debug_initialize): Likewise.
29541 (_dl_init_paths): Likewise.
29542 (_dl_show_auxv): Likewise.
29543 (_dl_next_ld_env_entry): Likewise.
29544 (_dl_important_hwcaps): Likewise.
29545 (_dl_load_cache_lookup): Likewise.
29546 (_dl_update_slotinfo): Likewise.
29547 (_dl_show_scope): Likewise.
29548
29549 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29550 attribute_hidden.
29551 (_wordcopy_fwd_dest_aligned): Likewise.
29552 (_wordcopy_bwd_aligned): Likewise.
29553 (_wordcopy_bwd_dest_aligned): Likewise.
29554
29555 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29556 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29557 Likewise.
29558 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29559 Likewise.
29560 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29561
29562 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29563
29564 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29565 GCC 5 requirement.
29566
29567 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29568
29569 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29570 test.
29571 * sysdeps/i386/configure: Regenerated.
29572 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29573 code unconditional.
29574
29575 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29576 test.
29577 (libc_cv_asm_popsection_directive): Likewise.
29578 * configure: Regenerated.
29579 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29580 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29581 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29582 (__make_section_unallocated): Make definition unconditional.
29583 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29584 Remove conditional definition.
29585 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29586 (__make_section_unallocated): Likewise.
29587
29588 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29589 * configure: Regenerated.
29590 * config.make.in (static-libgcc): Remove variable.
29591 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29592 $(static-libgcc).
29593 (build-module-helper): Likewise.
29594
29595 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29596 * configure: Regenerated.
29597
29598 2015-10-15 Florian Weimer <fweimer@redhat.com>
29599
29600 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29601 (struct char_buffer): New type.
29602 (char_buffer_start, char_buffer_size, char_buffer_error)
29603 (char_buffer_rewind, char_buffer_add): New functions.
29604 (ADDW): Remove macro, replaced by the char_buffer_add function.
29605 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29606 of extend_alloca. Make control flow more explicit.
29607
29608 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29609
29610 [BZ #19137]
29611 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29612 Add -fomit-frame-pointer.
29613 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29614
29615 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29616
29617 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29618 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29619 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29620 only if !__GNUC_PREREQ (5,0).
29621 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29622 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29623 (INTERNAL_SYSCALL_NCS): Likewise.
29624 (LOADREGS_0): New macro for GCC 5.
29625 (ASMARGS_0): Likewise.
29626 (LOADREGS_1): Likewise.
29627 (ASMARGS_1): Likewise.
29628 (LOADREGS_2): Likewise.
29629 (ASMARGS_2): Likewise.
29630 (LOADREGS_3): Likewise.
29631 (ASMARGS_3): Likewise.
29632 (LOADREGS_4): Likewise.
29633 (ASMARGS_4): Likewise.
29634 (LOADREGS_5): Likewise.
29635 (ASMARGS_5): Likewise.
29636 (LOADREGS_6): Likewise.
29637 (ASMARGS_6): Likewise.
29638
29639 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29640
29641 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29642 -fomit-frame-pointer.
29643 (CFLAGS-mmap64.c): Likewise.
29644 (CFLAGS-semtimedop.c): Likewise.
29645 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29646 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29647 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29648 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29649
29650 2015-10-15 Florian Weimer <fweimer@redhat.com>
29651
29652 [BZ #18928]
29653 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29654 _dl_pointer_guard member.
29655 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29656 initializer.
29657 (security_init): Always set up pointer guard.
29658 (process_envvars): Do not process LD_POINTER_GUARD.
29659
29660 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29661
29662 [BZ #19134]
29663 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29664 (.LC2): Likewise.
29665 (.LC3): Likewise.
29666 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29667
29668 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29669
29670 [BZ #19129]
29671 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29672 r0 and r1.
29673
29674 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29675
29676 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29677
29678 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29679
29680 * include/stap-probe.h: Fix macro definition formatting.
29681
29682 2015-10-14 Florian Weimer <fweimer@redhat.com>
29683
29684 [BZ #19074]
29685 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29686 load and store num_ifs.
29687
29688 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29689
29690 [BZ #18822]
29691 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29692 (__sched_getaffinity_new): Add libc_hidden_proto and
29693 libc_hidden_def.
29694
29695 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29696
29697 [BZ #19007]
29698 * scripts/localplt.awk: Also allow GOT references.
29699 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29700 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29701 with "+ REL R_386_GLOB_DAT".
29702 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29703 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29704
29705 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29706
29707 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29708 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29709 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29710 Likewise.
29711 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29712 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29713 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29714 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29715 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29716 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29717 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29718 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29719 Likewise.
29720 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29721
29722 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29723
29724 [BZ #19125]
29725 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29726 <math_private.h> and <stdint.h>.
29727 (__llround): Avoid conversions to and from long long int, and
29728 subtractions, where those might raise spurious exceptions.
29729 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29730 <math_private.h> and <stdint.h>.
29731 (__llroundf): Avoid conversions to and from long long int, and
29732 subtractions, where those might raise spurious exceptions.
29733
29734 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29735
29736 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29737 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29738 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29739 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29740 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29741 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29742 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29743 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29744 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29745 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29746 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29747 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29748 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29749 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29750 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29751 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29752 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29753 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29754 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29755 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29756 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29757 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29758 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29759 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29760 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29761 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29762 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29763 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29764 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29765 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29766 (__xstat64_conv): Likewise.
29767 (__xstat32_conv): Likewise.
29768
29769 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29770
29771 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29772 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29773 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29774 <sysdeps/unix/sysv/linux/sysdep.h>.
29775 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29776 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29777 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29778 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29779 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29780 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29781 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29782 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29783 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29788 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29789 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29791 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29792 (sysdep-dl-routines): Add sysdep.
29793 [$(subdir) == nptl] (libpthread-routines): Likewise.
29794 [$(subdir) == rt] (librt-routines): Likewise.
29795 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29796 PIC when branching to SYSCALL_ERROR_LABEL.
29797 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29799 <sysdeps/unix/sysv/linux/sysdep.h>.
29800 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29801 (SYSCALL_ERROR_ERRNO): Removed.
29802 (SYSCALL_ERROR_HANDLER): Changed to empty.
29803 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29804 (__syscall_error): New prototype.
29805 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29806 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29807
29808 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29809
29810 [BZ #19124]
29811 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29812 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29813 _dl_runtime_resolve_avx.
29814 (_dl_runtime_profile_avx512): Make it a hidden alias of
29815 _dl_runtime_profile_avx.
29816
29817 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29818
29819 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29820 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29821 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29822 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29823
29824 [BZ #16422]
29825 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29826 New configure test.
29827 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29828 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29829 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29830 <math_private.h> and <stdint.h>.
29831 (__llrint): Avoid conversions to long long int where those might
29832 raise spurious exceptions.
29833 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29834 <math_private.h> and <stdint.h>.
29835 (__llrintf): Avoid conversions to long long int where those might
29836 raise spurious exceptions.
29837
29838 2015-10-12 Andreas Schwab <schwab@suse.de>
29839
29840 [BZ #18969]
29841 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29842 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29843 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29844 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29845 $(gen-locales).
29846 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29847 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29848 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29849 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29850 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29851 $(gen-locales).
29852 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29853 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29854 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29855 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29856 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29857 ($(objpfx)tst-ftell-active-handler.out)
29858 ($(objpfx)tst-ftell-append.out)
29859 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29860 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29861 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29862 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29863 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29864 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29865 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29866 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29867 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29868 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29869 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29870 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29871 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29872 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29873 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29874 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29875 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29876 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29877 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29878 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29879 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29880 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29881 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29882 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29883 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29884 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29885 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29886 $(gen-locales).
29887 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29888 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29889 $(gen-locales).
29890 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29891 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29892 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29893 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29894 $(gen-locales).
29895 * libio/tst_wprintf2.c (main): Use explicit locale.
29896 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29897
29898 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29899
29900 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29901 __msg_sig_post.
29902 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29903
29904 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29905
29906 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29907 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29908
29909 * sysdeps/arm/libm-test-ulps: Regenerated.
29910
29911 [BZ #15470]
29912 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29913
29914 [BZ #16399]
29915 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29916 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29917 and <fix-fp-int-convert-overflow.h>.
29918 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29919 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29920 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29921 and <fix-fp-int-convert-overflow.h>.
29922 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29923 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29924 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29925 <fix-fp-int-convert-overflow.h>.
29926 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29927 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29928 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29929 <fix-fp-int-convert-overflow.h>.
29930 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29931 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29932 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29933 and <fix-fp-int-convert-overflow.h>.
29934 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29935 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29936 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29937 <limits.h> and <fix-fp-int-convert-overflow.h>.
29938 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29939 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29940 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29941 and <fix-fp-int-convert-overflow.h>.
29942 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29943 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29944 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29945 and <fix-fp-int-convert-overflow.h>.
29946 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29947 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29948 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29949
29950 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29951
29952 [BZ #18589]
29953 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29954 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29955 $(gen-locales).
29956
29957 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29958 Phil Blundell <pb@pbcl.net>
29959
29960 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29961 * nptl/tst-cancel26.c: New file.
29962 * nptl/tst-cancel27.c: Likewise.
29963
29964 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29965
29966 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29967 __ILP32__ isn't defined.
29968 (lrint): Likewise.
29969 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29970 (lrintf): Likewise.
29971 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29972 (lrintl): Likewise.
29973 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29974 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29975 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29976
29977 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29978
29979 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29980 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29981
29982 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29983 file.
29984 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29985 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29986
29987 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29988
29989 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29990 configure test.
29991 * sysdeps/i386/configure: Regenerated.
29992 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29993 configure test.
29994 * sysdeps/x86_64/configure: Regenerated.
29995 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29996 Make code unconditional.
29997
29998 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29999 test.
30000 * sysdeps/i386/configure: Regenerated.
30001 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
30002 test.
30003 * sysdeps/x86_64/configure: Regenerated.
30004 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
30005 Make code unconditional.
30006 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30007 Likewise.
30008 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
30009 Likewise.
30010 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30011 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
30012 code unconditional.
30013 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30014 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
30015 code unconditional.
30016 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30017 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
30018 code unconditional.
30019 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
30020 code unconditional.
30021 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30022 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
30023 code unconditional.
30024 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30025 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
30026 code unconditional.
30027 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30028 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
30029 code unconditional.
30030 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30031 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
30032 code unconditional.
30033 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30034 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
30035
30036 [BZ #19095]
30037 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
30038 mantissa to long int before shifting left.
30039
30040 2015-10-08 Joseph Myers <joseph@codesourcery.com>
30041
30042 [BZ #19094]
30043 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
30044 <limits.h>.
30045 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30046 when result overflows but exception would not result from cast.
30047 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
30048 <limits.h>.
30049 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30050 when result overflows but exception would not result from cast.
30051 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
30052 <limits.h>.
30053 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30054 when result overflows but exception would not result from cast.
30055 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
30056 <limits.h>.
30057 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30058 when result overflows but exception would not result from cast.
30059 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
30060 <limits.h>.
30061 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30062 when result overflows but exception would not result from cast.
30063 * math/libm-test.inc (lrint_test_data): Add more tests.
30064 (llrint_test_data): Likewise.
30065
30066 2015-10-08 Roland McGrath <roland@hack.frob.com>
30067
30068 [BZ #18872]
30069 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
30070 Move out from under [$(run-built-tests) = yes] conditional.
30071 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
30072 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
30073
30074 2015-10-08 Carlos O'Donell <carlos@redhat.com>
30075
30076 [BZ #18589]
30077 * string/Makefile (tests): Add bug-strcoll2.
30078 (LOCALES): Add cs_CZ.UTF-8.
30079 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
30080
30081 [BZ #18589]
30082 * string/bug-strcoll2.c: New file.
30083 * locale/categories.def: Revert commit
30084 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
30085 * locale/langinfo.h: Likewise.
30086 * locale/localeinfo.h: Likewise.
30087 * locale/C-collate.c: Likewise.
30088 * locale/programs/ld-collate.c (collate_output): Likewise.
30089 * string/strcoll_l.c (STRDIFF): Likewise.
30090 (STRCOLL): Likewise.
30091 * wcsmbs/wcscoll_l.c: Likewise.
30092
30093 2015-10-08 Joseph Myers <joseph@codesourcery.com>
30094
30095 * math/libm-test.inc (lround_test_data): Do not expect the absence
30096 of "inexact" for some tests with non-integer arguments.
30097 (llround_test_data): Likewise.
30098
30099 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
30100 test.
30101 (libc_cv_cc_sse2avx): Likewise.
30102 * sysdeps/i386/configure: Regenerated.
30103 * sysdeps/i386/i686/multiarch/Makefile
30104 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
30105 [$(subdir) = math].
30106 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
30107 code unconditional.
30108 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30109 Likewise.
30110 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
30111 Likewise.
30112 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30113 Likewise.
30114 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
30115 test.
30116 (libc_cv_cc_sse2avx): Likewise.
30117 * sysdeps/x86_64/configure: Regenerated.
30118 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
30119 unconditional.
30120 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
30121 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
30122 unconditional.
30123 (_dl_runtime_profile)
30124 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
30125 conditional code.
30126 * sysdeps/x86_64/fpu/multiarch/Makefile
30127 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
30128 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30129 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30130 * sysdeps/x86_64/fpu/multiarch/e_exp.c
30131 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30132 * sysdeps/x86_64/fpu/multiarch/e_log.c
30133 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30134 * sysdeps/x86_64/fpu/multiarch/s_atan.c
30135 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30136 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30137 Likewise.
30138 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30139 Likewise.
30140 * sysdeps/x86_64/fpu/multiarch/s_sin.c
30141 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30142 * sysdeps/x86_64/fpu/multiarch/s_tan.c
30143 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30144 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30145 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30146 (HAVE_SSE2AVX_SUPPORT): Likewise.
30147
30148 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
30149
30150 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30151 instead of #pragma optimize.
30152
30153 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30154
30155 [BZ #17195]
30156 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30157 as is similarly done in systrim and _int_free already.
30158
30159 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
30160
30161 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30162
30163 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30164
30165 [BZ #19088]
30166 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30167 <limits.h>.
30168 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30169 overflows but exception would not result from cast.
30170 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30171 and <limits.h>.
30172 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30173 overflows but exception would not result from cast.
30174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30175 <limits.h>.
30176 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30177 overflows but exception would not result from cast.
30178 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30179 <limits.h>.
30180 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30181 overflows but exception would not result from cast.
30182 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30183 <limits.h>.
30184 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30185 overflows but exception would not result from cast.
30186 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30187 <limits.h>.
30188 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30189 overflows but exception would not result from cast.
30190 * math/libm-test.inc (lround_test_data): Add more tests.
30191 (llround_test_data): Likewise.
30192
30193 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
30194
30195 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30196 (CFLAGS-ialloc.c): Ditto.
30197 (CFLAGS-scheck.c): Ditto.
30198
30199 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30200
30201 [BZ #19086]
30202 * manual/filesys.texi (Storage Allocation): Fix argument order for
30203 posix_fallocate64.
30204
30205 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30206
30207 [BZ #19085]
30208 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30209 exponent below 48 inside case for non-overflowing exponent.
30210 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30211
30212 2015-10-07 Florian Weimer <fweimer@redhat.com>
30213
30214 * iconvdata/cp737.h (from_idx): Add const.
30215 * iconvdata/cp775.h (from_idx): Likewise.
30216
30217 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30218
30219 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30220 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30221 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30222
30223 [BZ #19079]
30224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30225 file, conditioned on [!_LP64].
30226 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30227 [!_LP64] (__lround): Do not define as function or alias.
30228 [!_LP64] (lround): Likewise.
30229 [!_LP64] (__lroundl): Likewise.
30230 [!_LP64] (lroundl): Likewise.
30231 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30232 macro.
30233 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30234 Likewise.
30235
30236 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30237
30238 * math/libm-test.inc (lrint_test_data): Add more tests.
30239 (llrint_test_data): Likewise.
30240 (lround_test_data): Likewise.
30241 (llround_test_data): Likewise.
30242
30243 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30244 (llrint_test_data): Add tests used for lrint.
30245
30246 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30247 test.
30248 * sysdeps/i386/configure: Regenerated.
30249 * sysdeps/i386/i686/multiarch/Makefile
30250 [$(config-cflags-sse4) = yes]: Make code unconditional.
30251 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30252 Likewise.
30253 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30254 Likewise.
30255 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30256 test.
30257 * sysdeps/x86_64/configure: Regenerated.
30258 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30259 Make code unconditional.
30260 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30261 Likewise.
30262 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30263 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30264
30265 * scripts/rpm2dynsym.sh: Remove file.
30266
30267 2015-10-06 Florian Weimer <fweimer@redhat.com>
30268
30269 * configure.ac (libc_cv_cxx_thread_local): Define.
30270 * configure: Regenerate.
30271 * config.make.in (have-cxx-thread_local): Define.
30272 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30273 (LDLIBS-tst-thread_local1): Define.
30274 (tests): Add tst-thread_local1.
30275 [have-cxx-thread_local != yes] (tests-unsupported): Add
30276 tst-thread_local1.
30277 * nptl/tst-thread_local1.cc: New file.
30278
30279 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30280
30281 [BZ #19078]
30282 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30283 (u_thres): Likewise.
30284 (__expl): Determine whether to call __kernel_standard_l based on
30285 value of result, not argument.
30286
30287 * math/libm-test.inc (scalb_test_data): Add more expectations for
30288 the "inexact" exception.
30289
30290 [BZ #19077]
30291 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30292 0.0L for argument 1.0L.
30293
30294 [BZ #19076]
30295 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30296 constant 0.0L when computing infinite result.
30297
30298 2015-10-06 Florian Weimer <fweimer@redhat.com>
30299
30300 [BZ #10432]
30301 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30302 malloc_usable_size.
30303
30304 2015-10-06 Florian Weimer <fweimer@redhat.com>
30305
30306 [BZ #19018]
30307 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30308 Mangle function pointer before storing it.
30309 (__call_tls_dtors): Demangle function pointer before calling it.
30310
30311 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30312
30313 [BZ #19012]
30314 * iconv/gconv_db.c (gen_steps): Check for additional errors.
30315 Clean up on failure.
30316
30317 2015-10-05 Joseph Myers <joseph@codesourcery.com>
30318
30319 [BZ #19071]
30320 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30321 long int variable to store possibly incremented high part of
30322 mantissa.
30323 * math/libm-test.inc (lround_test_data): Add tests used for
30324 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
30325 for tests requiring 64-bit long. Do not condition tests on
30326 [TEST_FLOAT] unnecessarily.
30327 (llround_test_data): Add tests used for lround. Add another
30328 expectation for the "inexact" exception. Do not condition tests
30329 on [TEST_FLOAT] unnecessarily.
30330
30331 [BZ #887]
30332 [BZ #19049]
30333 [BZ #19050]
30334 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30335 * sysdeps/ieee754/dbl-64/e_log10.c: Include
30336 <fix-int-fp-convert-zero.h>.
30337 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30338 * sysdeps/ieee754/dbl-64/e_log2.c: Include
30339 <fix-int-fp-convert-zero.h>.
30340 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30341 * sysdeps/ieee754/dbl-64/s_erf.c: Include
30342 <fix-int-fp-convert-zero.h>.
30343 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30344 * sysdeps/ieee754/dbl-64/s_logb.c: Include
30345 <fix-int-fp-convert-zero.h>.
30346 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30347 * sysdeps/ieee754/flt-32/e_log10f.c: Include
30348 <fix-int-fp-convert-zero.h>.
30349 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30350 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30351 <fix-int-fp-convert-zero.h>.
30352 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30353 * sysdeps/ieee754/flt-32/s_erff.c: Include
30354 <fix-int-fp-convert-zero.h>.
30355 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30356 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30357 <fix-int-fp-convert-zero.h>.
30358 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30360 <fix-int-fp-convert-zero.h>.
30361 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30363 <fix-int-fp-convert-zero.h>.
30364 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30365 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30366 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30367 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30368 file.
30369 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30370
30371 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30372
30373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30374
30375 2015-10-02 Joseph Myers <joseph@codesourcery.com>
30376
30377 [BZ #19059]
30378 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30379 overflowing computation.
30380 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30381 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30382 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30383 Likewise.
30384 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30385 Likewise.
30386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30387 Likewise.
30388 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30389 Likewise.
30390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30392 Likewise.
30393 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30394 Likewise.
30395 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30396
30397 * nss/rewrite_field.c (__nss_rewrite_field): Use
30398 internal_function.
30399 * nss/valid_field.c (__nss_valid_field): Likewise.
30400 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30401
30402 2015-10-02 Florian Weimer <fweimer@redhat.com>
30403
30404 [BZ #18724]
30405 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30406 (__nss_invalid_field_characters, __nss_valid_field)
30407 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30408 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30409 tst-field.c: New file.
30410 * nss/Makefile (routines): Add valid_field, rewrite_field.
30411 (tests-static): Define unconditionally.
30412 (tests): Include tests-static.
30413 [build-static-nss] (tests-static): Use append.
30414 [build-static-nss] (tests): Remove modification.
30415 * nss/getent.c (print_group): Call putgrent. Report error.
30416 (print_gshadow): Call putsgent. Report error.
30417 (print_passwd): Call putpwent. Report error.
30418 (print_shadow): Call putspent. Report error.
30419 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30420 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30421 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30422 name, password, directory, shell fields for valid syntax. Rewrite
30423 GECOS field to match syntax.
30424 * pwd/Makefile (tests): Add tst-putpwent.
30425 * pwd/tst-putpwent.c: New file.
30426 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30427 Check grName, grpasswd, gr_mem fields for valid syntax.
30428 Change loop variable i to size_t.
30429 * grp/Makefile (tests): Add tst-putgrent.
30430 * grp/tst-putgrent.c: New file.
30431 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30432 valid syntax.
30433 * shadow/Makefile (tests): Add tst-putspent.
30434 * shadow/tst-putspent.c: New file.
30435 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30436 sg_mem fields for valid syntax.
30437 * gshadow/Makefile (tests): Add tst-putsgent.
30438 * gshadow/tst-putsgent.c: New file.
30439
30440 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30441
30442 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30443 assembly instructions.
30444
30445 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30446
30447 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30448 prefix from operands.
30449
30450 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30451
30452 [BZ #16347]
30453 [BZ #19046]
30454 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30455 <libc-internal.h>.
30456 (MAXLGM): Do not use diagnostic control macros.
30457 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30458 threshold for ldbl-128ibm.
30459 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30460 instead of multiplying by log then subtracting.
30461 * math/auto-libm-test-in: Add more tests of lgamma.
30462 * math/auto-libm-test-out: Regenerated.
30463
30464 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30465 (TYPE_HEX_DIG): Likewise.
30466 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30467 precisions when printing floating-point numbers.
30468 (check_float_internal): Likewise.
30469
30470 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30471
30472 [BZ #16620]
30473 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30474 of log (10) rounded downward to 48 bits.
30475 (log10_low): Use corresponding low part of log (10).
30476
30477 [BZ #19032]
30478 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30479 compute result as (x - x) / (x - x) not as 0 / 0.
30480 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30481 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30482
30483 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30484 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30485 and expm1.
30486 * math/auto-libm-test-out: Regenerated.
30487 * math/libm-test.inc (acos_test_data): Add more tests.
30488 (asin_test_data): Likewise.
30489 (asinh_test_data): Likewise.
30490 (atan_test_data): Likewise.
30491 (atanh_test_data): Likewise.
30492 (atan2_test_data): Likewise.
30493 (cbrt_test_data): Likewise.
30494 (ceil_test_data): Likewise.
30495 (copysign_test_data): Likewise.
30496 (cos_test_data): Likewise.
30497 (cosh_test_data): Likewise.
30498 (erf_test_data): Likewise.
30499 (erfc_test_data): Likewise.
30500 (exp_test_data): Likewise.
30501 (exp10_test_data): Likewise.
30502 (exp2_test_data): Likewise.
30503 (expm1_test_data): Likewise.
30504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30505
30506 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30507
30508 [BZ #19006]
30509 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30510 to ...
30511 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30512 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30513 to ...
30514 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30515 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30516 to ...
30517 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30518 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30519 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30520 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30521 to ...
30522 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30523 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30524 Moved to ...
30525 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30526 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30527 Moved to ...
30528 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30529 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30530 to ...
30531 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30532 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30533 Moved to ...
30534 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30535 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30536 to ...
30537 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30538 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30539 Removed.
30540 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30541 Likewise.
30542 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30543 Likewise.
30544 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30545 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30546 Likewise.
30547 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30548 Likewise.
30549 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30550 Likewise.
30551 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30552 Likewise.
30553 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30554 Likewise.
30555 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30556 Likewise.
30557 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30558 Likewise.
30559 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30560 Likewise.
30561 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30562 Likewise.
30563 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30564 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30565 Likewise.
30566 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30567 Likewise.
30568 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30569 Likewise.
30570 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30571 Likewise.
30572 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30573 Likewise.
30574 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30575 Replace ../i486/pthread_cond_timedwait.S with
30576 ../pthread_cond_timedwait.S.
30577
30578 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30579
30580 * math/libm-test.inc (acos_test_data): Refine expectations for
30581 errno and "inexact" exceptions.
30582 (acosh_test_data): Likewise.
30583 (asin_test_data): Likewise.
30584 (asinh_test_data): Likewise.
30585 (atan_test_data): Likewise.
30586 (atanh_test_data): Likewise.
30587 (atan2_test_data): Likewise.
30588 (cbrt_test_data): Likewise.
30589 (ceil_test_data): Likewise.
30590 (copysign_test_data): Likewise.
30591 (cosh_test_data): Likewise.
30592 (erf_test_data): Likewise.
30593 (erfc_test_data): Likewise.
30594 (exp_test_data): Likewise.
30595 (exp10_test_data): Likewise.
30596 (exp2_test_data): Likewise.
30597 (expm1_test_data): Likewise.
30598 (fabs_test_data): Likewise.
30599 (floor_test_data): Likewise.
30600 (fma_test_data): Likewise.
30601 (fmax_test_data): Likewise.
30602 (fmin_test_data): Likewise.
30603 (fmod_test_data): Likewise.
30604 (fpclassify_test_data): Likewise.
30605 (frexp_test_data): Likewise.
30606 (hypot_test_data): Likewise.
30607 (ilogb_test_data): Likewise.
30608 (isgreater_test_data): Likewise.
30609 (isgreaterequal_test_data): Likewise.
30610 (isinf_test_data): Likewise.
30611 (isless_test_data): Likewise.
30612 (islessequal_test_data): Likewise.
30613 (islessgreater_test_data): Likewise.
30614 (isnan_test_data): Likewise.
30615 (isnormal_test_data): Likewise.
30616 (issignaling_test_data): Likewise.
30617 (isunordered_test_data): Likewise.
30618 (j0_test_data): Likewise.
30619 (j1_test_data): Likewise.
30620 (jn_test_data): Likewise.
30621 (lgamma_test_data): Likewise.
30622 (lrint_test_data): Likewise.
30623 (llrint_test_data): Likewise.
30624 (log_test_data): Likewise.
30625 (log10_test_data): Likewise.
30626 (log1p_test_data): Likewise.
30627 (log2_test_data): Likewise.
30628 (logb_test_data): Likewise.
30629 (lround_test_data): Likewise.
30630 (llround_test_data): Likewise.
30631 (modf_test_data): Likewise.
30632 (nearbyint_test_data): Likewise.
30633 (nextafter_test_data): Likewise.
30634 (nexttoward_test_data): Likewise.
30635 (pow_test_data): Likewise.
30636 (remainder_test_data): Likewise.
30637 (remquo_test_data): Likewise.
30638 (rint_test_data): Likewise.
30639 (round_test_data): Likewise.
30640 (signbit_test_data): Likewise.
30641 (sinh_test_data): Likewise.
30642 (sqrt_test_data): Likewise.
30643 (tanh_test_data): Likewise.
30644 (tgamma_test_data): Likewise.
30645 (trunc_test_data): Likewise.
30646 (y0_test_data): Likewise.
30647 (y1_test_data): Likewise.
30648 (yn_test_data): Likewise.
30649 (significand_test_data): Likewise.
30650
30651 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30652
30653 * manual/filesys.texi (Storage Allocation): Document that
30654 posix_fallocate emulation fails when fd is open with O_WRONLY.
30655
30656 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30657
30658 [BZ #19016]
30659 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30660 allow more cases with X^2 + Y^2 >= 0.5.
30661 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30662 normal element in sum instead of special-casing based on values of
30663 arguments.
30664 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30665 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30666 -1 as normal element in sum instead of special-casing based on
30667 values of arguments.
30668 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30669 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30670 (__x2y2m1): Update comment.
30671 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30672 as normal element in sum instead of special-casing based on values
30673 of arguments.
30674 * math/s_clog.c (__clog): Handle more cases using log1p without
30675 hypot.
30676 * math/s_clog10.c (__clog10): Likewise.
30677 * math/s_clog10f.c (__clog10f): Likewise.
30678 * math/s_clog10l.c (__clog10l): Likewise.
30679 * math/s_clogf.c (__clogf): Likewise.
30680 * math/s_clogl.c (__clogl): Likewise.
30681 * math/auto-libm-test-in: Add more tests of clog and clog10.
30682 * math/auto-libm-test-out: Regenerated.
30683 * sysdeps/i386/fpu/libm-test-ulps: Update.
30684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30685
30686 2015-09-28 Martin Sebor <msebor@redhat.com>
30687
30688 [BZ #18969]
30689 * string/Makefile (LOCALES): Define.
30690 (gen-locales.mk): Include.
30691 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30692 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30693 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30694 on setlocale failure.
30695
30696 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30697
30698 [BZ #18985]
30699 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30700 (__strftime_internal): Likewise.
30701 * time/tst-strftime.c (do_bz18985): New test.
30702 (do_test): Call it.
30703
30704 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30705
30706 [BZ #18956]
30707 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30708 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30709 extracting high part.
30710 * math/auto-libm-test-in: Add another test of pow.
30711 * math/auto-libm-test-out: Regenerated.
30712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30713
30714 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30715
30716 [BZ #18825]
30717 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30718 New macro.
30719 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30720 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30721 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30722 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30723 DBL_NARROW_EVAL, reloading the PIC register as needed.
30724 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30725 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30726 FLT_NARROW_EVAL. Use separate return path for case when first
30727 argument is NaN.
30728 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30729 DEFINE_LDBL_MIN.
30730 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30731 PIC register.
30732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30733 math_check_force_underflow_nonneg.
30734 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30735 underflow for subnormal result.
30736 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30738 math_check_force_underflow_nonneg.
30739 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30740 math_check_force_underflow.
30741 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30742 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30743 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30744 DEFINE_LDBL_MIN.
30745 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30746 * math/auto-libm-test-in: Add more tests of pow.
30747 * math/auto-libm-test-out: Regenerated.
30748
30749 2015-09-25 Florian Weimer <fweimer@redhat.com>
30750
30751 * nss/bug17079.c (init_test_items): Add diagnostic for
30752 inconsistent entries.
30753 (test_buffer_size): Skip inconsistent entries.
30754
30755 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30756
30757 [BZ #13304]
30758 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30759 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30760 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30761
30762 [BZ #13304]
30763 * sysdeps/microblaze/s_fma.c: New file.
30764 * sysdeps/microblaze/s_fmaf.c: Likewise.
30765 * sysdeps/microblaze/sfp-machine.h: Likewise.
30766
30767 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30768
30769 [BZ #17250]
30770 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30771 member.
30772
30773 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30774
30775 [BZ #18803]
30776 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30777 (MO): New macro.
30778 (__ieee754_hypot) [PIC]: Load PIC register.
30779 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30780 DBL_NARROW_EVAL.
30781 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30782 math_check_force_underflow_nonneg in case where result might be
30783 tiny.
30784 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30785 Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30787 Likewise.
30788 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30789 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30790 * math/auto-libm-test-in: Add more tests of hypot.
30791 * math/auto-libm-test-out: Regenerated.
30792
30793 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30794
30795 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30796
30797 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30798
30799 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30800 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30801 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30802 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30803 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30804 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30805 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30806
30807 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30808 LOAD_PIC_REG.
30809
30810 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30811 (FLT_CHECK_FORCE_UFLOW): Likewise.
30812 (DBL_CHECK_FORCE_UFLOW): Likewise.
30813 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30814 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30815 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30816 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30817 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30818 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30819 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30820 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30821 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30822 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30823 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30824 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30825 (flt_min): Replace with use of DEFINE_FLT_MIN.
30826 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30827 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30828 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30829 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30830 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30831 (flt_min): Replace with use of DEFINE_FLT_MIN.
30832 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30833 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30834 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30835 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30836 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30837 (flt_min): Replace with use of DEFINE_FLT_MIN.
30838 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30839 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30840 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30841 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30842 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30843 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30844 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30845 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30846 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30847 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30848 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30849 (flt_min): Replace with use of DEFINE_FLT_MIN.
30850 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30851 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30852 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30853 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30854 main computation.
30855 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30856 (flt_min): Replace with use of DEFINE_FLT_MIN.
30857 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30858 main computation.
30859 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30860 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30861 (MO): New macro.
30862 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30863 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30864 (flt_min): Replace with use of DEFINE_FLT_MIN.
30865 (MO): New macro.
30866 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30867 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30868 (__log1pl): Use MO.
30869
30870 [BZ #19003]
30871 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30872 $(config-cflags-nofma).
30873
30874 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30875
30876 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30877
30878 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30879
30880 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30881 (TWO127): Likewise.
30882
30883 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30884 (min_of_type): Likewise.
30885 (math_check_force_underflow): Likewise.
30886 (math_check_force_underflow_nonneg): Likewise.
30887 (math_check_force_underflow_complex): Likewise.
30888 * math/e_exp2l.c (__ieee754_exp2l): Use
30889 math_check_force_underflow_nonneg.
30890 * math/k_casinh.c (__kernel_casinh): Likewise.
30891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30893 * math/s_catan.c (__catan): Use
30894 math_check_force_underflow_complex.
30895 * math/s_catanf.c (__catanf): Likewise.
30896 * math/s_catanh.c (__catanh): Likewise.
30897 * math/s_catanhf.c (__catanhf): Likewise.
30898 * math/s_catanhl.c (__catanhl): Likewise.
30899 * math/s_catanl.c (__catanl): Likewise.
30900 * math/s_ccosh.c (__ccosh): Likewise.
30901 * math/s_ccoshf.c (__ccoshf): Likewise.
30902 * math/s_ccoshl.c (__ccoshl): Likewise.
30903 * math/s_cexp.c (__cexp): Likewise.
30904 * math/s_cexpf.c (__cexpf): Likewise.
30905 * math/s_cexpl.c (__cexpl): Likewise.
30906 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30907 * math/s_clog10.c (__clog10): Likewise.
30908 * math/s_clog10f.c (__clog10f): Likewise.
30909 * math/s_clog10l.c (__clog10l): Likewise.
30910 * math/s_clogf.c (__clogf): Likewise.
30911 * math/s_clogl.c (__clogl): Likewise.
30912 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30913 * math/s_csinf.c (__csinf): Likewise.
30914 * math/s_csinh.c (__csinh): Likewise.
30915 * math/s_csinhf.c (__csinhf): Likewise.
30916 * math/s_csinhl.c (__csinhl): Likewise.
30917 * math/s_csinl.c (__csinl): Likewise.
30918 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30919 * math/s_csqrtf.c (__csqrtf): Likewise.
30920 * math/s_csqrtl.c (__csqrtl): Likewise.
30921 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30922 * math/s_ctanf.c (__ctanf): Likewise.
30923 * math/s_ctanh.c (__ctanh): Likewise.
30924 * math/s_ctanhf.c (__ctanhf): Likewise.
30925 * math/s_ctanhl.c (__ctanhl): Likewise.
30926 * math/s_ctanl.c (__ctanl): Likewise.
30927 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30928 instead of volatile.
30929 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30930 math_check_force_underflow.
30931 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30932 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30933 volatile when forcing underflow.
30934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30935 math_check_force_underflow_nonneg.
30936 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30937 Likewise.
30938 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30939 math_check_force_underflow.
30940 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30941 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30942 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30943 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30944 math_check_force_underflow_nonneg.
30945 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30946 math_check_force_underflow.
30947 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30949 instead of volatile.
30950 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30951 math_check_force_underflow.
30952 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30953 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30954 math_check_force_underflow_nonneg.
30955 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30956 math_check_force_underflow.
30957 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30958 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30959 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30960 math_check_force_underflow_nonneg.
30961 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30962 Likewise.
30963 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30964 math_check_force_underflow.
30965 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30966 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30967 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30968 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30969 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30970 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30971 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30972 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30973 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30974 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30975 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30976 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30977 Likewise.
30978 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30979 math_check_force_underflow_nonneg.
30980 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30981 Likewise.
30982 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30983 math_check_force_underflow.
30984 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30985 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30986 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30987 Likewise.
30988 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30989 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30990 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30991 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30992 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30993 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30995 instead of volatile.
30996 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30997 math_check_force_underflow.
30998 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
31000 math_check_force_underflow.
31001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
31002 Likewise.
31003 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31004 Use math_check_force_underflow_nonneg.
31005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
31006 math_check_force_underflow.
31007 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
31008 Likewise.
31009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31010 Likewise.
31011 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31012 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31014 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
31016 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31017 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31018 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31019 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
31020 math_check_force_underflow_nonneg.
31021 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
31022 math_check_force_underflow.
31023 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31024 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31025 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
31026 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
31027 math_check_force_underflow_nonneg.
31028 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
31029 math_check_force_underflow.
31030 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
31032 instead of volatile.
31033 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
31034 math_check_force_underflow.
31035
31036 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
31037 * stdlib/strtod_l.c: Include <math_private.h>.
31038 (overflow_value): Use math_narrow_eval.
31039 (underflow_value): Likewise.
31040 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31041 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31042 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
31043 (__ieee754_gamma_r): Likewise.
31044 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
31045 Likewise.
31046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
31047 Likewise.
31048 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
31049 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
31050 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31051 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31052 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
31053 (__ieee754_gammaf_r): Likewise.
31054 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
31055 Likewise.
31056 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
31057 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
31058 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31059 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31060 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
31061 volatile.
31062 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
31064 math_narrow_eval.
31065 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
31066 Likewise.
31067 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31068 Likewise.
31069 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
31070 Likewise.
31071 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
31072 volatile.
31073 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
31075 math_narrow_eval.
31076 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31077 Likewise.
31078 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31079 Likewise.
31080
31081 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
31082
31083 * nptl/Versions: Remove ignored symbols.
31084
31085 2015-09-22 Florian Weimer <fweimer@redhat.com>
31086
31087 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
31088 * nss/Makefile (tests): Update.
31089
31090 2015-09-22 Florian Weimer <fweimer@redhat.com>
31091
31092 * nss/bug18287.c: New file.
31093 * nss/Makefile (tests): Add bug18287.
31094
31095 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31096
31097 * mach/Versions (__mach_host_self_): Add symbol.
31098
31099 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
31100
31101 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
31102 vm_page_size.
31103
31104 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
31105
31106 Really fix sysdeps/i386/fpu/s_scalbn.S build
31107
31108 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
31109 (libc: GLIBC_2_22): Remove unused version set.
31110
31111 2015-09-18 Mike Frysinger <vapier@gentoo.org>
31112
31113 * config.make.in (enable-timezone-tools): New variable.
31114 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
31115 (enable_timezone_tools): Export to generated files.
31116 * configure: Regenerate.
31117 * INSTALL: Regenerate.
31118 * manual/install.texi (--disable-timezone-tools): Document new flag.
31119 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
31120 ifeq ($(enable-timezone-tools),yes) check.
31121
31122 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31123
31124 * timezone/Makefile: Revert previous change.
31125
31126 [BZ #18980]
31127 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
31128 (DEFINE_DBL_MIN): Likewise.
31129 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31130 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31131 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31132 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31133 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
31134 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31135 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31136 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
31137 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
31138 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31139 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31140 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31141 (flt_min): Replace with use of DEFINE_FLT_MIN.
31142 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31143 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31144 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31145 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31146 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31147 (flt_min): Replace with use of DEFINE_FLT_MIN.
31148 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31149 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31150 (flt_min): Replace with use of DEFINE_FLT_MIN.
31151 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31152 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31153 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31154 (__ieee754_hypot): Use DBL_NARROW_EVAL.
31155 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31156 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31157 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31158 (__ieee754_pow): Use DBL_NARROW_EVAL.
31159 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31160 (__ieee754_powf): Use FLT_NARROW_EVAL.
31161 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31162 (__ieee754_expf_sse2): Convert double-precision result to single
31163 precision.
31164 * sysdeps/i386/fpu/libm-test-ulps: Update.
31165
31166 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31167
31168 * timezone/Makefile: Ignore unused variable errors due to private.h
31169 (time_t_min) and (time_t_max).
31170 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
31171 Likewise.
31172
31173 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31174
31175 [BZ #18981]
31176 * sysdeps/i386/fpu/i386-math-asm.h: New file.
31177 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31178 (__ieee754_scalb): Use DBL_NARROW_EVAL.
31179 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31180 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31181 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31182 (__scalbn): Use DBL_NARROW_EVAL.
31183 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31184 (__scalbnf): Use FLT_NARROW_EVAL.
31185
31186 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31187
31188 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31189 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31190 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31191 * stdio-common/printf_fp.c (___printf_fp):
31192 Use signbit to get the sign. Use isinf macro to allow inlining.
31193 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31194 * stdio-common/printf_size.c (__printf_size): Likewise.
31195
31196 2015-09-18 Mike Frysinger <vapier@gentoo.org>
31197
31198 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31199
31200 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31201
31202 [BZ #18980]
31203 * sysdeps/generic/math_private.h: Include <float.h>.
31204 (math_narrow_eval): New macro.
31205 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31206 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31207 math_narrow_eval on overflowing return value.
31208 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31209 Likewise.
31210 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31211 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31213 Likewise.
31214 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31215
31216 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31217
31218 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31219 * math/Makefile: Remove isinf_ns.c.
31220 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31221 * math/multc3.c (__multc3): Likewise.
31222 * math/s_casin.c (__casin): Likewise.
31223 * math/s_casinf.c (__casinf): Likewise.
31224 * math/s_casinl.c (__casinl): Likewise.
31225 * math/s_cproj.c (__cproj): Likewise.
31226 * math/s_cprojf.c (__cprojf): Likewise.
31227 * math/s_cprojl.c (__cprofl): Likewise.
31228 * math/s_ctan.c (__ctan): Likewise.
31229 * math/s_ctanf.c (__ctanf): Likewise.
31230 * math/s_ctanh.c (__ctanh): Likewise.
31231 * math/s_ctanhf.c (__ctanhf): Likewise.
31232 * math/s_ctanhl.c (__ctanhl): Likewise.
31233 * math/s_ctanl.c (__ctanl): Likewise.
31234 * math/w_fmod.c (__fmod): Likewise.
31235 * math/w_fmodf.c (__fmodf): Likewise.
31236 * math/w_fmodl.c (_fmodl): Likewise.
31237 * math/w_remainder.c (__remainder): Likewise.
31238 * math/w_remainderf.c (__remainderf): Likewise.
31239 * math/w_remainderl.c (__remainderl): Likewise.
31240 * math/w_scalb.c (__scalb): Likewise.
31241 * math/w_scalbf.c (__scalbf): Likewise.
31242 * math/w_scalbl.c (__scalbl): Likewise.
31243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31244 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31245 with isinf.
31246 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31248 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31249 __isinf_nsf with isinf.
31250 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31251 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31252 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31253 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31254 with isinf.
31255 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31256 __isinf_nsl with isinf.
31257 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31258 with isinf.
31259 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31260 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31261 __isinf_nsl with isinf.
31262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31263 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31264 with isinf.
31265
31266 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31267
31268 * resolv/base64.c (rcsid): Remove unused static.
31269 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31270 static. (tqpi1): Likewise.
31271 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31272 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31273 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31274 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31276 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31277 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31278 * timezone/private.h (time_t_min): Likewise. (time_t_max):
31279 Likewise.
31280
31281 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
31282
31283 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31284 <nptl/pthreadP.h>.
31285 (_longjmp_unwind): Use __libc_ptf_call.
31286 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31287
31288 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
31289
31290 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31291 * sysdeps/arm/__longjmp.S: Likewise.
31292
31293 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31294
31295 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31296 Use __builtin_signbit.
31297 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31298 Use __builtin_signbitf.
31299 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31300 Use __builtin_signbitl.
31301 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31302 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31303
31304 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31305
31306 [BZ #15367]
31307 [BZ #17441]
31308
31309 * math/Makefile: Build test-snan.c with -fsignaling-nans.
31310 * math/math.h (fpclassify): Use __builtin_fpclassify when
31311 available. (signbit): Use __builtin_signbit(f/l).
31312 (isfinite): Use__builtin_isfinite. (isnormal): Use
31313 __builtin_isnormal. (isnan): Use __builtin_isnan.
31314 (isinf): Use __builtin_isinf_sign.
31315
31316 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31317
31318 * benchtests/Makefile: Add bench-math-inlines, link with libm.
31319 * benchtests/bench-math-inlines.c: New benchmark.
31320 * benchtests/bench-util.h: New file.
31321 * benchtests/bench-util.c: New file.
31322 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31323
31324 2015-09-18 Carlos O'Donell <carlos@redhat.com>
31325
31326 * elf/tst-dlmopen1.c: Define TEST_SO.
31327 (do_test): Use TEST_SO.
31328
31329 * elf/dl-load.c: Include libc-internal.h.
31330 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31331
31332 2015-09-18 Vincent Bernat <vincent@bernat.im>
31333
31334 [BZ #17887]
31335 * time/strptime_l.c (__strptime_internal): Make %z accept
31336 [+-]HH:MM time zones.
31337
31338 2015-09-18 Vincent Bernat <vincent@bernat.im>
31339
31340 [BZ #17886]
31341 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31342 valid time zone.
31343
31344 2015-09-17 Mike Frysinger <vapier@gentoo.org>
31345
31346 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31347 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31348 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31349 (__ASSUME_FDATASYNC): Delete.
31350
31351 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31352
31353 * conform/linknamespace.pl: Require weak undefined symbols to be
31354 in the standard namespace.
31355 (%strong_syms): Rename to %seen_syms.
31356 (%strong_seen): Rename to %seen_where.
31357
31358 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31359
31360 [BZ #18970]
31361 * misc/error.c (error): Replace pthread_setcancelstate with
31362 __pthread_setcancelstate.
31363 (error_at_line): Likewise.
31364 * posix/wordexp.c (parse_comm): Likewise.
31365 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31366 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31367 (__pthread_setcancelstate): This.
31368 (pthread_setcancelstate): Add an alias.
31369 * nptl/nptl-init.c (pthread_functions): Replace
31370 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31371 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31372 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31373 hidden_proto.
31374 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31375 it with hidden_def.
31376 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31377 (pthread_setcancelstate): Renamed to ...
31378 (__pthread_setcancelstate): This.
31379 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31380 __libc_ptf_call with __pthread_setcancelstate.
31381
31382 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31383 Andreas Schwab <schwab@suse.de>
31384
31385 [BZ #17118]
31386 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31387 result when imaginary part of argument is infinite using sine and
31388 cosine.
31389 * math/s_ctanf.c (__ctanf): Likewise.
31390 * math/s_ctanl.c (__ctanl): Likewise.
31391 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31392 of result when real part of argument is infinite using sine and
31393 cosine.
31394 * math/s_ctanhf.c (__ctanhf): Likewise.
31395 * math/s_ctanhl.c (__ctanhl): Likewise.
31396 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31397 (ctanh_test_data): Add more tests of ctanh.
31398
31399 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31400
31401 [BZ #15384]
31402 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31403 bit-mask as in subtraction.
31404 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31405 Likewise.
31406 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31407 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31408 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31409
31410 [BZ #18951]
31411 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31412 underflow exception for small results.
31413 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31414 Likewise.
31415 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31416 Likewise.
31417 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31418 Likewise.
31419 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31420 Likewise.
31421 * math/auto-libm-test-in: Add more tests of tgamma.
31422 * math/auto-libm-test-out: Regenerated.
31423
31424 2015-09-17 Andreas Schwab <schwab@suse.de>
31425
31426 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31427
31428 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31429
31430 [BZ #18977]
31431 * math/bits/mathcalls.h
31432 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31433 not declare.
31434 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31435 Likewise.
31436 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31437 Likewise.
31438 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31439 Likewise.
31440 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31441 Likewise.
31442 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31443 Likewise.
31444 * conform/data/math.h-data
31445 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31446 function.
31447 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31448 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31449 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31450 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31451 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31452 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31453 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31454 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31455 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31456 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31457 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31458
31459 [BZ #6803]
31460 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31461 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31462 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31463 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31464 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31465 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31466 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31467 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31468 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31469 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31470 Likewise.
31471 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31472 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31473 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31475 long_double_symbol calls.
31476 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31477 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31478 strong alias of __ldexpl.
31479 (scalbnl): Define using long_double_symbol.
31480 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31481 Remove alias.
31482 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31483 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31484 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31485 (scalbln_test_data): Add more errno expectations.
31486
31487 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31488
31489 Cache the host port like we cache the task port. This way we do not
31490 need to call the kernel just to get the port. Furthermore, we no
31491 longer increase the reference count on every invocation of
31492 `mach_host_self'.
31493
31494 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31495 Protect declarations against the macro expansion.
31496 * mach/mach_init.c (__mach_host_self_): New variable.
31497 (mach_init): Initialize `__mach_host_self_'.
31498 * mach/mach_init.h (__mach_host_self_): New declaration.
31499 (__mach_host_self, mach_host_self): New macros.
31500 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31501 Release reference.
31502
31503 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31504
31505 [BZ #4404]
31506 * po/de.po: Update from Translation Project.
31507
31508 [BZ #16415]
31509 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31510 (__expm1l): Remove code to handle positive infinity and overflow.
31511 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31512 variable.
31513 (__expm1l): Remove code to handle positive infinity and overflow.
31514
31515 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31516 Paul Pluzhnikov <ppluzhnikov@google.com>
31517
31518 [BZ #18872]
31519 * stdio-common/Makefile (tst-printf-bz18872): New test.
31520 (tst-printf-bz18872-mem.out): Likewise.
31521 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31522 * stdio-common/vfprintf.c: Fix memory leaks.
31523
31524 2015-09-16 Andreas Schwab <schwab@suse.de>
31525
31526 [BZ #17244]
31527 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31528 Remove extra va_start/va_end calls.
31529
31530 [BZ #17243]
31531 * posix/execl.c (execl): Add missing va_end.
31532 * posix/execle.c (execle): Likewise.
31533 * posix/execlp.c (execlp): Likewise.
31534
31535 2015-09-15 Roland McGrath <roland@hack.frob.com>
31536
31537 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31538 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31539
31540 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31541
31542 [BZ #18967]
31543 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31544 undefine around includes of <bits/mathcalls.h>.
31545 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31546 not declare function.
31547 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31548 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31549 (scalb): Likewise.
31550 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31551 not define macro.
31552 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31553 variable.
31554 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31555 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31556 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31557
31558 [BZ #18857]
31559 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31560 return non-finite argument without doing ordered comparisons on
31561 it.
31562
31563 [BZ #16296]
31564 * math/fenv.h (fegetround): Use __attribute_pure__.
31565 * include/fenv.h (__fegetround): Likewise.
31566
31567 [BZ #18595]
31568 * math/s_ctan.c (__ctan): Force underflow exception for results
31569 whose real or imaginary part has small absolute value.
31570 * math/s_ctanf.c (__ctanf): Likewise.
31571 * math/s_ctanh.c (__ctanh): Likewise.
31572 * math/s_ctanhf.c (__ctanhf): Likewise.
31573 * math/s_ctanhl.c (__ctanhl): Likewise.
31574 * math/s_ctanl.c (__ctanl): Likewise.
31575 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31576 and ctanh. Add more tests of ctan and ctanh.
31577
31578 [BZ #15918]
31579 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31580 handling of cases where one argument is an infinity.
31581
31582 [BZ #18875]
31583 [BZ #18966]
31584 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31585 (MO): New macro.
31586 (__ieee754_exp10): For small results, force underflow exception
31587 and remove excess range and precision from return value.
31588 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31589 (MO): New macro.
31590 (__ieee754_exp10f): For small results, force underflow exception
31591 and remove excess range and precision from return value.
31592 * math/auto-libm-test-in: Add more tests of exp10.
31593 * math/auto-libm-test-out: Regenerated.
31594
31595 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31596
31597 [BZ #18875]
31598 [BZ #18961]
31599 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31600 (MO): New macro.
31601 (__ieee754_exp): For small results, force underflow exception and
31602 remove excess range and precision from return value.
31603 (__exp_finite): Likewise.
31604 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31605 (MO): New macro.
31606 (__ieee754_expf): For small results, force underflow exception and
31607 remove excess range and precision from return value.
31608 (__expf_finite): Likewise.
31609 * math/auto-libm-test-in: Add more tests of exp.
31610 * math/auto-libm-test-out: Regenerated.
31611
31612 [BZ #16521]
31613 [BZ #18875]
31614 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31615 small results.
31616 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31617 (MO): New macro.
31618 (__ieee754_exp2): For small results, force underflow exception and
31619 remove excess range and precision from return value.
31620 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31621 (MO): New macro.
31622 (__ieee754_exp2f): For small results, force underflow exception
31623 and remove excess range and precision from return value.
31624 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31625 (MO): New macro.
31626 (__ieee754_exp2l): Force underflow exception for small results.
31627 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31628 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31629 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31630 (MO): New macro.
31631 (__ieee754_exp2l): Force underflow exception for small results.
31632 * math/auto-libm-test-in: Add more tests or exp2.
31633 * math/auto-libm-test-out: Regenerated.
31634
31635 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31636
31637 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31638
31639 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31640 /dev/null.
31641
31642 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31643
31644 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31645 io fs process)): Drop spurious backslash.
31646
31647 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31648
31649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31650 Use sysinfo system call instead of parsing /proc/meminfo.
31651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31652 Likewise.
31653
31654 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31655
31656 [BZ #16985]
31657 * programs/localedef.c (main): Display argv[remaining] when
31658 output_path is NULL.
31659
31660 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31661
31662 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31663 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31664 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31665 tanh.
31666 * math/auto-libm-test-out: Regenerated.
31667 * sysdeps/i386/fpu/libm-test-ulps: Update.
31668 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31669 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31671
31672 2015-09-11 Roland McGrath <roland@hack.frob.com>
31673
31674 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31675 Use 'override' keyword to freeze the value here, preventing
31676 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31677
31678 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31679
31680 [BZ #14912]
31681 * sysdeps/aarch64/bits/atomic.h: Move to ...
31682 * sysdeps/aarch64/atomic-machine.h: ...here.
31683 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31684 _AARCH64_ATOMIC_MACHINE_H.
31685 * sysdeps/alpha/bits/atomic.h: Move to ...
31686 * sysdeps/alpha/atomic-machine.h: ...here.
31687 * sysdeps/arm/bits/atomic.h: Move to ...
31688 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31689 * bits/atomic.h: Move to ...
31690 * sysdeps/generic/atomic-machine.h: ...here.
31691 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31692 * sysdeps/i386/bits/atomic.h: Move to ...
31693 * sysdeps/i386/atomic-machine.h: ...here.
31694 * sysdeps/ia64/bits/atomic.h: Move to ...
31695 * sysdeps/ia64/atomic-machine.h: ...here.
31696 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31697 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31698 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31699 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31700 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31701 * sysdeps/microblaze/bits/atomic.h: Move to ...
31702 * sysdeps/microblaze/atomic-machine.h: ...here.
31703 * sysdeps/mips/bits/atomic.h: Move to ...
31704 * sysdeps/mips/atomic-machine.h: ...here.
31705 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31706 * sysdeps/powerpc/bits/atomic.h: Move to ...
31707 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31708 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31709 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31710 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31711 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31712 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31713 <atomic-machine.h> instead of <bits/atomic.h>.
31714 * sysdeps/s390/bits/atomic.h: Move to ...
31715 * sysdeps/s390/atomic-machine.h: ...here.
31716 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31717 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31718 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31719 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31720 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31721 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31722 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31723 * sysdeps/tile/bits/atomic.h: Move to ...
31724 * sysdeps/tile/atomic-machine.h: ...here.
31725 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31726 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31727 <sysdeps/tile/atomic-machine.h> instead of
31728 <sysdeps/tile/bits/atomic.h>.
31729 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31730 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31731 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31732 <sysdeps/tile/atomic-machine.h> instead of
31733 <sysdeps/tile/bits/atomic.h>.
31734 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31735 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31736 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31737 <sysdeps/arm/atomic-machine.h> instead of
31738 <sysdeps/arm/bits/atomic.h>.
31739 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31740 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31741 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31742 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31743 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31744 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31745 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31746 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31747 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31748 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31749 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31750 * sysdeps/x86_64/bits/atomic.h: Move to ...
31751 * sysdeps/x86_64/atomic-machine.h: ...here.
31752 * include/atomic.h: Include <atomic-machine.h> instead of
31753 <bits/atomic.h>.
31754
31755 * sysdeps/mips/mips32/libm-test-ulps: Update.
31756 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31757
31758 [BZ #18952]
31759 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31760 not convert non-integer negative arguments to int to determine the
31761 value of signgam.
31762 * math/auto-libm-test-in: Add more tests of lgamma.
31763 * math/auto-libm-test-out: Regenerated.
31764
31765 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31766 cosh, csqrt, erfc, expm1 and lgamma.
31767 * math/auto-libm-test-out: Regenerated.
31768 * sysdeps/i386/fpu/libm-test-ulps: Update.
31769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31770
31771 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31772
31773 [BZ #2542]
31774 [BZ #2543]
31775 [BZ #2558]
31776 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31777 __lgamma_neg for arguments from -28.0 to -2.0.
31778 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31779 __lgamma_negf for arguments from -15.0 to -2.0.
31780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31781 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31783 Call __lgamma_negl for arguments from -33.0 to -2.0.
31784 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31785 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31786 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31787 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31788 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31789 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31790 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31791 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31792 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31793 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31794 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31795 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31796 (__lgamma_neg): Likewise.
31797 (__lgamma_negl): Likewise.
31798 (__lgamma_product): Likewise.
31799 (__lgamma_productl): Likewise.
31800 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31801 * math/auto-libm-test-in: Add more tests of lgamma.
31802 * math/auto-libm-test-out: Regenerated.
31803 * sysdeps/i386/fpu/libm-test-ulps: Update.
31804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31805
31806 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31807
31808 [BZ #18675]
31809 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31810
31811 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31812
31813 [BZ #14912]
31814 * bits/libc-lock.h: Move to ...
31815 * sysdeps/generic/libc-lock.h: ...here.
31816 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31817 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31818 * sysdeps/mach/hurd/libc-lock.h: ...here.
31819 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31820 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31821 * sysdeps/mach/bits/libc-lock.h: Move to ...
31822 * sysdeps/mach/libc-lock.h: ...here.
31823 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31824 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31825 * sysdeps/nptl/libc-lock.h: ...here.
31826 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31827 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31828 * sysdeps/nptl/libc-lockP.h: ...here.
31829 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31830 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31831 <bits/libc-lock.h>.
31832 * dirent/scandir-tail.c: Likewise.
31833 * dlfcn/dlerror.c: Likewise.
31834 * elf/dl-close.c: Likewise.
31835 * elf/dl-iteratephdr.c: Likewise.
31836 * elf/dl-lookup.c: Likewise.
31837 * elf/dl-open.c: Likewise.
31838 * elf/dl-support.c: Likewise.
31839 * elf/dl-writev.h: Likewise.
31840 * elf/rtld.c: Likewise.
31841 * grp/fgetgrent.c: Likewise.
31842 * gshadow/fgetsgent.c: Likewise.
31843 * gshadow/sgetsgent.c: Likewise.
31844 * iconv/gconv_conf.c: Likewise.
31845 * iconv/gconv_db.c: Likewise.
31846 * iconv/gconv_dl.c: Likewise.
31847 * iconv/gconv_int.h: Likewise.
31848 * iconv/gconv_trans.c: Likewise.
31849 * include/link.h: Likewise.
31850 * inet/getnameinfo.c: Likewise.
31851 * inet/getnetgrent.c: Likewise.
31852 * inet/getnetgrent_r.c: Likewise.
31853 * intl/bindtextdom.c: Likewise.
31854 * intl/dcigettext.c: Likewise.
31855 * intl/finddomain.c: Likewise.
31856 * intl/gettextP.h: Likewise.
31857 * intl/loadmsgcat.c: Likewise.
31858 * intl/localealias.c: Likewise.
31859 * intl/textdomain.c: Likewise.
31860 * libidn/idn-stub.c: Likewise.
31861 * libio/libioP.h: Likewise.
31862 * locale/duplocale.c: Likewise.
31863 * locale/freelocale.c: Likewise.
31864 * locale/newlocale.c: Likewise.
31865 * locale/setlocale.c: Likewise.
31866 * login/getutent_r.c: Likewise.
31867 * login/getutid_r.c: Likewise.
31868 * login/getutline_r.c: Likewise.
31869 * login/utmp-private.h: Likewise.
31870 * login/utmpname.c: Likewise.
31871 * malloc/mtrace.c: Likewise.
31872 * misc/efgcvt.c: Likewise.
31873 * misc/error.c: Likewise.
31874 * misc/fstab.c: Likewise.
31875 * misc/getpass.c: Likewise.
31876 * misc/mntent.c: Likewise.
31877 * misc/syslog.c: Likewise.
31878 * nis/nis_call.c: Likewise.
31879 * nis/nis_callback.c: Likewise.
31880 * nis/nss-default.c: Likewise.
31881 * nis/nss_compat/compat-grp.c: Likewise.
31882 * nis/nss_compat/compat-initgroups.c: Likewise.
31883 * nis/nss_compat/compat-pwd.c: Likewise.
31884 * nis/nss_compat/compat-spwd.c: Likewise.
31885 * nis/nss_nis/nis-alias.c: Likewise.
31886 * nis/nss_nis/nis-ethers.c: Likewise.
31887 * nis/nss_nis/nis-grp.c: Likewise.
31888 * nis/nss_nis/nis-hosts.c: Likewise.
31889 * nis/nss_nis/nis-network.c: Likewise.
31890 * nis/nss_nis/nis-proto.c: Likewise.
31891 * nis/nss_nis/nis-pwd.c: Likewise.
31892 * nis/nss_nis/nis-rpc.c: Likewise.
31893 * nis/nss_nis/nis-service.c: Likewise.
31894 * nis/nss_nis/nis-spwd.c: Likewise.
31895 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31896 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31897 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31898 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31899 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31900 * nis/nss_nisplus/nisplus-network.c: Likewise.
31901 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31902 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31903 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31904 * nis/nss_nisplus/nisplus-service.c: Likewise.
31905 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31906 * nis/ypclnt.c: Likewise.
31907 * nptl/libc_pthread_init.c: Likewise.
31908 * nss/getXXbyYY.c: Likewise.
31909 * nss/getXXent.c: Likewise.
31910 * nss/getXXent_r.c: Likewise.
31911 * nss/nss_db/db-XXX.c: Likewise.
31912 * nss/nss_db/db-netgrp.c: Likewise.
31913 * nss/nss_db/nss_db.h: Likewise.
31914 * nss/nss_files/files-XXX.c: Likewise.
31915 * nss/nss_files/files-alias.c: Likewise.
31916 * nss/nsswitch.c: Likewise.
31917 * posix/regex_internal.h: Likewise.
31918 * posix/wordexp.c: Likewise.
31919 * pwd/fgetpwent.c: Likewise.
31920 * resolv/res_hconf.c: Likewise.
31921 * resolv/res_libc.c: Likewise.
31922 * shadow/fgetspent.c: Likewise.
31923 * shadow/lckpwdf.c: Likewise.
31924 * shadow/sgetspent.c: Likewise.
31925 * socket/opensock.c: Likewise.
31926 * stdio-common/reg-modifier.c: Likewise.
31927 * stdio-common/reg-printf.c: Likewise.
31928 * stdio-common/reg-type.c: Likewise.
31929 * stdio-common/vfprintf.c: Likewise.
31930 * stdio-common/vfscanf.c: Likewise.
31931 * stdlib/abort.c: Likewise.
31932 * stdlib/cxa_atexit.c: Likewise.
31933 * stdlib/fmtmsg.c: Likewise.
31934 * stdlib/random.c: Likewise.
31935 * stdlib/setenv.c: Likewise.
31936 * string/strsignal.c: Likewise.
31937 * sunrpc/auth_none.c: Likewise.
31938 * sunrpc/bindrsvprt.c: Likewise.
31939 * sunrpc/create_xid.c: Likewise.
31940 * sunrpc/key_call.c: Likewise.
31941 * sunrpc/rpc_thread.c: Likewise.
31942 * sysdeps/arm/backtrace.c: Likewise.
31943 * sysdeps/generic/ldsodefs.h: Likewise.
31944 * sysdeps/generic/stdio-lock.h: Likewise.
31945 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31946 * sysdeps/i386/backtrace.c: Likewise.
31947 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31948 * sysdeps/m68k/backtrace.c: Likewise.
31949 * sysdeps/mach/hurd/cthreads.c: Likewise.
31950 * sysdeps/mach/hurd/dirstream.h: Likewise.
31951 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31952 * sysdeps/nptl/malloc-machine.h: Likewise.
31953 * sysdeps/nptl/stdio-lock.h: Likewise.
31954 * sysdeps/posix/dirstream.h: Likewise.
31955 * sysdeps/posix/getaddrinfo.c: Likewise.
31956 * sysdeps/posix/system.c: Likewise.
31957 * sysdeps/pthread/aio_suspend.c: Likewise.
31958 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31959 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31960 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31961 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31962 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31963 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31964 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31965 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31966 * sysdeps/unix/sysv/linux/system.c: Likewise.
31967 * sysdeps/x86_64/backtrace.c: Likewise.
31968 * time/alt_digit.c: Likewise.
31969 * time/era.c: Likewise.
31970 * time/tzset.c: Likewise.
31971 * wcsmbs/wcsmbsload.c: Likewise.
31972 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31973 instead of <bits/libc-lock.h> in comment.
31974
31975 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31976
31977 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31978 Only use .set mips2 if the current ISA is below mips2.
31979 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31980 Likewise.
31981 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31982 mips32r2 if the current ISA is below mips32r2.
31983 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31984 (TLS_IE): Updated to use the TLD_RDHWR macro.
31985 (TLS_LE): Likewise.
31986 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31987 __ASSEMBLER__ condition.
31988
31989 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31990
31991 Fix parallel build of before-compile targets.
31992
31993 * sysdeps/mach/Makefile ($(patsubst
31994 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31995 mach-before-compile target.
31996 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31997 io fs process)): Move rule to dedicated hurd-before-compile target.
31998
31999 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32000
32001 Fix rules generating headers in hurd/ and mach/ when initial make call
32002 has subdir= explicitly set.
32003
32004 * sysdeps/mach/Makefile ($(patsubst
32005 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
32006 calling $(MAKE).
32007 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32008 io fs process)): Force subdir to hurd when calling $(MAKE).
32009 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
32010 subdir to mach when calling $(MAKE).
32011
32012 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
32013
32014 Check sysheaders when looking for Mach and Hurd headers
32015
32016 * sysdeps/mach/configure.ac: Add sysheaders check.
32017 * sysdeps/mach/configure: Regenerate.
32018 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
32019 * sysdeps/mach/hurd/configure: Regenerate.
32020
32021 2015-09-04 Roland McGrath <roland@hack.frob.com>
32022
32023 [BZ #18921]
32024 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
32025 Fix inverted sense of test of 'o_directory_works' value.
32026 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
32027 Bernhard Voelker <mail@bernhard-voelker.de>.
32028
32029 2015-09-04 Joseph Myers <joseph@codesourcery.com>
32030
32031 [BZ #14912]
32032 * bits/linkmap.h: Move to ...
32033 * sysdeps/generic/linkmap.h: ...here.
32034 * sysdeps/aarch64/bits/linkmap.h: Move to ...
32035 * sysdeps/aarch64/linkmap.h: ...here.
32036 * sysdeps/arm/bits/linkmap.h: Move to ...
32037 * sysdeps/arm/linkmap.h: ...here.
32038 * sysdeps/hppa/bits/linkmap.h: Move to ...
32039 * sysdeps/hppa/linkmap.h: ...here.
32040 * sysdeps/ia64/bits/linkmap.h: Move to ...
32041 * sysdeps/ia64/linkmap.h: ...here.
32042 * sysdeps/mips/bits/linkmap.h: Move to ...
32043 * sysdeps/mips/linkmap.h: ...here.
32044 * sysdeps/s390/bits/linkmap.h: Move to ...
32045 * sysdeps/s390/linkmap.h: ...here.
32046 * sysdeps/sh/bits/linkmap.h: Move to ...
32047 * sysdeps/sh/linkmap.h: ...here.
32048 * sysdeps/x86/bits/linkmap.h: Move to ...
32049 * sysdeps/x86/linkmap.h: ...here.
32050 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
32051
32052 2015-09-04 Andreas Schwab <schwab@suse.de>
32053
32054 [BZ #18635]
32055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
32056 (__makecontext): Terminate FDE before return label.
32057 (__novec_makecontext): Likewise.
32058
32059 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32060
32061 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
32062 first member of struct sv in syscall macro.
32063
32064 2015-09-04 Joseph Myers <joseph@codesourcery.com>
32065
32066 [BZ #14912]
32067 * bits/stdio-lock.h: Move to ...
32068 * sysdeps/generic/stdio-lock.h: ...here.
32069 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32070 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
32071 * sysdeps/nptl/stdio-lock.h: ...here.
32072 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32073 * include/libio.h: Include <stdio-lock.h> instead of
32074 <bits/stdio-lock.h>.
32075 * sysdeps/nptl/fork.c: Likewise.
32076 * sysdeps/pthread/flockfile.c: Likewise.
32077 * sysdeps/pthread/ftrylockfile.c: Likewise.
32078 * sysdeps/pthread/funlockfile.c: Likewise.
32079
32080 [BZ #14912]
32081 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
32082 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
32083 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
32084 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
32085 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
32086 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32087 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
32088
32089 2015-09-03 Roland McGrath <roland@hack.frob.com>
32090
32091 * elf/Makefile (test-xfail-tst-protected1a): New variable.
32092 (test-xfail-tst-protected1b): New variable.
32093
32094 2015-09-03 Joseph Myers <joseph@codesourcery.com>
32095
32096 [BZ #14912]
32097 * bits/libc-tsd.h: Move to ...
32098 * sysdeps/generic/libc-tsd.h: ...here.
32099 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
32100 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
32101 * sysdeps/mach/hurd/libc-tsd.h: ...here.
32102 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
32103 * include/ctype.h: Include <libc-tsd.h> instead of
32104 <bits/libc-tsd.h>.
32105 * include/rpc/rpc.h: Likewise.
32106 * locale/localeinfo.h: Likewise.
32107 * sunrpc/rpc_thread.c: Likewise.
32108 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
32109 * sysdeps/nptl/malloc-machine.h: Likewise.
32110
32111 * Makefile (headers): Remove bits/libc-lock.h.
32112 * libio/Makefile (headers): Remove bits/stdio-lock.h.
32113
32114 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
32115 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
32116 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
32117 <bits/stdio-lock.h>.
32118 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
32119 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
32120
32121 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32122
32123 [BZ #18757]
32124 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
32125 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
32126 BZ #18757.
32127
32128 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32129
32130 * malloc/mtrace.pl: Filter out NULL entries.
32131
32132 2015-09-01 Joseph Myers <joseph@codesourcery.com>
32133
32134 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
32135 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
32136 macro.
32137
32138 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32139 (TCP_CC_INFO): Likewise.
32140 (TCP_SAVE_SYN): Likewise.
32141 (TCP_SAVED_SYN): Likewise.
32142
32143 2015-08-31 Brett Neumeier <brett@neumeier.us>
32144
32145 [BZ #18870]
32146 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32147
32148 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
32149
32150 [BZ #18873]
32151 Fix broken overflow check in posix_fallocate
32152 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32153 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32154 Fix parenthesization typo.
32155
32156 2015-08-28 Mike Frysinger <vapier@gentoo.org>
32157
32158 [BZ #18887]
32159 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32160 tst-mntent-blank-passno.
32161 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32162 * misc/tst-mntent-blank-corrupt.c: New test.
32163 * misc/tst-mntent-blank-passno.c: New test ripped from ...
32164 * misc/tst-mntent.c (do_test): ... here.
32165
32166 2015-08-29 Mike Frysinger <vapier@gentoo.org>
32167
32168 [BZ #4404]
32169 * po/de.po: Fix SIGALRM typo.
32170
32171 2015-08-28 James Perkins <james@loowit.net>
32172
32173 * time/tst-strptime2.c (tests): Replace short list of test
32174 strings for strptime %z specifier with code which exhaustively
32175 tests every combination of sign and 0 to 5 digits. Tests for
32176 rejection of invalid strings.
32177
32178 2015-08-28 James Perkins <james@loowit.net>
32179
32180 [BZ #16141]
32181 * time/strptime_l.c (__strptime_internal): Fix %z minutes
32182 calculation, removing incorrect decimal time rounding, so that
32183 all minute values result in a valid seconds value.
32184 * time/strptime_l.c (__strptime_internal): Extend %z time zone
32185 offset range limits to UTC-99:59 through UTC+99:59 to parse
32186 current and historical use cases.
32187 * time/tst-strptime2.c (tests): Modify and add tests for the
32188 strptime %z input field descriptor, specifically conversion of
32189 minutes to seconds and validating an offset range of -9959 to
32190 +9959.
32191
32192 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32193 Dmitry V. Levin <ldv@altlinux.org>
32194
32195 [BZ #18877]
32196 * posix/Makefile (tests): Add tst-mmap-offset.
32197 * posix/tst-mmap.c: New file.
32198 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32199 offset calculation for negative values.
32200
32201 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32202
32203 * sysdeps/i386/init-arch.h: New file.
32204 * sysdeps/i386/i586/init-arch.h: Likewise.
32205 * sysdeps/i386/i686/init-arch.h: Likewise.
32206 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32207 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
32208 * sysdeps/x86/cpu-features.h (bit_I586): New.
32209 (bit_I686): Likewise.
32210 (bit_CX8): Likewise.
32211 (bit_CMOV): Likewise.
32212 (index_CX8): Likewise.
32213 (index_CMOV): Likewise.
32214 (index_I586): Likewise.
32215 (index_I686): Likewise.
32216 (reg_CX8): Likewise.
32217 (reg_CMOV): Likewise.
32218 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32219 available at compile-time.
32220 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32221 available at compile-time.
32222 * sysdeps/x86/init-arch.h (USE_I586): New macro.
32223 (USE_I686): Likewise.
32224
32225 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32226
32227 * sysdeps/i386/bcopy.S: New file.
32228 * sysdeps/i386/bzero.S: Likewise.
32229 * sysdeps/i386/memcpy.S: Likewise.
32230 * sysdeps/i386/memmove.S: Likewise.
32231 * sysdeps/i386/mempcpy.S: Likewise.
32232 * sysdeps/i386/memset.S: Likewise.
32233 * sysdeps/i386/bzero.c: Removed.
32234 * sysdeps/i386/memset.c: Likewise.
32235 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32236 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32237 * sysdeps/i386/i586/memset_chk.S: Likewise.
32238 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32239 * sysdeps/i386/memcpy_chk.S: Here.
32240 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32241 * sysdeps/i386/memmove_chk.S: Here.
32242 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32243 * sysdeps/i386/mempcpy_chk.S: Likewise.
32244 * sysdeps/i386/i686/memset_chk.S: Moved to ...
32245 * sysdeps/i386/memset_chk.S: Likewise.
32246
32247 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
32248
32249 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32250 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32251 file, move DIAG_POP_NEEDS_COMMENT to end of file.
32252 * soft-fp/fmadf4.c: Ditto.
32253 * soft-fp/fmatf4.c: Ditto.
32254
32255 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32256
32257 * sysdeps/i386/i586/Implies: Removed.
32258 * sysdeps/i386/i686/Implies: Likewise.
32259
32260 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32261
32262 * sysdeps/i386/i486/strlen.S: Moved to ...
32263 * sysdeps/i386/strlen.S: Here.
32264
32265 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32266
32267 * sysdeps/i386/i486/strcat.S: Moved to ...
32268 * sysdeps/i386/strcat.S: Here.
32269
32270 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32271
32272 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32273 * sysdeps/i386/pthread_spin_trylock.S: Here.
32274 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32275 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32276
32277 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32278
32279 * sysdeps/i386/i486/string-inlines.c: Moved to ...
32280 * sysdeps/i386/string-inlines.c: Here.
32281
32282 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32283
32284 * sysdeps/i386/i486/htonl.S: Moved ...
32285 * sysdeps/i386/htonl.S: here.
32286
32287 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32288
32289 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32290 * sysdeps/i386/bits/atomic.h: Here.
32291
32292 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32293
32294 * sysdeps/i386/i486/Versions: Removed.
32295
32296 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
32297
32298 [BZ #2898]
32299 * misc/mktemp.c: Add mkdtemp to the link_warning message.
32300 Based on patch by Aurelien Jarno.
32301
32302 2015-08-26 Stan Shebs <stanshebs@google.com>
32303
32304 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32305 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32306
32307 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32308
32309 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32310 * sysdeps/powerpc/dl-procinfo.c:
32311 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32312 feature so it shows when LD_SHOW_AUXV=1.
32313
32314 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32315
32316 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32317 (__arch_compare_and_exchange_val_32_acq): Remove and use common
32318 definition. ISA 2.07B no longer requires full sync.
32319
32320 2015-08-26 Mike Frysinger <vapier@gentoo.org>
32321
32322 [BZ #18863]
32323 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32324 (si_call_addr): Define.
32325 (si_syscall): Define.
32326 (si_arch): Define.
32327
32328 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
32329
32330 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32331 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32332 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32333 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32334 (__memset_zero_constant_len_parameter): New.
32335 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32336 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32337 (__memset_zero_constant_len_parameter): Don't define if
32338 __memset_chk or USE_AS_BZERO are defined.
32339
32340 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32341 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32342 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32343
32344 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32345 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32346 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32347 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
32348 comments.
32349 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32350 -mno-mmx for $(all-rtld-routines).
32351 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32352 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32353 i386.
32354
32355 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32356
32357 * sysdeps/generic/unwind.h
32358 (_Unwind_Word): Use __mode__(__unwind_word__)
32359 instead of __mode__(__word__).
32360 (_Unwind_Sword): Likewise.
32361
32362 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32363 (MAX_NEEDED_INPUT): New define.
32364 (MAX_NEEDED_OUTPUT): New define.
32365
32366 * NEWS: New item for IBM z13 string optimizations.
32367
32368 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32369 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32370 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32371 * sysdeps/s390/multiarch/Makefile
32372 (sysdep_routines): Add memrchr functions.
32373 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32374 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32375
32376 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32377 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32378 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32379 * sysdeps/s390/multiarch/Makefile
32380 (sysdep_routines): Add wmemcmp functions.
32381 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32382 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32383 * benchtests/bench-wmemcmp.c: New File.
32384 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32385
32386 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32387 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32388 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32389 * sysdeps/s390/multiarch/Makefile
32390 (sysdep_routines): Add wmemset functions.
32391 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32392 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32393 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32394 * string/test-memset.c: Add wmemset support.
32395 * wcsmbs/test-wmemset.c: New File.
32396 * wcsmbs/Makefile (strop-tests): Add wmemset.
32397 * benchtests/bench-memset.c: Add wmemset support.
32398 * benchtests/bench-wmemset.c: New File.
32399 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32400
32401 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32402 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32403 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32404 * sysdeps/s390/multiarch/Makefile
32405 (sysdep_routines): Add memccpy functions.
32406 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32407 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32408 * string/memccpy.c: Use MEMCCPY if defined.
32409
32410 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32411 * sysdeps/s390/multiarch/memchr.c: Likewise.
32412 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32413 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32414 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32415 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32416 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32417 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32418 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32419 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32420 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32421 and rawmemchr functions.
32422 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32423 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32424 and wmemchr.
32425 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32426 * string/test-memchr.c: Add wmemchr support.
32427 * wcsmbs/test-wmemchr.c: New File.
32428 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32429 * benchtests/bench-memchr.c: Add wmemchr support.
32430 * benchtests/bench-wmemchr.c: New File.
32431 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32432
32433 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32434 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32435 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32436 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32437 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32438 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32439 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32440 wcscspn functions.
32441 * sysdeps/s390/multiarch/ifunc-impl-list.c
32442 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32443 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32444 * string/test-strcspn.c: Add wcscspn support.
32445 * wcsmbs/test-wcscspn.c: New File.
32446 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32447 * benchtests/bench-strcspn.c: Add wcscspn support.
32448 * benchtests/bench-wcscspn.c: New File.
32449 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32450
32451 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32452 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32453 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32454 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32455 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32456 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32457 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32458 wcspbrk functions.
32459 * sysdeps/s390/multiarch/ifunc-impl-list.c
32460 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32461 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32462 * string/test-strpbrk.c: Add wcspbrk support.
32463 * wcsmbs/test-wcspbrk.c: New File.
32464 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32465 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32466 * benchtests/bench-wcspbrk.c: New File.
32467 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32468
32469 * sysdeps/s390/multiarch/strspn-c.c: New File.
32470 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32471 * sysdeps/s390/multiarch/strspn.c: Likewise.
32472 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32473 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32474 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32475 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32476 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32477 wcsspn functions.
32478 * sysdeps/s390/multiarch/ifunc-impl-list.c
32479 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32480 * string/test-strspn.c: Add wcsspn support.
32481 * wcsmbs/test-wcsspn.c: New File.
32482 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32483 * benchtests/bench-strspn.c: Add wcsspn support.
32484 * benchtests/bench-wcsspn.c: New File.
32485 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32486
32487 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32488 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32489 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32490 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32491 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32492 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32493 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32494 wcsrchr functions.
32495 * sysdeps/s390/multiarch/ifunc-impl-list.c
32496 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32497 * benchtests/bench-wcsrchr.c: New File.
32498 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32499
32500 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32501 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32502 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32503 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32504 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32505 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32506 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32507 wcschrnul functions.
32508 * sysdeps/s390/multiarch/ifunc-impl-list.c
32509 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32510 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32511 * string/test-strchr.c: Add wcschrnul support.
32512 * wcsmbs/test-wcschrnul.c: New File.
32513 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32514 * benchtests/bench-strchr.c: Add wcschrnul support.
32515 * benchtests/bench-wcschrnul.c: New File.
32516 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32517
32518 * sysdeps/s390/multiarch/strchr-c.c: New File.
32519 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32520 * sysdeps/s390/multiarch/strchr.c: Likewise.
32521 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32522 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32523 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32524 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32525 wcschr functions.
32526 * sysdeps/s390/multiarch/ifunc-impl-list.c
32527 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32528 * string/strchr.c (STRCHR): Define and use macro.
32529 * benchtests/bench-wcschr.c: New File.
32530 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32531
32532 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32533 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32534 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32535 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32536 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32537 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32538 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32539 wcsncmp functions.
32540 * sysdeps/s390/multiarch/ifunc-impl-list.c
32541 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32542 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32543 * benchtests/bench-strncmp.c: Add wcsncmp support.
32544 * benchtests/bench-wcsncmp.c: New File.
32545 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32546
32547 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32548 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32549 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32550 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32551 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32552 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32553 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32554 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32555 wcscmp functions.
32556 * sysdeps/s390/multiarch/ifunc-impl-list.c
32557 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32558 * string/strcmp.c (STRCMP): Define and use macro.
32559 * benchtests/bench-wcscmp.c: New File.
32560 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32561 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32562 instead of _HAVE_STRING_ARCH_memchr.
32563
32564 * sysdeps/s390/multiarch/strncat-c.c: New File.
32565 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32566 * sysdeps/s390/multiarch/strncat.c: Likewise.
32567 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32568 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32569 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32570 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32571 wcsncat functions.
32572 * sysdeps/s390/multiarch/ifunc-impl-list.c
32573 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32574 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32575 * string/test-strncat.c: Add wcsncat support.
32576 * wcsmbs/test-wcsncat.c: New File.
32577 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32578 * benchtests/bench-strncat.c: Add wcsncat support.
32579 * benchtests/bench-wcsncat.c: New File.
32580 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32581
32582 * sysdeps/s390/multiarch/strcat-c.c: New File.
32583 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32584 * sysdeps/s390/multiarch/strcat.c: Likewise.
32585 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32586 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32587 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32588 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32589 wcscat functions.
32590 * sysdeps/s390/multiarch/ifunc-impl-list.c
32591 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32592 * string/strcat.c (STRCAT): Define and use macro.
32593 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32594 * string/test-strcat.c: Add wcscat support.
32595 * wcsmbs/test-wcscat.c: New File.
32596 * wcsmbs/Makefile (strop-tests): Add wcscat.
32597 * benchtests/bench-strcat.c: Add wcscat support.
32598 * benchtests/bench-wcscat.c: New File.
32599 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32600
32601 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32602 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32603 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32604 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32605 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32606 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32607 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32608 wcpncpy functions.
32609 * sysdeps/s390/multiarch/ifunc-impl-list.c
32610 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32611 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32612 * string/test-stpncpy.c: Add wcpncpy support.
32613 * wcsmbs/test-wcpncpy.c: New File.
32614 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32615 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32616 * benchtests/bench-wcpncpy.c: New File.
32617 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32618
32619 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32620 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32621 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32622 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32623 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32624 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32625 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32626 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32627 wcsncpy functions.
32628 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32629 * sysdeps/s390/multiarch/ifunc-impl-list.c
32630 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32631 * string/test-strncpy.c: Add wcsncpy support.
32632 * wcsmbs/test-wcsncpy.c: New File.
32633 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32634 * benchtests/bench-strncpy.c: Add wcsncpy support.
32635 * benchtests/bench-wcsncpy.c: New File.
32636 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32637
32638 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32639 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32640 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32641 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32642 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32643 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32644 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32645 wcpcpy functions.
32646 * string/stpcpy.c: Use STPCPY if defined.
32647 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32648 * sysdeps/s390/multiarch/ifunc-impl-list.c
32649 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32650 * string/test-stpcpy.c: Add wcpcpy support.
32651 * wcsmbs/test-wcpcpy.c: New File.
32652 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32653 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32654 * benchtests/bench-wcpcpy.c: New File.
32655 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32656
32657 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32658 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32659 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32660 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32661 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32662 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32663 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32664 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32665 wcscpy functions.
32666 * sysdeps/s390/multiarch/ifunc-impl-list.c
32667 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32668 * benchtests/bench-wcscpy.c: New File.
32669 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32670
32671 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32672 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32673 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32674 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32675 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32676 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32677 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32678 wcsnlen functions.
32679 * sysdeps/s390/multiarch/ifunc-impl-list.c
32680 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32681 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32682 * string/test-strnlen.c: Add wcsnlen support.
32683 * wcsmbs/test-wcsnlen.c: New File.
32684 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32685 * benchtests/bench-strnlen.c: Add wcsnlen support.
32686 * benchtests/bench-wcsnlen.c: New File.
32687 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32688
32689 * sysdeps/s390/multiarch/Makefile: New File.
32690 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32691 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32692 * sysdeps/s390/multiarch/strlen.c: Likewise.
32693 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32694 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32695 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32696 * string/strlen.c (STRLEN): Define and use macro.
32697 * sysdeps/s390/multiarch/ifunc-impl-list.c
32698 (IFUNC_VX_IMPL): New macro function.
32699 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32700 * benchtests/Makefile (wcsmbs-bench): New variable.
32701 (string-bench-all): Added wcsmbs-bench.
32702 * benchtests/bench-wcslen.c: New File.
32703
32704 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32705 s390_vx_libc_ifunc2): New macro function.
32706
32707 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32708 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32709 assembler support.
32710 * sysdeps/s390/configure: Regenerated.
32711
32712 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32713 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32714
32715 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32716 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32717 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32718
32719 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32720 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32721 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32722 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32723 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32724 (memcmp, bcmp): Use __memcmp_default as alias source.
32725 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32726 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32727 Rename to __memcmp_default.
32728 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32729 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32730 (memcpy): Use __memcpy_default as alias source.
32731 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32732 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32733 Rename to __memcpy_default.
32734 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32735 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32736 (memset): Use __memset_default as alias source.
32737 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32738 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32739 Rename to __memset_default.
32740 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32741 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32742 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32743 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32744 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32745 (memcmp, bcmp): Use __memcmp_default as alias source.
32746 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32747 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32748 Rename to __memcmp_default.
32749 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32750 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32751 (memcpy): Use __memcpy_default as alias source.
32752 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32753 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32754 Rename to __memcpy_default.
32755 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32756 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32757 (memset): Use __memset_default as alias source.
32758 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32759 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32760 Rename to __memset_default.
32761 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32762 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32763
32764 [BZ #18610]
32765 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32766 __ieee_instruction_pointer to __unused.
32767 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32768 __ieee_instruction_pointer.
32769 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32770 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32771 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32772 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32773 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32774 Mark dxc-field as reserved.
32775
32776 2015-08-25 Roland McGrath <roland@hack.frob.com>
32777
32778 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32779 if the weak reference is not null.
32780
32781 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32782
32783 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32784
32785 [BZ #11214]
32786 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32787
32788 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32789
32790 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32791 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32792 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32793 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32794 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32795 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32796 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32797 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32798 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32799 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32800 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32801 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32802 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32803 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32804 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32805 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32806 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32807 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32808
32809 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32810
32811 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32812 register other than r0 for tabort, it has special meaning.
32813 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32814 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32815 transaction before starting syscall.
32816
32817 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32818
32819 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32820
32821 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32822
32823 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32824
32825 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32826 * sysdeps/x86_64/rtld-memset.S: Likewise.
32827 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32828 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32829 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32830 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32831
32832 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32833
32834 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
32835
32836 * debug/strcpy_chk.c: Improve performance.
32837 * debug/stpcpy_chk.c: Likewise.
32838 * sysdeps/x86_64/strcpy_chk.S: Remove.
32839 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32840
32841 [BZ #18240]
32842 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32843
32844 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32845
32846 [BZ #15128]
32847 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32848 ifuncmain8.
32849 (modules-names): Add ifuncmod8.
32850 ($(objpfx)ifuncmain8): New rule.
32851 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32852 <cpuid.h>.
32853 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32854 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32855 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32856 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32857 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32858 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32859 * sysdeps/x86_64/ifuncmain8.c: New file.
32860 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32861 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32862 Removed.
32863 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32864 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32865 Change rtld_savespace_sse to __glibc_unused2.
32866 (RTLD_CHECK_FOREIGN_CALL): Removed.
32867 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32868 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32869 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32870
32871 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32872
32873 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32874
32875 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32876
32877 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32878 Unconditionally set __fpcr to avoid uninialized warning.
32879 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32880
32881 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32882
32883 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32884 is corrupt.
32885
32886 * malloc/arena.c (arena_get2): Drop unused argument.
32887 (arena_lock): Adjust.
32888 (arena_get_retry): Likewise.
32889
32890 2015-08-24 Andreas Schwab <schwab@suse.de>
32891
32892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32893 Don't define.
32894 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32895 (__ASSUME_IPC64): Don't undef.
32896 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32897 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32898 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32899 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32900 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32901 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32902 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32903 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32904 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32905 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32906 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32907 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32908 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32909 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32910 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32911 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32912 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32913 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32914 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32915 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32916 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32917
32918 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32919
32920 * manual/Makefile (install): Only build manual when perl is available.
32921
32922 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32923
32924 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32925 '#undef memcpy' by '#undef memchr'.
32926
32927 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32928
32929 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32930 memchr not point to the internal __GI_memchr implementation.
32931
32932 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32933
32934 * timezone/Makefile (CFLAGS-zdump.c): Remove
32935 -Wno-strict-prototypes.
32936 (CFLAGS-zic.c): Likewise.
32937 (CFLAGS-ialloc.c): Likewise.
32938 (CFLAGS-scheck.c): Likewise.
32939
32940 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32941 -Wno-error=undef.
32942
32943 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32944
32945 * i386/i686/multiarch/strcasestr-c.c: Removed.
32946 * x86_64/multiarch/strcasestr.c: Likewise.
32947 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32948 Remove strcasestr.
32949
32950 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32951
32952 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32953
32954 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32955 variables for high and low parts before possibly modifying them.
32956
32957 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32958
32959 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32960 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32961 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32962 of "multiarch/init-arch.h".
32963 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32964 * sysdeps/x86/init-arch.h: This.
32965
32966 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32967
32968 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32969 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32970
32971 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32972
32973 [BZ #17787]
32974 * manual/macros.texi: Add twoexp macro.
32975 * manual/filesys.texi: Fix exponents.
32976 * manual/llio.texi: Likewise.
32977 * manual/stdio.texi: Likewise.
32978
32979 2015-08-20 Florian Weimer <fweimer@redhat.com>
32980
32981 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32982 incorrect use.
32983
32984 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32985
32986 [BZ #18370]
32987 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32988 whose real or imaginary part has small absolute value.
32989 * math/s_csqrtf.c (__csqrtf): Likewise.
32990 * math/s_csqrtl.c (__csqrtl): Likewise.
32991 * math/auto-libm-test-in: Add more tests of csqrt.
32992 * math/auto-libm-test-out: Regenerated.
32993 * sysdeps/i386/fpu/libm-test-ulps: Update.
32994
32995 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32996
32997 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32998 __ppc_set_ppr_very_low): New functions.
32999 * manual/platform.texi: Add documentation about
33000 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
33001
33002 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
33003
33004 * string/stpncpy.c (stpncpy): Improve performance using
33005 __strnlen/memcpy/memset.
33006
33007 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
33008
33009 [BZ #18796]
33010 * scripts/test-installation.pl: Don't add -lmvec to build options if
33011 libmvec wasn't built.
33012
33013 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
33014
33015 [BZ #14341]
33016 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
33017 case when there is a gap between DT_REL and DT_JMPREL sections.
33018 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
33019 (LDFLAGS-tst-split-dynreloc): New.
33020 (tst-split-dynreloc-ENV): Likewise.
33021 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
33022 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
33023
33024 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33025
33026 [BZ #18822]
33027 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
33028 attribute_hidden.
33029 (__xstat64_conv): Likewise.
33030 (__xstat32_conv): Likewise.
33031
33032 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33033
33034 [BZ #18822]
33035 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
33036 Don't load %ebx when calling __setcontext. Call __setcontext
33037 with HIDDEN_JUMPTARGET.
33038 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
33039 libc_hidden_def.
33040
33041 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33042
33043 * sysdeps/i386/i686/Makefile
33044 [$(subdir) == string] (sysdep_routines): Moved to ...
33045 * sysdeps/i386/Makefile: Here.
33046 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
33047 * sysdeps/i386/cacheinfo.c: Here.
33048 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
33049 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
33050 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
33051 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
33052
33053 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33054
33055 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
33056 __i586__ is defined.
33057 (HAS_I686): Defined to 1 if __i686__ is defined.
33058
33059 2015-08-19 Joseph Myers <joseph@codesourcery.com>
33060
33061 * elf/Makefile [$(have-z-execstack) = yes]
33062 (CPPFLAGS-tst-execstack.c): New variable.
33063
33064 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
33065 conditional to [defined UTMPX || _HAVE_UT_TYPE].
33066 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
33067 UTMPX || _HAVE_UT_TV].
33068 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
33069 UTMPX || _HAVE_UT_TV - 0].
33070
33071 2015-08-18 Joseph Myers <joseph@codesourcery.com>
33072
33073 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
33074 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
33075 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
33076
33077 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
33078
33079 * sysdeps/powerpc/dl-procinfo.c:
33080 (_dl_powerpc_cap_flags): Added missing strings for some
33081 hwcap features.
33082 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
33083
33084 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
33085
33086 Port the 0x7efe...feff pattern to GCC 6.
33087 See Steve Ellcey's bug report in:
33088 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
33089 * string/memrchr.c (MEMRCHR):
33090 * string/rawmemchr.c (RAWMEMCHR):
33091 * string/strchr.c (strchr):
33092 * string/strchrnul.c (STRCHRNUL):
33093 Rewrite code to avoid issues with signed shift overflow.
33094
33095 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
33096
33097 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
33098 whether cpuid is available only if HAS_CPUID is 0.
33099 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
33100 (HAS_I586): Likewise.
33101 (HAS_I686): Likewise.
33102
33103 2015-08-18 Zack Weinberg <zackw@panix.com>
33104
33105 * misc/Versions (libc): Add GLIBC_2.23.
33106
33107 2015-08-18 Alan Modra <amodra@gmail.com>
33108
33109 [BZ #18421]
33110 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
33111 .Lp__global.
33112 (_start): Load %dp via .Lp__global.
33113 [!SHARED]: Use .section .rodata.
33114
33115 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33116
33117 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
33118 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
33119
33120 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33121
33122 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
33123 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
33124
33125 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33126
33127 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
33128 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
33129
33130 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33131
33132 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
33133 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
33134
33135 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33136
33137 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
33138 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33139
33140 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33141
33142 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33143 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33144
33145 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33146
33147 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33148
33149 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33150
33151 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33152 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
33153 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33154 (__ASSUME_LWS_CAS): Delete.
33155
33156 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33157
33158 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33159 * sysdeps/hppa/configure: Regenerated.
33160 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33161 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33162 * sysdeps/hppa/nptl/tls.h: Likewise.
33163
33164 2015-08-17 Joseph Myers <joseph@codesourcery.com>
33165
33166 [BZ #18823]
33167 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33168 for scaling up small arguments.
33169 * math/s_csqrtf.c (__csqrtf): Likewise.
33170 * math/s_csqrtl.c (__csqrtl): Likewise.
33171 * math/auto-libm-test-in: Add more tests of csqrt.
33172 * math/auto-libm-test-out: Regenerated.
33173
33174 2015-08-17 Andreas Schwab <schwab@suse.de>
33175
33176 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33177 version set GLIBC_2.19.
33178
33179 2015-08-16 Zack Weinberg <zackw@panix.com>
33180
33181 [BZ #18681]
33182 * misc/regexp.h: This interface is no longer supported.
33183 Remove all contents, leaving only an #error directive.
33184 * misc/regexp.c (loc1, loc2, locs, step, advance):
33185 Demote to compatibility symbols.
33186
33187 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
33188
33189 [BZ #18084]
33190 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33191 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33192 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33193 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33194 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33195 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33196 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33197 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33198 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33199
33200 2015-08-15 Zack Weinberg <zackw@panix.com>
33201
33202 [BZ #18795]
33203 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33204 buffer length is known to be too large, not if it's known to be
33205 small enough.
33206 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33207 overflow at runtime, involving a length parameter, twice: once
33208 with a compile-time constant length parameter, once without.
33209
33210 2015-08-14 Joseph Myers <joseph@codesourcery.com>
33211
33212 [BZ #18824]
33213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33214 scaling x * y up instead of down.
33215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33217 * math/auto-libm-test-in: Add more tests of fma.
33218 * math/auto-libm-test-out: Regenerated.
33219
33220 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
33221
33222 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33223
33224 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33225
33226 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33227 unnecessary movq.
33228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33229 Likewise.
33230
33231 2015-08-13 Joseph Myers <joseph@codesourcery.com>
33232
33233 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33234 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33235 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33236 and tgamma.
33237 * math/auto-libm-test-out: Regenerated.
33238 * sysdeps/i386/fpu/libm-test-ulps: Update.
33239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33240
33241 [BZ #16520]
33242 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33243 (__tanh): Force underflow exception for arguments with small
33244 absolute value.
33245 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33246 (__tanhf): Force underflow exception for arguments with small
33247 absolute value.
33248 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33249 (__tanhl): Force underflow exception for arguments with small
33250 absolute value.
33251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33252 (__tanhl): Force underflow exception for arguments with small
33253 absolute value.
33254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33255 (__tanhl): Force underflow exception for arguments with small
33256 absolute value.
33257 * math/auto-libm-test-in: Add more tests of tanh.
33258 * math/auto-libm-test-out: Regenerated.
33259 * sysdeps/i386/fpu/libm-test-ulps: Update.
33260
33261 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33262
33263 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33264 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33265
33266 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33267
33268 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33269 <cpuid.h>.
33270
33271 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33272
33273 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33274 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33275
33276 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33277
33278 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33279 Remove $(objpfx)init-arch.o.
33280 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33281 init-arch.
33282 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33283 (INIT_ARCH_EXT): Defined as empty.
33284 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33285 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33286 __init_cpu_features call. Replace HAS_XXX with
33287 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33288 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33290 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33291 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33292 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33293 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33294 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33295 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33300 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33307 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33308 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33309 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33310 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33311 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33312 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33313 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33314 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33315 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33316 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33317 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33318 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33319 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33320 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33321 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33322 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33323
33324 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33325
33326 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33327 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33328 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33329 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33330 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33331 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33332 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33333 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33334 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33335 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33336 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33337 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
33338 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33339 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33340 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33341 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33342 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33343 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33344 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33345 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33346 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33347 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33348 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33349 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33350 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33351 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33352 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33353 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33354 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33356 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33357 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33358 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33359 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33360 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33361 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33362 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33363 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33364 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33365 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33366 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33367 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33368 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33369
33370 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33371
33372 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33373 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33377 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33379 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33380 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33383 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33384 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33385 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33386 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33387 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33388 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33389 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33390 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33391 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33392 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33393 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33394 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33395 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33396 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33397 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33398 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33399 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33400 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33401 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33402 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33403 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33405 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33406 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33407 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33408 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33409 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33410 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33411 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33412 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33413 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33414 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33415
33416 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33417
33418 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33419 (dl_platform_init): Call init_cpu_features.
33420 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33421 * sysdeps/i386/i686/cacheinfo.c
33422 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33423 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33424 * sysdeps/i386/i686/multiarch/Versions: Removed.
33425 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33426 Removed.
33427 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33428 * sysdeps/unix/sysv/linux/x86/Makefile
33429 (libpthread-sysdep_routines): Remove init-arch.
33430 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33431 <sysdeps/x86_64/dl-procinfo.c> instead of
33432 sysdeps/generic/dl-procinfo.c>.
33433 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33434 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33435 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33436 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33437 [$(subdir) == elf] (tests-static): Add
33438 tst-get-cpu-features-static.
33439 * sysdeps/x86/Versions: New file.
33440 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33441 * sysdeps/x86/cpu-features.c: Likewise.
33442 * sysdeps/x86/cpu-features.h: Likewise.
33443 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33444 * sysdeps/x86/libc-start.c: Likewise.
33445 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33446 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33447 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33448 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33449 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33450 Assume USE_MULTIARCH is defined and don't check it.
33451 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33452 (is_amd): Likewise.
33453 (max_cpuid): Likewise.
33454 (intel_check_word): Likewise.
33455 (__cache_sysconf): Don't call __init_cpu_features.
33456 (__x86_preferred_memory_instruction): Removed.
33457 (init_cacheinfo): Don't call __init_cpu_features. Replace
33458 __cpu_features with GLRO(dl_x86_cpu_features).
33459 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33460 (dl_platform_init): Call init_cpu_features.
33461 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33462 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33463 * sysdeps/x86_64/multiarch/Versions: Removed.
33464 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33465 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33466 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33467 Removed.
33468 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33469
33470 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33471
33472 [BZ #18820]
33473 * libio/Makefile (test-fmemopen-mem): New test.
33474 * libio/test-fmemopen.c (do_bz18820): New test.
33475 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33476 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33477
33478 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33479
33480 [BZ #16734]
33481 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33482 (FREE_BUF): Delete.
33483 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33484 * libio/genops.c (_IO_setb): Use malloc and free directly.
33485 (_IO_default_doallocate, _IO_default_finish): Likewise.
33486 ( _IO_unbuffer_all): Likewise.
33487 ( libc_freeres_fn): Likewise.
33488 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33489 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33490 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33491 (_IO_wdefault_doallocate): Likewise.
33492
33493 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33494
33495 [BZ #18086]
33496 * sysdeps/posix/nice.c (nice): Restore old errno.
33497 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33498
33499 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33500
33501 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33502
33503 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33504
33505 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33506 __bcopy and add a weak_alias to bcopy.
33507 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33508 for static build.
33509
33510 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33511 cleanup macro usage.
33512 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33513 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33514 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33515 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33516 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33517 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33518 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33519 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33520 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33521 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33522 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33523 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33525 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33526 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33527 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33528 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33529 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33530 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33531
33532 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33533 libc_hidden_def.
33534 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33535
33536 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33537 (sysdep_routines): Add strstr-ppc64.
33538 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33539
33540 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33541
33542 [BZ #18778]
33543 * elf/Makefile (tests): Add Add tst-nodelete2.
33544 (modules-names): Add tst-nodelete2mod.
33545 (tst-nodelete2mod.so-no-z-defs): New.
33546 ($(objpfx)tst-nodelete2): Likewise.
33547 ($(objpfx)tst-nodelete2.out): Likewise.
33548 (LDFLAGS-tst-nodelete2): Likewise.
33549 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33550 out of loop through all loaded libraries.
33551 * elf/tst-nodelete2.c: New file.
33552 * elf/tst-nodelete2mod.c: Likewise.
33553 * elf/tst-znodelete-zlib.cc: Delete.
33554
33555 2015-08-11 Andreas Schwab <schwab@suse.de>
33556
33557 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33558 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33559 (__openat64_nocancel): Likewise.
33560
33561 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33562
33563 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33564 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33565 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33566 * math/auto-libm-test-out: Regenerated.
33567 * sysdeps/i386/fpu/libm-test-ulps: Update.
33568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33569
33570 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33571
33572 [BZ #18790]
33573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33574 threshold for returning +/- 1.
33575 * math/auto-libm-test-in: Add more tests of tanh.
33576 * math/auto-libm-test-out: Regenerated.
33577 * sysdeps/i386/fpu/libm-test-ulps: Update.
33578
33579 2015-08-10 Andreas Schwab <schwab@suse.de>
33580
33581 [BZ #18781]
33582 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33583 MORE_OFLAGS to oflag.
33584 * io/test-lfs.c (do_test): Test openat64.
33585
33586 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33587
33588 [BZ #18789]
33589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33590 smaller threshold for returning the argument.
33591 * math/auto-libm-test-in: Add more tests of sinh.
33592 * math/auto-libm-test-out: Regenerated.
33593 * sysdeps/i386/fpu/libm-test-ulps: Update.
33594
33595 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33596
33597 [BZ #18674]
33598 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33599 break.
33600
33601 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33602
33603 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33604 (generated): Don't add $(addprefix z.,$(tzfiles)).
33605
33606 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33607
33608 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33609 * scripts/sysd-rules.awk: Likewise.
33610
33611 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33612
33613 * iconvdata/tst-tables.sh: Change echo -n to printf.
33614 * nss/db-Makefile: Likewise.
33615 * posix/tst-getconf.sh: Likewise.
33616 * stdio-common/tst-unbputc.sh: Likewise.
33617
33618 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33619
33620 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33621 MADV_*_PAGES defines behind this feature check.
33622
33623 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33624
33625 [BZ #18480]
33626 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33627 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33628 Define.
33629 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33630 LOAD_REGS_5, LOAD_REGS_6): Update.
33631 (INTERNAL_SYSCALL): Update using new LOAD defines.
33632 (INTERNAL_SYSCALL_NCS): Likewise.
33633 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33634
33635 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33636
33637 [BZ #16734]
33638 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33639
33640 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33641
33642 [BZ #17905]
33643 * catgets/Makefile (tst-catgets-mem): New test.
33644 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33645 * catgets/open_catalog.c (__open_catalog): Likewise.
33646 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33647
33648 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33649
33650 [BZ #18787]
33651 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33652 clobber registers.
33653 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33654 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33655 Cast return to __typeof (oldval).
33656
33657 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33658
33659 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33660 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33661 and delete sys/syscall.h include.
33662
33663 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33664
33665 [BZ #16517]
33666 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33667 (tan): Force underflow exception for arguments with small absolute
33668 value.
33669 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33670 (__kernel_tanf): Force underflow exception for arguments with
33671 small absolute value.
33672 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33673 (__kernel_tanl): Force underflow exception for arguments with
33674 small absolute value.
33675 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33676 (__kernel_tanl): Force underflow exception for arguments with
33677 small absolute value.
33678 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33679 (__kernel_tanl): Force underflow exception for arguments with
33680 small absolute value.
33681 * math/auto-libm-test-in: Add more tests of tan.
33682 * math/auto-libm-test-out: Regenerated.
33683
33684 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33685
33686 Fix sysdeps/i386/fpu/s_scalbn.S build
33687
33688 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33689
33690 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33691
33692 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33693
33694 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33695
33696 Fix gcrt0.o compilation
33697
33698 When static-start-installed-name is different from
33699 start-installed-name, we must not use the shared objects.
33700
33701 * csu/Makefile
33702 (extra-objs): Add gmon-start.o when building shared library and
33703 $(static-start-installed-name) is different from
33704 $(start-installed-name).
33705 $(objpfx)g$(static-start-installed-name): When building shared
33706 library and $(static-start-installed-name) is different from
33707 $(static-start-installed-name), revert to non-shared rule,
33708 i.e. using $(objpfx)% and gmon-start.o.
33709
33710 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33711
33712 [BZ #16519]
33713 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33714 (__ieee754_sinh): Force underflow exception for arguments with
33715 small absolute value.
33716 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33717 (__ieee754_sinhf): Force underflow exception for arguments with
33718 small absolute value.
33719 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33720 (__ieee754_sinhl): Force underflow exception for arguments with
33721 small absolute value.
33722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33723 (__ieee754_sinhl): Force underflow exception for arguments with
33724 small absolute value.
33725 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33726 (__ieee754_sinhl): Force underflow exception for arguments with
33727 small absolute value.
33728 * math/auto-libm-test-in: Add more tests of sinh.
33729 * math/auto-libm-test-out: Regenerated.
33730 * sysdeps/i386/fpu/libm-test-ulps: Update.
33731
33732 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33733
33734 * libio/oldfileops.c: Include unistd.h.
33735
33736 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33737
33738 * stdlib/isomac.c: Include ctype.h.
33739
33740 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33741
33742 * dirent/tst-seekdir.c (main): Converted to ...
33743 (do_test): ... this.
33744 (TEST_FUNCTION): New macro.
33745 Include test-skeleton.c.
33746 * elf/tst-dlmodcount.c (main): Converted to ...
33747 (do_test): ... this.
33748 (TEST_FUNCTION): New macro.
33749 Include test-skeleton.c.
33750 * elf/tst-order-main.c (main): Converted to ...
33751 (do_test): ... this.
33752 (TEST_FUNCTION): New macro.
33753 Include test-skeleton.c.
33754 * elf/tst-pie2.c (main): Converted to ...
33755 (do_test): ... this.
33756 (TEST_FUNCTION): New macro.
33757 Include test-skeleton.c.
33758 * inet/tst-ether_aton.c (main): Converted to ...
33759 (do_test): ... this.
33760 (TEST_FUNCTION): New macro.
33761 Include test-skeleton.c.
33762 * misc/tst-mntent.c (main): Converted to ...
33763 (do_test): ... this.
33764 (TEST_FUNCTION): New macro.
33765 Include test-skeleton.c.
33766 * misc/tst-tsearch.c (main): Converted to ...
33767 (do_test): ... this.
33768 (TEST_FUNCTION): New macro.
33769 Include test-skeleton.c.
33770 * posix/tst-regexloc.c (main): Converted to ...
33771 (do_test): ... this.
33772 (TEST_FUNCTION): New macro.
33773 Include test-skeleton.c.
33774 * resolv/tst-aton.c (main): Converted to ...
33775 (do_test): ... this.
33776 (TEST_FUNCTION): New macro.
33777 Include test-skeleton.c.
33778 * stdio-common/test-fwrite.c (main): Converted to ...
33779 (do_test): ... this.
33780 (TEST_FUNCTION): New macro.
33781 Include test-skeleton.c.
33782 * stdio-common/tst-ferror.c (main): Converted to ...
33783 (do_test): ... this.
33784 (TEST_FUNCTION): New macro.
33785 Include test-skeleton.c.
33786 * stdio-common/tst-printf.c (main): Converted to ...
33787 (do_test): ... this.
33788 (TEST_FUNCTION): New macro.
33789 Include test-skeleton.c.
33790 * stdio-common/tst-printfsz.c (main): Converted to ...
33791 (do_test): ... this.
33792 (TEST_FUNCTION): New macro.
33793 Include test-skeleton.c.
33794 * stdlib/tst-strtod.c (main): Converted to ...
33795 (do_test): ... this.
33796 (TEST_FUNCTION): New macro.
33797 Include test-skeleton.c.
33798 * string/tst-strlen.c (main): Converted to ...
33799 (do_test): ... this.
33800 (TEST_FUNCTION): New macro.
33801 Include test-skeleton.c.
33802 * string/tst-svc.c (main): Converted to ...
33803 (do_test): ... this.
33804 (TEST_FUNCTION): New macro.
33805 Include test-skeleton.c.
33806 * time/tst-strptime.c (main): Converted to ...
33807 (do_test): ... this.
33808 (TEST_FUNCTION): New macro.
33809 Include test-skeleton.c.
33810 * timezone/tst-timezone.c (main): Converted to ...
33811 (do_test): ... this.
33812 (TEST_FUNCTION): New macro.
33813 Include test-skeleton.c.
33814
33815 2015-08-05 Zack Weinberg <zackw@panix.com>
33816
33817 * misc/regexp.h: Update comments.
33818
33819 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33820
33821 [BZ #18635]
33822 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33823 before return label.
33824
33825 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33826
33827 [BZ #18661]
33828 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33829 when calling __errno_location.
33830 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33831 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33832
33833 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33834
33835 [BZ #18661]
33836 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33837 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33838 __gettimeofday.
33839
33840 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33841
33842 [BZ #18661]
33843 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33844 (__start_context): Don't use pop to restore %rdi so that stack
33845 is aligned to 16 bytes when calling __setcontext.
33846
33847 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33848
33849 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33850 only for libc.
33851 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33852
33853 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33854
33855 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33856 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33857 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33858
33859 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33860
33861 * string/memccpy.c (memccpy):
33862 Improve performance by using memchr/memcpy/__mempcpy.
33863
33864 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33865
33866 * string/strncpy.c (strncpy):
33867 Improve performance by using __strnlen/memcpy.
33868
33869 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33870
33871 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33872 Optimize to avoid an unnecessary FPCR read.
33873
33874 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33875
33876 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33877 Optimize to reduce FPCR/FPSR accesses.
33878
33879 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33880
33881 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33882 dead->data[category] != NULL.
33883
33884 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33885
33886 [BZ #18647]
33887 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33888 and |x| close to 1, use absolute value of x when computing log.
33889 * math/auto-libm-test-in: Add more tests of pow.
33890 * math/auto-libm-test-out: Regenerated.
33891
33892 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33893
33894 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33895 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33896 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33897
33898 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33899
33900 [BZ #18525]
33901 * locales/km_KH: Remove timezone definition.
33902 * locales/lo_LA: Likewise.
33903 * locales/my_MM: Likewise.
33904 * locales/nan_TW@latin: Likewise.
33905 * locales/th_TH: Likewise.
33906 * locales/uk_UA: Likewise.
33907
33908 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33909
33910 [BZ #18265]
33911 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33912 (wcsncat): Likewise.
33913 (wcscmp): Likewise.
33914 (wcsncmp): Likewise.
33915
33916 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33917
33918 * test-skeleton.c (usage): New function.
33919 (main): Call usage when opt is '?'.
33920
33921 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33922
33923 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33924 before first use.
33925
33926 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33927
33928 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33929 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33930 in there too.
33931
33932 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33933
33934 * version.h (RELEASE): Set to "development".
33935 (VERSION): Set to "2.22.90"
33936
33937 * version.h (RELEASE): Set to "stable".
33938 (VERSION): Set to "2.22"
33939 * include/features.h (__GLIBC_MINOR__): Set to 22.
33940
33941 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33942
33943 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33944 Restructure macro to avoid "value computed is not used" warning.
33945 (atomic_compare_and_exchange_val_acq): Likewise.
33946
33947 2015-08-04 Andreas Schwab <schwab@suse.de>
33948
33949 [BZ #18635]
33950 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33951 ret.
33952 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33953
33954 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33955
33956 * po/pl.po: Updated translation.
33957 * po/uk.po: Likewise.
33958 * po/fi.po: Likewise.
33959 * po/ko.po: Likewise.
33960 * po/ru.po: Likewise.
33961 * po/vi.po: Likewise.
33962
33963 2015-07-31 Zack Weinberg <zackw@panix.com>
33964
33965 [BZ #18681]
33966 * regexp.h: Add unconditional #warning stating that this header
33967 will be removed soon. Revise banner comment to match.
33968 (compile): Consistently use ERROR instead of RETURN to report
33969 errors (partial fix for BZ #18681).
33970 * regexp.c: Don't include regexp.h. Remove some unnecessary
33971 declarations.
33972
33973 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33974
33975 * po/libc.pot: Regenerated.
33976
33977 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33978
33979 [BZ #18740]
33980 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33981 float-vlen4-arch-ext-cflags): Removed.
33982 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33983 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33984
33985 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33986
33987 [BZ #14113]
33988 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33989 aligned to __aligned__.
33990 (pthread_cond_t, pthread_rwlock_t): Likewise.
33991
33992 2015-07-30 Torvald Riegel <triegel@redhat.com>
33993
33994 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33995
33996 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33997
33998 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33999 (struct sigaction): Change sa_flags from a long to an int, and add
34000 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
34001
34002 2015-07-30 Mike Frysinger <vapier@gentoo.org>
34003
34004 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
34005 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
34006 sysdeps/generic/sysdep.h include.
34007 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
34008 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
34009 sysdeps/hppa/sysdep.h.
34010 (ENTRY, PSEUDO): Undefine before defining.
34011
34012 2015-07-30 Mike Frysinger <vapier@gentoo.org>
34013
34014 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
34015 from scratch to use INTERNAL_SYSCALL.
34016
34017 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
34018
34019 [BZ #18078]
34020 * scripts/check-localplt.awk: Support alternate relocations.
34021 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
34022 sections.
34023 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
34024 malloc entries with + REL R_386_GLOB_DAT.
34025 * sysdeps/x86_64/localplt.data: New file.
34026
34027 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
34028
34029 [BZ #18731]
34030 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
34031 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34032 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34033
34034 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34035
34036 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
34037
34038 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34039
34040 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
34041 directly in terms of __sync_fetch_and_add and delete (int) cast.
34042
34043 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34044
34045 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
34046 the -D_ASM_IA64_CURRENT_H flag.
34047
34048 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34049
34050 [BZ #18641]
34051 * pwd/pwd.h (putpwent): Delete __nonnull markings.
34052
34053 2015-07-27 Andreas Schwab <schwab@suse.de>
34054
34055 * conform/conformtest.pl (checknamespace): Filter out string
34056 literals while tokenizing.
34057
34058 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
34059
34060 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34061 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
34062 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34063
34064 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
34065
34066 * nptl/tst-join7mod.c: Add #include <string.h>.
34067
34068 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
34069
34070 * sysdeps/nios2/libm-test-ulps: Update.
34071
34072 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
34073
34074 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
34075 Fix order of arguments to the rt_sigprocmask syscall.
34076 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
34077 Likewise.
34078
34079 2015-07-24 Roland McGrath <roland@hack.frob.com>
34080
34081 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
34082
34083 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34084
34085 [BZ #18457]
34086 * nptl/Makefile (tests): New test case tst-join7.
34087 (modules-names): New test case module tst-join7mod.
34088 * nptl/tst-join7.c: New file.
34089 * nptl/tst-join7mod.c: New file.
34090 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
34091 all translation units in libc.so, libpthread.so and rtld.
34092
34093 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34094
34095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34096
34097 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
34098
34099 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
34100 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
34101 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
34102 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
34103 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
34104 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
34105 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
34106 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
34107 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
34108 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
34109 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
34110 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
34111 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
34112 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34113 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
34114 implementation.
34115
34116 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34117
34118 [BZ #17711]
34119 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34120 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
34121 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34122 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34123 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
34124 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34125
34126 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34127
34128 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
34129 instead of just saying load lock in the comments.
34130
34131 2015-07-23 Roland McGrath <roland@hack.frob.com>
34132
34133 * sysdeps/unix/Subdirs: Moved ...
34134 * sysdeps/posix/Subdirs: ... here.
34135 * login/pty.h (struct termios, struct winsize): Add forward decls.
34136 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
34137 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
34138 * sysdeps/arm/nacl/libc.abilist: Updated.
34139 * sysdeps/nacl/libutil.abilist: New file.
34140
34141 * bits/signum.h: Update comments to mention 1003.1-2013 too.
34142 (SIGWINCH): New macro.
34143
34144 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34145 * sysdeps/arm/nacl/libc.abilist: Add it.
34146
34147 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34148
34149 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34150
34151 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34152
34153 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34154 Swap __glibc_reserved0 and sa_flags order.
34155
34156 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34157
34158 [BZ #18657]
34159 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34160 are pending TLS destructor calls.
34161 * include/link.h (struct link_map): Add concurrency note for
34162 L_TLS_DTOR_COUNT.
34163 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34164 Don't touch the link map flag. Atomically increment
34165 l_tls_dtor_count.
34166 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34167 Avoid taking the load lock and don't touch the link map flag.
34168 * stdlib/tst-tls-atexit-nodelete.c: New test case.
34169 * stdlib/Makefile (tests): Use it.
34170 * stdlib/tst-tls-atexit.c (do_test): dlopen
34171 tst-tls-atexit-lib.so again before dlclose. Add conditionals
34172 to allow tst-tls-atexit-nodelete test case to use it.
34173
34174 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34175
34176 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34177 to bits/types.h.
34178 (msgqnum_t): New typedef.
34179 (msglen_t): Likewise.
34180 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
34181 and msg_qbytes type to msglen_t.
34182
34183 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34184
34185 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34186 pad0 to __glibc_reserved0.
34187 (struct stat64): Likewise.
34188
34189 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34190
34191 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34192 Change sa_flags from a long to an int and add __glibc_reserved0 before
34193 it for padding.
34194
34195 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34196
34197 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34198 anonymous by deleting "siginfo" name.
34199
34200 2015-07-21 Roland McGrath <roland@hack.frob.com>
34201
34202 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34203 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34204 rather than __nacl_irt_filename.
34205 * sysdeps/nacl/xstat.c (__xstat): Likewise.
34206
34207 * NEWS: New item for arm-nacl port.
34208 * sysdeps/arm/nacl/libc.abilist: New file.
34209 * sysdeps/nacl/ld.abilist: New file.
34210 * sysdeps/nacl/libBrokenLocale.abilist: New file.
34211 * sysdeps/nacl/libanl.abilist: New file.
34212 * sysdeps/nacl/libcrypt.abilist: New file.
34213 * sysdeps/nacl/libdl.abilist: New file.
34214 * sysdeps/nacl/libm.abilist: New file.
34215 * sysdeps/nacl/libpthread.abilist: New file.
34216 * sysdeps/nacl/libresolv.abilist: New file.
34217 * sysdeps/nacl/librt.abilist: New file.
34218
34219 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
34220
34221 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34222 __startcontext to initialize the new context.
34223 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34224 up CFI directive to forbid further backtracing.
34225
34226 2015-07-21 Marko Myllynen <myllynen@redhat.com>
34227
34228 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34229 reference.
34230 * charmaps/ANSI_X3.4-1968: Likewise.
34231 * charmaps/BS_4730: Likewise.
34232 * charmaps/BS_VIEWDATA: Likewise.
34233 * charmaps/CP1250: Likewise.
34234 * charmaps/CP1251: Likewise.
34235 * charmaps/CP1252: Likewise.
34236 * charmaps/CP1253: Likewise.
34237 * charmaps/CP1254: Likewise.
34238 * charmaps/CP1255: Likewise.
34239 * charmaps/CP1256: Likewise.
34240 * charmaps/CSN_369103: Likewise.
34241 * charmaps/EBCDIC-DK-NO: Likewise.
34242 * charmaps/GB_1988-80: Likewise.
34243 * charmaps/GREEK-CCITT: Likewise.
34244 * charmaps/GREEK7: Likewise.
34245 * charmaps/INIS-8: Likewise.
34246 * charmaps/ISIRI-3342: Likewise.
34247 * charmaps/ISO_2033-1983: Likewise.
34248 * charmaps/ISO_5427-EXT: Likewise.
34249 * locales/POSIX: Likewise.
34250 * locales/ar_SA: Likewise.
34251 * locales/be_BY: Likewise.
34252 * locales/be_BY@latin: Likewise.
34253 * locales/ca_ES: Likewise.
34254 * locales/cs_CZ: Likewise.
34255 * locales/da_DK: Likewise.
34256 * locales/de_BE: Likewise.
34257 * locales/de_CH: Likewise.
34258 * locales/de_LU: Likewise.
34259 * locales/en_AU: Likewise.
34260 * locales/en_BW: Likewise.
34261 * locales/en_CA: Likewise.
34262 * locales/en_DK: Likewise.
34263 * locales/en_GB: Likewise.
34264 * locales/en_IE: Likewise.
34265 * locales/en_NZ: Likewise.
34266 * locales/en_ZA: Likewise.
34267 * locales/en_ZW: Likewise.
34268 * locales/es_AR: Likewise.
34269 * locales/es_BO: Likewise.
34270 * locales/es_CL: Likewise.
34271 * locales/es_CO: Likewise.
34272 * locales/es_DO: Likewise.
34273 * locales/es_EC: Likewise.
34274 * locales/es_ES: Likewise.
34275 * locales/es_HN: Likewise.
34276 * locales/es_MX: Likewise.
34277 * locales/es_PA: Likewise.
34278 * locales/es_PE: Likewise.
34279 * locales/es_PY: Likewise.
34280 * locales/es_SV: Likewise.
34281 * locales/es_US: Likewise.
34282 * locales/es_UY: Likewise.
34283 * locales/es_VE: Likewise.
34284 * locales/et_EE: Likewise.
34285 * locales/fa_IR: Likewise.
34286 * locales/fo_FO: Likewise.
34287 * locales/fr_CA: Likewise.
34288 * locales/fr_CH: Likewise.
34289 * locales/gv_GB: Likewise.
34290 * locales/he_IL: Likewise.
34291 * locales/hr_HR: Likewise.
34292 * locales/id_ID: Likewise.
34293 * locales/is_IS: Likewise.
34294 * locales/it_CH: Likewise.
34295 * locales/iw_IL: Likewise.
34296 * locales/kl_GL: Likewise.
34297 * locales/ko_KR: Likewise.
34298 * locales/kw_GB: Likewise.
34299 * locales/lg_UG: Likewise.
34300 * locales/lt_LT: Likewise.
34301 * locales/lv_LV: Likewise.
34302 * locales/mi_NZ: Likewise.
34303 * locales/nhn_MX: Likewise.
34304 * locales/nl_BE: Likewise.
34305 * locales/pl_PL: Likewise.
34306 * locales/sk_SK: Likewise.
34307 * locales/sl_SI: Likewise.
34308 * locales/sv_FI: Likewise.
34309 * locales/tl_PH: Likewise.
34310 * locales/tr_TR: Likewise.
34311 * locales/vi_VN: Likewise.
34312
34313 2015-07-21 Khem Raj <raj.khem@gmail.com>
34314
34315 [BZ #17475]
34316 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34317 of tu_IN and bh_IN.
34318
34319 2015-07-21 Mike Frysinger <vapier@gentoo.org>
34320
34321 [BZ #18694]
34322 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34323 bits/wordsize.h.
34324 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34325
34326 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34327
34328 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34329 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34330 (spawn_thread): New function.
34331 (load): Rename to reg_dtor_and_close. Move dlopen to...
34332 (do_test): ... here. Use IS_LOADED to test for its
34333 availability.
34334
34335 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
34336
34337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34338
34339 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
34340
34341 [BZ #18696]
34342 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34343 si_addr_bnd.
34344 (si_lower): New.
34345 (si_upper): Likewise.
34346
34347 2015-07-16 David S. Miller <davem@davemloft.net>
34348
34349 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34350
34351 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34352
34353 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34354 buffer.
34355 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34356 fail output information.
34357
34358 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34359
34360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34361 and strstr-ppc64..
34362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34363 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34364 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34365 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34366 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34367
34368 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34369
34370 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34371 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34372 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34373 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34374
34375 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34376
34377 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34378 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34379 rtld_hidden_proto.
34380 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34381
34382 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34383
34384 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34385 the test can fail.
34386
34387 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34388
34389 [BZ #18676]
34390 * elf/tst-nodelete-opened.c: New test case.
34391 * elf/tst-nodelete-opened-lib.c: New test case module.
34392 * elf/Makefile (tests, modules-names): Use them.
34393 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34394 early.
34395
34396 2015-07-15 David S. Miller <davem@davemloft.net>
34397
34398 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34399 futex-intenal.h
34400 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34401 * sysdeps/sparc/sparc64/Makefile: Likewise.
34402 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34403 Remove space from macro define.
34404 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34405
34406 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34407
34408 [BZ #17475]
34409 * locale/iso-639.def: Update Bhili and Tulu language codes as
34410 per iso639-3.
34411
34412 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34413
34414 * elf/tst-leaks1.c (main): Converted to ...
34415 (do_test): ... this.
34416 (TEST_FUNCTION): New macro.
34417 Include test-skeleton.c.
34418 * localedata/tst-langinfo.c (main): Converted to ...
34419 (do_test): ... this.
34420 (TEST_FUNCTION): New macro.
34421 Include test-skeleton.c.
34422 * math/test-fpucw.c (main): Converted to ...
34423 (do_test): ... this.
34424 (TEST_FUNCTION): New macro.
34425 Include test-skeleton.c.
34426 * math/test-tgmath.c (main): Converted to ...
34427 (do_test): ... this.
34428 (TEST_FUNCTION): New macro.
34429 Include test-skeleton.c.
34430 * math/test-tgmath2.c (main): Converted to ...
34431 (do_test): ... this.
34432 (TEST_FUNCTION): New macro.
34433 Include test-skeleton.c.
34434 * setjmp/tst-setjmp.c (main): Converted to ...
34435 (do_test): ... this.
34436 (TEST_FUNCTION): New macro.
34437 Include test-skeleton.c.
34438 * stdio-common/tst-sscanf.c (main): Converted to ...
34439 (do_test): ... this.
34440 (TEST_FUNCTION): New macro.
34441 Include test-skeleton.c.
34442 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34443 (do_test): ... this.
34444 (TEST_FUNCTION): New macro.
34445 Include test-skeleton.c.
34446
34447 * elf/tst-audit9.c (main): Converted to ...
34448 (do_test): ... this.
34449 (TEST_FUNCTION): New macro.
34450 Include test-skeleton.c.
34451
34452 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34453
34454 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34455
34456 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34457
34458 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34459 New variable.
34460
34461 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34462
34463 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34464
34465 2015-07-14 Roland McGrath <roland@hack.frob.com>
34466
34467 * sysdeps/generic/dl-fileid.h: New file.
34468 * sysdeps/posix/dl-fileid.h: New file.
34469 * sysdeps/nacl/dl-fileid.h: New file.
34470 * include/link.h: Include <dl-fileid.h>.
34471 (struct link_map): Replace l_dev and l_ino with l_file_id.
34472 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34473 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34474 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34475
34476 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34477
34478 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34479
34480 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34481
34482 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34483 Add iff $CXX is set.
34484 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34485 Likewise.
34486 (tst-nodelete-zmodiff): Likewise.
34487 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34488
34489 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34490
34491 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34492
34493 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34494
34495 * sysdeps/aarch64/fpu/math_private.h
34496 (define math_opt_barrier): Add AArch64 version.
34497 (math_force_eval): Likewise.
34498
34499 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34500
34501 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34502
34503 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34504
34505 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34506 %ld with %jd and cast to intmax_t.
34507 (do_test_length_zero): Likewise.
34508
34509 2015-07-10 Roland McGrath <roland@hack.frob.com>
34510
34511 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34512
34513 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34514
34515 * sysdeps/tile/libm-test-ulps: Regenerated.
34516
34517 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34518 Comment out the whole function, not just its body.
34519
34520 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34521
34522 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34523 locks.
34524
34525 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34526
34527 2015-07-10 Torvald Riegel <triegel@redhat.com>
34528
34529 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34530 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34531
34532 2015-07-10 Torvald Riegel <triegel@redhat.com>
34533
34534 * sysdeps/nptl/futex-internal.h: New file.
34535 * sysdeps/nacl/futex-internal.h: New file.
34536 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34537 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34538 error checking.
34539 (setxid_unmark_thread): Likewise.
34540 (__nptl_setxid): Likewise.
34541 (__wait_lookup_done): Likewise.
34542 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34543 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34544 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34545 * nptl/pthread_once.c (clear_once_control): Likewise.
34546 (__pthread_once_slow): Likewise.
34547 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34548 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34549 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34550 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34551 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34552 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34553 Likewise.
34554 (__pthread_rwlock_rdlock): Likewise.
34555 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34556 Likewise.
34557 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34558 Likewise.
34559 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34560 Likewise.
34561 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34562 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34563 Likewise.
34564 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34565 __ASSUME_PRIVATE_FUTEX check.
34566 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34567 Check that shared futexes are supported.
34568 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34569 wrappers with error checking.
34570 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34571 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34572 * nptl/pthread_barrierattr_setpshared.c
34573 (pthread_barrierattr_setpshared): Check that shared futexes are
34574 supported.
34575 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34576 Likewise.
34577 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34578 Likewise.
34579 * nptl/sem_init.c (futex_private_if_supported): Remove.
34580 (__new_sem_init): Adapt and check that shared futexes are supported.
34581 * nptl/sem_open.c (sem_open): Likewise.
34582 * nptl/sem_post.c (futex_wake): Remove.
34583 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34584 (do_futex_wait): Use futex wrappers with error checking.
34585 * nptl/sem_wait.c: Include lowlevellock.h.
34586 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34587 Use futex_supports_pshared.
34588 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34589 Use futex wrappers with error checking.
34590 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34591 Likewise.
34592 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34593 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34594 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34595 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34596 (futex_wake): Likewise.
34597 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34598 (do_futex_wait): Use futex wrappers with error checking.
34599 (__new_sem_wait_slow): Update EINTR handling.
34600 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34601
34602 2015-07-09 Martin Sebor <msebor@redhat.com>
34603
34604 [BZ #18435]
34605 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34606 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34607 * nptl/Makefile (test-xfail-tst-once5): Define.
34608
34609 2015-07-09 Roland McGrath <roland@hack.frob.com>
34610
34611 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34612 * elf/dl-minimal.c: For readability, reorder some definitions and
34613 introduce more page breaks. Include <stdio.h>.
34614 (__libc_fatal): New function.
34615
34616 * include/unistd.h: Add rtld_hidden_proto for _exit.
34617 * posix/_exit.c: Add rtld_hidden_def.
34618 * sysdeps/mach/hurd/_exit.c: Likewise.
34619 * sysdeps/nacl/_exit.c: Likewise.
34620 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34621 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34622
34623 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34624
34625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34626 bndmov encoding with zero displacement.
34627
34628 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34629 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 [BZ #18134]
34632 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34633 * sysdeps/i386/configure: Regenerated.
34634 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34635 (_dl_runtime_profile): Save and restore Intel MPX return bound
34636 registers when calling _dl_call_pltexit. Add
34637 PRESERVE_BND_REGS_PREFIX before return.
34638 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34639 (LRV_BND1_OFFSET): Likewise.
34640 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34641 lrv_bnd1.
34642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34643 typo in bndmov encoding.
34644 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34645 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34646 branch instructions to preserve bounds.
34647
34648 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34649
34650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34651 [GLIBC_2.22]: Add fmemopen.
34652
34653 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34654
34655 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34656 returns an error, also try to use host port from __mach_host_self for
34657 the __vm_wire call.
34658 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34659
34660 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34661
34662 [BZ #18400]
34663 [BZ #18648]
34664 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34665 Fix pr_uid and pr_gid members.
34666 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34667 definition to elf_greg_t.
34668
34669 2015-07-08 Roland McGrath <roland@hack.frob.com>
34670
34671 [BZ #18383]
34672 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34673 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34674 * sysdeps/arm/configure: Regenerated.
34675 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34676 (test-xfail-tst-tlsalign-static): Variable removed.
34677
34678 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34679 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34680 rather than explicit 'ln -s'.
34681
34682 * resolv/rpc/netdb.h: New file.
34683 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34684
34685 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34686
34687 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34688 length buffers.
34689 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34690 test-skeleton.c.
34691
34692 [BZ #6544]
34693 [BZ #11216]
34694 [BZ #12836]
34695 [BZ #13151]
34696 [BZ #13152]
34697 [BZ #14292]
34698 * include/stdio.h (fmemopen): Remove hidden prototype.
34699 (__fmemopen): Add new hidden prototype.
34700 * libio/Makefile: Add oldfmemopen object.
34701 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34702 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34703 compliance.
34704 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34705 symbol compatibility.
34706 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34707 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34708 fmemopen.
34709 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34710 on append and read mode.
34711 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34712 fmemopen.
34713 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34714 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34715 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34716 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34717 Likewise.
34718 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34719 [GLIBC_2.22]: Likewise.
34720 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34721 Likewise.
34722 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34723 Likewise.
34724 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34725 [GLIBC_2.22]: Likewise.
34726 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34727 [GLIBC_2.22]: Likewise.
34728 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34729 [GLIBC_2.22]: Likewise.
34730 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34731 [GLIBC_2.22]: Likewise.
34732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34733 [GLIBC_2.22]: Likewise.
34734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34735 [GLIBC_2.22]: Likewise.
34736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34737 [GLIBC_2.22]: Likewise.
34738 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34739 Likewise.
34740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34741 Likewise.
34742 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34743 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34744 [GLIBC_2.22]: Likewise.
34745 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34746 [GLIBC_2.22]: Likewise.
34747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34748 [GLIBC_2.22]: Likewise.
34749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34750 [GLIBC_2.22]: Likewise.
34751 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34752 Likewise.
34753 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34754 Likewise.
34755 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34756 Likewise.
34757 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34758 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34759
34760 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34761
34762 [BZ #18643]
34763 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34764 IPV6_PATHMTU, and IPV6_DONTFRAG.
34765
34766 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34767
34768 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34769 and _IO_UNBUFFERED.
34770 * libio/oldfileops.c: Likewise.
34771 * libio/wfileops.c: Likewise.
34772
34773 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34774
34775 * nscd/selinux.c: Delete selinux/flask.h include.
34776
34777 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34778
34779 [BZ #18641]
34780 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34781 (putpwent): Likewise.
34782 (getpwnam): Likewise.
34783 (getpwent_r): Likewise.
34784 (getpwuid_r): Likewise.
34785 (getpwnam_r): Likewise.
34786 (fgetpwent_r): Likewise.
34787
34788 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34789
34790 [BZ #18557]
34791 * inet/rcmd.c (__validuser2_sa): Check user first to
34792 short-circuit host check.
34793
34794 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34795 Mikhail Ilin <m.ilin@samsung.com>
34796
34797 [BZ #17833]
34798 * elf/Makefile (tests): Add tst-nodelete.
34799 (modules-names): Add tst-nodelete-uniquemod.
34800 (tst-nodelete-uniquemod.so-no-z-defs): New.
34801 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34802 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34803 ($(objpfx)tst-nodelete): Likewise.
34804 ($(objpfx)tst-nodelete.out): Likewise.
34805 (LDFLAGS-tst-nodelete): Likewise.
34806 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34807 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34808 implement forced object deletion.
34809 (_dl_close): Pass false to _dl_close_worker.
34810 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34811 * elf/tst-nodelete.cc: New file.
34812 * elf/tst-nodeletelib.cc: Likewise.
34813 * elf/tst-znodeletelib.cc: Likewise.
34814 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34815
34816 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34817
34818 [BZ #18508]
34819 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34820 Depend on $(libdl).
34821 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34822 is not called infinitely times.
34823 (backtrace_helper): New function.
34824 (trace_arg): New struct.
34825 (st1): Enlarge stack size.
34826 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34827 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34828 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34829 Likewise.
34830
34831 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34832
34833 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34834
34835 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34836
34837 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34838 Include sys/types.h instead of bits/types.h.
34839 Remove inclusion of bits/wordsize.h.
34840
34841 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34842
34843 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34844 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34845 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34846 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34847 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34848 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34849
34850 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34851
34852 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34853 link-defines.sym.
34854 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34855 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34856 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34857 and LR_SIZE.
34858 * sysdeps/i386/link-defines.sym: New file.
34859
34860 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34861
34862 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34863 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34864 ($(objpfx)tst-audit3): New rule.
34865 ($(objpfx)tst-audit3.out): Likewise.
34866 * sysdeps/i386/tst-audit3.c: New file.
34867 * sysdeps/i386/tst-audit3.h: Likewise.
34868 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34869 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34870
34871 2015-07-07 Torvald Riegel <triegel@redhat.com>
34872
34873 [BZ #18633]
34874 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34875 pointer in C code.
34876 (__strcat_c): Likewise.
34877 (__strcat_g): Likewise.
34878
34879 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34880
34881 [BZ #18592]
34882 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34883
34884 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34885
34886 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34887 New function. (__ieee754_sqrtf): New function.
34888 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34889 New function.
34890 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34891 New function.
34892
34893 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34894
34895 * sysdeps/ieee754/support.c: Remove unused file.
34896
34897 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34898
34899 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34900 registers instead of d ones so the layout is kernel abi compatible.
34901 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34902 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34903 Likewise.
34904
34905 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34906
34907 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34908
34909 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34910
34911 [BZ #18619]
34912 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34913 and return argument in case of subnormal argument.
34914
34915 2015-07-01 Martin Sebor <msebor@redhat.com>
34916
34917 [BZ #18435]
34918 * nptl/Makefile: Add tst-once5.cc.
34919 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34920 Remove macro redefinitions.
34921 * nptl/tst-once5.cc: New test.
34922
34923 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34924
34925 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34926
34927 * sysdeps/arm/libm-test-ulps: Regenerated.
34928
34929 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34930 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34931
34932 2015-06-30 Torvald Riegel <triegel@redhat.com>
34933
34934 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34935 lll_lock_wait_private and lll_futex_wake probes.
34936
34937 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34938 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34939 Likewise.
34940 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34941 atomic_spin_nop.
34942 * sysdeps/x86_64/bits/atomic.h: Likewise.
34943 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34944 to atomic_spin_nop and move ...
34945 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34946 ... here and ...
34947 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34948 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34949 atomic_spin_nop instead of BUSY_WAIT_NOP.
34950 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34951 Likewise.
34952 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34953 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34954 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34955 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34956 instead of atomic_delay.
34957
34958 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34959
34960 [BZ #18613]
34961 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34962 X_ADJ not X when adjusting exponent.
34963 (__ieee754_gamma_r): Do intermediate computations in
34964 round-to-nearest then adjust overflowing and underflowing results
34965 as needed.
34966 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34967 of X_ADJ not X when adjusting exponent.
34968 (__ieee754_gammaf_r): Do intermediate computations in
34969 round-to-nearest then adjust overflowing and underflowing results
34970 as needed.
34971 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34972 log of X_ADJ not X when adjusting exponent.
34973 (__ieee754_gammal_r): Do intermediate computations in
34974 round-to-nearest then adjust overflowing and underflowing results
34975 as needed. Use 1.0L not 1.0f as numerator of division.
34976 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34977 log of X_ADJ not X when adjusting exponent.
34978 (__ieee754_gammal_r): Do intermediate computations in
34979 round-to-nearest then adjust overflowing and underflowing results
34980 as needed. Use 1.0L not 1.0f as numerator of division.
34981 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34982 of X_ADJ not X when adjusting exponent.
34983 (__ieee754_gammal_r): Do intermediate computations in
34984 round-to-nearest then adjust overflowing and underflowing results
34985 as needed. Use 1.0L not 1.0f as numerator of division.
34986 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34987 to auto-libm-test-in.
34988 (tgamma_test): Use ALL_RM_TEST.
34989 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34990 tests of tgamma with spurious-overflow.
34991 * math/auto-libm-test-out: Regenerated.
34992 * math/gen-libm-have-vector-test.sh: Do not check for START.
34993 * sysdeps/i386/fpu/libm-test-ulps: Update.
34994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34995
34996 [BZ #18612]
34997 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34998 arguments, just return 0.5 times the argument, with underflow
34999 forced as needed.
35000 * math/auto-libm-test-in: Add more tests of j1.
35001 * math/auto-libm-test-out: Regenerated.
35002
35003 [BZ #16559]
35004 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
35005 (__ieee754_j1): Force underflow exception for small results.
35006 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35007 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
35008 (__ieee754_j1f): Force underflow exception for small results.
35009 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35010 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35012 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
35013 (__ieee754_j1l): Force underflow exception for small results.
35014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35015 * math/auto-libm-test-in: Add more tests of j1 and jn.
35016 * math/auto-libm-test-out: Regenerated.
35017
35018 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
35019 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
35020 (PF_MPLS): Likewise.
35021 (AF_IB): Likewise.
35022 (AF_MPLS): Likewise.
35023 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
35024 value and macro.
35025 (MS_RMT_MASK): Include MS_LAZYTIME.
35026
35027 2015-06-26 Mel Gorman <mgorman@suse.de>
35028
35029 [BZ #18502]
35030 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
35031 already minimal.
35032
35033 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
35034
35035 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
35036 (DT_MIPS_NUM): Update.
35037 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
35038 DT_MIPS_RLD_MAP_REL.
35039
35040 2015-06-25 Joseph Myers <joseph@codesourcery.com>
35041
35042 [BZ #16559]
35043 [BZ #18602]
35044 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
35045 round-to-nearest internally then recompute results that
35046 underflowed to zero in the original rounding mode.
35047 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35048 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35051 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
35052 * sysdeps/i386/fpu/libm-test-ulps: Update.
35053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35054
35055 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
35056
35057 * NEWS: Fixed description of link with vector math library.
35058
35059 2015-06-25 Andreas Schwab <schwab@suse.de>
35060
35061 [BZ #18549]
35062 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
35063 * libio/test-fmemopen.c (do_test): Add test for it.
35064
35065 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
35066
35067 [BZ #17841]
35068 * Makeconfig (no-pie-ldflag): New.
35069 (+link): Set to $(+link-pie) if default to PIE.
35070 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
35071 * config.make.in (build-pie-default): New.
35072 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
35073 is default. AC_SUBST.
35074 * configure: Regenerated.
35075 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
35076
35077 2015-06-24 Roland McGrath <roland@hack.frob.com>
35078
35079 * nptl/descr.h (struct pthread): Change type of field setxid_futex
35080 to 'unsigned int'.
35081
35082 * resolv/gai_misc.h (struct waitlist): Change type of field
35083 counterp to 'volatile unsigned int *'.
35084 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
35085 FUTEXADDR and OLDVAL.
35086 * resolv/getaddrinfo_a.c (getaddrinfo_a):
35087 Give local variable TOTAL type 'volatile unsigned int'.
35088 (struct async_waitlist): Change type of field counter to 'unsigned int'.
35089 * resolv/gai_suspend.c (gai_suspend):
35090 Give local variable CNTR type 'unsigned int'.
35091
35092 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
35093 counterp to 'volatile unsigned int *'.
35094 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
35095 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
35096 (aio_suspend): Give local variable CNTR type 'unsigned int'.
35097 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
35098 Give local variable TOTAL type 'volatile unsigned int'.
35099 (struct async_waitlist): Change type of field counter to 'unsigned int'.
35100
35101 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35102
35103 [BZ #18383]
35104 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
35105 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
35106 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
35107 comment for i386/x86-64.
35108 (test-xfail-tst-tlsalign-extern-static): Removed.
35109
35110 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35111
35112 * math/test-double.h: New file.
35113 * math/test-float.h: Likewise.
35114 * math/test-ldouble.h: Likewise.
35115 * math/test-math-inline.h: Likewise.
35116 * math/test-math-no-inline.h: Likewise.
35117 * math/test-math-scalar.h: Likewise.
35118 * math/test-math-vector.h: Likewise.
35119 * math/test-vec-loop.h: Remove file. Contents moved into
35120 test-math-vector.h.
35121 * math/libm-test.inc (MATHCONST): Do not document macro.
35122 * math/test-double.c: Include test-double.h, test-math-no-inline.h
35123 and test-math-scalar.h.
35124 (FUNC): Remove macro.
35125 (FUNC_TEST): Likewise.
35126 (FLOAT): Likewise.
35127 (MATHCONST): Likewise.
35128 (PRINTF_EXPR): Likewise.
35129 (PRINTF_XEXPR): Likewise.
35130 (PRINTF_NEXPR): Likewise.
35131 (TEST_DOUBLE): Likewise.
35132 (TEST_MATHVEC): Likewise.
35133 (__NO_MATH_INLINES): Likewise.
35134 * math/test-float.c: Include test-float.h, test-math-no-inline.h
35135 and test-math-scalar.h.
35136 (FUNC): Remove macro.
35137 (FUNC_TEST): Likewise.
35138 (FLOAT): Likewise.
35139 (MATHCONST): Likewise.
35140 (PRINTF_EXPR): Likewise.
35141 (PRINTF_XEXPR): Likewise.
35142 (PRINTF_NEXPR): Likewise.
35143 (TEST_FLOAT): Likewise.
35144 (TEST_MATHVEC): Likewise.
35145 (__NO_MATH_INLINES): Likewise.
35146 * math/test-idouble.c: Include test-double.h, test-math-inline.h
35147 and test-math-scalar.h.
35148 (FUNC): Remove macro.
35149 (FUNC_TEST): Likewise.
35150 (FLOAT): Likewise.
35151 (MATHCONST): Likewise.
35152 (PRINTF_EXPR): Likewise.
35153 (PRINTF_XEXPR): Likewise.
35154 (PRINTF_NEXPR): Likewise.
35155 (TEST_DOUBLE): Likewise.
35156 (TEST_MATHVEC): Likewise.
35157 (TEST_INLINE): Likewise.
35158 (__NO_MATH_INLINES): Likewise.
35159 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35160 test-math-scalar.h.
35161 (FUNC): Remove macro.
35162 (FUNC_TEST): Likewise.
35163 (FLOAT): Likewise.
35164 (MATHCONST): Likewise.
35165 (PRINTF_EXPR): Likewise.
35166 (PRINTF_XEXPR): Likewise.
35167 (PRINTF_NEXPR): Likewise.
35168 (TEST_FLOAT): Likewise.
35169 (TEST_MATHVEC): Likewise.
35170 (TEST_INLINE): Likewise.
35171 (__NO_MATH_INLINES): Likewise.
35172 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35173 and test-math-scalar.h.
35174 (FUNC): Remove macro.
35175 (FUNC_TEST): Likewise.
35176 (FLOAT): Likewise.
35177 (MATHCONST): Likewise.
35178 (PRINTF_EXPR): Likewise.
35179 (PRINTF_XEXPR): Likewise.
35180 (PRINTF_NEXPR): Likewise.
35181 (TEST_LDOUBLE): Likewise.
35182 (TEST_MATHVEC): Likewise.
35183 (TEST_INLINE): Likewise.
35184 (__NO_MATH_INLINES): Likewise.
35185 * math/test-ldouble.c: Include test-ldouble.h,
35186 test-math-no-inline.h and test-math-scalar.h.
35187 (FUNC): Remove macro.
35188 (FUNC_TEST): Likewise.
35189 (FLOAT): Likewise.
35190 (MATHCONST): Likewise.
35191 (PRINTF_EXPR): Likewise.
35192 (PRINTF_XEXPR): Likewise.
35193 (PRINTF_NEXPR): Likewise.
35194 (TEST_LDOUBLE): Likewise.
35195 (TEST_MATHVEC): Likewise.
35196 (__NO_MATH_INLINES): Likewise.
35197 * math/test-double-vlen2.h: Include test-double.h,
35198 test-math-no-inline.h and test-math-vector.h.
35199 (FLOAT): Remove macro.
35200 (FUNC): Likewise.
35201 (MATHCONST): Likewise.
35202 (PRINTF_EXPR): Likewise.
35203 (PRINTF_XEXPR): Likewise.
35204 (PRINTF_NEXPR): Likewise.
35205 (TEST_DOUBLE): Likewise.
35206 (TEST_MATHVEC): Likewise.
35207 (__NO_MATH_INLINES): Likewise.
35208 (CNCT): Likewise.
35209 (CONCAT): Likewise.
35210 (WRAPPER_NAME): Likewise.
35211 (WRAPPER_DECL): Likewise.
35212 (WRAPPER_DECL_ff): Likewise.
35213 (WRAPPER_DECL_fFF): Likewise.
35214 (VECTOR_WRAPPER): Likewise.
35215 (VECTOR_WRAPPER_ff): Likewise.
35216 (VECTOR_WRAPPER_fFF): Likewise.
35217 (VEC_LEN): New macro.
35218 * math/test-double-vlen4.h: Include test-double.h,
35219 test-math-no-inline.h and test-math-vector.h.
35220 (FLOAT): Remove macro.
35221 (FUNC): Likewise.
35222 (MATHCONST): Likewise.
35223 (PRINTF_EXPR): Likewise.
35224 (PRINTF_XEXPR): Likewise.
35225 (PRINTF_NEXPR): Likewise.
35226 (TEST_DOUBLE): Likewise.
35227 (TEST_MATHVEC): Likewise.
35228 (__NO_MATH_INLINES): Likewise.
35229 (CNCT): Likewise.
35230 (CONCAT): Likewise.
35231 (WRAPPER_NAME): Likewise.
35232 (WRAPPER_DECL): Likewise.
35233 (WRAPPER_DECL_ff): Likewise.
35234 (WRAPPER_DECL_fFF): Likewise.
35235 (VECTOR_WRAPPER): Likewise.
35236 (VECTOR_WRAPPER_ff): Likewise.
35237 (VECTOR_WRAPPER_fFF): Likewise.
35238 (VEC_LEN): New macro.
35239 * math/test-double-vlen8.h: Include test-double.h,
35240 test-math-no-inline.h and test-math-vector.h.
35241 (FLOAT): Remove macro.
35242 (FUNC): Likewise.
35243 (MATHCONST): Likewise.
35244 (PRINTF_EXPR): Likewise.
35245 (PRINTF_XEXPR): Likewise.
35246 (PRINTF_NEXPR): Likewise.
35247 (TEST_DOUBLE): Likewise.
35248 (TEST_MATHVEC): Likewise.
35249 (__NO_MATH_INLINES): Likewise.
35250 (CNCT): Likewise.
35251 (CONCAT): Likewise.
35252 (WRAPPER_NAME): Likewise.
35253 (WRAPPER_DECL): Likewise.
35254 (WRAPPER_DECL_ff): Likewise.
35255 (WRAPPER_DECL_fFF): Likewise.
35256 (VECTOR_WRAPPER): Likewise.
35257 (VECTOR_WRAPPER_ff): Likewise.
35258 (VECTOR_WRAPPER_fFF): Likewise.
35259 (VEC_LEN): New macro.
35260 * math/test-float-vlen4.h: Include test-float.h,
35261 test-math-no-inline.h and test-math-vector.h.
35262 (FLOAT): Remove macro.
35263 (FUNC): Likewise.
35264 (MATHCONST): Likewise.
35265 (PRINTF_EXPR): Likewise.
35266 (PRINTF_XEXPR): Likewise.
35267 (PRINTF_NEXPR): Likewise.
35268 (TEST_FLOAT): Likewise.
35269 (TEST_MATHVEC): Likewise.
35270 (__NO_MATH_INLINES): Likewise.
35271 (CNCT): Likewise.
35272 (CONCAT): Likewise.
35273 (WRAPPER_NAME): Likewise.
35274 (WRAPPER_DECL): Likewise.
35275 (WRAPPER_DECL_ff): Likewise.
35276 (WRAPPER_DECL_fFF): Likewise.
35277 (VECTOR_WRAPPER): Likewise.
35278 (VECTOR_WRAPPER_ff): Likewise.
35279 (VECTOR_WRAPPER_fFF): Likewise.
35280 (VEC_LEN): New macro.
35281 * math/test-float-vlen8.h: Include test-float.h,
35282 test-math-no-inline.h and test-math-vector.h.
35283 (FLOAT): Remove macro.
35284 (FUNC): Likewise.
35285 (MATHCONST): Likewise.
35286 (PRINTF_EXPR): Likewise.
35287 (PRINTF_XEXPR): Likewise.
35288 (PRINTF_NEXPR): Likewise.
35289 (TEST_FLOAT): Likewise.
35290 (TEST_MATHVEC): Likewise.
35291 (__NO_MATH_INLINES): Likewise.
35292 (CNCT): Likewise.
35293 (CONCAT): Likewise.
35294 (WRAPPER_NAME): Likewise.
35295 (WRAPPER_DECL): Likewise.
35296 (WRAPPER_DECL_ff): Likewise.
35297 (WRAPPER_DECL_fFF): Likewise.
35298 (VECTOR_WRAPPER): Likewise.
35299 (VECTOR_WRAPPER_ff): Likewise.
35300 (VECTOR_WRAPPER_fFF): Likewise.
35301 (VEC_LEN): New macro.
35302 * math/test-float-vlen16.h: Include test-float.h,
35303 test-math-no-inline.h and test-math-vector.h.
35304 (FLOAT): Remove macro.
35305 (FUNC): Likewise.
35306 (MATHCONST): Likewise.
35307 (PRINTF_EXPR): Likewise.
35308 (PRINTF_XEXPR): Likewise.
35309 (PRINTF_NEXPR): Likewise.
35310 (TEST_FLOAT): Likewise.
35311 (TEST_MATHVEC): Likewise.
35312 (__NO_MATH_INLINES): Likewise.
35313 (CNCT): Likewise.
35314 (CONCAT): Likewise.
35315 (WRAPPER_NAME): Likewise.
35316 (WRAPPER_DECL): Likewise.
35317 (WRAPPER_DECL_ff): Likewise.
35318 (WRAPPER_DECL_fFF): Likewise.
35319 (VECTOR_WRAPPER): Likewise.
35320 (VECTOR_WRAPPER_ff): Likewise.
35321 (VECTOR_WRAPPER_fFF): Likewise.
35322 (VEC_LEN): New macro.
35323 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35324 test-vec-loop.h.
35325 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35326 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35327 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35328 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35329 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35330 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35331 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35332
35333 2015-06-24 Roland McGrath <roland@hack.frob.com>
35334
35335 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35336 (__getlogin_r): ... this.
35337
35338 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35339
35340 [BZ #18594]
35341 * math/s_ccosh.c (__ccosh): Compare with least normal value
35342 instead of comparing class with FP_SUBNORMAL.
35343 * math/s_ccoshf.c (__ccoshf): Likewise.
35344 * math/s_ccoshl.c (__ccoshl): Likewise.
35345 * math/s_cexp.c (__cexp): Likewise.
35346 * math/s_cexpf.c (__cexpf): Likewise.
35347 * math/s_cexpl.c (__cexpl): Likewise.
35348 * math/s_csin.c (__csin): Likewise.
35349 * math/s_csinf.c (__csinf): Likewise.
35350 * math/s_csinh.c (__csinh): Likewise.
35351 * math/s_csinhf.c (__csinhf): Likewise.
35352 * math/s_csinhl.c (__csinhl): Likewise.
35353 * math/s_csinl.c (__csinl): Likewise.
35354 * math/s_ctan.c (__ctan): Likewise.
35355 * math/s_ctanf.c (__ctanf): Likewise.
35356 * math/s_ctanh.c (__ctanh): Likewise.
35357 * math/s_ctanhf.c (__ctanhf): Likewise.
35358 * math/s_ctanhl.c (__ctanhl): Likewise.
35359 * math/s_ctanl.c (__ctanl): Likewise.
35360 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35361 csin, csinh, ctan and ctanh.
35362 * math/auto-libm-test-out: Regenerated.
35363 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35364 * sysdeps/i386/fpu/libm-test-ulps: Update.
35365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35366
35367 2015-06-24 Roland McGrath <roland@hack.frob.com>
35368
35369 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35370 return value is wrong, print the expected value too.
35371
35372 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35373
35374 [BZ #18585]
35375 * elf/readlib.c (is_gdb_python_file): New.
35376 (process_file): Don't issue errors on filenames with -gdb.py
35377 suffix.
35378
35379 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35380
35381 * math/auto-libm-test-in: Add more tests of csin and csinh.
35382 * math/auto-libm-test-out: Regenerated.
35383 * math/libm-test.inc (csin_test_data): Remove tests moved to
35384 auto-libm-test-in.
35385 (csinh_test_data): Likewise.
35386
35387 [BZ #18593]
35388 * math/s_csin.c (__csin): Negate before rather than after possibly
35389 overflowing multiplication.
35390 * math/s_csinf.c (__csinf): Likewise.
35391 * math/s_csinh.c (__csinh): Likewise.
35392 * math/s_csinhf.c (__csinhf): Likewise.
35393 * math/s_csinhl.c (__csinhl): Likewise.
35394 * math/s_csinl.c (__csinl): Likewise.
35395 * math/auto-libm-test-in: Add some tests of csin and csinh.
35396 * math/auto-libm-test-out: Regenerated.
35397 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35398 (csinh_test_data): Likewise.
35399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35400
35401 [BZ #18586]
35402 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35403 underflow exception for small results.
35404
35405 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35406
35407 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35408 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35409 variable and included header.
35410 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35411 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35412 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35413 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35414 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35415 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35416 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35417 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35418 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35419 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35420 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35421 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35422 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35423 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35424 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35425 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35426
35427 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35428
35429 [BZ #16526]
35430 [BZ #16538]
35431 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35432 (__sin): Force underflow exception for arguments with small
35433 absolute value.
35434 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35435 (__kernel_sinf): Force underflow exception for arguments with
35436 small absolute value.
35437 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35438 (__kernel_sincosl): Force underflow exception for arguments with
35439 small absolute value.
35440 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35441 (__kernel_sinl): Force underflow exception for arguments with
35442 small absolute value.
35443 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35444 (__kernel_sincosl): Force underflow exception for arguments with
35445 small absolute value.
35446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35447 (__kernel_sinl): Force underflow exception for arguments with
35448 small absolute value.
35449 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35450 (__kernel_sinl): Force underflow exception for arguments with
35451 small absolute value.
35452 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35453 (__kernel_sinf): Force underflow exception for arguments with
35454 small absolute value.
35455 * math/auto-libm-test-in: Add more tests of sin and sincos.
35456 * math/auto-libm-test-out: Regenerated.
35457
35458 [BZ #18245]
35459 [BZ #18583]
35460 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35461 (__kernel_standard_l): Use feholdexcept and fesetenv around
35462 conversion to double instead of special-casing overflow and
35463 underflow.
35464 * math/libm-test.inc (fmod_test_data): Add more tests.
35465 (remainder_test_data): Likewise.
35466 (sqrt_test_data): Likewise.
35467
35468 2015-06-23 Torvald Riegel <triegel@redhat.com>
35469
35470 [BZ #17403]
35471 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35472 atomic_read_barrier, atomic_write_barrier): Define.
35473 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35474 atomic_read_barrier, atomic_write_barrier): Define.
35475
35476 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35477
35478 * math/Makefile [$(PERL) != no]
35479 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35480 dependency on libm-test.stmp below the inclusion of Rules.
35481
35482 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35483
35484 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35485 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35486 and included header.
35487 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35488 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35489 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35490 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35491 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35493 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35495 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35496 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35497 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35498 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35499 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35500 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35501 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35502 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35503 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35504 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35505 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35506
35507 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35508
35509 [BZ #18371]
35510 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35511 intermediate but not final result might underflow.
35512 * math/s_csqrtf.c (__csqrtf): Likewise.
35513 * math/s_csqrtl.c (__csqrtl): Likewise.
35514 * math/auto-libm-test-in: Add more tests of csqrt.
35515 * math/auto-libm-test-out: Regenerated.
35516 * sysdeps/i386/fpu/libm-test-ulps: Update.
35517
35518 [BZ #18219]
35519 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35520 threshold on absolute value of exponent for which scaling is used.
35521 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35522 * math/auto-libm-test-in: Add more tests of exp2.
35523 * math/auto-libm-test-out: Regenerated.
35524
35525 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35526
35527 [BZ #17977]
35528 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35529 when initializing interface list, based on the bug analysis
35530 and the patch proposed by Eric Newton.
35531 * resolv/tst-res_hconf_reorder.c: New test.
35532 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35533 tst-res_hconf_reorder.
35534 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35535 and $(shared-thread-library).
35536 (tst-res_hconf_reorder-ENV): New variable.
35537
35538 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35539 in comment.
35540
35541 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35542
35543 [BZ #16353]
35544 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35545 (__expm1): Force underflow exception for arguments with small
35546 absolute value.
35547 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35548 (__expm1f): Force underflow exception for arguments with small
35549 absolute value.
35550 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35551 (__expm1): Force underflow exception for arguments with small
35552 absolute value.
35553 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35554 (__expm1f): Force underflow exception for arguments with small
35555 absolute value.
35556 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35557 Check for small arguments before calling __expm1.
35558 * math/auto-libm-test-in: Do not mark underflow exceptions as
35559 possibly missing for bug 16353.
35560 * math/auto-libm-test-out: Regenerated.
35561
35562 2015-06-22 Andreas Schwab <schwab@suse.de>
35563
35564 [BZ #18513]
35565 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35566 PTR queries.
35567
35568 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35569
35570 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35571
35572 * string/strcoll_l.c: Remove unused struct element idxnow.
35573
35574 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35575
35576 [BZ #18569]
35577 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35578 underflow and return argument in case of subnormal argument.
35579 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35580 Likewise.
35581 * math/auto-libm-test-in: Add more tests of expm1.
35582 * math/auto-libm-test-out: Regenerated.
35583
35584 [BZ #16361]
35585 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35586 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35587 tiny results.
35588 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35589 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35590 tiny results.
35591 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35592 mark underflow exceptions as possibly missing for bug 16361.
35593 * math/auto-libm-test-out: Regenerated.
35594
35595 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35596
35597 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35598 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35599 Remove variable.
35600 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35601 (test-xfail-XOPEN2K8/utmpx.h/conform).
35602
35603 * conform/conformtest.pl ($xerrors): New variable.
35604 (note_error): New function.
35605 (compiletest): New argument $xfail. Use not_error.
35606 (runtest): Likewise.
35607 (top level): Handle xfail- lines. Update calls to compiletest and
35608 runtest. Handle xfail- and optional- in headers listed with
35609 allow-header.
35610 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35611 (O_EXEC): Likewise.
35612 (O_SEARCH): Likewise.
35613 * conform/data/stropts.h-data (ioctl): Likewise.
35614 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35615 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35616 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35617 (msghdr.msg_controllen): Likewise.
35618 (cmsghdr.cmsg_len): Likewise.
35619 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35620 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35621 variable.
35622 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35623 (test-xfail-XPG4/stropts.h/conform): Likewise.
35624 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35625 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35626 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35627 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35628 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35629 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35630 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35631 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35632 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35633 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35634 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35635 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35636 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35637 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35638 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35639 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35640 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35641 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35642 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35643
35644 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35645
35646 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35647 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35648 definitions for proper unfolding of __MATHDECL_VEC.
35649
35650 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35651
35652 * benchtests/bench-strcoll.c:
35653 Include string.h.
35654 (main): Remove unused variable res.
35655
35656 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35657
35658 * timezone/Makefile (%/UTC %/Universal):
35659 Generate test-result files for UTC and Universal.
35660
35661 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35662
35663 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35664
35665 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35666
35667 [BZ #16350]
35668 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35669 for arguments with small absolute value.
35670 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35671 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35672 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35673 (__asinh): Force underflow exception for arguments with small
35674 absolute value.
35675 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35676 (__asinhf): Force underflow exception for arguments with small
35677 absolute value.
35678 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35679 (__asinhl): Force underflow exception for arguments with small
35680 absolute value.
35681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35682 (__asinhl): Force underflow exception for arguments with small
35683 absolute value.
35684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35685 (__asinhl): Force underflow exception for arguments with small
35686 absolute value.
35687 * math/auto-libm-test-in: Do not mark underflow exceptions as
35688 possibly missing for bug 16350.
35689 * math/auto-libm-test-out: Regenerated.
35690
35691 * include/bits/ipc.h: Remove file.
35692 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35693 variable.
35694 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35695 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35696 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35697 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35698 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35699 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35700 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35701 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35702 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35703
35704 * math/auto-libm-test-in: Remove spurious underflow allowance for
35705 tests of cexp.
35706 * math/auto-libm-test-out: Regenerated.
35707
35708 [BZ #18558]
35709 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35710 unconditional definition.
35711 (MCAST_BLOCK_SOURCE): Likewise.
35712 (MCAST_UNBLOCK_SOURCE): Likewise.
35713 (MCAST_LEAVE_GROUP): Likewise.
35714 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35715 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35716 (MCAST_MSFILTER): Likewise.
35717 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35718 Remove variable.
35719 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35720 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35721 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35722 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35723 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35724
35725 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35726
35727 * NEWS: Mention addition of x86_64 vector sincosf.
35728 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35729 * math/test-float-vlen4.h: Likewise.
35730 * math/test-float-vlen8.h: Likewise.
35731 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35732 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35733 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35734 * sysdeps/x86_64/fpu/Versions: New versions added.
35735 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35736 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35737 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35738 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35739 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35741 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35742 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35743 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35744 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35745 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35746 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35747 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35748 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35749 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35750 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35751 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35752 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35753 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35754 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35755 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35756 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35757 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35758 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35759
35760 * NEWS: Mention addition of x86_64 vector sincos.
35761 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35762 * math/math.h (__MATHDECL_VEC): New macro.
35763 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35764 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35765 declaration under condition.
35766 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35767 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35768 TEST_VEC_LOOP change.
35769 * math/test-double-vlen4.h: Likewise.
35770 * math/test-double-vlen8.h: Likewise.
35771 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35772 * math/test-float-vlen4.h: Likewise.
35773 * math/test-float-vlen8.h: Likewise.
35774 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35775 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35776 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35777 * sysdeps/x86_64/fpu/Versions: New versions added.
35778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35779 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35780 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35781 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35782 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35783 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35786 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35787 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35788 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35789 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35790 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35791 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35792 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35793 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35794 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35795 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35796 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35797 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35798 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35799 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35800 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35801 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35802
35803 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35804 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35805 redirections for powf.
35806 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35807 * sysdeps/x86_64/fpu/Versions: New versions added.
35808 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35809 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35810 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35811 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35812 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35813 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35814 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35815 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35816 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35817 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35818 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35819 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35820 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35821 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35822 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35823 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35824 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35825 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35826 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35827 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35828 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35829 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35830 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35831 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35832 * math/test-float-vlen16.h: Fixed 2 argument macro.
35833 * math/test-float-vlen4.h: Likewise.
35834 * math/test-float-vlen8.h: Likewise.
35835 * NEWS: Mention addition of x86_64 vector powf.
35836
35837 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35838
35839 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35840 and redefine.
35841 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35842 and redefine.
35843 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35846
35847 [BZ #18553]
35848 * resource/getpriority.c (getpriority): Rename to __getpriority
35849 and define as weak alias of __getpriority.
35850 * resource/setpriority.c (setpriority): Rename to __setpriority
35851 and define as weak alias of __setpriority.
35852 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35853 __getpriority and define as weak alias of __getpriority.
35854 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35855 __setpriority and define as weak alias of __setpriority.
35856 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35857 strong name.
35858 (setpriority): Use __setpriority as strong name.
35859 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35860 __getpriority and define as weak alias of __getpriority.
35861 * include/sys/resource.h (__getpriority): Declare. Use
35862 libc_hidden_proto.
35863 (__setpriority): Likewise.
35864 (getpriority): Don't use libc_hidden_proto.
35865 (setpriority): Likewise.
35866 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35867 getpriority. Call __setpriority instead of setpriority.
35868 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35869 Remove variable.
35870
35871 [BZ #18547]
35872 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35873 as weak alias of __getttynam. Use prototype function definition.
35874 Call __setttyent, __getttyent and __endttyent instead of
35875 setttyent, getttyent and endttyent.
35876 (getttyent): Rename to __getttyent and define as weak alias of
35877 __getttyent. Call __setttyent instead of setttyent. Call
35878 __fgets_unlocked instead of fgets_unlocked.
35879 (setttyent): Rename to __setttyent and define as weak alias of
35880 __setttyent.
35881 (endttyent): Rename to __endttyent and define as weak alias of
35882 __endttyent.
35883 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35884 (__setttyent): Likewise.
35885 (__endttyent): Likewise.
35886 (getttyent): Don't use libc_hidden_proto.
35887 (setttyent): Likewise.
35888 (endttyent): Likewise.
35889 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35890 __endttyent instead of setttyent, getttyent and endttyent.
35891 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35892 Remove variable.
35893
35894 [BZ #18546]
35895 * socket/recv.c (__recv): Use libc_hidden_def.
35896 * socket/socket.c (__socket): Likewise.
35897 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35898 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35899 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35900 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35901 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35902 libc_hidden_def.
35903 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35904 libc_hidden_weak.
35905 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35906 Use libc_hidden_proto.
35907 (__recv): Likewise.
35908 * socket/Versions (libc): Export __recv and __socket at version
35909 GLIBC_PRIVATE.
35910 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35911 instead of recv.
35912 (init_mq_netlink): Call __socket instead of socket.
35913 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35914 Remove variable.
35915
35916 [BZ #18545]
35917 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35918 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35919 hidden_weak.
35920 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35921 define as alias of __mq_timedsend. Use hidden_weak.
35922 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35923 __mq_timedsend as strong name.
35924 (mq_timedreceive): Use __mq_timedreceive as strong name.
35925 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35926 (__mq_timedreceive): Likewise.
35927 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35928 __mq_timedreceive instead of mq_timedreceive.
35929 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35930 instead of mq_timedsend.
35931 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35932 Remove variable.
35933
35934 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35935 hidden_def and hidden_weak instead of libc_hidden_def and
35936 libc_hidden_weak.
35937 (top level): Refer to hidden_def in comment.
35938 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35939 macro. Use it instead of libc_hidden_def.
35940 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35941 specify __GI_* name explicitly.
35942 (mq_timedreceive): Likewise.
35943 (mq_setattr): Likewise.
35944
35945 [BZ #18544]
35946 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35947 __pthread_barrier_init and define as weak alias of
35948 __pthread_barrier_init.
35949 * sysdeps/sparc/nptl/pthread_barrier_init.c
35950 (pthread_barrier_init): Likewise.
35951 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35952 __pthread_barrier_wait and define as weak alias of
35953 __pthread_barrier_wait.
35954 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35955 (pthread_barrier_wait): Likewise.
35956 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35957 (pthread_barrier_wait): Likewise.
35958 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35959 (pthread_barrier_wait): Likewise.
35960 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35961 (pthread_barrier_wait): Likewise.
35962 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35963 __pthread_barrier_wait at version GLIBC_PRIVATE.
35964 * include/pthread.h (__pthread_barrier_init): Declare.
35965 (__pthread_barrier_wait): Likewise.
35966 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35967 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35968 (helper_thread): Likewise.
35969 (init_mq_netlink): Call __pthread_barrier_init instead of
35970 pthread_barrier_init.
35971
35972 [BZ #18542]
35973 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35974 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35975 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35976 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35977 vswscanf.
35978 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35979 Remove variable.
35980
35981 [BZ #18540]
35982 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35983 strong alias of _IO_fflush. Use libc_hidden_def.
35984 * libio/iofflush_u.c (fflush_unlocked): Rename to
35985 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35986 Use libc_hidden_weak.
35987 * include/stdio.h (__fflush_unlocked): Declare. Use
35988 libc_hidden_proto.
35989 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35990 fflush_unlocked.
35991 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35992 Remove variable.
35993
35994 [BZ #18539]
35995 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35996 define as weak alias of __addseverity.
35997 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35998 Remove variable.
35999 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36000 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36001 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36002
36003 [BZ #18536]
36004 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
36005 (__tfind): Likewise.
36006 (__tdelete): Likewise.
36007 (__twalk): Likewise.
36008 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
36009 __twalk to GLIBC_PRIVATE.
36010 * include/search.h (__tsearch): Use libc_hidden_proto.
36011 (__tfind): Likewise.
36012 (__tdelete): Likewise.
36013 (__twalk): Likewise.
36014 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
36015 Call __tdelete instead of tdelete.
36016 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
36017 tfind. Call __tsearch instead of tsearch.
36018 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
36019 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
36020 Remove variable.
36021 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36022
36023 [BZ #18534]
36024 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
36025 (dprintf): Define as a weak alias of __dprintf, not a strong
36026 alias.
36027 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
36028 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
36029 dprintf.
36030 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
36031 Remove variable.
36032 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36033 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36034
36035 [BZ #18533]
36036 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
36037 not a strong alias.
36038 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
36039 Remove variable.
36040
36041 [BZ #18532]
36042 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
36043 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
36044 (in6addr_loopback): Rename to __in6addr_loopback and define as
36045 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
36046 * include/netinet/in.h (__in6addr_loopback): Declare. Use
36047 libc_hidden_proto.
36048 (__in6addr_any): Likewise.
36049 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
36050 in6addr_any.
36051 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
36052 variable.
36053 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36054
36055 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
36056
36057 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
36058 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
36059 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36060 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36061 redirections for pow.
36062 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36063 * sysdeps/x86_64/fpu/Versions: New versions added.
36064 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36065 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36066 build of SSE, AVX2 and AVX512 IFUNC versions.
36067 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
36068 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
36069 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
36070 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
36071 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
36072 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
36073 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
36074 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
36075 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
36076 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
36077 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
36078 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
36079 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
36080 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
36081 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36082 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36083 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36084 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36085 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36086 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36087 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36088 * NEWS: Mention addition of x86_64 vector pow.
36089
36090 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36091 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36092 redirections for expf.
36093 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36094 * sysdeps/x86_64/fpu/Versions: New versions added.
36095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36096 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36097 build of SSE, AVX2 and AVX512 IFUNC versions.
36098 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
36099 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
36100 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
36101 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
36102 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
36103 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
36104 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
36105 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
36106 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
36107 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
36108 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
36109 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
36110 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
36111 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36112 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36113 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36114 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36115 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36116 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36117 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36118 * NEWS: Mention addition of x86_64 vector expf.
36119
36120 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
36121 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
36122 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36123 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36124 redirections for exp.
36125 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36126 * sysdeps/x86_64/fpu/Versions: New versions added.
36127 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36128 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36129 build of SSE, AVX2 and AVX512 IFUNC versions.
36130 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
36131 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
36132 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
36133 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
36134 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
36135 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
36136 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
36137 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
36138 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36139 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36140 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36141 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36142 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36143 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36144 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36145 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36146 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36147 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36148 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36149 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36150 * NEWS: Mention addition of x86_64 vector exp.
36151
36152 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36153 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36154 redirections for logf.
36155 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36156 * sysdeps/x86_64/fpu/Versions: New versions added.
36157 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36158 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36159 build of SSE, AVX2 and AVX512 IFUNC versions.
36160 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36161 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36162 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36163 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36164 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36165 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36166 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36167 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36168 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36169 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36170 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36171 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36172 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36173 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36174 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36175 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36176 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36177 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36178 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36179 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36180 * NEWS: Mention addition of x86_64 vector logf.
36181
36182 * bits/libm-simd-decl-stubs.h: Added stubs for log.
36183 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36184 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36185 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36186 redirections for log.
36187 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36188 * sysdeps/x86_64/fpu/Versions: New versions added.
36189 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36190 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36191 build of SSE, AVX2 and AVX512 IFUNC versions.
36192 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36193 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36194 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36195 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36196 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36197 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36198 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36199 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36200 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36201 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36202 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36203 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36204 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36205 test.
36206 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36207 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36208 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36209 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36210 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36211 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36212 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36213 * NEWS: Mention addition of x86_64 vector log.
36214
36215 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
36216
36217 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36218 cfi_adjust_cfa_offset argument.
36219 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36220 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36221
36222 [BZ #18034]
36223 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36224 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36225 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36226 ordering using ldar.
36227 (_dl_tlsdesc_dynamic): Likewise.
36228 (_dl_tlsdesc_return_lazy): Likewise.
36229 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36230 relaxed atomics instead of volatile and synchronize with release store.
36231 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36232 volatile.
36233 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36234
36235 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
36236
36237 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36238 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36239 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36240 * sysdeps/x86_64/fpu/Versions: New versions added.
36241 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36242 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36243 build of SSE, AVX2 and AVX512 IFUNC versions.
36244 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36245 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36246 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36247 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36248 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36249 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36250 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36251 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36252 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36253 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36254 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36255 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36256 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36257 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36258 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36259 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36260 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36261 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36262 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36263 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36264 * NEWS: Mention addition of x86_64 vector sinf.
36265
36266 2015-06-14 Joseph Myers <joseph@codesourcery.com>
36267
36268 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36269 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36270 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36271 Remove variable.
36272 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36273 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36274
36275 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36276
36277 [BZ #18530]
36278 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36279 strong alias of _IO_fputs. Use libc_hidden_def.
36280 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36281 and define as weak alias of __fputs_unlocked. Use
36282 libc_hidden_weak.
36283 * include/stdio.h (__fputs_unlocked): Declare. Use
36284 libc_hidden_proto.
36285 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36286 fputs_unlocked.
36287
36288 [BZ #18529]
36289 * resolv/netdb.h [__USE_POSIX]: Change condition to
36290 [__USE_XOPEN2K].
36291 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36292 not expect.
36293 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36294 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36295 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36296 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36297 [XPG4 || UNIX98] (AI_ALL): Likewise.
36298 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36299 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36300 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36301 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36302 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36303 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36304 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36305 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36306 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36307 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36308 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36309 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36310 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36311 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36312 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36313 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36314 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36315 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36316 [XPG4 || UNIX98] (gai_strerror): Likewise.
36317 [XPG4 || UNIX98] (getaddrinfo): Likewise.
36318 [XPG4 || UNIX98] (getnameinfo): Likewise.
36319
36320 [BZ #18528]
36321 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36322 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36323 __USE_XOPEN2K8].
36324 (getgrent): Likewise.
36325 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36326 expect.
36327 [XPG3 || POSIX2008] (endgrent): Likewise.
36328 [XPG3] (setgrent): Likewise.
36329 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36330 variable.
36331 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36332
36333 [BZ #18527]
36334 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36335 define as weak alias of __getlogin_r. Use libc_hidden_weak.
36336 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36337 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36338 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36339 * include/unistd.h (__getlogin_r): Declare. Use
36340 libc_hidden_proto.
36341 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36342 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36343 variable.
36344 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36345 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36346 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36347
36348 2015-06-12 Martin Sebor <msebor@redhat.com>
36349
36350 [BZ #18512]
36351 * Makerules (check-install-supported): New target.
36352 (install): Add check-install-supported as a dependency.
36353 * manual/install.texi (Installing the C Library): Document
36354 that overriding prefix and exec_prefix is not supported.
36355 Mention DESTDIR.
36356 * INSTALL: Regenerate from the above.
36357
36358 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36359
36360 [BZ #18519]
36361 * posix/Versions (libc): Export __libc_pread at version
36362 GLIBC_PRIVATE.
36363 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36364 instead of pread.
36365 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36366 variable.
36367
36368 [BZ #18522]
36369 * misc/efgcvt_r.c
36370 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36371 (cvt_symbol): Use weak_alias instead of strong_alias.
36372 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36373 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36374 Remove variable.
36375 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36376 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36377
36378 [BZ #18520]
36379 * inet/herrno.c (h_errno): Rename to __h_errno.
36380 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36381 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36382 to __h_errno instead of h_errno.
36383 * nptl/herrno.c (h_errno): Rename to __h_errno.
36384 (__h_errno_location): Refer to __h_errno not h_errno.
36385 * resolv/Versions (h_errno): Rename to __h_errno.
36386 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36387 Remove variable.
36388 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36389
36390 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36391
36392 * configure.ac: More strict check for AVX512 assembler support.
36393 * configure: Regenerated.
36394
36395 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36396 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36397 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36398 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36399 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36400 * sysdeps/x86_64/fpu/Versions: New versions added.
36401 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36402 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36403 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36404 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36405 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36406 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36407 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36408 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36409 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36410 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36411 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36412 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36413 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36414 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36415 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36416 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36417 test.
36418 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36419 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36420 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36421 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36422 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36423 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36424 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36425 * NEWS: Mention addition of x86_64 vector sin.
36426
36427 2015-06-11 Florian Weimer <fweimer@redhat.com>
36428
36429 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36430 comment.
36431
36432 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36433
36434 [BZ #18479]
36435 * nptl/pt-interp.c: New file.
36436 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36437 Add pt-interp.
36438 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36439 $(common-objpfx)runtime-linker.h.
36440
36441 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36442
36443 * Makeconfig (+interp): Remove unused variable.
36444 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36445 only. Depend on $(common-objpfx)runtime-linker.h instead of
36446 $(elf-objpfx)runtime-linker.h.
36447 ($(elf-objpfx)runtime-linker.h): Rename to
36448 $(common-objpfx)runtime-linker.h and move ...
36449 * Makerules [$(build-shared) = yes]: ... here.
36450 * elf/interp.c: Include <runtime-linker.h> instead of
36451 <elf/runtime-linker.h>.
36452
36453 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36454
36455 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36456 (__gettimeofday_syscall): Remove vsyscall fallback.
36457 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36458 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36459 Add syscall fallback function.
36460 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36461 if vDSO is not present.
36462 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36463 fallback function.
36464 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36465 present.
36466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36467 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36468
36469 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36470
36471 [BZ #18497]
36472 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36473 of wcscmp.
36474 (wcscmp): Define as weak alias of WCSCMP.
36475 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36476 wcscoll.
36477 (USE_HIDDEN_DEF): Define.
36478 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36479 __wcscoll. Don't use libc_hidden_weak.
36480 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36481 wcscmp.
36482 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36483 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36484 __GI_wcscmp.
36485 (weak_alias): Undefine and redefine.
36486 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36487 __wcscmp and define as weak alias of __wcscmp.
36488 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36489 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36490 (__wcscoll): Likewise.
36491 (wcscmp): Don't use libc_hidden_proto.
36492 (wcscoll): Likewise.
36493 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36494 wcscoll.
36495 * posix/regexec.c (check_node_accept_bytes): Likewise.
36496 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36497 variable.
36498 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36499 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36500
36501 [BZ #18507]
36502 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36503 __fstatvfs and define as weak alias of __fstatvfs. Use
36504 libc_hidden_weak.
36505 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36506 and define as weak alias of __statvfs. Use libc_hidden_weak.
36507 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36508 Define as alias of __fstatvfs, not fstatvfs.
36509 (fstatvfs64): Likewise.
36510 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36511 Define as alias of __statvfs, not statvfs.
36512 (statvfs64): Likewise.
36513 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36514 Remove variable.
36515
36516 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36517
36518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36519 (HAVE_GETCPU_VSYSCALL): Define.
36520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36521 (HAVE_GETCPU_VSYSCALL): Likewise.
36522 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36523 * sysdeps/unix/sysv/linux/sched_getcpu.c
36524 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36525 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36526 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36527 prototype.
36528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36529 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36532 Define.
36533 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36534 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36536 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36537
36538 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36539
36540 * sysdeps/x86_64/fpu/Makefile: New file.
36541 * sysdeps/x86_64/fpu/Versions: New file.
36542 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36543 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36544 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36545 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36546 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36547 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36548 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36549 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36550 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36551 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36552 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36553 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36554 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36555 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36556 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36557 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36558 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36559 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36560 * sysdeps/x86_64/configure: Regenerated.
36561 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36562 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36563 * manual/install.texi (Configuring and compiling): Document
36564 --disable-mathvec.
36565 * INSTALL: Regenerated.
36566 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36567
36568 * math/Makefile: Added rules for vector tests.
36569 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36570 declaration under condition.
36571 * math/test-double-vlen2.h: New file.
36572 * math/test-double-vlen4.h: New file.
36573 * math/test-double-vlen8.h: New file.
36574 * math/test-vec-loop.h: Added initialization macro.
36575 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36576 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36577 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36578 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36579 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36580 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36581 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36582 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36583 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36584 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36585 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36586
36587 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36588 * sysdeps/x86_64/fpu/Versions: New versions added.
36589 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36590 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36591 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36592 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36593 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36594 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36595 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36596 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36597 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36598 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36599 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36600 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36601 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36602 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36603 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36604 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36605 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36606 * NEWS: Mention addition of x86_64 vector cosf.
36607
36608 * math/Makefile: Added CFLAGS for new tests.
36609 * math/test-float-vlen16.h: New file.
36610 * math/test-float-vlen4.h: New file.
36611 * math/test-float-vlen8.h: New file.
36612 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36613 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36614 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36615 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36616 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36617 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36618 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36619 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36620 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36621 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36622 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36623
36624 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36625
36626 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36627 * locale/programs/ld-ctype.c: Likewise.
36628
36629 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36630
36631 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36632 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36633 bit_ZMM16_31_state): New macro.
36634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36635 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36636
36637 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36638
36639 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36640
36641 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36642
36643 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36644
36645 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36646
36647 [BZ #18498]
36648 * libio/memstream.c (open_memstream): Rename to __open_memstream
36649 and define as weak alias of __open_memstream.
36650 * include/stdio.h (__open_memstream): Declare. Use
36651 libc_hidden_proto.
36652 (open_memstream): Don't use libc_hidden_proto.
36653 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36654 open_memstream.
36655 * posix/getopt.c (_getopt_internal_r): Likewise.
36656 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36657 variable.
36658 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36659 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36660 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36661
36662 [BZ #18496]
36663 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36664 instead of wcrtomb.
36665
36666 [BZ #18483]
36667 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36668 [__USE_XOPEN2K8]. Remove redundant #endif.
36669 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36670 Remove redundant #if.
36671 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36672 Remove variable.
36673 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36674 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36675
36676 [BZ #18495]
36677 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36678 (__iswlower): Likewise.
36679 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36680 (__iswlower): Likewise.
36681 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36682 instead of towlower.
36683 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36684 instead of iswlower. Call __towupper instead of towupper.
36685 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36686 instead of iswalnum.
36687
36688 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36689
36690 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36691 errors to stderr.
36692
36693 2015-06-05 Florian Weimer <fweimer@redhat.com>
36694
36695 [BZ #15661]
36696 [BZ #17322]
36697 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36698 Check for overflow properly. Check for O_APPEND. Ignore large
36699 file system block sizes. Add comments about problems.
36700 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36701 * manual/filesys.texi (Storage Allocation): New node.
36702
36703 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36704
36705 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36706 cancellable syscalls.
36707 (SYS_ify): Add guard to no redefine it.
36708 (INLINE_SYSCALL): Likewise.
36709 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36710 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36711 SYSCALL_CANCEL instead.
36712 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36713 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36714 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36715 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36716 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36717 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36718 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36719 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36720 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36721 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36722 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36723 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36724 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36725 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36726 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36727 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36728 Likewise.
36729 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36730 (__libc_pread64): Likewise.
36731 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36732 (__libc_preadv): Likewise.
36733 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36734 (__libc_readv64): Likewise.
36735 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36736 (__libc_pwrite): Likewise.
36737 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36738 (__libc_pwrite64): Likewise.
36739 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36740 (__libc_pwritev): Likewise.
36741 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36742 (__libc_pwritev64): Likewise.
36743 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36744 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36745 (sync_file_range): Likewise.
36746 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36747 Likewise.
36748 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36749 Likewise.
36750 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36751 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36752 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36753 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36754 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36755 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36756 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36757 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36759 Likewise.
36760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36761 (__libc_read64): Likewise.
36762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36763 Likewise.
36764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36765 Likewise.
36766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36767 Likewise.
36768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36769 Likewise.
36770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36771 (__libc_pread64): Likewise.
36772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36773 Likewise.
36774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36775 (__libc_pwrite64): Likewise.
36776 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36777 (sync_file_range): Likewise.
36778 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36779 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36780 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36781 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36782 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36783 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36784 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36785 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36786 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36787 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36788 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36789 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36790 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36791 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36792 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36793 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36794 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36795 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36796 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36797 Likewise.
36798 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36799 Likewise.
36800 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36801 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36802 Likewise.
36803 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36804 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36805 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36806 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36807 Likewise.
36808 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36809 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36810 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36811 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36812 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36813
36814 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36815
36816 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36817 Include dl-vdso.
36818 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36819 Use VDSO routines for gettimeofday, clock_gettime if
36820 available.
36821 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36822 Declare VDSO symbols.
36823 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36824 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36825 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36826 * sysdeps/unix/sysv/linux/arm/Versions: Add
36827 __vdso_clock_gettime.
36828
36829 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36830
36831 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36832 be an inline implementation regardless of library is built within.
36833 (open_not_cancel_2): Likewise.
36834 (__read_nocancel): Likewise.
36835 (__write_nocancel): Likewise.
36836 (openat_not_cancel): Likewise.
36837 (openat_not_cancel_3): Likewise.
36838 (openat64_not_cancel): Likewise.
36839 (openat64_not_cancel_3): Likewise.
36840 (__close_nocancel): Likewise.
36841 (pause_not_cancel): Likewise.
36842 (nanosleep_not_cancel): Likewise.
36843 (sigsuspend_not_cancel): Likewise.
36844
36845 2015-06-04 Torvald Riegel <triegel@redhat.com>
36846
36847 [BZ #14958]
36848 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36849 wake-up.
36850 (__pthread_rwlock_rdlock_slow): Likewise.
36851 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36852 Likewise.
36853 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36854 Likewise.
36855 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36856 * nptl/tst-rwlock16.c: New file.
36857 * nptl/Makefile (tests): Add new test.
36858
36859 2015-06-04 Torvald Riegel <triegel@redhat.com>
36860
36861 [BZ #18324]
36862 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36863 missing wake-up of readers.
36864 * nptl/tst-rwlock15.c: New file.
36865 * nptl/Makefile (tests): Add new test.
36866
36867 2015-06-03 Roland McGrath <roland@hack.frob.com>
36868
36869 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36870 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36871 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36872 and __nacl_supply_interface_rtld.
36873 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36874 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36875 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36876 Add __nacl_supply_interface_rtld.
36877 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36878
36879 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36880
36881 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36882 isfinite.
36883 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36884 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36885
36886 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36887
36888 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36889 __signbit* with standard C99 macros.
36890 * math/e_exp10l.c: Likewise.
36891 * math/e_exp2l.c: Likewise.
36892 * math/e_scalb.c: Likewise.
36893 * math/e_scalbf.c: Likewise.
36894 * math/e_scalbl.c: Likewise.
36895 * math/s_ldexp.c: Likewise.
36896 * math/s_ldexpf.c: Likewise.
36897 * math/s_ldexpl.c: Likewise.
36898 * math/w_atan2.c: Likewise.
36899 * math/w_atan2f.c: Likewise.
36900 * math/w_atan2l.c: Likewise.
36901 * math/w_cosh.c: Likewise.
36902 * math/w_coshf.c: Likewise.
36903 * math/w_coshl.c: Likewise.
36904 * math/w_exp10.c: Likewise.
36905 * math/w_exp10f.c: Likewise.
36906 * math/w_exp10l.c: Likewise.
36907 * math/w_exp2.c: Likewise.
36908 * math/w_exp2f.c: Likewise.
36909 * math/w_exp2l.c: Likewise.
36910 * math/w_fmod.c: Likewise.
36911 * math/w_fmodf.c: Likewise.
36912 * math/w_fmodl.c: Likewise.
36913 * math/w_hypot.c: Likewise.
36914 * math/w_hypotf.c: Likewise.
36915 * math/w_hypotl.c: Likewise.
36916 * math/w_jnl.c: Likewise.
36917 * math/w_lgamma.c: Likewise.
36918 * math/w_lgamma_r.c: Likewise.
36919 * math/w_lgammaf.c: Likewise.
36920 * math/w_lgammaf_r.c: Likewise.
36921 * math/w_lgammal.c: Likewise.
36922 * math/w_lgammal_r.c: Likewise.
36923 * math/w_pow.c: Likewise.
36924 * math/w_powf.c: Likewise.
36925 * math/w_powl.c: Likewise.
36926 * math/w_remainder.c: Likewise.
36927 * math/w_remainderf.c: Likewise.
36928 * math/w_remainderl.c: Likewise.
36929 * math/w_scalb.c: Likewise.
36930 * math/w_scalbf.c: Likewise.
36931 * math/w_scalbl.c: Likewise.
36932 * math/w_scalbln.c: Likewise.
36933 * math/w_scalblnf.c: Likewise.
36934 * math/w_scalblnl.c: Likewise.
36935 * math/w_sinh.c: Likewise.
36936 * math/w_sinhf.c: Likewise.
36937 * math/w_sinhl.c: Likewise.
36938 * math/w_tgamma.c: Likewise.
36939 * math/w_tgammaf.c: Likewise.
36940 * math/w_tgammal.c: Likewise.
36941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36942 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36944 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36947 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36949 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36950 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36951 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36952 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36954 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36955 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36956 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36957 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36958 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36959 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36960 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36962 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36965 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36967 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36968 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36970 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36971 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36972 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36973 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36974 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36975 * stdio-common/printf_fp.c: Likewise.
36976 * stdio-common/printf_fphex.c: Likewise.
36977 * stdio-common/printf_size.c: Likewise.
36978
36979 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36980
36981 [BZ #18470]
36982 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36983 strnlen.
36984 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36985 Remove variable.
36986 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36987 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36988 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36989 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36990 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36991 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36992 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36993 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36994 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36995 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36996
36997 [BZ #18468]
36998 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36999 weak alias of __wmemchr. Use libc_hidden_weak.
37000 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
37001 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
37002 instead of wmemchr.
37003
37004 2015-06-02 Roland McGrath <roland@hack.frob.com>
37005
37006 [BZ #18383]
37007 * elf/tst-tlsalign-extern.c: New file.
37008 * elf/tst-tlsalign-extern-static.c: New file.
37009 * elf/tst-tlsalign-vars.c: New file.
37010 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
37011 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
37012 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
37013 ($(objpfx)tst-tlsalign-extern-static): Likewise.
37014 (test-xfail-tst-tlsalign-extern-static): New variable.
37015
37016 2015-06-02 Joseph Myers <joseph@codesourcery.com>
37017
37018 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
37019 Use variable name _sc_err instead of err.
37020 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
37021 instead of ret.
37022 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
37023 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
37024 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
37025 (INLINE_SYSCALL): Likewise.
37026
37027 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
37028 * include/string.h (__strnlen): Use libc_hidden_proto.
37029 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
37030 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
37031 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
37032 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
37033 (libc_hidden_def): Undefine and redefine.
37034 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
37035 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
37036 __GI_strnlen.
37037 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
37038 libc_hidden_def.
37039 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
37040
37041 [BZ #18469]
37042 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
37043 weak alias of __towlower. Use libc_hidden_weak.
37044 (towupper): Rename to __towupper and define as weak alias of
37045 __towupper. Use libc_hidden_weak.
37046 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
37047 (__towupper): Likewise.
37048 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
37049 __towlower instead of towlower.
37050
37051 2015-06-02 Roland McGrath <roland@hack.frob.com>
37052
37053 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
37054 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
37055
37056 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
37057
37058 * sysdeps/aarch64/libm-test-ulps: Update.
37059
37060 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37061
37062 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
37063 Define.
37064 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
37066 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37067 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37068 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
37069 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
37070 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
37071
37072 2015-06-01 Martin Sebor <msebor@redhat.com>
37073
37074 [BZ #18116]
37075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37076 (__setcontext): Use extended four-operand version of mtsf whenever
37077 possible.
37078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37079 (__novec_swapcontext): Likewise.
37080
37081 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37082
37083 * benchtests/scripts/compare_bench.py: New file.
37084 * benchtests/scripts/import_bench.py (mean): New function.
37085 (split_list): Likewise.
37086 (do_for_all_timings): Likewise.
37087 (compress_timings): Likewise.
37088
37089 * benchtests/scripts/import_bench.py: New file.
37090 * benchtests/scripts/validate_benchout.py: Import import_bench
37091 instead of jsonschema.
37092 (validate_bench): Remove function.
37093 (main): Use import_bench.
37094
37095 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
37096
37097 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
37098 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
37099
37100 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37101
37102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37103
37104 2015-05-28 Roland McGrath <roland@hack.frob.com>
37105
37106 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
37107 set THREAD_SELF->tid to a magic value and futex-wake it.
37108 Pass its address to the thread_exit system call.
37109 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
37110 bit is clear.
37111 * sysdeps/nacl/lowlevellock.h: New file.
37112 * sysdeps/nacl/lll_timedwait_tid.c: New file.
37113
37114 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
37115 Add TIMEOUT to current time, don't subtract it.
37116
37117 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
37118
37119 [BZ #2981]
37120 [BZ #18422]
37121 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
37122 ($(objpfx)tst-audit2.out): Also depend on
37123 $(objpfx)tst-auditmod9b.so.
37124 * elf/tst-audit2.c: Include <dlfcn.h>.
37125 (calloc_called): New.
37126 (calloc): Allow to be called more than once.
37127 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
37128
37129 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
37130
37131 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
37132 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
37133
37134 2015-05-27 Marko Myllynen <myllynen@redhat.com>
37135
37136 * stdlib/monetary.h: Fix comment.
37137
37138 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
37139
37140 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37141 Avoid using variables in #defines that might cause shadowing.
37142 (INTERNAL_VSYSCALL_CALL): Likewise.
37143
37144 2015-05-26 Roland McGrath <roland@hack.frob.com>
37145
37146 * sysdeps/nacl/lll_timedlock_wait.c: New file.
37147
37148 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37149 * nptl/lll_timedlock_wait.c: ... to this new file.
37150 * nptl/Makefile (libpthread-routines): Add it.
37151 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37152 * nptl/lll_timedwait_tid.c: ... to this new file.
37153 * nptl/Makefile (libpthread-routines): Add it.
37154 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37155 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37156 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37157 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37158 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37159 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37160 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37161 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37162 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37163 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37164
37165 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37166
37167 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37168 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37169 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37170 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37171 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37173 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37174 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37175 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37176 * sysdeps/unix/sysv/linux/tile/sysdep.h
37177 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37178 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37179 using vDSO syscall macro.
37180
37181 2015-05-26 Andriy Rysin <arysin@gmail.com>
37182
37183 [BZ #17293]
37184 * uk_UA: Fix sorting order for Ukrainian locale
37185
37186 2015-05-26 Marko Myllynen <myllynen@redhat.com>
37187
37188 * stdlib/monetary.h: Fix comment.
37189
37190 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
37191
37192 [BZ #18234]
37193 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37194 st_mtim and st_ctim members.
37195 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37196 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37197 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37198 (struct stat64): Likewise.
37199 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37200 (struct stat64): Likewise.
37201 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37202 (struct stat64): Likewise.
37203
37204 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37205
37206 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37207 Define and include sysdep-vdso.h.
37208 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37209 Likewise.
37210 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37211 Likewise.
37212 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37213 Define with VDSO_SYMBOL and use PTR_MANGLE.
37214 (__vdso_clock_gettime): Likewise.
37215 (__vdso_clock_getres): Likewise.
37216 (_libc_vdso_platform_setup): Likewise.
37217 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37218 Likewise.
37219 (_libc_vdso_platform_setup): Likewise.
37220 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37221 Likewise.
37222 (__vdso_clock_gettime): Likewise.
37223 (__vdso_clock_getres): Likewise.
37224 (__vdso_get_tbfreq): Likewise.
37225 (__vdso_getcpu): Likewise.
37226 (__vdso_time): Likewise.
37227 (__vdso_sigtramp_rt64): Likewise.
37228 (__vdso_signtramp32): Likewise.
37229 (__vdso_sigtramp_rt32): Likewise.
37230 (_libc_vdso_platform_setup): Likewise.
37231 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37232 Likewise.
37233 (__vdso_clock_gettime): Likewise.
37234 (__vdso_clock_getres): Likewise.
37235 (_libc_vdso_platform_setup): Likewise.
37236 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37237 Likewise.
37238 (__vdso_clock_gettime): Likewise.
37239 (_libc_vdso_platform_setup): Likewise.
37240 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37241 Likewise.
37242 (__vdso_getcpu): Likewise.
37243 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37244 Use VDSO_SYMBOL macro to define.
37245 (__vdso_clock_gettime): Likewise.
37246 (__vdso_clock_getres): Likewise.
37247 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37248 Likewise.
37249 (__vdso_clock_gettime): Likewise.
37250 (__vdso_clock_getres): Likewise.
37251 (__vdso_get_tbfreq): Likewise.
37252 (__vdso_getcpu): Likewise.
37253 (__vdso_time): Likewise.
37254 (__vdso_sigtramp_rt64): Likewise.
37255 (__vdso_signtramp32): Likewise.
37256 (__vdso_sigtramp_rt32): Likewise.
37257 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37258 Likewise.
37259 (__vdso_clock_gettime): Likewise.
37260 (__vdso_clock_getres): Likewise.
37261 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37262 Likewise.
37263 (__vdso_clock_gettime): Likewise.
37264 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37265 Likewise.
37266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
37267 macro.
37268 (INTERNAL_VSYSCALL): Likewise.
37269 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37270 Remove macro.
37271 (INTERNAL_VSYSCALL): Likewise.
37272 (INTERNAL_VSYSCALL_NCS): Likewise.
37273 (INTERNAL_VSYSCALL_CALL): New macro.
37274 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37276 Likewise.
37277 (INTERNAL_VSYSCALL): Likewise.
37278 (INTERNAL_VSYSCALL_NCS): Likewise.
37279 (INTERNAL_VSYSCALL_CALL): New macro.
37280 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37282 (INLINE_VSYSCALL): Remove macro.
37283 (INTERNAL_VSYSCALL): Remove macro.
37284 (INTERNAL_VSYSCALL_NCS): Remove macro.
37285 (INTERNAL_VSYSCALL_CALL): New macro.
37286 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37287 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37288 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37289 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37290 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37292 (INLINE_VSYSCALL): Remove macro.
37293 (INTERNAL_VSYSCALL): Likewise.
37294 (INTERNAL_VSYSCALL_NCS): Likewise.
37295 (INTERNAL_VSYSCALL_CALL): New macro.
37296 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37297 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37298 PTR_DEMANGLE on vDSO pointer.
37299 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37300 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37301 macro.
37302 (INTERNAL_SYSCALL): Likewise.
37303 (INTERNAL_VSYSCALL_NCS): Remove macro.
37304 (INTERNAL_VSYSCALL_CALL): New macro.
37305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37306 Remove macro.
37307 (INTERNAL_VSYSCALL): Likewise.
37308 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37309 sysdep-vdso.h instead of libc-vdso.h.
37310 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37311 definition.
37312 (INLINE_VSYSCALL): Likewise.
37313 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37314 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37315 definition.
37316 (INLINE_VSYSCALL): Likewise.
37317 (INTERNAL_VSYSCALL): Likewise.
37318 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37319 * sysdeps/unix/sysv/linux/timespec_get.c
37320 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37321 (timespec_get): Use ANSI prototype.
37322 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37323 and definition for Linux.
37324
37325 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
37326
37327 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37328 * include/libc-symbols.h: libmvec_hidden_* macro series added.
37329
37330 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
37331
37332 [BZ #2981]
37333 [BZ #18410]
37334 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37335 for missing DT_PLTRELSZ.
37336
37337 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
37338
37339 Remove obsolete aliases that broke 'locale -a'
37340 [BZ #18412]
37341 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
37342 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37343 breaking some applications that use 'locale -a' output.
37344 Change the encoding of this file from Latin-1 to ASCII to avoid
37345 other potential problems with people grepping this file.
37346
37347 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37348
37349 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37350 -fasynchronous-unwind-tables.
37351 (CFLAGS-sendto.c): Likewise.
37352 (CFLAGS-sendmsg.c): Likewise.
37353 (CFLAGS-connect.c): Likewise.
37354 (CFLAGS-recvmsg.c): Likewise.
37355 (CFLAGS-recvfrom.c): Likewise.
37356 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37357 (SOCKETCALL): New macro: non-cancellable socketcall.
37358 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37359 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37360 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37361 * sysdeps/unix/sysv/linux/accept.c: New file.
37362 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37363 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37364 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37365 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37366 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37367 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37368 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37369 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37370 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37371 * sysdeps/unix/sysv/linux/send.c: Likewise.
37372 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37373 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37374 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37375 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37376 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37377 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37378 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37379 prototype.
37380 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37381 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37382 instead of __internal_xxx function.
37383 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37384 prototype.
37385 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37386 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37387 instead of __internal_xxx function.
37388 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37389 prototype.
37390 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37391 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37392 instead of __internal_xxx function.
37393 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37394 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37395 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37396 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37397 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37398 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37399 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37400 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37401 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37402 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37403 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37404 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37405 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37406 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37407 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37408 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37409 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37410 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37411 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37412 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37415 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37416 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37417 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37418 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37419 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37420 * sysdeps/unix/sysv/linux/send.S: Likewise.
37421 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37422 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37423 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37424 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37425 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37426 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37427 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37428 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37429 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37430 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37431 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37432 socketcall is implemented in GLIBC.
37433
37434 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37435
37436 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37437 (__fma): Ignore uninitialized warnings around packing.
37438 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37439 (__fmaf): Ignore uninitialized warnings around packing.
37440 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37441 (__fmal): Ignore uninitialized warnings around packing.
37442
37443 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37444 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37445 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37446 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37447
37448 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37449 switch statement into default case.
37450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37451
37452 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37453 a conditional in forcing "inexact".
37454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37455 Likewise.
37456
37457 2015-05-22 Roland McGrath <roland@hack.frob.com>
37458
37459 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37460 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37461 for each INTERNAL_SYSCALL use.
37462
37463 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37464
37465 [BZ #438]
37466 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37467 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37468 variable.
37469
37470 [BZ #18444]
37471 * string/basename.c (basename): Rename to __basename and define as
37472 weak alias of __basename. Use libc_hidden_weak.
37473 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37474 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37475 __basename instead of basename.
37476 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37477 Remove variable.
37478 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37479
37480 2015-05-18 Florian Weimer <fweimer@redhat.com>
37481
37482 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37483 (_IO_JUMPS_FILE_plus): New.
37484 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37485 _IO_CAST_FIELD_ACCESS.
37486 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37487 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37488 * libio/freopen.c (freopen): Likewise.
37489 * libio/freopen64.c (freopen64): Likewise.
37490 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37491 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37492 * libio/iofwide.c (_IO_fwide): Likewise.
37493 * libio/memstream.c (open_memstream): Likewise.
37494 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37495 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37496 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37497
37498 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37499
37500 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37501 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37502 NADJ.
37503 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37504 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37505 NADJ.
37506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37507 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37508 NADJ.
37509
37510 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37511 (p == 4) case.
37512
37513 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37514 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37515 Remove variable.
37516 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37517 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37518 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37519
37520 2015-05-21 Florian Weimer <fweimer@redhat.com>
37521
37522 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37523 Adjust jump table label generation macros.
37524
37525 2015-05-21 Florian Weimer <fweimer@redhat.com>
37526
37527 * stdio-common/vfprintf.c (vfprintf): Move local variables
37528 args_malloced, specs, specs_malloced, and the code after
37529 do_positional to the printf_positional function.
37530 (printf_positional): New function.
37531
37532 2015-05-21 Florian Weimer <fweimer@redhat.com>
37533
37534 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37535 function.
37536 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37537 STEP4_TABLE, process_arg): Move macro definitions
37538 out of the vfprintf function. (Cosmetic change only.)
37539
37540 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37541
37542 * benchtests/Makefile (stdio-common-bench): Define.
37543 (benchset): Add stdio-common-bench.
37544 * sprintf-inputs: New file.
37545 * sprintf-source.c: New file.
37546
37547 2015-05-21 Andreas Schwab <schwab@suse.de>
37548
37549 [BZ #13028]
37550 [BZ #17053]
37551 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37552 of struct __res_state.
37553 * resolv/res_send.c (__libc_res_nsend): Likewise.
37554 (get_nsaddr): New function.
37555 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37556 statp directly.
37557
37558 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37559
37560 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37561 -D_POSIX_C_SOURCE=199506L.
37562
37563 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37564
37565 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37566 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37567 Do not mention otherwise.
37568 [POSIX] (_XOPEN_VERSION): Do not expect.
37569 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37570 [POSIX] (_POSIX2_C_BIND): Likewise.
37571 [POSIX] (_POSIX2_VERSION): Likewise.
37572 [POSIX] (_XOPEN_XPG2): Likewise.
37573 [POSIX] (_XOPEN_XPG3): Likewise.
37574 [POSIX] (_XOPEN_XPG4): Likewise.
37575 [POSIX] (_XOPEN_UNIX): Likewise.
37576 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37577 [POSIX] (_POSIX_BARRIERS): Likewise.
37578 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37579 [POSIX] (_POSIX_CPUTIME): Likewise.
37580 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37581 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37582 [POSIX] (_POSIX_SHELL): Likewise.
37583 [POSIX] (_POSIX_SPAWN): Likewise.
37584 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37585 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37586 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37587 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37588 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37589 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37590 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37591 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37592 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37593 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37594 [POSIX] (_POSIX2_PBS): Likewise.
37595 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37596 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37597 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37598 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37599 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37600 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37601 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37602 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37603 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37604 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37605 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37606 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37607 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37608 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37609 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37610 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37611 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37612 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37613 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37614 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37615 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37616 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37617 [POSIX] (_SC_2_C_BIND): Likewise.
37618 [POSIX] (_SC_2_C_VERSION): Likewise.
37619 [POSIX] (_SC_2_PBS): Likewise.
37620 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37621 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37622 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37623 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37624 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37625 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37626 [POSIX] (_SC_BARRIERS): Likewise.
37627 [POSIX] (_SC_BASE): Likewise.
37628 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37629 [POSIX] (_SC_DEVICE_IO): Likewise.
37630 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37631 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37632 [POSIX] (_SC_FD_MGMT): Likewise.
37633 [POSIX] (_SC_FIFO): Likewise.
37634 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37635 [POSIX] (_SC_FILE_LOCKING): Likewise.
37636 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37637 [POSIX] (_SC_IOV_MAX): Likewise.
37638 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37639 [POSIX] (_SC_NETWORKING): Likewise.
37640 [POSIX] (_SC_PAGE_SIZE): Likewise.
37641 [POSIX] (_SC_PASS_MAX): Likewise.
37642 [POSIX] (_SC_PIPE): Likewise.
37643 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37644 [POSIX] (_SC_REGEXP): Likewise.
37645 [POSIX] (_SC_SHELL): Likewise.
37646 [POSIX] (_SC_SIGNALS): Likewise.
37647 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37648 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37649 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37650 [POSIX] (_SC_USER_GROUPS): Likewise.
37651 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37652 [POSIX] (_SC_STREAMS): Likewise.
37653 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37654 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37655 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37656 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37657 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37658 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37659 [POSIX] (_PC_FILESIZEBITS): Likewise.
37660 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37661 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37662 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37663 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37664 [POSIX] (uid_t): Likewise.
37665 [POSIX] (gid_t): Likewise.
37666 [POSIX] (off_t): Likewise.
37667 [POSIX] (pid_t): Likewise.
37668 [POSIX] (cuserid): Allow.
37669 (_SC_2_CHAR_TERM): Require constant.
37670 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37671 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37672 variable.
37673
37674 2015-05-20 Roland McGrath <roland@hack.frob.com>
37675
37676 * sysdeps/nacl/pthread-pids.h: New file.
37677 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37678 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37679
37680 * nptl/pthread-pids.h: New file.
37681 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37682 * nptl/nptl-init.c: Include <pthread-pids.h>.
37683 (__pthread_initialize_minimal_internal):
37684 Call __pthread_initialize_pids instead of set_tid_address syscall.
37685
37686 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37687 * sysdeps/posix/usleep.c: ... here.
37688
37689 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37690
37691 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37692 call_pselect6 object.
37693 [$(subdir) = io]: Remove call_sync_file_range object.
37694 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37695 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37696 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37697 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37698
37699 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37700
37701 * math/s_cproj.c: Add include "math_private.h".
37702 * math/s_cprojf.c: Likewise.
37703 * math/s_cprojl.c: Likewise.
37704
37705 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37706
37707 [BZ #18244]
37708 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37709 high mantissa bit when testing whether P is a NaN.
37710 * math/libm-test.inc (remainder_test_data): Add more tests.
37711 (remquo_test_data): Likewise.
37712
37713 [BZ #18049]
37714 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37715 below -32, return the argument, with underflow if subnormal.
37716 * math/auto-libm-test-in: Add more tests of atanh.
37717 * math/auto-libm-test-out: Regenerated.
37718
37719 2015-05-19 Roland McGrath <roland@hack.frob.com>
37720
37721 [BZ #18434]
37722 * nptl/tst-sem15.c: New file.
37723 * nptl/Makefile (tests): Add it.
37724 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37725 s/<</>>/ to fix typo in EOVERFLOW check.
37726 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37727
37728 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37729
37730 * manual/strings.texi (envz_remove): Fix typo in safety
37731 annotations.
37732
37733 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37734 Steve Ellcey <sellcey@imgtec.com>
37735
37736 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37737 in order to avoid strict alias warnings.
37738 (iruserok_af): Ditto for ra.
37739
37740 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37741
37742 [BZ #17581]
37743 * malloc/hooks.c
37744 (magicbyte): Convert to a function and avoid returning 0x01.
37745 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37746 (mem2chunk_check): Fix unsigned comparisons to zero.
37747 Hoist defs of sz and magic.
37748
37749 2015-05-19 Richard Henderson <rth@redhat.com>
37750
37751 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37752
37753 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37754
37755 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37756
37757 [BZ #16159]
37758 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37759 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37760 (reused_arena): Find a non-corrupt arena.
37761 (heap_trim): Pass arena to unlink.
37762 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37763 malloc_printerr.
37764 (top_check): Likewise.
37765 (free_check): Likewise.
37766 (realloc_check): Likewise.
37767 * malloc/malloc.c (malloc_printerr): Add arena argument.
37768 (unlink): Likewise.
37769 (munmap_chunk): Adjust.
37770 (ARENA_CORRUPTION_BIT): New macro.
37771 (arena_is_corrupt): Likewise.
37772 (set_arena_corrupt): Likewise.
37773 (sysmalloc): Use mmap if there are no usable arenas.
37774 (_int_malloc): Likewise.
37775 (__libc_malloc): Don't fail if arena_get returns NULL.
37776 (_mid_memalign): Likewise.
37777 (__libc_calloc): Likewise.
37778 (__libc_realloc): Adjust for additional argument to
37779 malloc_printerr.
37780 (_int_free): Likewise.
37781 (malloc_consolidate): Likewise.
37782 (_int_realloc): Likewise.
37783 (_int_memalign): Don't touch corrupt arenas.
37784 * malloc/tst-malloc-backtrace.c: New test case.
37785
37786 * Makefile (summarize-tests): Fix return value on success.
37787
37788 * manual/string.texi (Envz Functions): Add envz_remove.
37789
37790 2015-05-18 Roland McGrath <roland@hack.frob.com>
37791
37792 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37793 (invalid_name): New function, broken out of ...
37794 (__opendirat): ... here. Call it.
37795 (need_isdir_precheck): New function, broken out of ...
37796 (__opendirat): ... here. Call it.
37797 Use __fxstatat64, not __xstatat64.
37798 (opendir_oflags): New function, broken out of ...
37799 (__opendirat): ... here. Call it.
37800 (opendir_tail): New function, broken out of ...
37801 (__opendirat): ... here. Call it.
37802 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37803 opendir_tail, rather than punting to __opendirat.
37804 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37805
37806 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37807
37808 * .gitignore: Ignore generated *.pyc.
37809
37810 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37811
37812 * include/stdio.h: Define __need_wint_t.
37813 * test-skeleton.c: Avoid `for' loop initial declaration.
37814 * nptl/tst-initializers1.c: Use test-skeleton.c.
37815
37816 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37817
37818 [BZ #18418]
37819 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37820
37821 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37822
37823 [BZ #16352]
37824 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37825 (__ieee754_atanh): Force underflow exception for results with
37826 small absolute value.
37827 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37828 (__ieee754_atanhf): Force underflow exception for results with
37829 small absolute value.
37830 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37831 (__ieee754_atanh): Force underflow exception for results with
37832 small absolute value.
37833 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37834 (__ieee754_atanhf): Force underflow exception for results with
37835 small absolute value.
37836 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37837 (__ieee754_atanhl): Force underflow exception for results with
37838 small absolute value.
37839 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37840 (__ieee754_atanhl): Force underflow exception for results with
37841 small absolute value.
37842 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37843 (__ieee754_atanhl): Force underflow exception for results with
37844 small absolute value.
37845 * math/auto-libm-test-in: Do not allow missing underflow
37846 exceptions from atanh.
37847 * math/auto-libm-test-out: Regenerated.
37848
37849 [BZ #18221]
37850 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37851 2**-28 as threshold for returning x or +/- 1/x.
37852 * math/auto-libm-test-in: Add more tests of tan.
37853 * math/auto-libm-test-out: Regenerated.
37854
37855 [BZ #18220]
37856 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37857 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37858 * math/auto-libm-test-in: Add another test of lgamma.
37859 * math/auto-libm-test-out: Regenerated.
37860
37861 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37862
37863 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37864 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37865 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37866 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37867 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37868 (ADD2A): Use fabs. (SUB2A): Use fabs.
37869 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37872 (log1): Use fabs. (my_log2): Use fabs.
37873 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37874 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37876 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37877 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37878 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37879 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37880 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37881 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37882 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37883 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37884
37885 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37886
37887 [BZ #18217]
37888 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37889 as threshold for returning 1 - x.
37890 * math/auto-libm-test-in: Add more tests of erfc.
37891 * math/auto-libm-test-out: Regenerated.
37892
37893 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37894
37895 [BZ #18196]
37896 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37897 threshold for large arguments.
37898 * math/auto-libm-test-in: Add another test of atan.
37899 * math/auto-libm-test-out: Regenerated.
37900
37901 [BZ #16339]
37902 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37903 (__log1p): Force underflow exception for results with small
37904 absolute value.
37905 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37906 (__log1pf): Force underflow exception for results with small
37907 absolute value.
37908 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37909 (__log1p): Force underflow exception for results with small
37910 absolute value.
37911 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37912 (__log1pf): Force underflow exception for results with small
37913 absolute value.
37914 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37915 (__log1pl): Force underflow exception for results with small
37916 absolute value.
37917 * math/auto-libm-test-in: Do not allow missing underflow
37918 exceptions from log1p.
37919 * math/auto-libm-test-out: Regenerated.
37920
37921 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37922 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37923
37924 [BZ #16704]
37925 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37926
37927 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37928
37929 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37930 (libmvec): New variable.
37931 * configure.ac: Added option for mathvec build.
37932 * configure: Regenerated.
37933 * mathvec/Depend: New file.
37934 * mathvec/Makefile: New file.
37935 * shlib-versions: Added libmvec.
37936 * math/Makefile: Added rule for libm.so installation.
37937
37938 * bits/math-vector.h: New file.
37939 * bits/libm-simd-decl-stubs.h: New header.
37940 * math/Makefile (headers): Added new header
37941 libm-simd-decl-stubs.h.
37942 * math/math.h (__MATHCALL_VEC): New macro.
37943
37944 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37945 for conditions in testing functions.
37946 * math/Makefile: Added call of libm-have-vector-test.sh.
37947 * math/libm-test.inc (HAVE_VECTOR): New macros.
37948
37949 * math/libm-test.inc: START refactored.
37950 * math/test-double.c (TEST_MATHVEC): Add define.
37951 * math/test-float.c: Likewise.
37952 * math/test-idouble.c: Likewise.
37953 * math/test-ifloat.c: Likewise.
37954 * math/test-ildoubl.c: Likewise.
37955 * math/test-ldouble.c: Likewise.
37956 * sysdeps/generic/math-tests-arch.h
37957 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37958 architecture check.
37959
37960 * math/test-double.c (FUNC_TEST): New macro.
37961 * math/test-float.c: Likewise.
37962 * math/test-idouble.c: Likewise.
37963 * math/test-ifloat.c: Likewise.
37964 * math/test-ildoubl.c: Likewise.
37965 * math/test-ldouble.c: Likewise.
37966 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37967
37968 2015-05-13 Roland McGrath <roland@hack.frob.com>
37969
37970 * sysdeps/nacl/fdopendir.c: New file.
37971
37972 * dirent/scandir-tail.c: New file.
37973 * dirent/scandir64-tail.c: New file.
37974 * dirent/Makefile (routines): Add them.
37975 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37976 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37977 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37978 [!SCANDIR] (SCANDIR_TAIL): New macro.
37979 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37980 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37981 (SCANDIRAT): Macro removed.
37982 (SCANDIR_TAIL): New macro.
37983 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37984 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37985 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37986 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37987 (READDIR): Macro removed.
37988 (SCANDIR_TAIL): New macro.
37989 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37990 (SCANDIR_TAIL): New macro.
37991
37992 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37993 * dirent/scandir-cancel.c: ... to this new file.
37994 * dirent/Makefile (routines): Add it.
37995 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37996 * sysdeps/unix/sysv/linux/i386/scandir64.c
37997 (SKIP_SCANDIR_CANCEL): Macro removed.
37998 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37999
38000 * dirent/tst-scandir.c: New file.
38001 * dirent/tst-scandir64.c: New file.
38002 * dirent/Makefile (tests): Add them.
38003
38004 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
38005
38006 [BZ #18409]
38007 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
38008
38009 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
38010
38011 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
38012 list.
38013
38014 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
38015
38016 * benchtests/bench-strcoll.c: New benchmark.
38017 * benchtests/Makefile: Generate locales and run benchmark.
38018 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
38019 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
38020 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
38021 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
38022 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
38023 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
38024 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
38025 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
38026 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
38027 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
38028 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
38029 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
38030 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
38031 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
38032 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
38033 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
38034 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
38035 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
38036 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
38037 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
38038 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
38039 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
38040 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
38041 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
38042
38043 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
38044
38045 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
38046 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38047
38048 2015-05-12 Roland McGrath <roland@hack.frob.com>
38049
38050 * posix/uname-values.h: New file.
38051 * posix/uname.c: Include that instead of <config-name.h>.
38052 * sysdeps/nacl/uname-values.h: New file.
38053 * sysdeps/arm/nacl/uname-values.h: New file.
38054
38055 2015-05-12 Joseph Myers <joseph@codesourcery.com>
38056
38057 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
38058 splitting into fields.
38059
38060 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
38061
38062 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
38063 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
38064 * locale/localeinfo.h: Add enum collation_encoding_type.
38065 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
38066 * programs/ld-collate.c (collate_output): Add encoding type info.
38067 * string/strcoll_l.c (STRDIFF): New function.
38068 * (STRCOLL): Use STRDIFF to skip over equal prefix.
38069 * wcsmbs/wcscoll_l.c: Define STRDIFF.
38070
38071 2015-05-11 Joseph Myers <joseph@codesourcery.com>
38072
38073 [BZ #18397]
38074 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
38075 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
38076 <fpu_control.h> instead of <math/fpu_control.c>.
38077 * sysdeps/mips/mips32/fpu/Makefile: New file.
38078
38079 2015-05-11 Andreas Schwab <schwab@suse.de>
38080
38081 [BZ #18007]
38082 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
38083 nss_endgrent.
38084 (_nss_compat_endgrent): Call nss_endgrent.
38085 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
38086 nss_endpwent.
38087 (_nss_compat_endpwent): Call nss_endpwent.
38088 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
38089 needent, call nss_setspent only if non-zero.
38090 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
38091 (internal_endspent): Don't call nss_endspent.
38092 (_nss_compat_endspent): Call nss_endspent.
38093 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
38094 Remove. All uses removed.
38095 (internal_setent): Remove parameter stayopen, add parameter
38096 stream. Use it instead of global variable.
38097 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
38098 (internal_endent, internal_getent): Add parameter stream. Use it
38099 instead of global variable.
38100 (CONCAT(_nss_files_end,ENTNAME))
38101 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
38102 (_nss_files_get##name##_r): Pass local stream. Remove locking.
38103 * nss/nss_files/files-alias.c (position, last_use): Remove. All
38104 uses removed.
38105 (internal_setent, internal_endent): Add parameter stream. Use it
38106 instead of global variable.
38107 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
38108 stream.
38109 (get_next_alias): Add parameter stream.
38110 (_nss_files_getaliasent_r): Pass global stream.
38111 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
38112 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
38113 (_nss_files_gethostbyname4_r): Pass local stream to
38114 internal_setent, internal_getent and internal_endent. Remove
38115 locking.
38116
38117 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38118
38119 * tst-strfmon1.c (tests): Update expected currency symbol.
38120
38121 2015-05-08 Roland McGrath <roland@hack.frob.com>
38122
38123 * sysdeps/nacl/gethostname.c: New file.
38124
38125 2015-05-08 Joseph Myers <joseph@codesourcery.com>
38126
38127 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
38128 and sinh.
38129 * math/auto-libm-test-out: Regenerated.
38130 * sysdeps/i386/fpu/libm-test-ulps: Update.
38131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38132
38133 2015-05-08 Carlos O'Donell <carlos@redhat.com>
38134
38135 [BZ #18125]
38136 * stdlib/tst-setcontext3.c: New file.
38137 * stdlib/tst-setcontext3.sh: New file.
38138 * stdlib/Makefile (tests): Add tst-setcontext3.
38139 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38140 to verify test program created output file.
38141 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38142 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38143 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38144 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38145
38146 2015-05-06 Roland McGrath <roland@hack.frob.com>
38147
38148 [BZ #18383]
38149 * elf/tst-tlsalign.c: New file.
38150 * elf/tst-tlsalign-static.c: New file.
38151 * elf/tst-tlsalign-lib.c: New file.
38152 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38153 (tests-static): Add tst-tlsalign-static.
38154 (modules-names): Add tst-tlsalign-lib.
38155 (test-xfail-tst-tlsalign): New variable.
38156 (test-xfail-tst-tlsalign-static): New variable.
38157
38158 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38159 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38160
38161 2015-05-06 Joseph Myers <joseph@codesourcery.com>
38162
38163 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38164 csqrt, erfc, sin and sincos.
38165 * math/auto-libm-test-out: Regenerated.
38166 * sysdeps/i386/fpu/libm-test-ulps: Update.
38167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38168
38169 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
38170
38171 * sysdeps/aarch64/libm-test-ulps: Update.
38172
38173 2015-05-05 Joseph Myers <joseph@codesourcery.com>
38174
38175 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38176 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38177 * math/auto-libm-test-out: Regenerated.
38178 * sysdeps/i386/fpu/libm-test-ulps: Update.
38179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38180
38181 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
38182
38183 [BZ #18265]
38184 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38185 (wcsncpy): Likewise.
38186
38187 2015-05-05 Florian Weimer <fweimer@redhat.com>
38188
38189 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38190 Assume __ASSUME_FALLOCATE is always true.
38191 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38192 (__posix_fallocate64_l64): Likewise.
38193 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38194 (posix_fallocate): Likewise.
38195 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38196 (__posix_fallocate64_l64): Likewise.
38197 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38198 [!__ASSUME_FALLOCATE]: Add comment.
38199
38200 2015-05-05 Florian Weimer <fweimer@redhat.com>
38201
38202 * sysdeps/unix/sysv/linux/i386/Makefile
38203 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38204 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38205 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38206 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38207 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38208 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38209 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38210
38211 2015-05-02 Joseph Myers <joseph@codesourcery.com>
38212
38213 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38214 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38215 tgamma.
38216 * math/auto-libm-test-out: Regenerated.
38217 * sysdeps/i386/fpu/libm-test-ulps: Update.
38218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38219
38220 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38221
38222 * math/auto-libm-test-in: Add more tests of tgamma.
38223 * math/auto-libm-test-out: Regenerated.
38224 * sysdeps/i386/fpu/libm-test-ulps: Update.
38225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38226
38227 * math/auto-libm-test-in: Add more tests of tanh.
38228 * math/auto-libm-test-out: Regenerated.
38229 * sysdeps/i386/fpu/libm-test-ulps: Update.
38230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38231
38232 * math/auto-libm-test-in: Add more tests of tan.
38233 * math/auto-libm-test-out: Regenerated.
38234 * sysdeps/i386/fpu/libm-test-ulps: Update.
38235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38236
38237 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38238 * math/auto-libm-test-out: Regenerated.
38239 * sysdeps/i386/fpu/libm-test-ulps: Update.
38240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38241
38242 * math/auto-libm-test-in: Add another test of pow.
38243 * math/auto-libm-test-out: Regenerated.
38244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38245
38246 * math/auto-libm-test-in: Add more tests of lgamma.
38247 * math/auto-libm-test-out: Regenerated.
38248 * sysdeps/i386/fpu/libm-test-ulps: Update.
38249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38250
38251 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38252 log1p.
38253 * math/auto-libm-test-out: Regenerated.
38254 * sysdeps/i386/fpu/libm-test-ulps: Update.
38255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38256
38257 2015-05-01 Mark Wielaard <mjw@redhat.com>
38258
38259 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38260 Elf64_Chdr structs and ELFCOMPRESS constants.
38261
38262 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38263
38264 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38265 expm1.
38266 * math/auto-libm-test-out: Regenerated.
38267 * sysdeps/i386/fpu/libm-test-ulps: Update.
38268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38269
38270 * math/auto-libm-test-in: Add more tests of erf and erfc.
38271 * math/auto-libm-test-out: Regenerated.
38272 * sysdeps/i386/fpu/libm-test-ulps: Update.
38273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38274
38275 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
38276
38277 * config.h.in (HAVE_AARCH64_BE): Add.
38278
38279 2015-04-30 Joseph Myers <joseph@codesourcery.com>
38280
38281 * math/auto-libm-test-in: Add more tests of csqrt.
38282 * math/auto-libm-test-out: Regenerated.
38283 * sysdeps/i386/fpu/libm-test-ulps: Update.
38284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38285
38286 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38287 * math/auto-libm-test-out: Regenerated.
38288 * sysdeps/i386/fpu/libm-test-ulps: Update.
38289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38290
38291 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38292
38293 2015-04-29 Roland McGrath <roland@hack.frob.com>
38294
38295 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38296 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38297
38298 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38299 (euidaccess, eaccess): Define as weak aliases.
38300
38301 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38302 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
38303 but __suseconds_t is often 'long int' so some sources assume that
38304 type is being used (e.g. they use %ld to print tv_usec).
38305
38306 2015-04-29 Florian Weimer <fweimer@redhat.com>
38307
38308 [BZ #18007]
38309 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38310 (CVE-2014-8121)
38311 * nss/tst-nss-getpwent.c: New file.
38312 * nss/Makefile (tests): Add new test.
38313
38314 2015-04-28 Joseph Myers <joseph@codesourcery.com>
38315
38316 [BZ #18346]
38317 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38318 exponents less than 48 as cases where high part of mantissa needs
38319 examining to determine whether argument is integral.
38320 * math/libm-test.inc (round_test_data): Add more tests.
38321
38322 2015-04-28 Mark Wielaard <mjw@redhat.com>
38323
38324 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38325
38326 2015-04-27 David S. Miller <davem@davemloft.net>
38327
38328 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38329 __tls_get_addr.
38330 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38331
38332 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
38333
38334 [BZ #18333]
38335 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38336
38337 2015-04-27 Florian Weimer <fweimer@redhat.com>
38338
38339 [BZ #18333]
38340 * time/tzset.c (parse_tzname): Return error on memory allocation
38341 failure.
38342 * test-skeleton.c (struct temp_name_list): Change type of name
38343 member to non-const.
38344 (add_temp_file): Create a copy of the file name.
38345 (delete_temp_files): Deallocate memory.
38346 (create_temp_file): Add comment.
38347
38348 2015-04-24 Florian Weimer <fweimer@redhat.com>
38349
38350 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38351 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38352
38353 2015-04-24 Roland McGrath <roland@hack.frob.com>
38354
38355 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38356 * sysdeps/arm/configure: Regenerated.
38357
38358 2015-04-24 Florian Weimer <fweimer@redhat.com>
38359
38360 [BZ #17715]
38361 * time/tzfile.c (__tzfile_read): Check for large values of
38362 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38363 * time/tzset.c (__tzstring_len): New function, based on the old
38364 __tzstring function.
38365 (__tzstring): Call __tzstring_len.
38366 (parse_tzname): New helper function extracted from
38367 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38368 the input string.
38369 (parse_offset): New helper function extracted from
38370 __tzset_parse_tz. Replace switch with fallthrough with
38371 initialization before sscanf.
38372 (parse_rule): Likewise.
38373 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38374 new-style function definition.
38375 * timezone/Makefile (tests): Add tst-tzset.
38376 (tst-tzset.out): Dependencies on time zone files.
38377 (tst-tzset-ENV): Set TZDIR.
38378 (testdata/XT%): Copy crafted time zone files.
38379 * timezone/README: Mention crafted time zone files.
38380 * timezone/testdata/XT1, timezone/testdata/XT2,
38381 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38382 files.
38383 * timezone/tst-tzset.c: New test.
38384
38385 2015-04-24 Florian Weimer <fweimer@redhat.com>
38386
38387 * Makeconfig (+gccwarn): Remove -Winline.
38388
38389 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38390
38391 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38392
38393 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38394
38395 * NEWS: Mention sysconf() cache information support for s390.
38396 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38397
38398 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38399
38400 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38401 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38402 (__nearbyint): Likewise.
38403 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38404 (copysignl): Likewise.
38405
38406 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38407
38408 [BZ #18287]
38409 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38410 based on padding. (CVE-2015-1781)
38411
38412 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38413
38414 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38415 libc-vdso.h.
38416 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38417 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38418 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38419 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38420 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38421 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38422 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38423 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38424 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38425 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38426 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38427 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38428 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38429 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38430 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38431 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38432 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38434 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38435 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38436 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38437 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38438 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38439
38440 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38441
38442 * stdlib/setenv.c (__add_to_environ):
38443 Dump core quickly if setenv (..., NULL, ...) is called.
38444 This time, do it the right way, and pacify GCC with a pragma.
38445
38446 2015-04-17 Roland McGrath <roland@hack.frob.com>
38447
38448 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38449 IMAP->l_prev cannot be null, and #if out the code for the contrary
38450 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38451 believe that NS (&_dl_ns[NSID]) could point outside the array.
38452
38453 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38454 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38455 before using NSID as an index.
38456
38457 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38458
38459 [BZ #17825]
38460 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38461 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38462 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38463
38464 2015-04-17 Roland McGrath <roland@hack.frob.com>
38465
38466 Add preliminary port to Google Native Client on ARM.
38467 * abi-tags (.*-.*-nacl.*): New entry.
38468 * sysdeps/arm/nacl: New directory.
38469 * sysdeps/nacl: New directory.
38470
38471 2015-04-16 David S. Miller <davem@davemloft.net>
38472
38473 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38474 lowlevellock-futex.h
38475
38476 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38477
38478 * sysdeps/tile/configure.ac: New file.
38479 * sysdeps/tile/configure: Regenerated.
38480
38481 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38482
38483 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38484 conditionals for weak_alias and libc_hidden_weak.
38485 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38486 libc_hidden_weak and weak_alias.
38487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38488 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38489 and weak_alias for static one.
38490
38491 2015-04-15 David S. Miller <davem@davemloft.net>
38492
38493 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38494
38495 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38496
38497 [BZ #18206]
38498 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38499 Use signed comparision instead of substraction to avoid
38500 overflow bug.
38501 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38502 Take the sign of ret.
38503 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38504 Do not expect precise return values. Only the sign matters.
38505 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38506 * wcsmbs/test-wcsncmp.c: New File.
38507 * string/test-strncmp.c: Add wcsncmp support.
38508
38509 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38510
38511 [BZ #6792]
38512 * math/w_log1p.c: New file.
38513 * math/w_log1pf.c: Likewise.
38514 * math/w_log1pl.c: Likewise.
38515 * math/Makefile (libm-calls): Add w_log1p.
38516 * math/s_log1pl.c (log1pl): Remove weak_alias.
38517 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38518 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38519 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38520 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38521 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38522 [NO_LONG_DOUBLE] (log1pl): Likewise.
38523 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38524 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38525 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38526 (log1p): Remove long_double_symbol.
38527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38528 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38529 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38530 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38531 remove weak_alias for corresponding log1p function.
38532 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38533 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38534 * sysdeps/ia64/fpu/w_log1p.c: New file.
38535 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38536 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38537 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38538
38539 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38540
38541 [BZ #18247]
38542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38543 decimal exponent by 1.
38544 * stdlib/tst-strtod-round-data: Add more tests.
38545 * stdlib/tst-strtod-round.c (tests): Regenerated.
38546
38547 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38548
38549 * math/auto-libm-test-in: Add more tests of clog and clog10.
38550 * math/auto-libm-test-out: Regenerated.
38551 * sysdeps/i386/fpu/libm-test-ulps: Update.
38552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38553
38554 2015-04-09 Roland McGrath <roland@hack.frob.com>
38555
38556 * Makeconfig (module-cppflags): Exclude all .v.i files.
38557 (skip-module-cppflags): Variable removed.
38558
38559 * configure.ac (libc_config_ok): Initialize before reading
38560 preconfigure scripts, not after.
38561 * configure: Regenerated.
38562
38563 * test-skeleton.c (TIMEOUT): Move #define to top level.
38564 (main): Grok environment variable TEST_DIRECT. If set, print
38565 test expectation details into that file and then behave as if
38566 given --direct.
38567
38568 2015-04-09 Florian Weimer <fweimer@redhat.com>
38569
38570 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38571 warning on 32-bit.
38572
38573 2015-04-08 David S. Miller <davem@davemloft.net>
38574
38575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38576
38577 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38578
38579 * math/auto-libm-test-in: Add more tests of atanh.
38580 * math/auto-libm-test-out: Regenerated.
38581 * sysdeps/i386/fpu/libm-test-ulps: Update.
38582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38583
38584 * math/auto-libm-test-in: Add more tests of atan.
38585 * math/auto-libm-test-out: Regenerated.
38586 * sysdeps/i386/fpu/libm-test-ulps: Update.
38587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38588
38589 2015-04-08 Florian Weimer <fweimer@redhat.com>
38590
38591 * elf/pldd.c (main): Rewrite to use struct
38592 scratch_buffer instead of extend_alloca.
38593 * elf/pldd-xx.c (find_maps): Likewise.
38594 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38595 <alloca.h>.
38596 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38597 scratch_buffer instead of extend_alloca.
38598 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38599 grp/compat-initgroups.c.
38600 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38601 Rewrite to use struct scratch_buffer instead of extend_alloca.
38602 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38603 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38604
38605 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38606
38607 * math/auto-libm-test-in: Add more tests of cbrt.
38608 * math/auto-libm-test-out: Regenerated.
38609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38610
38611 * math/auto-libm-test-in: Add more tests of cabs.
38612 * math/auto-libm-test-out: Regenerated.
38613 * sysdeps/i386/fpu/libm-test-ulps: Update.
38614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38615
38616 [BZ #18210]
38617 [BZ #18211]
38618 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38619 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38620 computations.
38621 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38622 clog10.
38623 * math/auto-libm-test-out: Regenerated.
38624 * sysdeps/i386/fpu/libm-test-ulps: Update.
38625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38626
38627 [BZ #18197]
38628 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38629 (atan): Set FE_TONEAREST mode for internal computations.
38630 * math/auto-libm-test-in: Add more tests of atan.
38631 * math/auto-libm-test-out: Regenerated.
38632
38633 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38634
38635 [BZ #17930]
38636 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38637
38638 2015-04-07 Florian Weimer <fweimer@redhat.com>
38639
38640 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38641
38642 2015-04-07 Florian Weimer <fweimer@redhat.com>
38643
38644 * include/scratch_buffer.h: New file.
38645 * malloc/scratch_buffer_grow.c: Likewise.
38646 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38647 * malloc/scratch_buffer_set_array_size.c: Likewise.
38648 * malloc/tst-scratch_buffer.c: Likewise.
38649 * malloc/Makefile (routines): Add scratch_buffer_grow.
38650 (tests): Add test case.
38651 * malloc/Versions (GLIBC_PRIVATE): Export
38652 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38653 __libc_scratch_buffer_set_array_size.
38654
38655 2015-04-06 Richard Henderson <rth@redhat.com>
38656
38657 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38658 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38659
38660 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38661 unsigned int before printing.
38662
38663 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38664
38665 [BZ #17596]
38666 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38667 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38668
38669 2015-04-02 Florian Weimer <fweimer@redhat.com>
38670
38671 * include/libc-internal.h (libc_max_align_t): Define.
38672
38673 2015-04-02 Andreas Schwab <schwab@suse.de>
38674
38675 [BZ #16850]
38676 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38677
38678 2015-04-02 Mel Gorman <mgorman@suse.de>
38679
38680 [BZ #17195]
38681 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38682 as well as the main arena.
38683
38684 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38685
38686 [BZ #18185]
38687 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38688 sharing L2 cache to 2 for Silvermont/Knights Landing.
38689
38690 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38691
38692 [BZ #17711]
38693 * config.make.in (have-protected-data): New.
38694 * configure.ac: Check linker support for protected data symbol.
38695 * configure: Regenerated.
38696 * elf/Makefile (modules-names): Add tst-protected1moda and
38697 tst-protected1modb if $(have-protected-data) is yes.
38698 (tests): Add tst-protected1a and tst-protected1b if
38699 $(have-protected-data) is yes.
38700 ($(objpfx)tst-protected1a): New.
38701 ($(objpfx)tst-protected1b): Likewise.
38702 (tst-protected1modb.so-no-z-defs): Likewise.
38703 * elf/tst-protected1a.c: New file.
38704 * elf/tst-protected1b.c: Likewise.
38705 * elf/tst-protected1mod.h: Likewise.
38706 * elf/tst-protected1moda.c: Likewise.
38707 * elf/tst-protected1modb.c: Likewise.
38708
38709 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38710
38711 [BZ #17711]
38712 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38713 indicates it is called from do_lookup_x on relocation against
38714 protected data, skip the data definion in the executable from
38715 copy reloc.
38716 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38717 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38718 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38719 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38720 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38721 otherwise to 0.
38722 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38723 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38724 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38725 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38726 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38727 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38728
38729 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38730
38731 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38732 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38733
38734 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38735
38736 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38737 THREAD_SETMEM_NC.
38738 * sysdeps/x86_64/nptl/tls.h: Ditto.
38739
38740 2015-03-27 Roland McGrath <roland@hack.frob.com>
38741
38742 * dlfcn/tststatic.c (main): Converted to ...
38743 (do_test): ... this.
38744 (TEST_FUNCTION): New macro.
38745 Include test-skeleton.c.
38746
38747 2015-03-26 Alan Modra <amodra@gmail.com>
38748
38749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38750 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38751 zero for undefined weak.
38752 (elf_machine_plt_conflict): Similarly.
38753
38754 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38755
38756 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38757 atanh.
38758 * math/auto-libm-test-out: Regenerated.
38759 * sysdeps/i386/fpu/libm-test-ulps: Update.
38760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38761
38762 * math/auto-libm-test-in: Add another test of asin.
38763 * math/auto-libm-test-out: Regenerated.
38764 * sysdeps/i386/fpu/libm-test-ulps: Update.
38765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38766
38767 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38768 Remove macro.
38769 (LLL_EBX_REG): Likewise.
38770 (LLL_ENTER_KERNEL): Likewise.
38771
38772 * math/auto-libm-test-in: Add more tests of asin.
38773 * math/auto-libm-test-out: Regenerated.
38774 * sysdeps/i386/fpu/libm-test-ulps: Update.
38775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38776
38777 [BZ #18138]
38778 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38779 libc_do_syscall_args): New structure.
38780 (INTERNAL_SYSCALL_MAIN_0): New macro.
38781 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38782 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38783 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38784 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38785 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38786 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38787 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38788 Replace conditional definitions by conditional definitions of ....
38789 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38790 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38791 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38792 (libpthread-sysdep_routines): Add libc-do-syscall.
38793 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38794 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38795 to __NR_futex not 240.
38796
38797 2015-03-25 Alan Modra <amodra@gmail.com>
38798
38799 * NEWS: Advertise TLS optimization.
38800 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38801 (DT_PPC_NUM): Increment.
38802 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38803 (CHECK_STATIC_TLS): Use here.
38804 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38805 TLS descriptors.
38806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38807 * sysdeps/powerpc/dl-tls.c: New file.
38808 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38809 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38810 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38811 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38815
38816 2015-03-25 Alan Modra <amodra@gmail.com>
38817
38818 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38819 for overlapping .opd entries" to "support...".
38820 * sysdeps/powerpc/powerpc64/configure: Regenerate
38821
38822 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38823
38824 * math/auto-libm-test-in: Add more tests of acos.
38825 * math/auto-libm-test-out: Regenerated.
38826 * sysdeps/i386/fpu/libm-test-ulps: Update.
38827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38828
38829 * math/auto-libm-test-in: Add more tests of expm1.
38830 * math/auto-libm-test-out: Regenerated.
38831 * sysdeps/i386/fpu/libm-test-ulps: Update.
38832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38833
38834 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38835
38836 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38837 * math/auto-libm-test-out: Regenerated.
38838 * sysdeps/i386/fpu/libm-test-ulps: Update.
38839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38840
38841 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38843
38844 * math/auto-libm-test-in: Add more tests of log2.
38845 * math/auto-libm-test-out: Regenerated.
38846 * sysdeps/i386/fpu/libm-test-ulps: Update.
38847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38848
38849 2015-03-23 Roland McGrath <roland@hack.frob.com>
38850
38851 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38852 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38853 _IO_IS_APPENDING bit in READ_WRITE instead.
38854
38855 2015-03-23 Florian Weimer <fweimer@redhat.com>
38856
38857 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38858 (__determine_cpumask_size): Replace extend_alloca with a
38859 variable-length array. Do not treat res == 0 as an error.
38860
38861 2015-03-23 Florian Weimer <fweimer@redhat.com>
38862
38863 [BZ #18100]
38864 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38865 and integer overflow.
38866 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38867 (main): Add integer overflow tests.
38868 * manual/pattern.texi (Calling Wordexp): Document additional use
38869 for WRDE_SYNTAX.
38870
38871 2015-03-23 Alan Modra <amodra@gmail.com>
38872
38873 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38874 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38875 and false branch of conditional.
38876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38877 Likewise.
38878
38879 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38880
38881 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38882 libc-modules.h
38883 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38884 unused declaration of _hurd_intr_rpc_msg_in_trap.
38885 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38886 defined instead of whether it is non-zero.
38887 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38888 input constraint instead of both input and output constraint. Use ecx
38889 clobber instead of %ecx.
38890 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38891 mutex_unlock): Use a statement expression instead of an expression list.
38892 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38893 type to vm_size_t instead of vm_address_t.
38894 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38895 defined instead of whether it is non-zero.
38896 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38897 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38898 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38899 comparisons with mapaddr.
38900 * nscd/nscd-client.h: Include <time.h>.
38901 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38902 9th parameter to __vm_region instead of int.
38903 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38904 * scripts/check-local-headers.sh (exclude): Add device/,
38905 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38906 cthreads.h.
38907
38908 2015-03-19 Roland McGrath <roland@hack.frob.com>
38909
38910 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38911 to account for alignment padding.
38912 * sysdeps/arm/memmove.S: Likewise.
38913
38914 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38915
38916 * sysdeps/unix/sysv/linux/generic/README: New file.
38917
38918 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38919
38920 [BZ #18138]
38921 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38922 (futex_abstimed_wait)
38923 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38924 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38925 of lll_futex_timed_wait.
38926
38927 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38928
38929 [BZ #17542]
38930 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38931
38932 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38933
38934 [BZ #17090]
38935 [BZ #17620]
38936 [BZ #17621]
38937 [BZ #17628]
38938 * NEWS: Update.
38939 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38940 entries with Static TLS too. Skip entries past the end of the
38941 allocated DTV, from Alan Modra.
38942 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38943 Static TLS DTV entry set up from...
38944 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38945 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38946 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38947 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38948 for Static TLS.
38949 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38950 that the slot we find is associated with the given map before
38951 using its generation count.
38952 * nptl_db/db_info.c: Include ldsodefs.h.
38953 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38954 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38955 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38956 (link_map::l_tls_offset): New struct field.
38957 (dtv_t::counter): Likewise.
38958 (rtld_global): New struct.
38959 (_rtld_global): New rtld variable.
38960 (dl_tls_dtv_slotinfo_list): New rtld global field.
38961 (dtv_slotinfo_list): New struct.
38962 (dtv_slotinfo): Likewise.
38963 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38964 (td_lookup): Rename to...
38965 (td_mod_lookup): ... this. Use new mod parameter instead of
38966 LIBPTHREAD_SO.
38967 * nptl_db/td_thr_tlsbase.c: Include link.h.
38968 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38969 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38970 addresses even if the DTV is out of date or missing them.
38971 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38972 index zero-length arrays.
38973 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38974 (td_lookup): Make it a macro implemented in terms of...
38975 (td_mod_lookup): ... this declaration.
38976 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38977 (DB_MAIN_VARIABLE): Likewise.
38978
38979 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38980
38981 [BZ #18134]
38982 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38983
38984 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38985
38986 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38987
38988 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38989
38990 [BZ #18128]
38991 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38992 (atomic_add, atomic_increment_and_test)
38993 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38994
38995 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38996
38997 * stdlib/setenv.c (__add_to_environ):
38998 Dump core quickly if setenv (..., NULL, ...) is called.
38999
39000 2015-03-13 Roland McGrath <roland@hack.frob.com>
39001
39002 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
39003 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
39004 all the necessary asm magic in one place.
39005 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
39006 using those.
39007
39008 2015-03-13 Carlos O'Donell <carlos@redhat.com>
39009
39010 [BZ #14906]
39011 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
39012 traced file mtime. Use consistent log message.
39013 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
39014 (register_traced_file): Call install_watches. Always set mtime.
39015 (invalidate_cache): Iterate over all trace files. Call install_watches.
39016 (inotify_check_files): Don't inline. Handle watching parent
39017 directories and configuration file movement in and out.
39018 (handle_inotify_events): New function.
39019 (main_loop_poll): Call handle_inotify_events.
39020 (main_loop_epoll): Likewise.
39021 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
39022 (struct traced_file): Use array of inotify fds. Add parent directory,
39023 and basename.
39024 (struct database_dyn): Remove unused file_mtime.
39025 (init_traced_file): New inline function.
39026 (define_traced_file): New macro.
39027 * nss/nss_db/db-init.c: Use define_traced_file.
39028 (_nss_db_init): Use init_traced_file.
39029 * nss/nss_files/files-init.c: Use define_traced_file.
39030 (_nss_files_init): Use init_traced_file.
39031
39032 2015-03-12 Joseph Myers <joseph@codesourcery.com>
39033
39034 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
39035 [_LIBC]: Do not include <stdlib.h>.
39036 [!_LIBC] (abort): Remove declaration.
39037 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
39038 _FP_STATIC_ASSERT instead of conditionally calling abort.
39039 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
39040 (_FP_EXTEND_CNAN): Likewise.
39041 (FP_TRUNC): Likewise.
39042 (__FP_CLZ): Likewise.
39043 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
39044
39045 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
39046
39047 * manual/string.texi (XPG basename): Fix prototype.
39048
39049 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39050
39051 [BZ #18080]
39052 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
39053 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39054 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
39055 (__setcontext): Likewise.
39056 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
39057 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39058 Call rt_sigprocmask syscall one time to set new signal mask
39059 and retrieve the current signal mask instead of two calls.
39060 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
39061 (__swapcontext): Likewise.
39062 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
39063 * stdlib/tst-setcontext2.c: New file.
39064
39065 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39066
39067 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39068
39069 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
39070
39071 [BZ #18093]
39072 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
39073 the wrong size.
39074
39075 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
39076
39077 [BZ #18043]
39078 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
39079
39080 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39081
39082 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
39083 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
39084 Remove define.
39085 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
39086 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
39087 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
39088 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
39089 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
39090 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
39091 define.
39092 * nptl_db/td_symbol_list.c (td_lookup): Remove
39093 HAVE_ASM_GLOBAL_DOT_NAME code.
39094 * sysdeps/powerpc/powerpc64/configure.ac: Remove
39095 HAVE_ASM_GLOBAL_DOT_NAME check.
39096 * sysdeps/powerpc/powerpc64/configure: Regenerate.
39097 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
39098 (DOT_LABEL): Remove define.
39099 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
39100 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
39101 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
39102 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
39103 (__TLS_GET_ADDR): Likewise.
39104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
39105 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
39106
39107 2015-03-11 Carlos O'Donell <carlos@redhat.com>
39108
39109 [BZ #18111]
39110 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
39111 (_FPU_SETCW): Initialize cw from fpsr before storing.
39112 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
39113 (fesetexceptflag): Rewrite using fpu_control.h.
39114 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
39115
39116 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
39117
39118 [BZ #18110]
39119 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
39120 asms.
39121 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39122
39123 2015-03-11 Joseph Myers <joseph@codesourcery.com>
39124
39125 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
39126 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
39127 abort.
39128 (_FP_FMA): Likewise.
39129 (_FP_DIV): Likewise.
39130
39131 2015-03-10 Roland McGrath <roland@hack.frob.com>
39132
39133 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
39134 with 0 in that case.
39135 * Makefile (summarize-tests): New canned sequence, factored out of
39136 commands for targets tests and xtests. Display summary lines that
39137 don't start with PASS: or XFAIL: rather than ones that do start with
39138 ERROR: or FAIL:. Make the commands fail if any summary lines fail
39139 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39140 do start with ERROR: or FAIL:.
39141 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39142 (except for [$(build-shared) = yes]).
39143 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39144 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39145 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39146 * nptl/Makefile: Revert 2015-03-04 changes.
39147 [$(CXX) empty] (tests-unsupported): New variable.
39148 * debug/Makefile: Likewise.
39149
39150 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39151 gnulib file. Replace __attribute with __attribute__ throughout.
39152
39153 2015-03-10 Carlos O'Donell <carlos@redhat.com>
39154
39155 * sysdeps/hppa/fpu/libm-test-ulps: Update.
39156
39157 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39158
39159 [BZ #18104]
39160 * math/auto-libm-test-in: Add another test of pow.
39161 * math/auto-libm-test-out: Regenerated.
39162
39163 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39164
39165 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39166 $(config-cflags-nofma).
39167
39168 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39169
39170 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39171 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39172 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39173 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39174 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39175 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39176 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39177 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39178 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39179 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39180 Add comment on closing #endif.
39181
39182 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39183
39184 * posix/wordexp.c (CHAR_IN_SET): New macro.
39185 (parse_param): Use it.
39186
39187 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39188
39189 * sysdeps/powerpc/fpu/libm-test-ulps: update.
39190
39191 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39192
39193 [BZ #18043]
39194 * posix/wordexp.c (parse_param): Fix buffer overflow.
39195 * posix/wordexp-test.c (test_case): Add test case.
39196
39197 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39198
39199 [BZ #18042]
39200 * posix/wordexp.c (parse_backtick): Fix off-by-one.
39201 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39202
39203 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39204
39205 [BZ #18043]
39206 * posix/wordexp-test.c (test_case): Add test for BZ #18043
39207 (do_bz18043): Delete.
39208 (at_page_end): New.
39209 (testit): Refactor to have words at the edge of unreadable page.
39210
39211 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39212
39213 [BZ #16734]
39214 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39215 Cleanup read-only streams as well.
39216 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39217
39218 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39219
39220 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39221 <bits/libc-lockP.h>
39222
39223 2015-03-07 Joseph Myers <joseph@codesourcery.com>
39224
39225 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
39226 on [__KERNEL__].
39227 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39228 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39229 * soft-fp/op-common.h (_FP_DECL): Likewise.
39230
39231 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
39232
39233 * elf/ifuncdep2.c (global): Replace
39234 __attribute__((visibility("protected"))) with
39235 asm (".protected global").
39236 * elf/ifuncmod1.c (global): Likewise.
39237 * elf/ifuncmod5.c (global): Likewise.
39238
39239 2015-03-06 Joseph Myers <joseph@codesourcery.com>
39240
39241 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39242 <asm/sfp-machine.h> instead of <sfp-machine.h>.
39243
39244 2015-03-06 Roland McGrath <roland@hack.frob.com>
39245
39246 * manual/install.texi (Configuring and compiling):
39247 Document test-wrapper-env-only.
39248 * INSTALL: Regenerated.
39249
39250 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39251
39252 [BZ #18043]
39253 * posix/wordexp.c (parse_param): Fix buffer overflow.
39254 * posix/wordexp-test.c (do_bz18043): Add test case.
39255
39256 2015-03-06 Vincent Bernat <vincent@bernat.im>
39257
39258 * time/tst-strptime2.c (do_test): Ensure failing tests are
39259 reported correctly.
39260 * time/tst-strptime3.c (do_test): Likewise.
39261
39262 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
39263
39264 Fix aio_error thread-safety.
39265 * sysdeps/pthread/aio_error.c: New file
39266 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39267 synchronization.
39268
39269 2015-03-06 Florian Weimer <fweimer@redhat.com>
39270
39271 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39272 (group_number, vfprintf): Use it.
39273 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39274 (JUMP, REF): Use it.
39275 (WORK_BUFFER_SIZE): New enum constant.
39276 (process_arg, vfprintf): Use it.
39277
39278 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
39279
39280 * manual/errno.texi (Error Messages): Complete example function
39281 by adding missing #define.
39282 (program_invocation_name): Add statement indicating GNU
39283 extension and reference which header file declares the variable.
39284 (program_invocation_short_name): Likewise.
39285
39286 2015-03-06 Mike Frysinger <vapier@gentoo.org>
39287
39288 * manual/errno.texi (Error Messages): Delete strerror ISO C89
39289 compatibility note.
39290
39291 2015-03-05 Roland McGrath <roland@hack.frob.com>
39292
39293 * Makeconfig (test-wrapper-env-only): New variable.
39294 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39295 then use that with $(test-wrapper-env-only) rather than using
39296 $(test-wrapper-env) $(run-program-env) $($*-ENV).
39297
39298 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
39299
39300 [BZ #18082]
39301 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39302 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39303 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39304 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39305 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39306 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39307 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39308 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39309 Likewise.
39310 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39311 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39312 Likewise.
39313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39314 Likewise.
39315 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39316 Likewise.
39317 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39318 Likewise.
39319 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39320 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39321 Likewise.
39322 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39323 Likewise.
39324 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39325 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39326
39327 2015-03-04 Roland McGrath <roland@hack.frob.com>
39328
39329 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39330 (ETH_ALEN): New macro.
39331 (struct ether_addr): Use it for length of ether_addr_octet.
39332
39333 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39334 (setdb): Don't call __nss_configure_lookup for "rpc".
39335 (do_test): Don't call test_rpc.
39336 (output_rpcent, test_rpc): Functions moved ...
39337 * sunrpc/test-rpcent.c: ... to this new file.
39338 * sunrpc/Makefile (tests): Add it.
39339
39340 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39341 __xpg_sigpause.
39342 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39343 * nptl/tst-signal6.c: Likewise.
39344 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39345 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39346
39347 * configure.ac (libc_cv_cxx_link_ok): New check.
39348 Reset CXX to empty if it fails to link.
39349 * configure: Regenerated.
39350 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39351 bug-atexit3-lib only if $(CXX) is nonempty.
39352 * nptl/Makefile (tests): Likewise for tst-cancel24.
39353 (tests, tests-static): Likewise for tst-cancel24-static.
39354 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39355 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39356 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39357 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39358
39359 2015-03-04 Andreas Schwab <schwab@suse.de>
39360
39361 [BZ #17631]
39362 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39363 for non-GCC compilers.
39364 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39365 Likewise.
39366
39367 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39368
39369 [BZ #17776]
39370 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39371 integer before bitwise and assembly operations.
39372 (feclearexcept): Likewise.
39373 * math/test-fenvinline.c: New file.
39374 * math/Makefile: Add test-fenvinline test.
39375
39376 2015-03-03 Alan Modra <amodra@gmail.com>
39377
39378 [BZ #16512]
39379 * scripts/localplt.awk: Strip off symbol version.
39380 * NEWS: Mention bug fix.
39381
39382 2015-03-02 Roland McGrath <roland@hack.frob.com>
39383
39384 * sysdeps/pthread/timer_routines.c
39385 (timer_free_list, thread_free_list, thread_active_list): Make static.
39386
39387 2015-03-02 Joseph Myers <joseph@codesourcery.com>
39388
39389 [BZ #17779]
39390 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39391 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39392 Undefine.
39393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39394 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39395 Likewise.
39396 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39397 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39398 Likewise.
39399
39400 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39401
39402 [BZ #18036]
39403 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39404 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39405
39406 2015-03-02 Andreas Schwab <schwab@suse.de>
39407
39408 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39409 variable name.
39410
39411 2015-03-02 Florian Weimer <fweimer@redhat.com>
39412
39413 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39414 Return error status.
39415
39416 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39417
39418 [BZ #15969]
39419 * locale/findlocale.c (_nl_find_locale): Introduce const
39420 version of loc_name and drop unsafe type casts.
39421
39422 2015-02-27 Roland McGrath <roland@hack.frob.com>
39423
39424 * dlfcn/tststatic2.c (main): Converted to ...
39425 (do_test): ... this.
39426 (TEST_FUNCTION): New macro.
39427 Include test-skeleton.c.
39428
39429 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39430
39431 [BZ #17711]
39432 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39433 (tests-pie): Add vismain.
39434 (CFLAGS-vismain.c): New.
39435 * elf/vismain.c: Add comments for PIE requirement.
39436
39437 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39438
39439 [BZ #18046]
39440 [BZ #18047]
39441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39442 0x1p-56L as threshold for just returning the argument.
39443 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39444 0x1p-32L as threshold for just returning the argument.
39445 * math/auto-libm-test-in: Add more tests of atanh.
39446 * math/auto-libm-test-out: Regenerated.
39447 * sysdeps/i386/fpu/libm-test-ulps: Update.
39448 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39449
39450 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39451
39452 * string/bcopy.c (bcopy): Call memmove for performance.
39453
39454 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39455
39456 * string/bzero.c (__bzero): Call memset for performance.
39457
39458 2015-02-27 John David Anglin <dave.anglin@bell.net>
39459
39460 [BZ #18068]
39461 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39462 to 00100000.
39463
39464 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39465
39466 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39467
39468 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39469
39470 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39471 (__kernel_standard): Use CSTR macro when setting exc.name.
39472 * sysdeps/ieee754/Makefile [$(subdir) = math]
39473 (CFLAGS-k_standard.c): Remove variable.
39474
39475 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39476 setting p and q from "else if" to "else".
39477 (qzero): Likewise.
39478 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39479 (qone): Likewise.
39480 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39481 (qzerof): Likewise.
39482 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39483 (qonef): Likewise.
39484 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39485 (qzero): Likewise.
39486 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39487 (qone): Likewise.
39488
39489 [BZ #18038]
39490 [BZ #18039]
39491 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39492 return pi/2 for arguments below 0x1p-113L.
39493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39494 return pi/2 for arguments below 0x1p-106L.
39495 * math/auto-libm-test-in: Add more tests of acos.
39496 * math/auto-libm-test-out: Regenerated.
39497
39498 [BZ #16351]
39499 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39500 (MO): New macro.
39501 (__ieee754_asin): Force underflow exception for results with small
39502 absolute value.
39503 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39504 (MO): New macro.
39505 (__ieee754_asinf): Force underflow exception for results with
39506 small absolute value.
39507 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39508 (__ieee754_asin): Force underflow exception for results with small
39509 absolute value.
39510 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39511 (__ieee754_asinf): Force underflow exception for results with
39512 small absolute value.
39513 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39514 (__ieee754_asinl): Force underflow exception for results with
39515 small absolute value.
39516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39517 (__ieee754_asinl): Force underflow exception for results with
39518 small absolute value.
39519 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39520 (__ieee754_asinl): Force underflow exception for results with
39521 small absolute value.
39522 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39523 Include <math.h>.
39524 * math/auto-libm-test-in: Do not mark underflow exceptions as
39525 possibly missing for bug 16351.
39526 * math/auto-libm-test-out: Regenerated.
39527
39528 [BZ #18030]
39529 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39530 of power of 2 down when low part has opposite sign.
39531 * math/libm-test.inc (logb_test_data): Add more tests.
39532
39533 2015-02-26 Andreas Schwab <schwab@suse.de>
39534
39535 [BZ #18032]
39536 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39537 over collating symbol inside a bracket expression. Minor cleanup.
39538 * posix/tst-fnmatch3.c (do_test): Add test case.
39539
39540 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39541
39542 [BZ #18029]
39543 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39544 Adjust exponent of power of 2 down when low part has opposite
39545 sign.
39546 * math/libm-test.inc (ilogb_test_data): Add more tests.
39547
39548 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39549
39550 [BZ #15969]
39551 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39552 the previous change.
39553
39554 [BZ #15969]
39555 * locale/findlocale.c (_nl_find_locale): Retry archive search
39556 after alias expansion.
39557
39558 2015-02-25 Roland McGrath <roland@hack.frob.com>
39559
39560 * iconv/tst-iconv3.c (main): Converted to ...
39561 (do_test): ... this.
39562 (TEST_FUNCTION): New macro.
39563 Include test-skeleton.c.
39564
39565 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39566 (convert): Make function static.
39567 (test_unalign): Likewise. Add const to argument pointee types.
39568 (main): Replace with static function do_test.
39569 Print "Succeeded." only if RET is zero.
39570 (TEST_FUNCTION): New macro.
39571 Include test-skeleton.c.
39572
39573 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39574 returns a null pointer.
39575
39576 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39577
39578 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39579 to __memcpy_ppc only for static builds.
39580
39581 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39582
39583 [BZ #18020]
39584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39585 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39586 * math/auto-libm-test-in: Add more tests of asinh.
39587 * math/auto-libm-test-out: Regenerated.
39588 * sysdeps/i386/fpu/libm-test-ulps: Update.
39589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39590
39591 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39592
39593 [BZ #15850]
39594 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39595 and ip6_mtuinfo definitions here.
39596 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39597 in this define too. Update comment.
39598
39599 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39600
39601 * elf/sprof.c (load_shobj): Tweak error message to match others.
39602
39603 2015-02-24 Kevin Easton <kevin@guarana.org>
39604
39605 [BZ #16145] (partial fix)
39606 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39607 to reduce lock contention.
39608
39609 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39610
39611 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39612 (struct timex): Update time comment.
39613 (ADJ_SETOFFSET): Define.
39614
39615 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39616
39617 [BZ #18019]
39618 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39619 2**56 not 2**28 as threshold for log (2x) formula.
39620 * math/auto-libm-test-in: Add more tests of acosh.
39621 * math/auto-libm-test-out: Regenerated.
39622 * sysdeps/i386/fpu/libm-test-ulps: Update.
39623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39624
39625 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39626
39627 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39628 parenthesis around the buf assignment.
39629 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39630
39631 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39632
39633 [BZ #16783]
39634 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39635 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39636 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39637 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39638 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39639 * math/libm-test.inc (scalb_test_data): Add more tests.
39640
39641 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39642
39643 [BZ #17916]
39644 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39645 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39646
39647 2015-02-24 Eric Rannaud <e@nanocritical.com>
39648
39649 [BZ #17523]
39650 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39651 * io/bits/fcntl2.h (open): Use it.
39652 (openat): Likewise.
39653 * io/open.c (__libc_open): Likewise.
39654 * io/open64.c (__libc_open64): Likewise.
39655 * io/open64_2.c (__open64_2): Likewise.
39656 * io/open_2.c (__open_2): Likewise.
39657 * io/openat.c (__openat): Likewise.
39658 * io/openat64.c (__openat64): Likewise.
39659 * io/openat64_2.c (__openat64_2): Likewise.
39660 * io/openat_2.c (__openat_2): Likewise.
39661 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39662 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39663 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39664 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39665 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39666 (__open_nocancel): Likewise.
39667 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39668 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39669 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39670
39671 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39672
39673 [BZ #14841]
39674 * resolv/gethnamaddr.c (getanswer): Skip logging if
39675 RES_USE_DNSSEC is set.
39676 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39677
39678 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39679
39680 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39681
39682 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39683
39684 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39685 201304L, for Unicode 7.
39686
39687 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39688
39689 [BZ #17836]
39690 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39691 shared library. Add gmon-start.os otherwise.
39692 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39693 $(objpfx)gmon-start.os if builing shared library.
39694 ($(objpfx)g$(static-start-installed-name)): Likewise.
39695
39696 2015-02-23 Andreas Schwab <schwab@suse.de>
39697
39698 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39699
39700 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39701
39702 [BZ #17269]
39703 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39704 (enlarge_userbuf): Likewise.
39705
39706 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39707
39708 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39709 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39710 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39711 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39712
39713 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39714
39715 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39716 expression inside statement expression.
39717
39718 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39719
39720 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39721 <sysdeps/nptl/lowlevellock.h> and remove macros and
39722 functions that are now defined there.
39723 (SYS_futex): Remove.
39724 (lll_compare_and_swap): Remove.
39725 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39726
39727 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39728
39729 [BZ #17999]
39730 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39731 instead of scandirat.
39732 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39733 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39734 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39735 __scandirat.
39736 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39737 (__scandirat): Declare. Use libc_hidden_proto.
39738 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39739 Remove variable.
39740 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39741
39742 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39743
39744 [BZ #15319]
39745 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39746 (MO): New macro.
39747 (__ieee754_atan2): For results with small absolute value, force
39748 underflow exception and remove excess range and precision from
39749 return value.
39750 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39751 (MO): New macro.
39752 (__ieee754_atan2f): For results with small absolute value, force
39753 underflow exception and remove excess range and precision from
39754 return value.
39755 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39756 (MO): New macro.
39757 (__atan): For results with small absolute value, force underflow
39758 exception and remove excess range and precision from return value.
39759 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39760 (MO): New macro.
39761 (__atanf): For results with small absolute value, force underflow
39762 exception and remove excess range and precision from return value.
39763 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39764 <math.h>.
39765 (__ieee754_atan2): Force underflow exception for results with
39766 small absolute value.
39767 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39768 <math_private.h>.
39769 (atan): Force underflow exception for results with small absolute
39770 value.
39771 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39772 (__atanf): Force underflow exception for results with small
39773 absolute value.
39774 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39775 <math.h>.
39776 (__atanl): Force underflow exception for results with small
39777 absolute value.
39778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39779 (__atanl): Force underflow exception for results with small
39780 absolute value.
39781 * sysdeps/x86/fpu/bits/mathinline.h
39782 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39783 (__ieee754_atan2): Only define inline for long double.
39784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39785 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39786 * math/auto-libm-test-in: Do not mark underflow exceptions as
39787 possibly missing for bug 15319. Add more tests of atan2.
39788 * math/auto-libm-test-out: Regenerated.
39789 * math/libm-test.inc (casin_test_data): Do not mark underflow
39790 exceptions as possibly missing for bug 15319.
39791 (casinh_test_data): Likewise.
39792 * sysdeps/i386/fpu/libm-test-ulps: Update.
39793
39794 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39795
39796 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39797 * sysdeps/mips/bits/endian.h: Fix comments.
39798
39799 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39800
39801 [BZ #17996]
39802 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39803 (hdestroy_r): Likewise.
39804 (hsearch_r): Likewise.
39805 (__hcreate_r): Declare and use libc_hidden_proto.
39806 (__hdestroy_r): Likewise.
39807 (__hsearch_r): Likewise.
39808 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39809 (hcreate): Call __hcreate_r instead of hcreate_r.
39810 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39811 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39812 as weak alias of __hcreate_r.
39813 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39814 __hdestroy_r.
39815 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39816 __hsearch_r.
39817 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39818 Remove variable.
39819 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39820 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39821 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39822 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39823
39824 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39825
39826 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39827 arena_lock into a single arena_get.
39828
39829 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39830
39831 * dl-reloc.c: Inlucde libc-internal.h.
39832 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39833 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39834 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39835 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39836 (grow_heap): Likewise.
39837 * malloc/malloc.c: Include libc-internal.h.
39838 (do_check_malloc): Call powerof2.
39839 (sysmalloc): Use pagesize. Call ALIGN_UP.
39840 (systrim): Use pagesize.
39841 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39842 (__libc_valloc): Use pagesize.
39843 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39844
39845 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39846
39847 [BZ #17991]
39848 * include/sys/resource.h (__getrlimit64): Declare. Use
39849 libc_hidden_proto.
39850 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39851 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39852 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39853 getrlimit64.
39854 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39855 __getrlimit64.
39856 [!getrlimit64] (getrlimit64): Define as weak alias of
39857 __getrlimit64. Use libc_hidden_weak.
39858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39859 using __getrlimit64 not __new_getrlimit64.
39860 (__GI_getrlimit64): Likewise.
39861 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39862 Likewise.
39863 (__GI_getrlimit64): Likewise.
39864 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39866 (getrlimit): Add __getrlimit64 alias.
39867 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39868 Likewise.
39869 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39870 Remove variable.
39871 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39872 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39873
39874 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39875
39876 * libio/fileops.c: Add missing sys/mman.h
39877 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39878
39879 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39880
39881 * manual/math.texi (Errors in Math Functions): Clarify goals
39882 regarding inexact and underflow exceptions.
39883
39884 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39885
39886 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39887 * sysdeps/mips/memset.S: Ditto.
39888
39889 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39890
39891 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39892
39893 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39894
39895 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39896 (__v1longjmp): Remove versioned symbol.
39897 (__v1siglongjmp): Remove alias and versioned symbol.
39898 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39899 (__v2siglongjmp): Likewise.
39900
39901 2015-02-16 Torvald Riegel <triegel@redhat.com>
39902
39903 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39904
39905 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39906
39907 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39908
39909 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39910
39911 [BZ #17987]
39912 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39913 zero result does not depend on the sign resulting from
39914 subtraction.
39915 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39916 Likewise.
39917 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39918 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39919 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39920 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39921 * math/libm-test.inc (remquo_test_data): Add more tests.
39922
39923 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39924
39925 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39926 Problem reported by J William Piggott.
39927
39928 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39929
39930 [BZ #17978]
39931 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39932 products 4 * y and 2 * y where those would overflow.
39933 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39934 Likewise.
39935 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39936 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39938 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39939 * math/libm-test.inc (remquo_test_data): Add more tests.
39940
39941 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39942
39943 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39944 [defined _COMPILING_NEWLIB].
39945 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39946 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39947
39948 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39949 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39950
39951 2015-02-16 Torvald Riegel <triegel@redhat.com>
39952
39953 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39954 acquired.
39955
39956 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39957
39958 [BZ #17792]
39959 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39960 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39961 HOST_STACK_END_ADDR): Likewise.
39962
39963 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39964
39965 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39966 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39967 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39968
39969 2015-02-13 Roland McGrath <roland@hack.frob.com>
39970
39971 * sysdeps/generic/c++-types.data: New file.
39972 * sysdeps/generic/ld.abilist: New file.
39973 * sysdeps/generic/libBrokenLocale.abilist: New file.
39974 * sysdeps/generic/libanl.abilist: New file.
39975 * sysdeps/generic/libc.abilist: New file.
39976 * sysdeps/generic/libcrypt.abilist: New file.
39977 * sysdeps/generic/libdl.abilist: New file.
39978 * sysdeps/generic/libm.abilist: New file.
39979 * sysdeps/generic/libpthread.abilist: New file.
39980 * sysdeps/generic/libresolv.abilist: New file.
39981 * sysdeps/generic/librt.abilist: New file.
39982
39983 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39984
39985 [BZ #17569]
39986 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39987 Compute absolute value of x as modified by fmod, not original
39988 value of x.
39989 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39990 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39991 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39992 RUN_TEST_ffI_f1_mod8.
39993 (remquo_test_data): Add more tests.
39994
39995 2015-02-13 Roland McGrath <roland@hack.frob.com>
39996
39997 * sysdeps/init_array/pt-crti.S: New file.
39998
39999 2015-02-13 Joseph Myers <joseph@codesourcery.com>
40000
40001 [BZ #17967]
40002 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
40003 __builtin_fmaf instead of relying on contraction of a * b + c.
40004
40005 2015-02-12 J William Piggott <elseifthen@gmx.com>
40006
40007 [BZ #17969]
40008 * manual/time.texi: correct the zoneinfo path in the TZ Variable
40009 node.
40010
40011 2015-02-12 Joseph Myers <joseph@codesourcery.com>
40012
40013 [BZ #17964]
40014 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
40015 __builtin_fma instead of relying on contraction of a * b + c.
40016
40017 2015-02-12 Roland McGrath <roland@hack.frob.com>
40018
40019 * Makeconfig (ASFLAGS): Add -Werror=undef.
40020 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
40021 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
40022 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
40023
40024 * Makeconfig (after-link): New variable.
40025 (+link-pie, +link-pie-tests): Use it.
40026 (+link-static, +link-static-tests): Likewise.
40027 (+link, +link-tests): Likewise.
40028 * Makerules (build-module, build-module-asneeded): Likewise.
40029 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
40030 Likewise.
40031 * elf/Makefile ($(objpfx)ld.so): Likewise.
40032
40033 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
40034
40035 [BZ #17965]
40036 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
40037 both struct timeval and struct timespec.
40038
40039 2015-02-12 Joseph Myers <joseph@codesourcery.com>
40040
40041 [BZ #16560]
40042 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40043 and redefine.
40044 (__ieee754_exp2l): Do not multiply small fractional parts by
40045 M_LN2l.
40046 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
40047 small argument.
40048 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40049 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
40050 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
40051 * math/auto-libm-test-in: Add more tests of exp2.
40052 * math/auto-libm-test-out: Regenerated.
40053
40054 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40055
40056 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
40057 unaligned path.
40058
40059 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40060
40061 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
40062 little endian.
40063
40064 2015-02-12 Andreas Schwab <schwab@suse.de>
40065
40066 [BZ #15790]
40067 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
40068 Filter out elision flags from value returned in kind.
40069 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
40070 * nptl/tst-pthread-mutexattr.c: New file.
40071
40072 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
40073
40074 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
40075 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
40076 into gnu-gnu, and update comment to refer to abi-tags.
40077
40078 2015-02-11 Joseph Myers <joseph@codesourcery.com>
40079
40080 [BZ #15467]
40081 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
40082 (__sincos): Set errno to EDOM for infinite argument.
40083 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
40084 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
40085 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
40086 (__sincosl): Set errno to EDOM for infinite argument.
40087 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
40088 (__sincosl): Set errno to EDOM for infinite argument.
40089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
40090 (__sincosl): Set errno to EDOM for infinite argument.
40091 * math/libm-test.inc (sincos_test_data): Test errno setting.
40092
40093 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
40094
40095 * string/strxfrm_l.c: Remove #define STRCMP.
40096 * string/strcoll_l.c: Remove #define STRLEN.
40097 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
40098 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
40099
40100 2015-02-10 Joseph Myers <joseph@codesourcery.com>
40101
40102 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
40103 * sysdeps/mips/mips32/sfp-machine.h: ... here.
40104 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
40105 * sysdeps/mips/mips64/Makefile: ... here.
40106 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
40107 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
40108 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
40109 * sysdeps/mips/mips64/sfp-machine.h: ... here.
40110 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
40111 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
40112 * sysdeps/mips/mips64/n64/Implies: Likewise.
40113
40114 2015-02-10 Roland McGrath <roland@hack.frob.com>
40115
40116 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
40117 <sys/time.h>, <string.h>, and <errno.h>.
40118 (dest_offset, dest_address, value, zero): Remove unused variables.
40119 (ldouble): Remove typedef.
40120 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
40121 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
40122 1). Fix code style.
40123 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
40124 (check): Function removed.
40125 (CHECK): New macro.
40126 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
40127 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
40128 Don't call set_sigaction_FP and remove_sigaction_FP here.
40129 (ldouble_test): Just use 'long double' as macro argument, no need for
40130 the 'ldouble' typedef.
40131 (do_test): Set up SIGFPE handler at start, using plain signal rather
40132 than sigaction. Fix code style.
40133
40134 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
40135
40136 [BZ #17949]
40137 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
40138 jump label.
40139
40140 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40141
40142 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40143 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40144
40145 * sysdeps/powerpc/configure.ac: Remove file.
40146 * sysdeps/powerpc/configure: Likewise.
40147
40148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40149 [sysdep_routines]: Remove wordcopy-power6 object.
40150 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40151 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40152 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40153 (__memmove_ppc32): Likewise.
40154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40155 file.
40156 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40157 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40158 Remove preprocessor.
40159
40160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40161 [sysdep_routines]: Remove wide chars objects.
40162 [wcsmbs]: New rule for wide char objects.
40163
40164 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40165 Remove wordcopy-power6 obejct.
40166 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40167 Use local call for wordcopy and memcpy symbols.
40168 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40170 implementation for loader.
40171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40172
40173 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40174 Remove wordcopy-power7 object.
40175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40176 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40177 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40178 (_wordcopy_fwd_dest_aligned): Likewise.
40179 (_wordcopy_bwd_aligned): Likewise.
40180 (_wordcopy_bwd_dest_aligned): Likewise.
40181
40182 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40183 Rewrite to call __memmove_ppc instead of include default
40184 implementation.
40185
40186 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40187 Remove wide chars objects.
40188 [wcsmbs]: New rule for wide char objects.
40189
40190 2015-02-09 Andreas Schwab <schwab@suse.de>
40191
40192 [BZ #17912]
40193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40194 in terms of __O_DIRECTORY.
40195
40196 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
40197
40198 * time/getdate.c: Include <stdbool.h>.
40199 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40200 call PTR_MANGLE.
40201 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40202 PTR_DEMANGLE.
40203
40204 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
40205
40206 Add ersatz _Static_assert on older C hosts
40207 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40208 pre-C11 C platform that is not known to support _Static_assert.
40209
40210 2015-02-07 Richard Braun <rbraun@sceen.net>
40211
40212 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40213 sigstate.
40214 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40215
40216 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
40217
40218 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40219 priority against unexistent AIO_PRIO_DELTA_MAX.
40220 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40221 instead of int.
40222 * misc/fchflags.c (fchflags): Likewise.
40223 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40224 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40225 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40226 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40227 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40228 Declare macros.
40229 [__USE_MISC] (chflags, fchflags): Declare functions.
40230 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40231 EINVAL when nfds is greater than FD_SETSIZE.
40232 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40233 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40234 45.
40235 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40236 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40237 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40238 MACH_RCV_TIMED_OUT.
40239 * hurd/hurd/signal.h (_hurd_self_sigstate,
40240 _hurd_critical_section_lock, _hurd_critical_section_unlock):
40241 Explicit casts from void *.
40242 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40243 * abi-tags: Rename gnu-gnu os into gnu.
40244
40245 [BZ #4719]
40246 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40247 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40248 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40249 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40250 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40251 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40252
40253 [BZ #17944]
40254 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40255 duplicates ADDR->sun_path with sockaddr LEN limitation.
40256 * sysdeps/mach/hurd/connect.c: Include <string.h>
40257 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40258 * sysdeps/mach/hurd/sendmsg.c: Likewise.
40259 * sysdeps/mach/hurd/sendto.c: Likewise.
40260 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40261 implementing it by hand.
40262
40263 2015-02-06 Roland McGrath <roland@hack.frob.com>
40264
40265 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40266 Use sfi_breg on ldr.
40267 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40268 Likewise.
40269
40270 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40271 it's defined.
40272 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40273 Test SIGSETXID only if it's defined.
40274
40275 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40276
40277 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40278 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
40279
40280 * nptl/tst-align2.c: Moved ...
40281 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40282 * nptl/Makefile (tests): Remove tst-align2.
40283 * sysdeps/unix/sysv/linux/Makefile
40284 [$(subdir) = nptl] (tests): Add tst-align-clone.
40285 * nptl/tst-getpid1.c: Moved ...
40286 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40287 * nptl/tst-getpid2.c: Moved ...
40288 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40289 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40290 * sysdeps/unix/sysv/linux/Makefile
40291 [$(subdir) = nptl] (tests): ... here.
40292 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40293 * sysdeps/unix/sysv/linux/Makefile
40294 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40295
40296 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40297 Drop trailing \n from perror argument. Use return rather than exit.
40298
40299 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40300 on [SA_SIGINFO].
40301 * nptl/tst-cancel21.c (do_test): Likewise.
40302 * debug/tst-backtrace6.c: Include <signal.h> first thing.
40303 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40304 [!SA_SIGINFO]: Make it a stub test.
40305
40306 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40307 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40308
40309 * posix/tst-getlogin.c: Move to ...
40310 * login/tst-getlogin.c: ... here.
40311 * posix/Makefile (tests): Move tst-getlogin to ...
40312 * login/Makefile (tests): ... here.
40313
40314 * libio/tst-atime.c (do_test): Move local variables SV and E
40315 inside [ST_NOATIME] conditional.
40316
40317 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40318
40319 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40320
40321 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40322 (wait_code): New function replaces macro.
40323 Call nanosleep rather than syscall.
40324
40325 * nptl/pt-system.c: Rewritten. Put everything under
40326 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40327 Use IFUNC to redirect when possible.
40328
40329 * nptl/pt-longjmp.c: Rewritten. Put everything under
40330 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40331 Use IFUNC to redirect when possible.
40332
40333 * nptl/pt-fork.c: Rewritten. Put everything under
40334 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40335 Use IFUNC to redirect when possible.
40336 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40337
40338 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40339 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40340 unconditionally nowadays. This included the only reference to
40341 __vdso_clock_gettime that appears outside libc proper.
40342 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40343 Remove version set (containing only __vdso_clock_gettime).
40344 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40345 Add attribute_hidden.
40346 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40347 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40348 libc_hidden_data_def.
40349 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40350 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40351
40352 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40353 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40354 setrpcent, and getrpcport to ...
40355 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40356 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40357 getrpcbynumber_r, and getrpcent_r to ...
40358 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40359 * inet/getrpcbyname.c: Moved ...
40360 * sunrpc/getrpcbyname.c: ... here.
40361 * inet/getrpcbyname_r.c: Moved ...
40362 * sunrpc/getrpcbyname_r.c: ... here.
40363 * inet/getrpcbynumber.c: Moved ...
40364 * sunrpc/getrpcbynumber.c: ... here.
40365 * inet/getrpcbynumber_r.c: Moved ...
40366 * sunrpc/getrpcbynumber_r.c: ... here.
40367 * inet/getrpcent.c: Moved ...
40368 * sunrpc/getrpcent.c: ... here.
40369 * inet/getrpcent_r.c: Moved ...
40370 * sunrpc/getrpcent_r.c: ... here.
40371 * inet/Makefile (routines): Move those to ...
40372 * sunrpc/Makefile (routines): ... here.
40373 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40374 the $(subdirs) list.
40375 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40376 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40377 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40378 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40379
40380 * elf/Makefile (routines): Include $(all-dl-routines), not just
40381 $(dl-routines).
40382 (rtld-routines): Likewise. Use = rather than :=.
40383 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40384 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40385 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40386 * sysdeps/arm/Makefile: Likewise.
40387 * sysdeps/i386/Makefile: Likewise.
40388 * sysdeps/x86_64/Makefile: Likewise.
40389 * sysdeps/hppa/Makefile [$(subdir) = elf]
40390 (sysdep_routines, sysdep-rtld-routines): Don't add
40391 $(sysdep-dl-routines) to these.
40392 * sysdeps/ia64/Makefile: Likewise.
40393 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40394 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40395 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40396 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40397 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40398 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40399 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40400 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40401 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40402 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40403 these; sysdep-dl-routines alone is enough.
40404
40405 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40406
40407 [BZ #17932]
40408 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40409 where multiplication results in zero and third argument is finite
40410 and nonzero.
40411 * math/auto-libm-test-in: Add more tests of fma.
40412 * math/auto-libm-test-out: Regenerated.
40413
40414 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40415 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40416 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40417 (_FP_CMP_EQ): Likewise.
40418 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40419
40420 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40421 extra argument CHECK_NAN. Redefine as wrapper around
40422 _FP_EXTEND_CNAN.
40423
40424 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40425
40426 * version.h (RELEASE): Set to "stable".
40427 (VERSION): Set to "2.21"
40428 * include/features.h (__GLIBC_MINOR__): Set to 21.
40429
40430 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40431
40432 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40433 Paul Eggert <eggert@cs.ucla.edu>
40434
40435 [BZ #16618]
40436 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40437 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40438 size in bytes. Store needed elements in wpmax. Use needed size
40439 in bytes for extend_alloca.
40440
40441 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40442
40443 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40444 binutls 2.25, and texinfo 5.2.
40445 * INSTALL: Regenerate.
40446 * sysdeps/nios2/configure: Regenerate.
40447 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40448 * manual/contrib.texi: Update.
40449 * po/be.po: Update.
40450 * po/bg.po: Update.
40451 * po/ca.po: Update.
40452 * po/cs.po: Update.
40453 * po/da.po: Update.
40454 * po/de.po: Update.
40455 * po/el.po: Update.
40456 * po/eo.po: Update.
40457 * po/es.po: Update.
40458 * po/fi.po: Update.
40459 * po/fr.po: Update.
40460 * po/gl.po: Update.
40461 * po/hr.po: Update.
40462 * po/hu.po: Update.
40463 * po/ia.po: Update.
40464 * po/id.po: Update.
40465 * po/it.po: Update.
40466 * po/ja.po: Update.
40467 * po/ko.po: Update.
40468 * po/lt.po: Update.
40469 * po/nb.po: Update.
40470 * po/nl.po: Update.
40471 * po/pl.po: Update.
40472 * po/pt_BR.po: Update.
40473 * po/ru.po: Update.
40474 * po/rw.po: Update.
40475 * po/sk.po: Update.
40476 * po/sl.po: Update.
40477 * po/sv.po: Update.
40478 * po/tr.po: Update.
40479 * po/uk.po: Update.
40480 * po/vi.po: Update.
40481 * po/zh_CN.po: Update.
40482 * po/zh_TW.po: Update.
40483
40484 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40485 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40486 * sysdeps/hppa/dl-irel.h: Remove #warning.
40487 * sysdeps/hppa/entry.h: Provide prototype for
40488 __canonicalize_funcptr_for_compare and cast argument.
40489 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40490 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40491 * sysdeps/hppa/sotruss-lib.c: New file.
40492 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40493 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40494 (atomic_compare_and_exchange_bool_acq): Likewise.
40495 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40496 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40497
40498 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40499 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40500 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40501
40502 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40503
40504 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40505 called function in non-PIC case.
40506
40507 2015-01-31 David S. Miller <davem@davemloft.net>
40508
40509 * sysdeps/sparc/sparc32/bits/atomic.h
40510 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40511 unlock not after it.
40512 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40513 volatile register usage warnings from the compiler.
40514
40515 * sysdeps/sparc/nptl/sem_init.c: Delete.
40516 * sysdeps/sparc/nptl/sem_post.c: Delete.
40517 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40518 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40519 * sysdeps/sparc/sparc32/sem_init.c: New file.
40520 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40521 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40522 padding explicitly initialized.
40523 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40524 padding for in-semaphore spinlock.
40525 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40526 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40527 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40528 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40529 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40530 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40531 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40532 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40533 version.
40534 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40535 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40536
40537 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40538
40539 [BZ #17801]
40540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40541 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40542 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40543 New.
40544 (index_AVX_Fast_Unaligned_Load): Likewise.
40545 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40546 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40547 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40548 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40549 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40550 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40551 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40552 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40553 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40554
40555 2015-01-29 Andreas Schwab <schwab@suse.de>
40556
40557 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40558
40559 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40560
40561 [BZ #17892]
40562 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40563
40564 2015-01-28 Martin Sebor <msebor@redhat.com>
40565
40566 * math/README.libm-test: Clarify. Add "How to read the test output."
40567
40568 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40569
40570 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40571 Define to 0.
40572
40573 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40574
40575 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40576 (__HAVE_64B_ATOMICS): Define to 0.
40577
40578 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40579
40580 [BZ #17885]
40581 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40582 value to set as new flag.
40583
40584 [BZ #16576]
40585 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40586 and use _ARCH_PPCSQ instead.
40587 (__ieee754_sqrt): Likewise.
40588 (__ieee754_sqrtf): Likewise.
40589 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40590 _ARCH_PPCSQ is defined.
40591 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40592 fsqrt instruction.
40593 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40594 _ARCH_PPCSQ is defined.
40595 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40596 fsqrts instruction.
40597 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40598
40599 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40600
40601 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40602 bug (GCC BZ #64739).
40603
40604 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40605
40606 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40607 Mark _retval as used.
40608 (lll_futex_wake_unlock): Likewise.
40609 (lll_futex_timed_wait_requeue_pi): Likewise.
40610
40611 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40612 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40613 register variables.
40614
40615 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40616 libm_hidden_def.
40617
40618 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40619 (__bswap_64): Mark as __always_inline.
40620
40621 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40622
40623 [BZ #15378]
40624 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40625 when none of the search directories exist.
40626
40627 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40628
40629 [BZ #17869]
40630 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40631 power8 in .machine directive.
40632
40633 [BZ #17868]
40634 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40635 set dependency from opd value.
40636
40637 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40638
40639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40640 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40641 architecture.
40642
40643 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40644
40645 [BZ #17870]
40646 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40647 with uint64_t.
40648 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40649 (uint64_t) 1.
40650 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40651 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40652 Replace 1UL with (uint64_t) 1.
40653 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40654 int with uint64_t.
40655
40656 2015-01-23 Roland McGrath <roland@hack.frob.com>
40657
40658 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40659 (if_freenameindex): Likewise.
40660
40661 * resource/getrlimit64.c: Add missing libc_hidden_def.
40662
40663 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40664
40665 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40666 __label__.
40667 (_FP_FMA): Likewise.
40668 (_FP_TO_INT_ROUND): Likewise.
40669 (_FP_FROM_INT): Likewise.
40670
40671 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40672
40673 [BZ #16418]
40674 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40675 Make code racy and cancel safe.
40676
40677 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40678
40679 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40680 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40681 attribution.
40682
40683 * pwd/tst-getpw.c: Rewrite.
40684
40685 [BZ #17702]
40686 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40687 (modules-names): Add moddummy1 and moddummy2.
40688 ($(objpfx)tst-rec-dlopen): Define.
40689 * dlfcn/moddummy1.c: New file.
40690 * dlfcn/moddummy2.c: New file.
40691 * dlfcn/tst-rec-dlopen.c: New file.
40692 * elf/dl-cache.c (_dl_load_cache_lookup):
40693 Return char*. Copy result with alloca/strcpy/strdup.
40694 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40695 returns char*. Free cached. If not saving realname
40696 free cached.
40697 * elf/dl-open.c (dl_open_worker): Do not assert that
40698 _r_debug->r_state is RT_CONSISTENT.
40699 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40700 returns char*.
40701
40702 2015-01-21 Torvald Riegel <triegel@redhat.com>
40703 Carlos O'Donell <carlos@redhat.com>
40704
40705 [BZ #12674]
40706 * nptl/sem_waitcommon.c: New file.
40707 * nptl/sem_wait.c: Include sem_waitcommon.c.
40708 (__sem_wait_cleanup, do_futex_wait): Remove.
40709 (__new_sem_wait): Adapt.
40710 (__new_sem_trywait): New function.
40711 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40712 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40713 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40714 (sem_timedwait): Adapt.
40715 * nptl/sem_post.c (__new_sem_post): Adapt.
40716 (futex_wake): New function.
40717 (__old_sem_post): Add release MO fence.
40718 * nptl/sem_open.c (sem_open): Adapt.
40719 * nptl/sem_init.c (__new_sem_init): Adapt.
40720 (futex_private_if_supported): New function.
40721 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40722 (__old_sem_getvalue): Add using previous code.
40723 * sysdeps/nptl/internaltypes.h: Adapt.
40724 * nptl/tst-sem13.c (do_test): Adapt.
40725 * nptl/tst-sem11.c (main): Adapt.
40726 * nptl/sem_trywait.c: Remove.
40727 * nptl/DESIGN-sem.txt: Remove.
40728 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40729 (gen-as-const-headers): Remove structsem.sym.
40730 * nptl/structsem.sym: Remove.
40731 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40732 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40733 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40734 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40735 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40736 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40737 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40738 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40739 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40740 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40741 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40742 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40743 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40744 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40745 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40746 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40747 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40748 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40749 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40750 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40751 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40752 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40753
40754 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40755
40756 * INSTALL: Regenerated.
40757
40758 * po/libc.pot: Regenerated.
40759
40760 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40761 Sandra Loosemore <sandra@codesourcery.com>
40762 Andrew Jenner <andrew@codesourcery.com>
40763 Joseph Myers <joseph@codesourcery.com>
40764 Nathan Sidwell <nathan@codesourcery.com>
40765
40766 * NEWS: Mention new Nios II port.
40767 * sysdeps/nios2/Implies: New file.
40768 * sysdeps/nios2/Makefile: New file.
40769 * sysdeps/nios2/Subdirs: New file.
40770 * sysdeps/nios2/Versions: New file.
40771 * sysdeps/nios2/__longjmp.S: New file.
40772 * sysdeps/nios2/abort-instr.h: New file.
40773 * sysdeps/nios2/backtrace.c: New file.
40774 * sysdeps/nios2/bits/endian.h: New file.
40775 * sysdeps/nios2/bits/fenv.h: New file.
40776 * sysdeps/nios2/bits/link.h: New file.
40777 * sysdeps/nios2/bits/setjmp.h: New file.
40778 * sysdeps/nios2/bsd-_setjmp.S: New file.
40779 * sysdeps/nios2/bsd-setjmp.S: New file.
40780 * sysdeps/nios2/configure: New generated file.
40781 * sysdeps/nios2/configure.ac: New file.
40782 * sysdeps/nios2/crti.S: New file.
40783 * sysdeps/nios2/crtn.S: New file.
40784 * sysdeps/nios2/dl-init.c: New file.
40785 * sysdeps/nios2/dl-machine.h: New file.
40786 * sysdeps/nios2/dl-sysdep.h: New file.
40787 * sysdeps/nios2/dl-tls.h: New file.
40788 * sysdeps/nios2/dl-trampoline.S: New file.
40789 * sysdeps/nios2/gccframe.h: New file.
40790 * sysdeps/nios2/gmp-mparam.h: New file.
40791 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40792 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40793 * sysdeps/nios2/ldsodefs.h: New file.
40794 * sysdeps/nios2/libc-tls.c: New file.
40795 * sysdeps/nios2/libm-test-ulps: New file.
40796 * sysdeps/nios2/machine-gmon.h: New file.
40797 * sysdeps/nios2/math-tests.h: New file.
40798 * sysdeps/nios2/math_private.h: New file.
40799 * sysdeps/nios2/memusage.h: New file.
40800 * sysdeps/nios2/nptl/Makefile: New file.
40801 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40802 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40803 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40804 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40805 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40806 * sysdeps/nios2/nptl/tls.h: New file.
40807 * sysdeps/nios2/preconfigure: New file.
40808 * sysdeps/nios2/s_fma.c: New file.
40809 * sysdeps/nios2/s_fmaf.c: New file.
40810 * sysdeps/nios2/setjmp.S: New file.
40811 * sysdeps/nios2/sfp-machine.h: New file.
40812 * sysdeps/nios2/sotruss-lib.c: New file.
40813 * sysdeps/nios2/stackguard-macros.h: New file.
40814 * sysdeps/nios2/stackinfo.h: New file.
40815 * sysdeps/nios2/start.S: New file.
40816 * sysdeps/nios2/sysdep.h: New file.
40817 * sysdeps/nios2/tls-macros.h: New file.
40818 * sysdeps/nios2/tst-audit.h: New file.
40819 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40820 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40821 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40822 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40823 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40824 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40825 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40826 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40827 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40828 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40829 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40830 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40831 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40832 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40833 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40834 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40835 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40836 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40837 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40838 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40839 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40840 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40841 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40842 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40843 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40844 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40845 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40846 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40847 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40848 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40849 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40850 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40851 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40852 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40853 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40854 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40855 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40856 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40857 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40858 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40859 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40860 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40861 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40862 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40863
40864 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40865
40866 [BZ #17844]
40867 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40868 (getutent): Use weak_alias in non SHARED case
40869 and default_symbol_version in SHARED case.
40870 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40871 (getutent_r, pututline): Likewise.
40872 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40873 (getutid): Likewise.
40874 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40875 (getutid_r): Likewise.
40876 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40877 (getutline): Likewise.
40878 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40879 (getutline_r): Likewise.
40880 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40881 (updwtmp): Likewise.
40882
40883 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40884
40885 [BZ #17848]
40886 * sysdeps/s390/s390-32/memcmp.S
40887 (memcmp_g5): Rename to __memcmp_g5.
40888 * sysdeps/s390/s390-32/memcpy.S
40889 (memcpy_g5): Rename to __memcpy_g5.
40890 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40891 (memcpy_mvcle) Rename to __memcpy_mvcle.
40892 * sysdeps/s390/s390-32/memset.S
40893 (memset_g5): Rename to __memset_g5.
40894 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40895 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40896 and use prefixed functions.
40897 * sysdeps/s390/s390-32/multiarch/memcmp.S
40898 (memcmp_z196): Rename to __memcmp_z196.
40899 (memcmp_z10): Rename to __memcmp_z10.
40900 (memcmp): Set alias to __memcmp_g5.
40901 (bcmp): Set alias to __memcmp_g5.
40902 * sysdeps/s390/s390-32/multiarch/memcpy.S
40903 (memcpy_z196): Rename to __memcpy_z196.
40904 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40905 (memcpy_z10): Rename to __memcpy_z10.
40906 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40907 (memcpy): Set alias to __memcpy_g5.
40908 * sysdeps/s390/s390-32/multiarch/memset.S
40909 (memset_z196): Rename to __memset_z196.
40910 Jump to __memset_mvcle instead of memset_mvcle.
40911 (memset_z10): Rename to __memset_z10.
40912 Jump to __memset_mvcle instead of memset_mvcle.
40913 (memset_mvcle) Rename to __memset_mvcle.
40914 (memset): Set alias to __memset_g5.
40915 * sysdeps/s390/s390-64/memcmp.S
40916 (memcmp_z900): Rename to __memcmp_z900.
40917 * sysdeps/s390/s390-64/memcpy.S
40918 (memcpy_z900): Rename to __memcpy_z900.
40919 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40920 (memcpy_mvcle) Rename to __memcpy_mvcle.
40921 * sysdeps/s390/s390-64/memset.S
40922 (memset_z900): Rename to __memset_z900.
40923 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40924 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40925 and use prefixed functions.
40926 * sysdeps/s390/s390-64/multiarch/memcmp.S
40927 (memcmp_z196): Rename to __memcmp_z196.
40928 (memcmp_z10): Rename to __memcmp_z10.
40929 (memcmp): Set alias to __memcmp_z900.
40930 (bcmp): Set alias to __memcmp_z900.
40931 * sysdeps/s390/s390-64/multiarch/memcpy.S
40932 (memcpy_z196): Rename to __memcpy_z196.
40933 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40934 (memcpy_z10): Rename to __memcpy_z10.
40935 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40936 (memcpy): Set alias to __memcpy_z900.
40937 * sysdeps/s390/s390-64/multiarch/memset.S
40938 (memset_z196): Rename to __memset_z196.
40939 Jump to __memset_mvcle instead of memset_mvcle.
40940 (memset_z10): Rename to __memset_z10.
40941 Jump to __memset_mvcle instead of memset_mvcle.
40942 (memset_mvcle) Rename to __memset_mvcle.
40943 (memset): Set alias to __memset_z900.
40944
40945 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40946
40947 [BZ #17748]
40948 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40949 __fesetenv instead of fesetenv.
40950
40951 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40952
40953 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40954 macro.
40955
40956 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40957
40958 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40959 regression on LE.
40960
40961 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40962 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40963 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40964 strncmp-power8 object.
40965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40966 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40967 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40968 * NEWS: Update.
40969
40970 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40971 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40972
40973 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40974 trailing byte check.
40975
40976 2015-01-13 David S. Miller <davem@davemloft.net>
40977
40978 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40979
40980 2015-01-13 Roland McGrath <roland@hack.frob.com>
40981
40982 * login/logout.c (logout): Use memset rather than bzero.
40983 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40984 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40985 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40986 (_gethtbyaddr): Likewise.
40987 * locale/programs/simple-hash.c (bcopy): Macro removed.
40988
40989 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40990
40991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40992 Add strcmp-power8 object.
40993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40994 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40995 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40996 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40997 __strcmp_power8 implementation.
40998 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40999 * NEWS: Update.
41000
41001 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41002 Add strncpy-power8 and stpncpy-power8 objects.
41003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41004 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
41005 implementations.
41006 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
41007 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
41008 __stpncpy_power8 implementation.
41009 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
41010 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
41011 __strncpy_power8 implementation.
41012 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
41013 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
41014 * NEWS: Update.
41015
41016 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
41017 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
41018 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
41019
41020 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41021 strncat-power8 object.
41022 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
41023 __strcat_power8 implementation.
41024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41025 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
41026 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
41027 optimized strcat for power8.
41028
41029 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41030 strcpy-power8 and stpcpy-power8 objects.
41031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41032 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
41033 implementations.
41034 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
41035 multiarch stpcpy implementation for POWER8.
41036 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
41037 multiarch strcpy implementation for POWER8.
41038 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
41039 __strcpy_power8 function.
41040 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
41041 stpcpy for POWER8.
41042 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
41043 strcpy for POWER8.
41044 * NEWS: Update.
41045
41046 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
41047
41048 [BZ #16009]
41049 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
41050 weights and rules. Use do_xfrm_cached if data fits in cache,
41051 do_xfrm otherwise. Moved former main loop to...
41052 * (do_xfrm_cached): New function.
41053 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
41054 find_idx, find_position and stack_push.
41055 * (find_idx): New function.
41056 * (find_position): Likewise.
41057 * localedata/sort-test.sh: Added test run for do_xfrm.
41058 * localedata/xfrm-test.c (main): Added command line option
41059 -nocache to run the test with strings that are too large for
41060 the STRXFRM cache.
41061
41062 2015-01-13 Torvald Riegel <triegel@redhat.com>
41063
41064 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
41065 variable to lll_futex_wake call, not the value itself.
41066
41067 2015-01-12 Joseph Myers <joseph@codesourcery.com>
41068
41069 [BZ #17803]
41070 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
41071 twom64. Adjust value to 0x1p-64L.
41072 (__scalblnl): Only return standard underflowing result for K <=
41073 -64 not K <= -63; adjust exponent for underflowing result by 64
41074 not 63.
41075 * math/libm-test.inc (scalbn_test_data): Add more tests.
41076 (scalbln_test_data): Likewise.
41077
41078 [BZ #17834]
41079 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
41080 0x1p63L.
41081 (__scalblnl): Get new exponent of adjusted subnormal value from ES
41082 not HX.
41083 * math/libm-test.inc (scalbn_test_data): Add more tests.
41084 (scalbln_test_data): Likewise.
41085
41086 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41087 Stefani Seibold <stefani@seibold.net>
41088
41089 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
41090 (sysdep_routines): Add dl-vdso here, ...
41091 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
41092 (sysdep_routines): ... not here.
41093 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
41094 fallback when vDSO is not presented.
41095 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
41096 Define with libc_hidden_proto/libc_hidden_data_def definitions.
41097 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
41098 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
41099 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
41100 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
41101 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
41102 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
41103 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
41104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
41105 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
41106 fallback configurable symbol when vDSO is not available.
41107 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
41108 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
41109 be able to redefine fallback symbol when vDSO is not available.
41110 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
41111 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
41112
41113 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41114
41115 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
41116 (TLS_INIT_TP): Add tm_capable initialization.
41117 (TLS_DEFINE_INIT_TP): Likewise.
41118 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
41119 TCB.
41120 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
41121 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
41122 calculation.
41123 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
41124 transactoion is lock elision is built and TCB tm_capable is set.
41125 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
41126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41127 (INTERNAL_SYSCALL_NCS): Likewise.
41128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41129 (INTERNAL_SYSCALL_NCS): Likewise.
41130 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
41131
41132 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
41133 for powerpc.
41134 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41135 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
41136 and remove it for 32 bits case.
41137 [pthread_rwlock_t] (__rwelision): New field for lock elision.
41138 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41139 initialization.
41140 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41141 Disable lock elision with rdlocks if elision is not available.
41142
41143 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41144 (sysdep_routines): Add lock elision objects.
41145 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41146 [pthread_mutex_t] (__spins): Rework to add lock elision field.
41147 [pthread_mutex_t] (__elision): Add field.
41148 [__PTHREAD_SPINS]: Adjust to init lock elision field.
41149 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41150 elision definitions for powerpc.
41151 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41152 implementation of lock elision for powerpc.
41153 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41154 implementation of timed lock elision for powerpc.
41155 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41156 implementation of trylock with lock elision for powerpc.
41157 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41158 implementaion of unlock for lock elision for powerpc.
41159 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41160 automatic enable lock elision for mutexes.
41161 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41162 transaction execution definitions for powerpc.
41163 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41164 definitions.
41165 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41166 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41167 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41168 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41169 * NEWS: Update.
41170
41171 2015-01-09 Roland McGrath <roland@hack.frob.com>
41172
41173 * sysdeps/posix/shm-directory.c: Use <> rather than ""
41174 for #include of <shm-directory.h>.
41175
41176 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
41177
41178 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41179 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41180
41181 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
41182
41183 [BZ #17791]
41184 * NEWS: Mention bug fix.
41185 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41186 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41187 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41188
41189 2015-01-09 Torvald Riegel <triegel@redhat.com>
41190
41191 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41192
41193 2015-01-09 Torvald Riegel <triegel@redhat.com>
41194
41195 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41196
41197 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41198
41199 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41200 pointer and cast to uintptr_t.
41201
41202 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41203
41204 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41205 removed.
41206 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41207
41208 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41209
41210 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41211 of 0.
41212
41213 2015-01-08 Roland McGrath <roland@hack.frob.com>
41214
41215 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41216 <nptl/pthreadP.h> instead.
41217 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41218
41219 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41220 already defined.
41221 [__SIGRTMIN] (init): Function removed.
41222 [__SIGRTMIN] (initialized): Variable removed.
41223 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41224 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41225 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41226 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41227 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41228 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41229 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41230 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41231 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41232 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41233 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41234 * sysdeps/nptl/allocrtsig.c: New file.
41235 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41236 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41237 * sysdeps/generic/testrtsig.h: File removed.
41238
41239 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41240 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41241
41242 * nptl/nptl-init.c (pthread_functions): Conditionalize
41243 .ptr__nptl_setxid initialization on [SIGSETXID].
41244
41245 * sysdeps/nptl/sys/procfs.h: New file.
41246 * nptl_db/Makefile (headers): Add it.
41247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41248
41249 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41250 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41251 * nptl/pthread_attr_setaffinity.c: Include it.
41252 * nptl/pthread_setattr_default_np.c: Likewise.
41253 * nptl/check-cpuset.h: New file.
41254
41255 2015-01-08 Richard Henderson <rth@redhat.com>
41256
41257 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41258 (CFLAGS-tst-execstack-prog.c): Likewise.
41259 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41260
41261 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
41262 Sandra Loosemore <sandra@codesourcery.com>
41263 Andrew Jenner <andrew@codesourcery.com>
41264 Joseph Myers <joseph@codesourcery.com>
41265 Nathan Sidwell <nathan@codesourcery.com>
41266
41267 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41268 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41269 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41270 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41271 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41272 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41273 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41274 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41275 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41276 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41277 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41278 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41279 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41280 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41281 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41282 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41283 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41284
41285 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41286
41287 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41288 timespec struct member in syscall macro.
41289 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41290 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41291 first timeval struct member in syscall macro.
41292 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41293
41294 2015-01-07 Joseph Myers <joseph@codesourcery.com>
41295
41296 [BZ #17748]
41297 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41298 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41299 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41300 __feupdateenv and define as weak alias of __feupdateenv. Use
41301 libm_hidden_weak.
41302 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41303 libm_hidden_def.
41304 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41305 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
41306 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41307 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41308 libm_hidden_def.
41309 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41310 __feupdateenv and define as weak alias of __feupdateenv. Use
41311 libm_hidden_weak.
41312 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41313 libm_hidden_def.
41314 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41315 __feupdateenv and define as weak alias of __feupdateenv. Use
41316 libm_hidden_weak.
41317 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41318 libm_hidden_def.
41319 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41320 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41321 (__feupdateenv): Likewise.
41322 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41323 __feupdateenv and define as weak alias of __feupdateenv. Use
41324 libm_hidden_weak.
41325 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41326 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41327 libm_hidden_def.
41328 * sysdeps/tile/math_private.h (__feupdateenv): New inline
41329 function.
41330 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41331 libm_hidden_def.
41332 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41333 __feupdateenv instead of feupdateenv.
41334 (default_libc_feupdateenv_test): Likewise.
41335 (libc_feresetround_ctx): Likewise.
41336
41337 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41338
41339 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41340 prototype.
41341
41342 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
41343
41344 * posix/regcomp.c (parse_bracket_exp): Initialize type to
41345 COLL_SYM in a couple of places to avoid uninitialized variable
41346 wanings on tilegx gcc 4.8.2.
41347
41348 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41349
41350 * sysdeps/aarch64/strcpy.S: New file.
41351 * sysdeps/aarch64/stpcpy.S: New file.
41352 * NEWS: Updated.
41353
41354 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41355
41356 * sysdeps/aarch64/strrchr.S: New file.
41357 * NEWS: Updated.
41358
41359 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
41360
41361 [BZ #17658]
41362 * stdlib/setenv.c: Fix memory leak when setting large,
41363 duplicate string.
41364
41365 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41366
41367 [BZ #17273]
41368 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41369 and tabs from buffer before parsing fstab entry.
41370 * misc/tst-mntent.c (main): Add test for mount entry with
41371 trailing spaces and tabs.
41372
41373 2015-01-06 Joseph Myers <joseph@codesourcery.com>
41374
41375 [BZ #17748]
41376 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41377 * math/fesetround.c (fesetround): Rename to __fesetround and
41378 define as weak alias of __fesetround. Use libm_hidden_weak.
41379 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41380 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41381 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41382 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41383 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41384 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41385 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41386 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41387 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41388 __fesetround_inline.
41389 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41390 __fesetround_inline instead of __fesetround.
41391 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41392 __fesetround and define as weak alias of __fesetround. Use
41393 libm_hidden_weak. Call __fesetround_inline instead of
41394 __fesetround.
41395 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41396 __fesetround and define as weak alias of __fesetround. Use
41397 libm_hidden_weak.
41398 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41399 Likewise.
41400 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41401 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41402 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41403 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41404 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41405 __fesetround and define as weak alias of __fesetround. Use
41406 libm_hidden_weak.
41407 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41408 __fesetround instead of fesetround.
41409 (default_libc_feholdexcept_setround): Likewise.
41410 (libc_feholdsetround_ctx): Likewise.
41411 (libc_feholdsetround_noex_ctx): Likewise.
41412
41413 [BZ #17748]
41414 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41415 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41416 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41417 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41418 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41419 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41420 define as weak alias of __fesetenv. Use libm_hidden_weak.
41421 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41422 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41423 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41424 define as weak alias of __fesetenv. Use libm_hidden_weak.
41425 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41426 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41427 define as weak alias of __fesetenv. Use libm_hidden_weak.
41428 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41429 libm_hidden_def.
41430 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41431 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41432 Likewise.
41433 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41434 define as weak alias of __fesetenv. Use libm_hidden_weak.
41435 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41436 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41437 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41438 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41439 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41440 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41441 __fesetenv instead of fesetenv.
41442 (libc_feresetround_noex_ctx): Likewise.
41443 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41444 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41445 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41446 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41447 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41448 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41449 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41450 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41451 (__feupdateenv): Likewise.
41452 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41453 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41454 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41455 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41456
41457 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41458
41459 [BZ #17806]
41460 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41461 addresses have been freed.
41462
41463 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41464
41465 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41466 and nservall.
41467
41468 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
41469
41470 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41471 Clean up check_pf allocation pattern. addresses
41472
41473 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41474
41475 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41476 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41477 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41478 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41479 * nptl/pthread_join.c (pthread_join): Likewise.
41480 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41481 * sysdeps/posix/waitid.c (__waitid): Likewise.
41482 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41483 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41484 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41485 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41486 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41487 Likewise.
41488 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41489 (__libc_pread64): Likewise.
41490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41491 (__libc_pwrite): Likewise.
41492 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41493 (__libc_pwrite64): Likewsie.
41494 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41495 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41496 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41497 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41498 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41499 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41500 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41502 Likewise.
41503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41504 (__libc_pread64): Likewise.
41505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41506 Likewise.
41507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41508 (__libc_pwrite64): Likewise.
41509 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41510 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41511 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41512 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41513 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41514 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41515 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41516 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41517 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41518 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41519 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41520 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41521 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41522 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41523 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41524 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41525 Likewise.
41526
41527 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41528
41529 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41530 (CFLAGS-test-double.c): Likewise.
41531 (CFLAGS-test-ldouble.c): Likewise.
41532 (CPPFLAGS-test-ifloat.c): Likewise.
41533 (CPPFLAGS-test-idouble.c): Likewise.
41534 (CPPFLAGS-test-ildoubl.c): Likewise.
41535 (CFLAGS-test-test-fenv.c): Remove variable.
41536 (CFLAGS-test-misc.c): Likewise.
41537
41538 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41539
41540 [BZ #17797]
41541 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41543 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41544 CLOCKS_PER_SEC == 1000000.
41545 * time/clocktest.c (main): Replace %ld with %jd and cast to
41546 intmax_t.
41547
41548 2015-01-05 Roland McGrath <roland@hack.frob.com>
41549
41550 * sysdeps/generic/unwind-resume.h: New file.
41551 * sysdeps/gnu/unwind-resume.c: Include it.
41552 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41553 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41554 argument list.
41555 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41556 global rather than static.
41557 (_Unwind_Resume): Update user.
41558 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41559 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41560 rather than static. Add __attribute__ ((cold)).
41561 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41562 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41563 * sysdeps/arm/arm-unwind-resume.S: New file.
41564 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41565 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41566 * sysdeps/arm/Makefile [$(subdir) = csu]
41567 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41568 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41569 Add rt-arm-unwind-resume.
41570 [$(subdir) = nptl]
41571 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41572 Add pt-arm-unwind-resume.
41573 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41574 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41575
41576 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41577
41578 [BZ #17748]
41579 * include/fenv.h (__feholdexcept): Declare. Use
41580 libm_hidden_proto.
41581 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41582 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41583 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41584 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41585 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41586 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41587 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41588 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41589 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41590 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41591 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41592 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41593 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41594 (feholdexcept): Likewise.
41595 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41596 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41597 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41598 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41599 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41600 __feholdexcept instead of feholdexcept.
41601 (default_libc_feholdexcept_setround): Likewise.
41602
41603 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41604
41605 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41606 to avoid using stl/str to align destination.
41607
41608 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41609
41610 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41611
41612 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41613
41614 [BZ #17796]
41615 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41616 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41617 Define as weak alias not strong alias.
41618
41619 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41620
41621 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41622 bltzal with addiupc.
41623 (RTLD_START): Ditto.
41624
41625 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41626
41627 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41628 for __vdso_* functions in declarations.
41629 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41630 definitions.
41631 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41632 INTERNAL_VSYSCALL): Use struct return types to check for error.
41633
41634 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41635 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41636 function with cast from llround().
41637 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41638 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41639 Define.
41640
41641 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41642
41643 [BZ #17793]
41644 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41645 Define as weak alias not strong alias.
41646
41647 [BZ #17635]
41648 * ctype/ctype-c99.c: New file. isblank implementation moved from
41649 ...
41650 * ctype/ctype-extn.c: ... here.
41651 (__isblank_l): Move to ...
41652 * ctype/ctype-c99_l.c: ... here. New file.
41653 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41654 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41655 Remove variable.
41656 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41657 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41658 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41659 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41660 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41661
41662 [BZ #17777]
41663 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41664 (posix_fadvise64): Define as weak alias not strong alias.
41665 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41666 (posix_fallocate64): Likewise.
41667 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41668 Remove variable.
41669 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41670 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41671 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41672 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41673 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41674
41675 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41676
41677 [BZ #16191]
41678 * NEWS: Mention bug fix.
41679 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41680 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41681 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41682 (HOST_STACK_END_ADDR): Likewise.
41683
41684 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41685
41686 [BZ #17748]
41687 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41688 * math/fegetround.c (fegetround): Rename to __fegetround and
41689 define as weak alias of __fegetround. Use libm_hidden_weak.
41690 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41691 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41692 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41693 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41694 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41695 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41696 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41697 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41698 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41699 Undefine after rather than before function definition; use
41700 parentheses around function name in definition.
41701 (__fegetround): Also undefine macro after function definition.
41702 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41703 __fegetround and define as weak alias of __fegetround. Use
41704 libm_hidden_weak. Do not undefine as macro.
41705 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41706 Likewise.
41707 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41708 __fegetround and define as weak alias of __fegetround. Use
41709 libm_hidden_weak.
41710 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41711 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41712 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41713 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41714 __fegetround and define as weak alias of __fegetround. Use
41715 libm_hidden_weak.
41716 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41717 __fegetround instead of fegetround.
41718
41719 [BZ #17782]
41720 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41721 Condition macro definition on [__USE_MISC].
41722
41723 [BZ #17781]
41724 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41725 (struct sigaction): Change type of sa_flags field to int.
41726
41727 [BZ #17780]
41728 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41729 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41730 __glibc_reserved0.
41731
41732 * nptl/version.c (banner): Use single year in copyright notice.
41733
41734 * NEWS: Update copyright dates.
41735 * catgets/gencat.c (print_version): Likewise.
41736 * csu/version.c (banner): Likewise.
41737 * debug/catchsegv.sh: Likewise.
41738 * debug/pcprofiledump.c (print_version): Likewise.
41739 * debug/xtrace.sh (do_version): Likewise.
41740 * elf/ldconfig.c (print_version): Likewise.
41741 * elf/ldd.bash.in: Likewise.
41742 * elf/pldd.c (print_version): Likewise.
41743 * elf/sotruss.sh: Likewise.
41744 * elf/sprof.c (print_version): Likewise.
41745 * iconv/iconv_prog.c (print_version): Likewise.
41746 * iconv/iconvconfig.c (print_version): Likewise.
41747 * locale/programs/locale.c (print_version): Likewise.
41748 * locale/programs/localedef.c (print_version): Likewise.
41749 * login/programs/pt_chown.c (print_version): Likewise.
41750 * malloc/memusage.sh (do_version): Likewise.
41751 * malloc/memusagestat.c (print_version): Likewise.
41752 * malloc/mtrace.pl: Likewise.
41753 * manual/libc.texinfo: Likewise.
41754 * nptl/version.c (banner): Likewise.
41755 * nscd/nscd.c (print_version): Likewise.
41756 * nss/getent.c (print_version): Likewise.
41757 * nss/makedb.c (print_version): Likewise.
41758 * posix/getconf.c (main): Likewise.
41759 * scripts/test-installation.pl: Likewise.
41760 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41761
41762 2015-01-02 Will Newton <will.newton@linaro.org>
41763
41764 * sysdeps/arm/armv7/configure: Removed.
41765 * sysdeps/arm/armv7/configure.ac: Likewise.
41766
41767 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41768
41769 * All files with FSF copyright notices: Update copyright dates
41770 using scripts/update-copyrights.
41771 * intl/plural.c: Regenerated.
41772 * locale/programs/charmap-kw.h: Likewise.
41773 * locale/programs/locfile-kw.h: Likewise.
41774
41775 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41776
41777 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41778
41779 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41780
41781 [BZ #17748]
41782 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41783 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41784 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41785 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41786 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41787 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41788 define as weak alias of __fegetenv. Use libm_hidden_weak.
41789 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41790 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41791 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41792 define as weak alias of __fegetenv. Use libm_hidden_weak.
41793 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41794 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41795 define as weak alias of __fegetenv. Use libm_hidden_weak.
41796 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41797 libm_hidden_def.
41798 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41799 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41800 Likewise.
41801 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41802 define as weak alias of __fegetenv. Use libm_hidden_weak.
41803 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41804 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41805 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41806 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41807 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41808 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41809 __fegetenv instead of fegetenv.
41810 (libc_feholdsetround_noex_ctx): Likewise.
41811
41812 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41813
41814 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41815 (Elf_MIPS_ABIFlags_v0): New structure.
41816 (EF_MIPS_FP64): Define.
41817 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41818 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41819 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41820 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41821 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41822 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41823 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41824 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41825 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41826 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41827 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41828 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41829 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41830 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41831 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41832 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41833 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41834 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41835 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41836 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41837 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41838 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41839 field.
41840 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41841 EF_MIPS_FP64.
41842 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41843 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41844 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41845 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41846 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41847 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41848 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41849 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41850 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41851 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41852 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41853 record the current FP ABI extension.
41854 (mips-mode-switch): Define to show if kernel headers support mode
41855 switching.
41856 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41857 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41858 supported SYSV ABI version to 3.
41859 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41860 feature.
41861
41862 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41863 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41864
41865 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41866 path.
41867 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41868
41869 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41870
41871 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41872 __fegetround and redefine to call __fegetround. Remove condition
41873 on [!__NO_MATH_INLINES].
41874 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41875 function.
41876 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41877 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41878 Remove macro.
41879 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41880 instead of <fenv_libc.h>.
41881 (__llrintl): Call fegetround instead of __fegetround.
41882 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41883 instead of <fenv_libc.h>.
41884 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41885 (__lrintl): Call fegetround instead of __fegetround.
41886 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41887 instead of <fenv_libc.h>.
41888 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41889 (__rintl): Call fegetround instead of __fegetround.
41890
41891 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41892
41893 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41894 arrays.
41895
41896 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41897
41898 [BZ #17775]
41899 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41900 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41901 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41902
41903 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41904
41905 * sysdeps/i386/tls-macros.h: Include <features.h>.
41906 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41907 (TLS_IE): Likewise.
41908 (TLS_LD): Likewise.
41909 (TLS_GD): Likewise.
41910 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41911 define for GCC >= 5.0.
41912
41913 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41914
41915 * math/test-fenv.c (test_single_exception, set_single_exc,
41916 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41917 feexcp_mask_test, feenable_test, fe_single_test): Add
41918 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41919 case where they are not used.
41920 * math/libm-test.inc: Likewise.
41921 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41922 unused in the absence of FP rounding/exception support.
41923 * stdio-common/tst-printf-round.c: Likewise.
41924 * stdlib/tst-strtod-round.c: Likewise.
41925 * stdlib/tst-strtod-underflow.c: Likewise.
41926
41927 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41928
41929 [BZ #17723]
41930 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41931 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41932 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41933 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41934 libm_hidden_weak.
41935 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41936 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41937 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41938 libm_hidden_def.
41939 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41940 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41941 libm_hidden_weak.
41942 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41943 Likewise.
41944 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41945 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41946 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41947 libm_hidden_weak.
41948 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41949 libm_hidden_def.
41950 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41951 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41952 (__feraiseexcept): Likewise.
41953 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41954 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41955 libm_hidden_weak.
41956 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41957 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41958 libm_hidden_def.
41959 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41960 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41961 Use libm_hidden_def.
41962 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41963 libm_hidden_def.
41964 (feraiseexcept): Define as weak not strong alias. Use
41965 libm_hidden_weak.
41966 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41967 New inline function. Factored out of ...
41968 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41969 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41970 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41971 feraiseexcept.
41972 * math/w_acos.c (__acos): Likewise.
41973 * math/w_asin.c (__asin): Likewise.
41974 * math/w_ilogb.c (__ilogb): Likewise.
41975 * math/w_j0.c (y0): Likewise.
41976 * math/w_j1.c (y1): Likewise.
41977 * math/w_jn.c (yn): Likewise.
41978 * math/w_log.c (__log): Likewise.
41979 * math/w_log10.c (__log10): Likewise.
41980 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41981 * sysdeps/aarch64/fpu/math_private.h
41982 (libc_feupdateenv_test_aarch64): Likewise.
41983 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41984 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41985 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41986 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41987 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41988 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41989 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41990 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41991 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41992 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41993
41994 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41995
41996 [BZ #17732]
41997 * io/test-utime.c (main): Replace %ld with %jd and cast to
41998 intmax_t.
41999 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
42000 * nptl/tst-mutex5.c: Include <stdint.h>.
42001 (do_test): Replace %ld with %jd and cast to intmax_t.
42002 * posix/tst-regex.c (run_test): Likewise.
42003 (run_test_backwards): Likewise.
42004 * rt/tst-clock.c: Include <stdint.h>.
42005 (clock_test): Replace %ld with %jd and cast to intmax_t.
42006 * rt/tst-cpuclock1.c: Include <stdint.h>.
42007 (do_test): Replace %lu with %ju and cast to uintmax_t.
42008 * rt/tst-cpuclock2.c: Include <stdint.h>.
42009 (do_test): Replace %lu with %ju and cast to uintmax_t.
42010 * rt/tst-mqueue1.c: Include <stdint.h>.
42011 (check_attrs): Replace %ld with %jd and cast to intmax_t.
42012 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
42013 intmax_t.
42014 * rt/tst-mqueue4.c (do_test): Likewise.
42015 * rt/tst-timer4.c: Include <stdint.h>.
42016 (check_ts): Replace %ld with %jd and cast to intmax_t.
42017 (do_test): Likewise.
42018 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
42019 and cast to intmax_t.
42020 * sysdeps/pthread/tst-timer.c (main): Likewise.
42021 * time/clocktest.c (main): Likewise.
42022 * time/tst-posixtz.c (do_test): Likewise.
42023 * timezone/tst-timezone.c (main): Likewise.
42024
42025 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
42026 H.J. Lu <hongjiu.lu@intel.com>
42027
42028 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
42029 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
42030 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
42031 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
42032 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
42033 version if bit_Fast_Unaligned_Load is set.
42034 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42035 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42036 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42037 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42038 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42039 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42041 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
42042 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
42043 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
42044 to 4.
42045 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
42046 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
42047 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
42048 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
42049
42050 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
42051
42052 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
42053 instead of #if to avoid a Wundef warning.
42054 * stdlib/tst-limits.c (do_test): Likewise.
42055
42056 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
42057 parallel other exception macros.
42058 (fegetenv): Convert from macro to extern inline so that it applies
42059 retroactively to inline functions already seen by the compiler.
42060 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
42061
42062 * posix/Makefile (before-compile): Use $(objpfx) for
42063 posix-conf-vars-def.h.
42064
42065 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42066
42067 * posix/getconf.c (main): Use size_t for type of I.
42068 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
42069 NSPEC.
42070
42071 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
42072 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
42073 * posix/posix-envs.def: Likewise.
42074 * sysdeps/posix/sysconf.c: Likewise.
42075 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
42076 (specs): Remove array.
42077 * scripts/gen-posix-conf-vars.awk: Support generation of specs
42078 array.
42079
42080 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
42081 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
42082 (__sysconf): Use CONF_IS_* macros.
42083
42084 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
42085 ($(objpfx)posix-conf-vars-def.h): New target.
42086 * posix/posix-conf-vars.list: New file.
42087 * posix/posix-conf-vars.h: New file.
42088 * posix/confstr.c: Include posix-conf-vars.h.
42089 (confstr): Use CONF_IS_* macros.
42090 * posix/posix-envs.def: Include posix-conf-vars.h. Use
42091 CONF_IS_* macros.
42092 * scripts/gen-posix-conf-vars.awk: New file.
42093
42094 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
42095
42096 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
42097 fegetround): Add no-op macros to avoid linknamespace issues.
42098
42099 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
42100 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
42101
42102 * sysdeps/unix/sysv/linux/tile/sysdep.h
42103 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
42104 assembly-specific section to avoid a redefinition warning.
42105
42106 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
42107 long before casting to pointer to avoid a cast warning.
42108
42109 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
42110
42111 * sysdeps/tile/tilegx/Implies: New file.
42112
42113 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
42114
42115 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
42116
42117 2014-12-23 Florian Weimer <fweimer@redhat.com>
42118
42119 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
42120
42121 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42122
42123 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
42124 not define.
42125 * sysdeps/unix/sysv/linux/utimes.c: Do not include
42126 <kernel-features.h>.
42127 (__utimes) [__NR_utimes]: Make code unconditional.
42128 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
42129 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42130 (__ASSUME_UTIMES): Do not undefine.
42131 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42132 (__ASSUME_UTIMES): Likewise.
42133 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42134 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
42135 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
42136 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
42137
42138 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42139
42140 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42141
42142 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
42143
42144 [BZ #17747]
42145 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42146 alias to weak alias for j0l, y0l.
42147 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42148 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42149
42150 [BZ #17746]
42151 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42152 conversion.
42153
42154 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42155
42156 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42157 to zero if not already defined.
42158
42159 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42160
42161 [BZ #17724]
42162 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42163 (__kernel_standard_f): Remove. Moved to k_standardf.c.
42164 (__kernel_standard_l): Remove. Moved to k_standardl.c with
42165 (char *) casts added.
42166 * sysdeps/ieee754/k_standardf.c: New file.
42167 * sysdeps/ieee754/k_standardl.c: Likewise.
42168 * math/Makefile (libm-support): Remove k_standard.
42169 (libm-calls): Add k_standard.
42170
42171 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42172
42173 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42174 Optimize to avoid an unnecessary FPCR read.
42175
42176 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42177
42178 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42179 Optimize to reduce FPCR/FPSR accesses.
42180
42181 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42182
42183 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42184 Call libc_fetestexcept_aarch64.
42185
42186 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42187
42188 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42189 Call libc_fesetround_aarch64.
42190
42191 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42192
42193 [BZ #17733]
42194 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42195 (__bind): Do not define as weak alias.
42196 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42197 define.
42198 (__getsockname): Do not define as weak alias.
42199
42200 2014-12-22 Will Newton <will.newton@linaro.org>
42201
42202 * manual/install.texi: Document that we require bison 2.7
42203 or above.
42204 * INSTALL: Regenerate.
42205 * configure.ac: Use AC_CHECK_PROG_VER instead of
42206 AC_PATH_PROG when checking for bison and check for
42207 version 2.7 or above.
42208 * configure: Regenerate.
42209
42210 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
42211
42212 [BZ #17745]
42213 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42214 * sysdeps/tile/ffsll.c (ffsll): To here.
42215
42216 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42217
42218 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42219
42220 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42221 if not defined.
42222 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42223 definition.
42224 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42225 hidden ___tls_get_addr.
42226 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42227 hidden __tls_get_addr.
42228 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42229 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42230 Likewise.
42231
42232 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
42233
42234 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42235 _dl_init call.
42236
42237 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42238
42239 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42240 from "call _dl_init@PLT".
42241 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42242
42243 2014-12-21 Anders Kaseorg <andersk@mit.edu>
42244
42245 * manual/search.texi: (Array Sort Function): Clarify stable sorting
42246 guarantees.
42247
42248 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
42249
42250 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42251
42252 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42253
42254 [BZ #17744]
42255 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42256 strnlen.
42257
42258 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42259
42260 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42261 of multu on MIPSr6.
42262 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42263 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42264 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42265 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42266 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42267
42268 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42269
42270 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42271 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42272 (PTR_SUBU): Use subu for mips32r6/mips64r6.
42273 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42274 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42275 mips32r6/mips64r6.
42276 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42277
42278 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
42279
42280 * string/strncat.c (STRNCAT): Simplify implementation.
42281
42282 2014-12-19 David S. Miller <davem@davemloft.net>
42283
42284 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42285 access the quad as both a long double and as a series of 4 words.
42286
42287 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42288 link_map->l_info array access.
42289
42290 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42291
42292 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42293
42294 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42295 * math/atest-exp2.c (TIMEOUT): Likewise.
42296 * math/atest-sincos.c (TIMEOUT): Likewise.
42297
42298 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42299
42300 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42301 -Wno-error with -fno-builtin-lround.
42302
42303 2014-12-19 Torvald Riegel <triegel@redhat.com>
42304
42305 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42306 Contains futex constants and functions moved over from ...
42307 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
42308 <lowlevellock-futex.h>.
42309 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42310 (lll_timedwait_tid): Add comments and parentheses around macro
42311 arguments.
42312
42313 2014-12-19 Torvald Riegel <triegel@redhat.com>
42314
42315 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42316 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
42317 (__lll_private_flag): Remove.
42318 (lll_futex_wait): Likewise.
42319 (lll_futex_timed_wait): Likewise.
42320 (lll_futex_wake): Likewise.
42321 (lll_futex_requeue): Likewise.
42322 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42323 (__lll_timedwait_tid): Spell out argument names.
42324 (lll_timedwait_tid): Add comments and parentheses around macro
42325 arguments.
42326 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42327 LLL_SHARED and LLL_PRIVATE usable from assembly code.
42328
42329 2014-12-19 Torvald Riegel <triegel@redhat.com>
42330
42331 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42332 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42333 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42334 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42335 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42336 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42337 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42338 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42339 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42340 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42341 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42345 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42346 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42347 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42348 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42349 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42350
42351 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42352
42353 * sysdeps/x86_64/x32/Makefile: New file.
42354
42355 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42356
42357 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42358 1L with (mp_limb_t) 1.
42359
42360 2014-12-17 Roland McGrath <roland@hack.frob.com>
42361
42362 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42363 * nptl/libc_pthread_init.c: ... here.
42364 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42365 * nptl/register-atfork.c: ... here.
42366
42367 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42368 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42369 Use assert_perror to check its return value.
42370 (__gai_create_helper_thread): Likewise.
42371
42372 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42373
42374 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42375
42376 2014-12-17 Joseph Myers <joseph@codesourcery.com>
42377
42378 [BZ #17725]
42379 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42380 __profil_counter.
42381 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42382 Likewise.
42383 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42384 Likewise.
42385 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42386 Likewise.
42387 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42388 (profil_counter): Likewise.
42389 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42390 (profil_counter): Likewise.
42391 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42392 Likewise.
42393 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42394 Likewise.
42395 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42396 (profil_counter): Likewise.
42397 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42398 Likewise.
42399 [!__profil_counter] (profil_counter): Define as weak alias of
42400 __profil_counter.
42401 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42402 (profil_counter): Rename to __profil_counter.
42403 [!__profil_counter] (profil_counter): Define as weak alias of
42404 __profil_counter.
42405 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42406 (profil_counter): Rename to __profil_counter.
42407 [!__profil_counter] (profil_counter): Define as weak alias of
42408 __profil_counter.
42409 * sysdeps/posix/profil.c: Update comment referring to
42410 profil_counter.
42411 (__profil): Use __profil_counter instead of profil_counter.
42412 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42413 __profil_counter. Use __profil_counter_ushort and
42414 __profil_counter_uint in definitions.
42415 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42416 instead of profil_counter_uint and profil_counter_ushort.
42417
42418 [BZ #17722]
42419 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42420 define as weak alias of __inet_makeaddr.
42421 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42422 as weak alias of __inet_addr.
42423 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42424 as weak alias of __inet_pton. Use libc_hidden_weak.
42425 * include/arpa/inet.h (__inet_pton): Declare. Use
42426 libc_hidden_proto.
42427 (inet_makeaddr): Don't use libc_hidden_proto.
42428 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42429 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42430 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42431 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42432 Remove variable.
42433 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42434 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42435
42436 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42437
42438 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42439
42440 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42441
42442 * stdio-common/bug-vfprintf-nargs.c (do_test):
42443 Cast value to intptr_t to avoid format warning
42444 for usage with PRIdPTR printing macro.
42445
42446 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42447
42448 * libio/tst-widetext.c (do_test):
42449 Use format type %td instead of %Zd for ptrdiff_t
42450 in order to avoid format warning.
42451
42452 2014-12-17 Andreas Schwab <schwab@suse.de>
42453
42454 * nscd/mem.c (gc): Add size_t cast to match printf format.
42455
42456 2014-12-16 Roland McGrath <roland@hack.frob.com>
42457
42458 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42459 (init): Apply PTR_MANGLE to pointers before storing them.
42460 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42461 before using them.
42462
42463 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42464
42465 [BZ #17719]
42466 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42467 define as weak alias of __memrchr.
42468 (__memrchr): Do not define as strong alias of memrchr.
42469 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42470 Remove variable.
42471 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42472 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42473 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42474
42475 [BZ #17717]
42476 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42477 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42478 (if_indextoname): Rename to __if_indextoname and define as weak
42479 alias of __if_indextoname. Use libc_hidden_weak.
42480 (if_freenameindex): Rename to __if_freenameindex and define as
42481 weak alias of __if_freenameindex.
42482 (if_nameindex): Rename to __if_nameindex and define as weak alias
42483 of __if_nameindex.
42484 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42485 __if_nametoindex and define as weak alias of __if_nametoindex.
42486 Use libc_hidden_weak.
42487 (if_freenameindex): Rename to __if_freenameindex and define as
42488 weak alias of __if_freenameindex.
42489 (if_nameindex): Rename to __if_nameindex and define as weak alias
42490 of __if_nameindex.
42491 (if_indextoname): Rename to __if_indextoname and define as weak
42492 alias of __if_indextoname. Use libc_hidden_weak.
42493 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42494 __if_nametoindex and define as weak alias of __if_nametoindex.
42495 Use libc_hidden_weak.
42496 (if_freenameindex): Rename to __if_freenameindex and define as
42497 weak alias of __if_freenameindex. Use libc_hidden_weak.
42498 (if_nameindex_netlink): Use __if_freenameindex instead of
42499 if_freenameindex.
42500 (if_nameindex): Rename to __if_nameindex and define as weak alias
42501 of __if_nameindex. Use libc_hidden_weak.
42502 (if_indextoname): Rename to __if_indextoname and define as weak
42503 alias of __if_indextoname. Use libc_hidden_weak.
42504 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42505 libc_hidden_proto.
42506 [!_ISOMAC] (__if_freenameindex): Likewise.
42507 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42508 if_nametoindex.
42509 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42510 variable.
42511 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42512 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42513 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42514 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42515 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42516 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42517 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42518
42519 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42520 Remove variable.
42521 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42522 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42523
42524 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42525
42526 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42527 subscript above bounds'
42528
42529 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42530 bounds.
42531
42532 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42533
42534 * libio/tst-fopenloc.c: Use test-skeleton.c.
42535
42536 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42537 (entry): Rename to ITEM.
42538 (do_test, comp): Adjust.
42539
42540 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42541
42542 2014-12-16 Torvald Riegel <triegel@redhat.com>
42543
42544 * string/tester.c: Include <libc-internal.h>.
42545 (test_memset): Ignore -Wmemset-transposed-args.
42546
42547 2014-12-16 Torvald Riegel <triegel@redhat.com>
42548
42549 * misc/tst-mntent2.c (do_test): Fix warning.
42550
42551 2014-12-16 Torvald Riegel <triegel@redhat.com>
42552
42553 * elf/tst-unique4lib.cc(a): Mark as used.
42554
42555 2014-12-16 Florian Weimer <fweimer@redhat.com>
42556
42557 [BZ #17630]
42558 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42559 names.
42560
42561 2014-12-16 Allan McRae <allan@archlinux.org>
42562
42563 * stdio-common/Makefile (tests): Re-add bug26.
42564
42565 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
42566
42567 [BZ #17657]
42568 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42569 static array.
42570
42571 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42572
42573 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42574 (__lll_lock_wait): Likewise.
42575 (__lll_timedlock_wait): Likewise.
42576 (__lll_timedwait_tid): Likewise.
42577 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42578 (__lll_robust_timedlock_wait): Likewise.
42579 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42580 (lll_cond_trylock): Likewise.
42581 (__lll_lock): Likewise.
42582 (__lll_robust_lock): Likewise.
42583 (__lll_cond_lock): Likewise.
42584 (lll_robust_cond_lock): Likewise.
42585 (__lll_timedlock): Likewise.
42586 (__lll_robust_timedlock): Likewise.
42587 (__lll_unlock): Likewise.
42588 (__lll_robust_unlock): Likewise.
42589 (lll_wait_tid): Likewise.
42590 (lll_timedwait_tid): Likewise.
42591
42592 2014-12-15 Torvald Riegel <triegel@redhat.com>
42593
42594 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42595
42596 2014-12-15 Torvald Riegel <triegel@redhat.com>
42597
42598 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42599
42600 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42601
42602 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42603 * stdio-common/tst-sprintf.c: Likewise.
42604
42605 2014-12-15 Torvald Riegel <triegel@redhat.com>
42606
42607 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42608
42609 2014-12-15 Jeff Law <law@redhat.com>
42610
42611 [BZ #16617]
42612 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42613 on the heap. (CVE-2012-3406)
42614 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42615 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42616 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42617
42618 2014-12-15 Will Newton <will.newton@linaro.org>
42619
42620 * manual/install.texi: Bump required version of texinfo
42621 to 4.7 from 4.5.
42622 * INSTALL: Regenerated.
42623 * configure.ac: Check for makeinfo version 4.7 and above.
42624 * configure: Regenerated.
42625
42626 2014-12-12 Roland McGrath <roland@hack.frob.com>
42627
42628 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42629 PREFIX, string constant to insert between directory and name.
42630 * sysdeps/posix/shm_open.c: Update caller.
42631 * sysdeps/posix/shm_unlink.c: Likewise.
42632 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42633 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42634 (SEM_SHM_PREFIX): New macro.
42635 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42636 [$(have-thread-library) = no].
42637 * nptl/Makefile (libpthread-routines): Add shm-directory.
42638 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42639 * sysdeps/nptl/shm-directory.h: New file.
42640 * sysdeps/posix/shm-directory.c
42641 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42642 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42643 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42644 INTERNAL_SYSCALL.
42645 (__where_is_shmfs): Function removed.
42646 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42647 Variables removed.
42648 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42649 Use SHM_GET_NAME.
42650 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42651
42652 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42653 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42654 unconditional for use inside libpthread.
42655 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42656
42657 2014-12-12 Roland McGrath <roland@hack.frob.com>
42658
42659 * nptl/pthread_getaffinity.c: New file.
42660 * nptl/pthread_setaffinity.c: New file.
42661 * nptl/pthread_getname.c: New file.
42662 * nptl/pthread_setname.c: New file.
42663
42664 * nptl/pthread_create.c (START_THREAD_DEFN)
42665 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42666
42667 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42668 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42669
42670 * resolv/res_send.c (send_vc): Disable warning resplen may
42671 be used uninitialized.
42672
42673 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42674
42675 * nptl/tst-mutex6.c
42676 (ATTR_NULL): New define checks ATTR against NULL.
42677 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42678 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42679
42680 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42681
42682 [BZ #17581]
42683 * malloc/hooks.c
42684 (mem2mem_check): Revert my previous change.
42685 (malloc_check_get_size): Revert my previous change.
42686 (mem2chunk_check): Revert my previous change.
42687
42688 2014-12-11 Roland McGrath <roland@hack.frob.com>
42689
42690 * sysdeps/posix/shm-directory.c: New file.
42691 * sysdeps/posix/shm-directory.h: New file.
42692 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42693 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42694 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42695 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42696 Transmute EPERM to EACCES.
42697 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42698 from ...
42699 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42700 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42701
42702 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42703
42704 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42705 pointer and cast to uintptr_t.
42706 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42707 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42708 Add cast to avoid warning.
42709 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42710
42711 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42712
42713 * nptl/semaphore.h: Move to ...
42714 * sysdeps/pthread/semaphore.h: ... here.
42715 * Makefile (installed-headers): Change nptl/semaphore.h to
42716 sysdeps/pthread/semaphore.h.
42717
42718 2014-12-11 Roland McGrath <roland@hack.frob.com>
42719
42720 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42721 generated error format strings.
42722
42723 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42724 -Wformat-extra-args warnings for scanf formats.
42725 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42726 test of zero-length format (duh).
42727 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42728 corner-case scanf format test.
42729 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42730 generated fprintf format string.
42731 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42732 corner-case sprintf format tests.
42733 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42734 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42735 -Wformat-extra-args warnings throughout.
42736 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42737 (CFLAGS-scanf4.c): Likewise.
42738 (CFLAGS-scanf7.c): Likewise.
42739 (CFLAGS-tst-sprintf.c): Likewise.
42740 (CFLAGS-tst-printf.c): Likewise.
42741 (CFLAGS-tst-printfsz.c): Likewise.
42742
42743 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42744
42745 * include/cpio.h: New file.
42746 * include/fmtmsg.h: Likewise.
42747
42748 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42749 corresponding format argument to size_t.
42750 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42751 arguments.
42752 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42753 corresponding format argument to size_t.
42754 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42755 arguments.
42756 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42757 corresponding format argument to size_t.
42758 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42759 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42760 (CFLAGS-tst-mbswcs2.c): Likewise.
42761 (CFLAGS-tst-mbswcs3.c): Likewise.
42762 (CFLAGS-tst-mbswcs4.c): Likewise.
42763 (CFLAGS-tst-mbswcs5.c): Likewise.
42764 (CFLAGS-tst-trans.c): Likewise.
42765
42766 2014-12-11 Roland McGrath <roland@hack.frob.com>
42767
42768 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42769 rather than assuming they won't contain any '%'s.
42770
42771 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42772
42773 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42774 inhibit_loop_to_libcall to avoid recursive calls.
42775 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42776 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42777
42778 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42779
42780 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42781 prototype.
42782
42783 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42784
42785 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42786 integer value instead of boolean.
42787
42788 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42789
42790 * malloc/malloc.c: Fix powerof2 check.
42791
42792 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42793
42794 * locale/programs/locfile.h (maybe_swap_uint32):
42795 Remove inline and add unused attribute.
42796
42797 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42798
42799 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42800 Truncating assembler expression to a .long expression.
42801
42802 2014-12-11 Andreas Schwab <schwab@suse.de>
42803
42804 * elf/rtld.c (struct map_args): Constify str member.
42805 (do_preload): Constify fname argument.
42806
42807 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42808
42809 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42810 constants definition.
42811
42812 2014-12-11 Andreas Schwab <schwab@suse.de>
42813
42814 [BZ #16657]
42815 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42816 FORCE_ELISION instead of DO_ELISION.
42817 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42818 Remove.
42819 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42820 Likewise.
42821
42822 * iconvdata/gconv-modules: Remove duplicate entry.
42823
42824 2014-12-11 Will Newton <will.newton@linaro.org>
42825
42826 Merge gettext 0.19.3 into intl/.
42827
42828 This involves a number of cosmetic changes to comments
42829 and ANSI function definitions and prototypes throughout
42830 all the files. The gettext copyright header is used but
42831 with the date ranges taken from the glibc copy.
42832
42833 * NEWS: Add gettext merge to 2.21.
42834 * intl/bindtextdom.c: Switch to gettext copyright.
42835 Use ANSI definitions and prototypes.
42836 Use gl_* locking primitives rather than __libc_* ones.
42837 Use __builtin_expect rather than __glibc_likely/unlikely.
42838 * intl/dcgettext.c: Switch to gettext copyright.
42839 Use ANSI definitions and prototypes.
42840 * intl/dcigettext.c: Switch to gettext copyright.
42841 Use ANSI definitions and prototypes.
42842 (INTDIV0_RAISES_SIGFPE): New define.
42843 Use gl_* locking primitives rather than __libc_* ones.
42844 Include eval-plural.h instead of plural-eval.c.
42845 Use __builtin_expect rather than __glibc_likely/unlikely.
42846 * intl/dcngettext.c: Switch to gettext copyright.
42847 Use ANSI definitions and prototypes.
42848 * intl/dgettext.c: Likewise.
42849 * intl/dngettext.c: Likewise.
42850 * intl/plural-eval.c: Renamed to...
42851 * intl/eval-plural.h: ...this.
42852 * intl/explodename.c: Switch to gettext copyright.
42853 Use ANSI definitions and prototypes.
42854 (_nl_explode_name): Use strchr instead of __rawmemchr.
42855 * intl/finddomain.c: Switch to gettext copyright.
42856 Use ANSI definitions and prototypes.
42857 Use gl_* locking primitives rather than __libc_* ones.
42858 (_nl_find_domain): Use malloc rather than alloca for
42859 allocation of temporary locale name.
42860 * intl/gettext.c: Switch to gettext copyright.
42861 Use ANSI definitions and prototypes.
42862 * intl/gettextP.h: Switch to gettext copyright.
42863 Use ANSI definitions and prototypes.
42864 Use gl_* locking primitives rather than __libc_* ones.
42865 * intl/gmo.h: Switch to gettext copyright.
42866 (struct sysdep_string): Move struct segment_pair outside of
42867 struct definition.
42868 * intl/hash-string.c: Use ANSI definitions and prototypes.
42869 * intl/hash-string.h: Switch to gettext copyright.
42870 Use ANSI definitions and prototypes.
42871 * intl/l10nflist.c: Switch to gettext copyright.
42872 Use ANSI definitions and prototypes.
42873 (_nl_normalize_codeset): Avoid integer overflow.
42874 * intl/loadinfo.h: Switch to gettext copyright.
42875 Use ANSI definitions and prototypes.
42876 (LIBINTL_DLL_EXPORTED): New define.
42877 (PATH_SEPARATOR): New define.
42878 * intl/loadmsgcat.c: Switch to gettext copyright.
42879 * intl/localealias.c: Switch to gettext copyright.
42880 Use ANSI definitions and prototypes.
42881 (_nl_expand_alias): Use PATH_SEPARATOR.
42882 * intl/ngettext.c: Switch to gettext copyright.
42883 Use ANSI definitions and prototypes.
42884 * intl/plural-exp.c: Likewise.
42885 * intl/plural-exp.h: Switch to gettext copyright.
42886 Use ANSI definitions and prototypes.
42887 (struct expression): Move definition of enum operator outside
42888 of struct definition.
42889 * intl/plural.c: Regenerate.
42890 * intl/plural.y: Switch to gettext copyright.
42891 Use ANSI definitions and prototypes.
42892 Port to bison 3.0.
42893 * intl/textdomain.c: Switch to gettext copyright.
42894 Use ANSI definitions and prototypes.
42895 Use gl_* locking primitives rather than __libc_* ones.
42896
42897 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42898
42899 * debug/warning-nop.c: Add used atrribute.
42900
42901 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42902
42903 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42904
42905 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42906 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42907 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42908
42909 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42910 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42911
42912 [BZ #17634]
42913 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42914 Undefine after defining function. Define as weak alias of
42915 __wcschr. Use libc_hidden_weak.
42916 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42917 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42918 (libc_hidden_def): Also define __GI___wcschr alias.
42919 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42920 __wcschr and define as weak alias of __wcschr.
42921 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42922 __wcschr.
42923 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42924 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42925 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42926 libc_hidden_weak. Do not use libc_hidden_def.
42927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42928 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42929 __GI___wcschr alias.
42930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42931 [IS_IN (libc)] (wcschr): Define as macro expanding to
42932 __redirect_wcschr.
42933 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42934 [IS_IN (libc)] (__wcschr_power6): Likewise.
42935 [IS_IN (libc)] (__wcschr_power7): Likewise.
42936 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42937 instead of wcschr.
42938 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42939 __libc_wcschr.
42940 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42941 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42942 __wcschr and define as weak alias of __wcschr. Use
42943 libc_hidden_builtin_def.
42944 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42945 as weak alias of __wcschr. Use libc_hidden_weak.
42946 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42947 wcschr.
42948 * time/era.c (_nl_init_era_entries): Likewise.
42949 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42950 variable.
42951 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42952 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42953
42954 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42955
42956 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42957 format for long int variable.
42958
42959 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42960
42961 [BZ #10672]
42962 * manual/search.texi: (Array Sort Function): Remove claim how to make
42963 qsort stable.
42964
42965 2014-12-10 Andreas Schwab <schwab@suse.de>
42966
42967 [BZ #12847]
42968 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42969 user-controlled locks.
42970
42971 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42972
42973 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42974 register.
42975
42976 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42977
42978 * configure.ac (--disable-werror): New configure option.
42979 (enable_werror): New AC_SUBST.
42980 * configure: Regenerated.
42981 * config.make.in (enable-werror): New variable.
42982 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42983 -Wno-error=undef.
42984 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42985 * manual/install.texi (Configuring and compiling): Document
42986 --disable-werror.
42987 * INSTALL: Regenerated.
42988 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42989 (CFLAGS-tst-chk2.c): Likewise.
42990 (CFLAGS-tst-chk3.c): Likewise.
42991 (CFLAGS-tst-chk4.cc): Likewise.
42992 (CFLAGS-tst-chk5.cc): Likewise.
42993 (CFLAGS-tst-chk6.cc): Likewise.
42994 (CFLAGS-tst-lfschk1.c): Likewise.
42995 (CFLAGS-tst-lfschk2.c): Likewise.
42996 (CFLAGS-tst-lfschk3.c): Likewise.
42997 (CFLAGS-tst-lfschk4.cc): Likewise.
42998 (CFLAGS-tst-lfschk5.cc): Likewise.
42999 (CFLAGS-tst-lfschk6.cc): Likewise.
43000
43001 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
43002 (main): Disable -Wdeprecated-declarations around calls to
43003 register_printf_function.
43004
43005 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
43006 (do_test): Disable -Wdiv-by-zero around some calls to
43007 fwrite_unlocked and fread_unlocked.
43008
43009 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
43010 (DIAG_POP_NEEDS_COMMENT): Likewise.
43011 (_DIAG_STR1): Likewise.
43012 (_DIAG_STR): Likewise.
43013 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
43014 * stdio-common/bug21.c: Include <libc-internal.h>.
43015 (do_test): Disable -Wformat around call to sscanf.
43016 * stdio-common/scanf14.c: Include <libc-internal.h>.
43017 (main): Disable -Wformat around some calls to scanf functions.
43018
43019 2014-12-09 Torvald Riegel <triegel@redhat.com>
43020
43021 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
43022
43023 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43024
43025 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
43026 stack variable alignment.
43027
43028 2014-12-06 Joseph Myers <joseph@codesourcery.com>
43029
43030 [BZ #17682]
43031 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
43032 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
43033 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
43034 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
43035 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
43036 __getrlimit instead of getrlimit.
43037 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
43038 __gettimeofday instead of gettimeofday.
43039 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
43040 Likewise.
43041 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
43042 Likewise.
43043 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43044 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
43045 Remove variable.
43046 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43047 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43048
43049 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43050
43051 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
43052 for wide-character tests.
43053
43054 2014-12-04 Roland McGrath <roland@hack.frob.com>
43055
43056 * io/openat64.c: #include <libc-internal.h>
43057 (__openat64): Prototypify. Use ignore_value on MODE.
43058 * io/openat.c: Likewise.
43059 * misc/reboot.c: #include <libc-internal.h>
43060 (reboot): Prototypify. Use ignore_value on HOWTO.
43061 * misc/ptrace.c: #include <libc-internal.h>
43062 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
43063
43064 2014-12-04 Joseph Myers <joseph@codesourcery.com>
43065
43066 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
43067 XPG4, UNIX98 and XOPEN2K.
43068 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
43069 Remove variable.
43070 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43071
43072 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43073
43074 * libio/fileops.c: Use ISO C style for function definitions.
43075 * libio/iofopen.c: Likewise.
43076 * libio/wfileops.c: Likewise.
43077
43078 [BZ #17653]
43079 * libio/fileops.c (_IO_new_file_underflow): Unset cached
43080 offset on EOF.
43081 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
43082 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
43083 (fgets_func): Function pointer to fgets and fgetws.
43084 (do_ftell_test): Add test to verify ftell value after read
43085 EOF.
43086 (do_test): Set fgets_func.
43087
43088 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
43089 O_TRUNC flag for w and w+ modes.
43090 (do_rewind_test): Likewise.
43091 (do_ftell_test): Likewise.
43092 (do_write_test): Likewise.
43093
43094 [BZ #17647]
43095 * libio/fileops.c (do_ftell): Seek only when there are
43096 unflushed writes.
43097 * libio/wfileops.c (do_ftell_wide): Likewise.
43098 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
43099 test case.
43100 (do_one_test): Call it.
43101
43102 2014-12-03 Joseph Myers <joseph@codesourcery.com>
43103
43104 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
43105 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
43106 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
43107 Remove variable.
43108 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43109 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43110 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43111
43112 2014-12-02 Joseph Myers <joseph@codesourcery.com>
43113
43114 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
43115 Remove variable.
43116 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43117
43118 [BZ #17668]
43119 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
43120 as weak alias of __getifaddrs. Use libc_hidden_weak.
43121 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43122 __freeifaddrs. Use libc_hidden_weak.
43123 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
43124 define as weak alias of __getifaddrs. Use libc_hidden_weak.
43125 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43126 __freeifaddrs. Use libc_hidden_weak.
43127 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
43128 __getifaddrs and define as weak alias of __getifaddrs. Use
43129 libc_hidden_weak.
43130 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43131 __freeifaddrs. Use libc_hidden_weak.
43132 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
43133 Remove variable.
43134 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43135 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43136
43137 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
43138
43139 [BZ #17601]
43140 * sysdeps/mips/start.S (__start): Use indirect jump to call
43141 __libc_start_main.
43142
43143 2014-12-02 Joseph Myers <joseph@codesourcery.com>
43144
43145 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43146
43147 * nptl/tst-mutex1.c: Include <stdbool.h>.
43148 [!ATTR] (ATTR_NULL): New macro.
43149 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43150 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43151 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43152
43153 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43154 to char *.
43155
43156 [BZ #17665]
43157 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43158 Change conditional to [__USE_MISC].
43159
43160 [BZ #17664]
43161 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43162 fgets_unlocked.
43163 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43164 __fgets_unlocked.
43165 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43166 fgets_unlocked.
43167 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43168 Remove variable.
43169 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43170 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43171 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43172 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43173 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43174 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43175 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43176 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43177 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43178
43179 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43180
43181 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43182
43183 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43184 Remove strpbrk objects.
43185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43186 (__libc_ifunc_impl_list): Remove strpbrk implementation.
43187 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43188 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43189 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43190 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43191
43192 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43193 Remove strcspn objects.
43194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43195 (__libc_ifunc_impl_list): Remove strcspn implementation.
43196 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43197 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43198 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43199 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43200
43201 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43202 Remove strspn objetcs.
43203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43204 (__libc_ifunc_impl_list): Remove strspn implementation.
43205 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43206 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43207 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43208 * sysdeps/powerpc/powerpc64/strspn.S: New file.
43209
43210 2014-12-01 James Lemke <jwlemke@codesourcery.com>
43211
43212 [BZ #17581]
43213 * malloc/hooks.c
43214 (mem2mem_check): Add a terminator to the chain of checking blocks.
43215 (malloc_check_get_size): Use it here.
43216 (mem2chunk_check): Ditto.
43217
43218 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43219
43220 * sysdeps/powerpc/powerpc64/strtok.S: New file.
43221 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43222
43223 2014-11-29 Carlos O'Donell <carlos@redhat.com>
43224
43225 * bits/ioctl-types.h: Indent preprocessor directives correctly.
43226
43227 * nptl/nptl-init.c: Include libc-internal.h.
43228 (__pthread_initialize_minimal_internal): Use ROUND_UP.
43229
43230 * elf/ldconfig.c (search_dir): Expand comment.
43231
43232 2014-11-29 Joseph Myers <joseph@codesourcery.com>
43233
43234 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43235 variable.
43236 (linknamespace-symlist-stdlibs-tests): Likewise.
43237 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43238 instead of $(objpfx)symlist-stdlibs.
43239 (linknamespace-libs-isoc): New variable.
43240 (linknamespace-libs): Use $(linknamespace-libs-isoc).
43241 (linknamespace-libs-ISO): New variable.
43242 (linknamespace-libs-ISO99): Likewise.
43243 (linknamespace-libs-ISO11): Likewise.
43244 (linknamespace-libs-XPG3): Likewise.
43245 (linknamespace-libs-XPG4): Likewise.
43246 (linknamespace-libs-POSIX): Likewise.
43247 (linknamespace-libs-UNIX98): Likewise.
43248 (linknamespace-libs-XOPEN2K): Likewise.
43249 (linknamespace-libs-POSIX2008): Likewise.
43250 (linknamespace-libs-XOPEN2K8): Likewise.
43251 ($(objpfx)symlist-stdlibs): Replace by
43252 $(linknamespace-symlist-stdlibs-tests). Use
43253 $(linknamespace-libs-$*) as set of libraries.
43254 ($(linknamespace-header-tests)): Update dependencies. Use
43255 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43256 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43257 * conform/linknamespace.pl: Remove comment about considering
43258 definitions of symbols from irrelevant libraries.
43259
43260 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
43261
43262 [BZ #13862]
43263 * elf/dl-tls.c: Include <atomic.h>.
43264 (oom): Remove #ifdef SHARED/#endif.
43265 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43266 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
43267 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43268 big enough.
43269 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43270 * nptl/Makefile (tests): Add tst-stack4.
43271 (modules-names): Add tst-stack4mod.
43272 ($(objpfx)tst-stack4): New.
43273 (tst-stack4mod.sos): Likewise.
43274 ($(objpfx)tst-stack4.out): Likewise.
43275 ($(tst-stack4mod.sos)): Likewise.
43276 (clean): Likewise.
43277 * nptl/tst-stack4.c: New file.
43278 * nptl/tst-stack4mod.c: Likewise.
43279
43280 2014-11-27 J. Brown <jb999@gmx.de>
43281
43282 * sysdeps/x86/bits/string.h: Add recent CPUs.
43283
43284 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43285
43286 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43287 sigblock.
43288
43289 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43290 feof.
43291
43292 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43293 variable.
43294
43295 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
43296
43297 * nscd/connections.c: Include libc-internal.h because of macro
43298 usage ignore_value.
43299
43300 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43301
43302 * string/bits/string3.h (__warn_memset_zero_len): Don't
43303 declare for gcc newer than 5.0.
43304 (memset): Don't test for zero-length __LEN for gcc newer than
43305 5.0.
43306
43307 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43308
43309 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43310 size_t for %zu format.
43311
43312 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43313 difference, not %ju.
43314
43315 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43316
43317 * include/libc-internal.h (ignore_value): New macro.
43318 * nscd/connections.c (restart): Wrap calls to setuid and setgid
43319 with ignore_value.
43320
43321 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43322 definition.
43323
43324 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43325 pthread_cleanup_push to void *.
43326
43327 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43328 Undefine.
43329
43330 [BZ #16619]
43331 [BZ #16740]
43332 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43333 instead of 1L << 52.
43334
43335 * libio/bug-rewind.c (do_test): Check fwscanf return values.
43336 * libio/bug-rewind2.c (do_test): Likewise.
43337
43338 * debug/test-stpcpy_chk-ifunc.c: Remove file.
43339 * debug/test-strcpy_chk-ifunc.c: Likewise.
43340 * wcsmbs/test-wcschr-ifunc.c: Likewise.
43341 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43342 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43343 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43344 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43345 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43346 * Rules [$(multi-arch) = no] (tests): Do not filter out
43347 $(tests-ifunc).
43348 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43349 * debug/Makefile (tests-ifunc): Remove variable.
43350 (tests): Do not add $(tests-ifunc).
43351 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43352 (tests): Do not add $(tests-ifunc).
43353 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43354 [TEST_IFUNC]: Remove conditionals.
43355 * string/test-string.h (TEST_IFUNC): Remove macro.
43356 [TEST_IFUNC]: Remove conditionals.
43357
43358 * string/test-strchr.c [!WIDE] (L): New macro.
43359 [WIDE] (L): Likewise.
43360 (check1): Use CHAR instead of char. Use L on string and character
43361 constants.
43362
43363 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43364
43365 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43366 tests.
43367 * sysdeps/powerpc/bits/atomic.h
43368 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43369 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43370 (atomic_exchange_and_add_acq): Likewise.
43371 (atomic_exchange_and_add_rel): Likewise.
43372 * sysdeps/powerpc/powerpc32/bits/atomic.h
43373 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43374 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43375 * sysdeps/powerpc/powerpc64/bits/atomic.h
43376 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43377 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43378
43379 2014-11-26 Torvald Riegel <triegel@redhat.com>
43380
43381 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43382 Change synchronization of __sched_fifo_min_prio and
43383 __sched_fifo_max_prio.
43384 * nptl/pthread_mutexattr_getprioceiling.c
43385 (pthread_mutexattr_getprioceiling): Likewise.
43386 * nptl/pthread_mutexattr_setprioceiling.c
43387 (pthread_mutexattr_setprioceiling): Likewise.
43388 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43389 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43390 Likewise.
43391
43392 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43393
43394 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43395 void.
43396
43397 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43398
43399 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43400 third argument const.
43401
43402 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43403
43404 fnmatch: work around GCC compiler warning bug with uninit var
43405 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43406 This works around a bug with x86-64 GCC 4.9.2 and earlier
43407 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43408 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43409 used uninitialized in this function [-Wmaybe-uninitialized]".
43410
43411 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43412
43413 * posix/bug-regex31.c (main): Return RES not 0.
43414
43415 2014-11-25 Anton Blanchard <anton@samba.org>
43416
43417 * sysdeps/powerpc/bits/atomic.h
43418 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43419
43420 2014-11-24 Sterling Augustine <saugustine@google.com>
43421
43422 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43423
43424 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43425
43426 [BZ #17608]
43427 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43428
43429 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43430
43431 [BZ #17633]
43432 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43433 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43434 variable.
43435 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43436 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43437
43438 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43439
43440 * string/strncpy.c (strncpy): Improve performance by using memset.
43441
43442 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43443
43444 * string/strcpy.c (strcpy):
43445 Improve performance by using strlen and memcpy.
43446
43447 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43448
43449 * string/strcoll_l.c (get_next_seq): __always_inline.
43450 * string/strcoll_l.c (do_compare): __always_inline.
43451
43452 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43453
43454 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43455 defined.
43456 * include/mqueue.h: Likewise.
43457 * include/stdlib.h: Likewise.
43458
43459 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43460 (get_null_defines): Adjust.
43461 * sunrpc/Makefile: Adjust comment.
43462 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43463 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43464 (CFLAGS-interp.c): Likewise.
43465 (CFLAGS-ldconfig.c): Likewise.
43466 (CPPFLAGS-.os): Likewise.
43467 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43468 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43469 * extra-modules.mk (extra-modules.mk): Likewise.
43470 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43471 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43472 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43473 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43474 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43475 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43476 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43477 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43478 * iconvdata/Makefile (CPPFLAGS): Likewise.
43479 (cpp-srcs-left): Add libof for all iconvdata routines.
43480 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43481 * include/assert.h: Likewise.
43482 * include/ctype.h: Likewise.
43483 * include/errno.h: Likewise.
43484 * include/libc-symbols.h: Likewise.
43485 * include/math.h: Likewise.
43486 * include/netdb.h: Likewise.
43487 * include/resolv.h: Likewise.
43488 * include/stdio.h: Likewise.
43489 * include/stdlib.h: Likewise.
43490 * include/string.h: Likewise.
43491 * include/sys/stat.h: Likewise.
43492 * include/wctype.h: Likewise.
43493 * intl/l10nflist.c: Likewise.
43494 * libidn/idn-stub.c: Likewise.
43495 * libio/libioP.h: Likewise.
43496 * nptl/libc_multiple_threads.c: Likewise.
43497 * nptl/pthreadP.h: Likewise.
43498 * posix/regex_internal.h: Likewise.
43499 * resolv/res_hconf.c: Likewise.
43500 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43501 * sysdeps/arm/memmove.S: Likewise.
43502 * sysdeps/arm/sysdep.h: Likewise.
43503 * sysdeps/generic/_itoa.h: Likewise.
43504 * sysdeps/generic/symbol-hacks.h: Likewise.
43505 * sysdeps/gnu/errlist.awk: Likewise.
43506 * sysdeps/gnu/errlist.c: Likewise.
43507 * sysdeps/i386/i586/memcpy.S: Likewise.
43508 * sysdeps/i386/i586/memset.S: Likewise.
43509 * sysdeps/i386/i686/memcpy.S: Likewise.
43510 * sysdeps/i386/i686/memmove.S: Likewise.
43511 * sysdeps/i386/i686/mempcpy.S: Likewise.
43512 * sysdeps/i386/i686/memset.S: Likewise.
43513 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43514 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43515 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43516 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43517 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43518 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43519 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43520 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43521 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43523 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43524 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43525 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43526 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43527 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43528 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43529 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43530 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43531 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43533 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43534 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43535 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43536 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43537 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43538 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43539 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43540 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43542 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43543 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43546 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43549 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43550 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43551 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43553 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43554 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43555 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43556 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43557 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43558 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43559 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43560 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43561 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43562 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43563 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43564 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43565 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43566 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43567 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43568 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43569 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43570 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43571 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43572 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43574 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43575 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43576 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43577 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43578 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43579 * sysdeps/posix/closedir.c: Likewise.
43580 * sysdeps/posix/opendir.c: Likewise.
43581 * sysdeps/posix/readdir.c: Likewise.
43582 * sysdeps/posix/rewinddir.c: Likewise.
43583 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43584 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43585 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43586 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43587 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43588 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43589 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43590 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43594 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43595 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43596 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43597 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43598 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43599 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43600 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43602 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43603 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43604 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43605 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43606 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43607 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43609 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43611 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43618 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43619 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43620 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43621 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43622 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43623 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43624 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43625 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43627 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43628 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43629 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43631 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43632 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43633 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43634 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43635 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43636 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43637 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43640 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43641 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43642 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43643 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43644 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43645 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43646 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43647 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43648 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43649 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43650 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43651 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43652 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43653 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43654 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43655 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43656 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43657 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43658 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43659 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43660 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43661 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43662 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43663 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43666 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43667 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43668 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43669 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43670 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43671 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43672 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43673 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43674 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43675 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43679 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43681 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43682 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43683 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43684 * sysdeps/unix/alpha/sysdep.S: Likewise.
43685 * sysdeps/unix/alpha/sysdep.h: Likewise.
43686 * sysdeps/unix/make-syscalls.sh: Likewise.
43687 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43688 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43689 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43690 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43691 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43692 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43693 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43694 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43695 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43696 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43697 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43698 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43699 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43700 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43701 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43702 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43703 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43704 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43705 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43706 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43707 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43708 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43709 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43710 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43711 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43712 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43713 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43716 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43717 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43721 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43725 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43726 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43727 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43728 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43729 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43730 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43731 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43734 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43737 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43738 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43739 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43740 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43741 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43742 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43743 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43745 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43746 * sysdeps/x86_64/memcpy.S: Likewise.
43747 * sysdeps/x86_64/memmove.c: Likewise.
43748 * sysdeps/x86_64/memset.S: Likewise.
43749 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43750 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43751 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43752 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43753 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43755 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43756 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43757 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43758 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43759 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43760 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43761 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43762 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43763 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43764 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43765 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43766 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43767 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43768 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43769 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43770 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43771 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43772 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43773 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43774 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43775 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43776 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43777 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43778 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43779 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43780 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43781 * sysdeps/x86_64/strcmp.S: Likewise.
43782
43783 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43784
43785 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43786 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43787 * elf/rtld-Rules: Likewise.
43788 * elf/setup-vdso.h: Likewise.
43789 * include/assert.h: Likewise.
43790 * include/bits/stdlib-float.h: Likewise.
43791 * include/errno.h: Likewise.
43792 * include/sys/stat.h: Likewise.
43793 * include/unistd.h: Likewise.
43794 * sysdeps/aarch64/setjmp.S: Likewise.
43795 * sysdeps/alpha/setjmp.S: Likewise.
43796 * sysdeps/arm/__longjmp.S: Likewise.
43797 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43798 * sysdeps/arm/setjmp.S: Likewise.
43799 * sysdeps/arm/sysdep.h: Likewise.
43800 * sysdeps/generic/_itoa.h: Likewise.
43801 * sysdeps/generic/dl-sysdep.h: Likewise.
43802 * sysdeps/generic/ldsodefs.h: Likewise.
43803 * sysdeps/i386/dl-tls.h: Likewise.
43804 * sysdeps/i386/setjmp.S: Likewise.
43805 * sysdeps/m68k/setjmp.c: Likewise.
43806 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43807 * sysdeps/mach/hurd/opendir.c: Likewise.
43808 * sysdeps/posix/getcwd.c: Likewise.
43809 * sysdeps/posix/opendir.c: Likewise.
43810 * sysdeps/posix/profil.c: Likewise.
43811 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43812 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43813 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43814 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43815 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43816 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43817 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43818 * sysdeps/s390/dl-tls.h: Likewise.
43819 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43820 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43821 * sysdeps/sh/sh3/setjmp.S: Likewise.
43822 * sysdeps/sh/sh4/setjmp.S: Likewise.
43823 * sysdeps/unix/alpha/sysdep.h: Likewise.
43824 * sysdeps/unix/arm/sysdep.S: Likewise.
43825 * sysdeps/unix/i386/sysdep.S: Likewise.
43826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43827 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43828 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43829 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43830 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43831 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43832 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43833 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43834 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43835 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43836 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43837 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43838 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43841 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43844 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43845 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43846 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43849 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43850 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43851 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43853 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43854 * sysdeps/x86_64/setjmp.S: Likewise.
43855
43856 * include/math.h: Use IS_IN instead of IS_IN_libm.
43857 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43858 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43859 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43860 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43862 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43863 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43866 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43867 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43868 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43869 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43871 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43872 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43873 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43874 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43875 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43876 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43877 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43878 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43879 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43880 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43881 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43882 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43883 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43884 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43885 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43886 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43887 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43888 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43889 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43891 Likewise.
43892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43893 Likewise.
43894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43895 Likewise.
43896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43897 Likewise.
43898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43899 Likewise.
43900 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43901 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43902 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43903 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43904 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43905 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43911 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43912 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43913 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43914 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43916 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43917 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43918 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43919 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43920 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43921 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43922 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43923 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43924 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43926 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43927
43928 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43929 * nptl/pthreadP.h: Likewise.
43930 * nptl_db/structs.def: Likewise.
43931 * sysdeps/arm/sysdep.h: Likewise.
43932 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43933 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43934 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43935 * sysdeps/unix/alpha/sysdep.h: Likewise.
43936 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43937 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43938 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43939 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43940 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43941 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43942 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43943 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43944 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43945 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43946 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43947 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43948 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43949 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43952 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43954 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43957 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43958 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43959 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43960 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43961 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43962
43963 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43964 * nptl/pthreadP.h: Likewise.
43965 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43966 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43967 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43968 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43969 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43970 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43971 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43972 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43973 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43974 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43975 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43976 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43978 Likewise.
43979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43980 Likewise.
43981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43983 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43986 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43987 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43988 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43989
43990 * dlfcn/dladdr.c: Use IS_IN.
43991 * dlfcn/dladdr1.c: Likewise.
43992 * dlfcn/dlclose.c: Likewise.
43993 * dlfcn/dlerror.c: Likewise.
43994 * dlfcn/dlinfo.c: Likewise.
43995 * dlfcn/dlmopen.c: Likewise.
43996 * dlfcn/dlopen.c: Likewise.
43997 * dlfcn/dlsym.c: Likewise.
43998 * dlfcn/dlvsym.c: Likewise.
43999
44000 * include/ifaddrs.h: Use IS_IN.
44001 * inet/check_pf.c: Likewise.
44002 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44003 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
44004
44005 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
44006 IS_IN_ldconfig.
44007 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
44008 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
44009
44010 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
44011 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
44012 IS_IN (libc).
44013
44014 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
44015
44016 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
44017 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44018 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
44019 * include/libc-symbols.h (IS_IN_LIB): New macro.
44020 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
44021 * include/netdb.h: Likewise.
44022 * include/stap-probe.h: Remove all uses of IN_LIB.
44023
44024 * Makeconfig (module-cppflags-real): Define MODULE_NAME
44025 instead of IN_MODULE.
44026 * include/libc-symbols.h (IN_MODULE): Define using
44027 MODULE_NAME.
44028 (PASTE_NAME, PASTE_NAME1): New macros.
44029 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
44030 of IN_LIB.
44031 (STAP_PROBE_ASM): Likewise.
44032
44033 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
44034
44035 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
44036 __mach_init in dlopened libc.
44037
44038 2014-11-22 Mike Frysinger <vapier@gentoo.org>
44039
44040 * sysdeps/arm/preconfigure.ac: Delete EABI check.
44041 * sysdeps/arm/preconfigure: Regenerate.
44042
44043 2014-11-21 Roland McGrath <roland@hack.frob.com>
44044
44045 * nptl/pthread_create.c (__pthread_create_2_1): Set
44046 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
44047 when copying values from IATTR into PD.
44048
44049 2014-11-21 Will Newton <will.newton@linaro.org>
44050 Andrew Pinski <andrew.pinski@caviumnetworks.com>
44051
44052 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
44053 Refactor inline-asm. Also add comment.
44054
44055 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
44056 ElfW macro instead of hardcoded Elf64 types.
44057 (la_aarch64_gnu_pltenter): Likewise.
44058 * sysdeps/aarch64/dl-machine.h
44059 (elf_machine_runtime_setup): Use ElfW(Addr).
44060
44061 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
44062 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
44063 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
44064 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
44065 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
44066 (R_AARCH64_TLS_DTPMOD64): Rename to ..
44067 (R_AARCH64_TLS_DTPMOD): This.
44068 (R_AARCH64_TLS_DTPREL64): Rename to ...
44069 (R_AARCH64_TLS_DTPREL): This.
44070 (R_AARCH64_TLS_TPREL64): Rename to ...
44071 (R_AARCH64_TLS_TPREL): This.
44072 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
44073 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
44074 R_AARCH64_TLS_TPREL64.
44075 (elf_machine_rela): Likewise.
44076
44077 2014-11-21 Torvald Riegel <triegel@redhat.com>
44078
44079 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
44080 by setting it to 0. 64b atomics are not supported currently.
44081
44082 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44083
44084 [BZ #16469]
44085 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
44086 search domain names.
44087
44088 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44089
44090 [BZ #16469]
44091 * NEWS: Update.
44092 * resolv/res_query.c (__libc_res_nquerydomain): Retain
44093 trailing dot.
44094 * posix/tst-getaddrinfo5.c: New.
44095 * posix/Makefile (tests): Add it.
44096
44097 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44098
44099 [BZ #14498]
44100 * NEWS: Fixed.
44101 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
44102 after parsing line but before break_if_match.
44103 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
44104 if there is a protocol mismatch.
44105
44106 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
44107
44108 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
44109 because the potential race is on the user-supplied stream.
44110
44111 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44112
44113 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
44114 string literal if not passed a buffer.
44115 * manual/job.texi (ctermid): Update reasoning, note deviation
44116 from posix, suggest mtasurace when not passed a buffer, for
44117 future non-preliminary safety notes.
44118
44119 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44120
44121 * manual/users.texi (cuserid): Fix MT-Safety note for the case
44122 of not passing it a buffer.
44123 Reported by Peng Haitao.
44124
44125 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44126
44127 * manual/Makefile ($(objpfx)stamp-summary): Require
44128 check-safety.sh to pass.
44129 * manual/check-safety.sh: Wish for verification that every
44130 @deftypefn and @deftypefun is followed by a @safety remark.
44131
44132 2014-11-20 Roland McGrath <roland@hack.frob.com>
44133
44134 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
44135
44136 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
44137 PTHREAD_CANCEL_ASYNCHRONOUS.
44138 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44139 send SIGCANCEL.
44140
44141 * nptl/default-sched.h: New file.
44142 * sysdeps/unix/sysv/linux/default-sched.h: New file.
44143 * nptl/pthread_create.c: Include it.
44144 (__pthread_create_2_1): Use collect_default_sched instead of making
44145 Linux syscalls here directly.
44146
44147 2014-11-20 Torvald Riegel <triegel@redhat.com>
44148
44149 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44150 __pthread_once): Use C11 atomics.
44151
44152 2014-11-20 Torvald Riegel <triegel@redhat.com>
44153
44154 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44155
44156 2014-11-20 Torvald Riegel <triegel@redhat.com>
44157
44158 * include/atomic.h (__atomic_link_error, __atomic_check_size,
44159 atomic_thread_fence_acquire, atomic_thread_fence_release,
44160 atomic_thread_fence_seq_cst, atomic_load_relaxed,
44161 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44162 atomic_compare_exchange_weak_relaxed,
44163 atomic_compare_exchange_weak_acquire,
44164 atomic_compare_exchange_weak_release,
44165 atomic_exchange_acquire, atomic_exchange_release,
44166 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44167 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44168 atomic_fetch_and_acquire,
44169 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44170
44171 2014-11-20 Torvald Riegel <triegel@redhat.com>
44172
44173 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44174 USE_ATOMIC_COMPILER_BUILTINS): Define.
44175 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44177 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44179 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44181 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44183 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44185 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44187 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44189 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44191 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44193 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44195 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44197 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44199 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44201 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44203 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44205 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44207 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44209 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44210 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44211 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44213 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44215
44216 2014-11-19 Roland McGrath <roland@hack.frob.com>
44217
44218 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44219 the sched_priority value here. It was already checked when the user
44220 called pthread_attr_setschedparam.
44221
44222 * nptl/tst-bad-schedattr.c: New file.
44223 * nptl/Makefile (tests): Add it.
44224
44225 2014-11-19 Carlos O'Donell <carlos@redhat.com>
44226 Florian Weimer <fweimer@redhat.com>
44227 Joseph Myers <joseph@codesourcery.com>
44228 Adam Conrad <adconrad@0c3.net>
44229 Andreas Schwab <schwab@suse.de>
44230 Brooks <bmoses@google.com>
44231
44232 [BZ #17625]
44233 * wordexp-test.c (__dso_handle): Add prototype.
44234 (__register_atfork): Likewise.
44235 (__app_register_atfork): New function.
44236 (registered_forks): New global.
44237 (register_fork): New function.
44238 (test_case): Add 3 new tests for WRDE_CMDSUB.
44239 (main): Call __app_register_atfork.
44240 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44241 fork count is non-zero fail the test.
44242 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44243 is set.
44244 (parse_dollars): Remove check for WRDE_NOCMD.
44245 (parse_dquote): Likewise.
44246
44247 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44248
44249 * Makeconfig (built-modules): List non-library modules to be
44250 built.
44251 (module-cppflags): Include libc-modules.h for
44252 everything except shlib-versions.v.i.
44253 (CPPFLAGS): Use it.
44254 (before-compile): Add libc-modules.h.
44255 ($(common-objpfx)libc-modules.h,
44256 $(common-objpfx)libc-modules.stmp): New targets.
44257 (common-generated): Add libc-modules.h and libc-modules.stmp.
44258 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44259 * include/libc-symbols.h: Don't include libc-modules.h.
44260 * include/libc-modules.h: Remove file.
44261 * scripts/gen-libc-modules.awk: New script to generate
44262 libc-modules.h.
44263 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44264 Depend on libc-modules.stmp.
44265
44266 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44267
44268 * Makeconfig (in-module): Get value of libof set for the
44269 translation unit.
44270 (CPPFLAGS): Use $(in-module).
44271 * Makerules: Don't suffix routine names for nonlib.
44272 * include/libc-modules.h: New file.
44273 * include/libc-symbols.h: Include libc-modules.h
44274 (IS_IN): New macro to replace IS_IN_* macros.
44275 * elf/Makefile: Set libof-* for each routine.
44276 * elf/rtld-Rules: Likewise.
44277 * extra-modules.mk: Likewise.
44278 * iconv/Makefile: Likewise.
44279 * iconvdata/Makefile: Likewise.
44280 * locale/Makefile: Likewise.
44281 * malloc/Makefile: Likewise.
44282 * nss/Makefile: Likewise.
44283 * sysdeps/gnu/Makefile: Likewise.
44284 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44285 * sysdeps/unix/sysv/linux/Makefile: Likewise.
44286 * sysdeps/s390/s390-64/Makefile: Likewise.
44287 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
44288 CPPFLAGS for nscd instead of nonlib.
44289
44290 2014-11-18 Roland McGrath <roland@hack.frob.com>
44291
44292 * nptl/createthread.c: New file.
44293
44294 * nptl/createthread.c: Moved ...
44295 * sysdeps/unix/sysv/linux/createthread.c: ... here.
44296
44297 * nptl/createthread.c: Add proper top-line comment.
44298 (do_clone): Folded into ...
44299 (create_thread): ... here. Take new arguments STOPPED_START and
44300 THREAD_RAN. Always set PD->stopped_start to something here. Don't
44301 increment __nptl_threads, do event-reporting logic, do
44302 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44303 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
44304 resource cleanup if sched_setaffinity or sched_setscheduler fails,
44305 just send SIGCANCEL.
44306 * nptl/pthread_create.c: Forward-declare create_thread before
44307 including createthread.c.
44308 (start_thread): Use new macro START_THREAD_DEFN to replace defining
44309 declaration, and new macro START_THREAD_SELF to replace argument.
44310 Remove return statement.
44311 (report_thread_creation): New function.
44312 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
44313 synchronization logic, and __nptl_nthreads increment here, around
44314 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
44315 PD->parent_cancelhandling here, before create_thread. When
44316 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44317 __deallocate_stack, and ENOMEM translation here.
44318
44319 2014-11-18 Joseph Myers <joseph@codesourcery.com>
44320
44321 [BZ #17616]
44322 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44323 (mptwo): Rename to __mptwo.
44324 (__inv): Use __mptwo instead of mptwo.
44325 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44326 (mptwo): Rename to __mptwo.
44327 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44328 of mpone and __mptwo instead of mptwo.
44329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44330 instead of mpone.
44331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44332 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44333 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44334 of mpone and __mptwo instead of mptwo.
44335 (__mpranred): Use __mpone instead of mpone.
44336 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44337 variable.
44338 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44339 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44340 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44341 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44342 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44343 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44344 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44345 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44346 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44347 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44348 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44349 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44350 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44351 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44352 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44353 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44354 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44355 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44356 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44357
44358 2014-11-18 Tom de Vries <tom@codesoucery.com>
44359
44360 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44361 replace BSD Handler xref with BSD Signal Handling.
44362
44363 2014-11-17 Richard Henderson <rth@redhat.com>
44364
44365 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44366 (_FP_PACK_RAW_2): Remove.
44367 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44368 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44369 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44370 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44371 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44372 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44373 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44374 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44375 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44376 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44377 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44378 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44379 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44380 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44381 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44382 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44383
44384 2014-11-14 Roland McGrath <roland@hack.frob.com>
44385
44386 * signal/signal.h [__USE_MISC]
44387 (struct sigvec): Remove type.
44388 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44389 (sigvec): Remove declaration.
44390 * sysdeps/posix/sigvec.c: Moved ...
44391 * signal/sigvec.c: ... here, replacing old file.
44392 (struct sigvec): New type, copied from old signal.h definition.
44393 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44394 (__sigvec): Convert definition to prototype.
44395 (sigvec): Replace weak_alias with compat_symbol.
44396 * signal/Versions (libc: GLIBC_2.21): New version set.
44397 * include/signal.h: Remove __sigvec declaration.
44398 * sysdeps/unix/bsd/sigvec.c: Remove file.
44399 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44400 * manual/signal.texi (BSD Handler): Remove subsection.
44401 Move siginterrupt up to ...
44402 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44403 (Blocking in BSD): Fold subsection into its parent.
44404 * NEWS: Mention sigvec removal.
44405
44406 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44407
44408 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44409 (DLA_FMS): Make definition conditional only on [__FMA4__].
44410 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44411 definition.
44412
44413 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44414 Make definition conditional only on [PROF].
44415 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44416 definition.
44417 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44418 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44419
44420 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44421 !__GNUC__].
44422 * include/signal.h (__sigpause): Move declaration above call to
44423 libc_hidden_proto.
44424 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44425 variable.
44426 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44427 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44428
44429 2014-11-14 David S. Miller <davem@davemloft.net>
44430
44431 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44432 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44433
44434 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44435
44436 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44437 * configure: Regenerated.
44438 * manual/install.texi (Tools for Compilation): Document a
44439 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44440 compiler verified to work.
44441 * INSTALL: Regenerated.
44442
44443 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44444 redeclare with asm name.
44445 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44446 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44447 including <string.h>.
44448 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44449 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44450 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44451 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44452 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44453 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44454 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44455
44456 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44457
44458 * stdlib/strtol.c (__strtol): Use prototype definition.
44459
44460 [BZ #17594]
44461 * stdlib/strtol.c (SYM__): New macro.
44462 (SYM__1): Likewise.
44463 (__strtol): Likewise.
44464 (strtol): Rename to __strtol and define as weak alias of
44465 __strtol. Use libc_hidden_weak.
44466
44467 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44468
44469 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44470 Use numbered labels in inline assembly.
44471
44472 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44473
44474 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44475 Add setjmp LIBC_PROBE.
44476 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44477 Likewise.
44478 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44479 Add longjmp, longjmp_target LIBC_PROBE.
44480 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44481 Likewise.
44482
44483 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44484
44485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44486 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44487 to get rid of unused variable warning.
44488
44489 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44490
44491 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44492 Check for unwind_backtrace == NULL only in SHARED case.
44493 (__backchain_backtrace): Compile only in SHARED case.
44494 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44495 Likewise.
44496 (__backchain_backtrace): Declare as static.
44497
44498 2014-11-12 Roland McGrath <roland@hack.frob.com>
44499
44500 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44501 (__libc_multiple_threads_ptr): Variable moved ...
44502 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44503
44504 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44505
44506 * conform/GlibcConform.pm: New file.
44507 * conform/conformtest.pl: Use GlibcConform module.
44508 * conform/linknamespace.pl: New file.
44509 * conform/list-header-symbols.pl: Likewise.
44510 * conform/Makefile (linknamespace-symlists-base): New variable.
44511 (linknamespace-symlists-tests): Likewise.
44512 (linknamespace-header-base): Likewise.
44513 (linknamespace-header-tests): Likewise.
44514 (tests-special): Add new tests.
44515 ($(linknamespace-symlists-tests)): New rule.
44516 (linknamespace-libs): New variable.
44517 ($(objpfx)symlist-stdlibs): New rule.
44518 ($(linknamespace-header-tests)): Likewise.
44519 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44520 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44521 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44522 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44523 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44524 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44525 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44526 (test-xfail-ISO/math.h/linknamespace): Likewise.
44527 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44528 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44529 (test-xfail-ISO/time.h/linknamespace): Likewise.
44530 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44531 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44532 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44533 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44534 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44535 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44536 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44537 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44538 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44539 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44540 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44541 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44542 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44543 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44544 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44545 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44546 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44547 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44548 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44549 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44550 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44551 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44552 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44553 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44554 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44555 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44556 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44557 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44558 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44559 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44560 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44561 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44562 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44563 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44564 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44565 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44566 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44567 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44568 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44569 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44570 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44571 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44572 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44573 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44574 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44575 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44576 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44577 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44578 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44579 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44580 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44581 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44582 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44583 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44584 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44585 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44586 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44587 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44588 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44589 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44590 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44591 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44592 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44593 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44594 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44595 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44596 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44597 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44598 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44599 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44600 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44601 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44602 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44603 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44604 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44605 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44606 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44607 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44608 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44609 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44610 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44611 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44612 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44613 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44614 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44615 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44616 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44617 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44618 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44619 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44620 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44621 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44622 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44623 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44624 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44625 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44626 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44627 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44628 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44629 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44630 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44631 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44632 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44633 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44634 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44635 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44636 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44637 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44638 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44639 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44640 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44641 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44642 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44643 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44644 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44645 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44646 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44647 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44648 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44649 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44650 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44651 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44652 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44653 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44654 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44655 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44656 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44657 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44658 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44659 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44660 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44661 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44662 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44663 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44664 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44665 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44666 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44667 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44668 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44669 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44670 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44671 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44672 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44673 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44674 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44675 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44676 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44677 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44678 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44679 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44680
44681 [BZ #17589]
44682 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44683 of fgets_unlocked.
44684
44685 [BZ #17585]
44686 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44687 (memmem): Rename to __memmem and define as weak alias of
44688 __memmem. Use libc_hidden_weak.
44689 (__memmem): Use libc_hidden_def.
44690 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44691 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44692 memmem.
44693
44694 [BZ #17582]
44695 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44696 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44697 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44698 and define as weak alias of __fgets_unlocked. Use
44699 libc_hidden_weak.
44700 (__fgets_unlocked): Use libc_hidden_def.
44701 * include/stdio.h (__fgets_unlocked): Declare. Use
44702 libc_hidden_proto.
44703 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44704 __fgets_unlocked instead of fgets_unlocked.
44705 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44706 (GET_NPROCS_CONF_PARSER): Likewise.
44707 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44708 (GET_NPROCS_CONF_PARSER): Likewise.
44709
44710 [BZ #17574]
44711 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44712 weak alias of __wmemset. Use libc_hidden_weak.
44713 (__wmemset): Use libc_hidden_def.
44714 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44715 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44716 of wmemset.
44717
44718 [BZ #17573]
44719 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44720 with asm name __mempcpy.
44721 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44722
44723 [BZ #17572]
44724 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44725 and define as weak alias of __rawmemchr.
44726 (__rawmemchr): Do not define as strong alias of rawmemchr.
44727
44728 [BZ #17571]
44729 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44730 alias of __qsort_r.
44731 (qsort): Call __qsort_r instead of qsort_r.
44732 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44733 (__qsort_r): Declare. Call libc_hidden_proto.
44734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44735 instead of qsort_r.
44736 * nscd/gai.c (__qsort_r): Define to qsort_r.
44737 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44738 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44739 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44740
44741 [BZ #17570]
44742 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44743 define as weak alias of __malloc_info.
44744
44745 [BZ #17584]
44746 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44747 as weak alias of __rewinddir. Don't use libc_hidden_def.
44748 (__rewinddir): Use libc_hidden_def.
44749 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44750 as weak alias of __rewinddir. Don't use libc_hidden_def.
44751 (__rewinddir): Use libc_hidden_def.
44752 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44753 weak alias of __rewinddir. Don't use libc_hidden_def.
44754 (__rewinddir): Use libc_hidden_def.
44755 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44756 (__rewinddir): Use libc_hidden_proto.
44757 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44758 rewinddir.
44759 (__getcwd): Use __rewinddir instead of rewinddir.
44760
44761 [BZ #17583]
44762 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44763 alias of __fileno. Use libc_hidden_weak.
44764 (__fileno): Use libc_hidden_def.
44765 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44766 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44767 alias of __ftello.
44768 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44769 __ftello.
44770 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44771 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44772 libc_hidden_def.
44773 (fread_unlocked): Don't use libc_hidden_ver.
44774 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44775 and define as weak alias of __fread_unlocked. Don't use
44776 libc_hidden_def.
44777 (__fread_unlocked): Use libc_hidden_def.
44778 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44779 (ftello): Don't use libc_hidden_proto.
44780 (__ftello): Declare. Use libc_hidden_proto.
44781 (fread_unlocked): Don't use libc_hidden_proto.
44782 (__fread_unlocked): Declare. Use libc_hidden_proto.
44783 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44784 and __ftello instead of fileno, fread_unlocked and ftello.
44785
44786 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44787
44788 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44789 GOT12.
44790 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44791 Likewise.
44792 (_dl_start_user): Likewise.
44793 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44794
44795 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44796 Siddhesh Poyarekar <siddhesh@redhat.com>
44797
44798 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44799 Move argv and envp down instead of moving argc up.
44800 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44801
44802 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44803
44804 [BZ #17506]
44805 * test-skeleton.c (main): Return successful if one of
44806 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44807 * string/tst-strcoll-overflow.c: Define expected status.
44808
44809 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44810
44811 [BZ #17475]
44812 * locale/iso-639.def: Define Bhili and Tulu language codes.
44813
44814 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44815
44816 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44817
44818 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44819
44820 [BZ #17555]
44821 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44822
44823 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44824
44825 * configure.ac: Updated check of minimal required version to
44826 2.22.
44827 * manual/install.texi (Tools for Compilation): Updated version
44828 number.
44829 * configure: Regenerated.
44830 * INSTALL: Likewise.
44831
44832 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44833
44834 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44835 __tls_get_addr.
44836
44837 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44838
44839 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44840 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44841 (__waitpid): Don't define as alias. Use libc_hidden_def not
44842 libc_hidden_weak.
44843 (waitpid): Define as alias of __waitpid.
44844 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44845 __waitpid.
44846 (__waitpid): Don't define as alias. Use libc_hidden_def not
44847 libc_hidden_weak.
44848 (waitpid): Define as alias of __waitpid.
44849 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44850 __libc_waitpid alias.
44851 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44852 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44853 Likewise.
44854 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44855 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44856 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44857 alias.
44858 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44859 __waitpid.
44860 (__waitpid): Don't define as alias. Use libc_hidden_def not
44861 libc_hidden_weak.
44862 (waitpid): Define as alias of __waitpid.
44863
44864 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44865
44866 * manual/llio.texi: Add comment that write safety has been
44867 fixed in Linux.
44868
44869 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44870 (localplt-build-dso): Add elf/ld.so.
44871 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44872 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44873 and free for ld.so.
44874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44875 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44877 Likewise.
44878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44879 Likewise.
44880 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44881 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44882 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44883 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44884 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44885 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44886 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44887 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44888 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44889 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44890 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44891
44892 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44893
44894 [BZ #14132]
44895 * include/libc-symbols.h (INTUSE): Remove macro.
44896 (INTDEF): Likewise.
44897 (INTVARDEF): Likewise.
44898 (_INTVARDEF): Likewise.
44899 (INTDEF2): Likewise.
44900 (INTVARDEF2): Likewise.
44901 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44902 rtld_hidden_def instead of INTVARDEF.
44903 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44904 (_dl_starting_up_internal): Remove declaration.
44905 (_dl_starting_up): Use rtld_hidden_proto.
44906 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44907 declaration.
44908 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44909 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44910 _dl_starting_up.
44911 * elf/dl-writev.h (_dl_writev): Likewise.
44912 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44913 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44914 _dl_starting_up_internal.
44915
44916 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44917
44918 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44919 test-skeleton.c.
44920
44921 2014-11-05 Will Newton <will.newton@linaro.org>
44922
44923 * benchtests/Makefile: (bench-malloc): Add malloc thread
44924 scalability benchmark.
44925 * benchtests/bench-malloc-threads.c: New file.
44926
44927 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44928
44929 * sysdeps/aarch64/strchrnul.S: New file.
44930
44931 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44932
44933 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44934 definition.
44935 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44936 Likewise.
44937 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44938 Likewise.
44939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44940 Likewise.
44941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44942 Likewise.
44943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44944 Likewise.
44945
44946 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44947
44948 * catgets/test-gencat.c: Use test-skeleton.c.
44949 * catgets/tst-catgets.c: Likewise.
44950 * csu/tst-empty.c: Likewise.
44951 * elf/tst-audit2.c: Likewise.
44952 * elf/tst-global1.c: Likewise.
44953 * elf/tst-pathopt.c: Likewise.
44954 * elf/tst-piemod1.c: Likewise.
44955 * elf/tst-tls10.c: Likewise.
44956 * elf/tst-tls11.c: Likewise.
44957 * elf/tst-tls12.c: Likewise.
44958 * gnulib/tst-gcc.c: Likewise.
44959 * iconvdata/tst-e2big.c: Likewise.
44960 * iconvdata/tst-loading.c: Likewise.
44961 * iconv/tst-iconv1.c: Likewise.
44962 * iconv/tst-iconv2.c: Likewise.
44963 * inet/test-inet6_opt.c: Likewise.
44964 * inet/tst-gethnm.c: Likewise.
44965 * inet/tst-network.c: Likewise.
44966 * inet/tst-ntoa.c: Likewise.
44967 * intl/tst-codeset.c: Likewise.
44968 * intl/tst-gettext2.c: Likewise.
44969 * intl/tst-gettext3.c: Likewise.
44970 * intl/tst-ngettext.c: Likewise.
44971 * intl/tst-translit.c: Likewise.
44972 * io/test-stat.c: Likewise.
44973 * libio/test-fmemopen.c: Likewise.
44974 * libio/tst-freopen.c: Likewise.
44975 * libio/tst-sscanf.c: Likewise.
44976 * libio/tst-ungetwc1.c: Likewise.
44977 * libio/tst-ungetwc2.c: Likewise.
44978 * libio/tst-widetext.c: Likewise.
44979 * localedata/tst-ctype.c: Likewise.
44980 * localedata/tst-digits.c: Likewise.
44981 * localedata/tst-leaks.c: Likewise.
44982 * localedata/tst-mbswcs1.c: Likewise.
44983 * localedata/tst-mbswcs2.c: Likewise.
44984 * localedata/tst-mbswcs3.c: Likewise.
44985 * localedata/tst-mbswcs4.c: Likewise.
44986 * localedata/tst-mbswcs5.c: Likewise.
44987 * localedata/tst-setlocale.c: Likewise.
44988 * localedata/tst-trans.c: Likewise.
44989 * localedata/tst-wctype.c: Likewise.
44990 * localedata/tst-xlocale1.c: Likewise.
44991 * login/tst-grantpt.c: Likewise.
44992 * malloc/tst-calloc.c: Likewise.
44993 * malloc/tst-malloc.c: Likewise.
44994 * malloc/tst-mallocstate.c: Likewise.
44995 * malloc/tst-mcheck.c: Likewise.
44996 * malloc/tst-mtrace.c: Likewise.
44997 * malloc/tst-obstack.c: Likewise.
44998 * math/atest-exp2.c: Likewise.
44999 * math/atest-exp.c: Likewise.
45000 * math/atest-sincos.c: Likewise.
45001 * math/test-matherr.c: Likewise.
45002 * math/test-misc.c: Likewise.
45003 * math/test-powl.c: Likewise.
45004 * math/tst-definitions.c: Likewise.
45005 * misc/tst-dirname.c: Likewise.
45006 * misc/tst-efgcvt.c: Likewise.
45007 * misc/tst-fdset.c: Likewise.
45008 * misc/tst-hsearch.c: Likewise.
45009 * misc/tst-mntent2.c: Likewise.
45010 * nptl/tst-sem7.c: Likewise.
45011 * nptl/tst-sem8.c: Likewise.
45012 * nptl/tst-sem9.c: Likewise.
45013 * nss/test-netdb.c: Likewise.
45014 * posix/tst-fnmatch.c: Likewise.
45015 * posix/tst-getlogin.c: Likewise.
45016 * posix/tst-gnuglob.c: Likewise.
45017 * posix/tst-mmap.c: Likewise.
45018 * pwd/tst-getpw.c: Likewise.
45019 * resolv/tst-inet_ntop.c: Likewise.
45020 * rt/tst-timer.c: Likewise.
45021 * stdio-common/test-fseek.c: Likewise.
45022 * stdio-common/test-popen.c: Likewise.
45023 * stdio-common/test-vfprintf.c: Likewise.
45024 * stdio-common/tst-cookie.c: Likewise.
45025 * stdio-common/tst-fileno.c: Likewise.
45026 * stdio-common/tst-gets.c: Likewise.
45027 * stdio-common/tst-obprintf.c: Likewise.
45028 * stdio-common/tst-perror.c: Likewise.
45029 * stdio-common/tst-sprintf2.c: Likewise.
45030 * stdio-common/tst-sprintf3.c: Likewise.
45031 * stdio-common/tst-sprintf.c: Likewise.
45032 * stdio-common/tst-swprintf.c: Likewise.
45033 * stdio-common/tst-tmpnam.c: Likewise.
45034 * stdio-common/tst-unbputc.c: Likewise.
45035 * stdio-common/tst-wc-printf.c: Likewise.
45036 * stdlib/tst-environ.c: Likewise.
45037 * stdlib/tst-fmtmsg.c: Likewise.
45038 * stdlib/tst-limits.c: Likewise.
45039 * stdlib/tst-rand48-2.c: Likewise.
45040 * stdlib/tst-rand48.c: Likewise.
45041 * stdlib/tst-random2.c: Likewise.
45042 * stdlib/tst-random.c: Likewise.
45043 * stdlib/tst-strtol.c: Likewise.
45044 * stdlib/tst-strtoll.c: Likewise.
45045 * stdlib/tst-tls-atexit.c: Likewise.
45046 * stdlib/tst-xpg-basename.c: Likewise.
45047 * string/test-ffs.c: Likewise.
45048 * string/tst-bswap.c: Likewise.
45049 * string/tst-inlcall.c: Likewise.
45050 * string/tst-strtok.c: Likewise.
45051 * string/tst-strxfrm.c: Likewise.
45052 * sysdeps/x86_64/tst-audit10.c: Likewise.
45053 * sysdeps/x86_64/tst-audit3.c: Likewise.
45054 * sysdeps/x86_64/tst-audit4.c: Likewise.
45055 * sysdeps/x86_64/tst-audit5.c: Likewise.
45056 * time/tst-ftime_l.c: Likewise.
45057 * time/tst-getdate.c: Likewise.
45058 * time/tst-mktime3.c: Likewise.
45059 * time/tst-mktime.c: Likewise.
45060 * time/tst-posixtz.c: Likewise.
45061 * time/tst-strptime2.c: Likewise.
45062 * time/tst-strptime3.c: Likewise.
45063 * wcsmbs/tst-btowc.c: Likewise.
45064 * wcsmbs/tst-mbrtowc.c: Likewise.
45065 * wcsmbs/tst-mbsrtowcs.c: Likewise.
45066 * wcsmbs/tst-wchar-h.c: Likewise.
45067 * wcsmbs/tst-wcpncpy.c: Likewise.
45068 * wcsmbs/tst-wcrtomb.c: Likewise.
45069 * wcsmbs/tst-wcsnlen.c: Likewise.
45070 * wcsmbs/tst-wcstof.c: Likewise.
45071
45072 2014-11-04 Joseph Myers <joseph@codesourcery.com>
45073
45074 [BZ #14132]
45075 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
45076 INTDEF.
45077 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
45078 declaration.
45079 (_dl_mcount): Use rtld_hidden_proto.
45080 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
45081 _dl_mcount.
45082 * elf/rtld.c (_rtld_global_ro): Likewise.
45083
45084 [BZ #14132]
45085 * elf/dl-init.c (_dl_init): Don't use INTDEF.
45086 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
45087 of _dl_init_internal.
45088 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
45089 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
45090 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
45091 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
45092 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
45093 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
45094 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
45095 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
45096 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
45097 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
45098 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
45099 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
45100 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45101 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45102 * sysdeps/tile/dl-start.S (_start): Likewise.
45103 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
45104 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
45105
45106 [BZ #14132]
45107 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
45108 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
45109 (rtld_progname): Make macro definition unconditional.
45110 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
45111 INTDEF.
45112 (dlmopen_doit): Do not use INTUSE with _dl_argv.
45113 (dl_main): Likewise.
45114 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45115 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45116 instead of _dl_argv_internal.
45117 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45118 __GI__dl_argv instead of INTUSE(_dl_argv).
45119 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
45120 __GI__dl_argv instead of _dl_argv_internal.
45121
45122 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
45123 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
45124 macro.
45125 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
45126 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
45127 New macro.
45128 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
45129 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
45130 macro.
45131 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
45132 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
45133
45134 2014-11-04 Andreas Schwab <schwab@suse.de>
45135
45136 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
45137
45138 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45139
45140 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45141 mtvsrd instruction in binary form.
45142
45143 2014-11-03 Andreas Schwab <schwab@suse.de>
45144
45145 [BZ #17522]
45146 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45147 for less than MB_LEN_MAX use a local buffer of that size.
45148 * libio/tst-fputws.c: New file.
45149 * libio/Makefile (tests): Add tst-fputws.
45150
45151 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
45152
45153 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45154 the size of the fpu_fr.fpu_dregs[] array.
45155
45156 2014-11-01 Joseph Myers <joseph@codesourcery.com>
45157
45158 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45159 (__nanosleep): Do not define as alias.
45160 (nanosleep): Define as alias of __nanosleep.
45161 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45162 __libc_nanosleep name.
45163
45164 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45165
45166 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45167 install.texi in comment.
45168
45169 2014-10-31 Torvald Riegel <triegel@redhat.com>
45170
45171 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45172 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45173 ... add here and use lwsync or sync ...
45174 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45175 ... and add here using lwsync.
45176
45177 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
45178
45179 * elf/dl-machine-reject-phdr.h: New file.
45180 * elf/dl-load.c: #include that.
45181 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45182 if that returned true.
45183
45184 2014-10-31 Roland McGrath <roland@hack.frob.com>
45185
45186 [BZ #17496]
45187 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45188 gen-as-const-headers chunk. Add a big scare comment after the last
45189 safe place to touch before-compile.
45190
45191 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45192
45193 * manual/install.texi (Tools for Compilation): Update autoconf
45194 version requirements.
45195 * INSTALL: Regenerated.
45196
45197 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45198 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45199 (__libc_pselect): Likewise.
45200
45201 [BZ #14138]
45202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45206
45207 2014-10-31 Torvald Riegel <triegel@redhat.com>
45208
45209 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45210 correct barrier instruction.
45211 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45212 Likewise.
45213 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45214 Likewise.
45215
45216 2014-10-30 Roland McGrath <roland@hack.frob.com>
45217
45218 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45219 after defining inlines. Instead, just use parens to defeat macro
45220 expansion of __isctype in its declaration.
45221
45222 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45223
45224 * include/sys/uio.h (__libc_readv): Remove declaration.
45225 (__libc_writev): Likewise.
45226 * misc/readv.c (__libc_readv): Rename to __readv.
45227 (__readv): Do not define as alias.
45228 (readv): Define as alias of __readv.
45229 * misc/writev.c (__libc_writev): Rename to __writev.
45230 (__writev): Do not define as alias.
45231 (writev): Define as alias of __writev.
45232 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45233 (__readv): Do not define as alias.
45234 (readv): Define unconditionally as alias of __readv.
45235 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45236 (__writev): Do not define as alias.
45237 (writev): Define unconditionally as alias of __writev.
45238 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45239 name.
45240 (writev): Do not define __libc_writev name.
45241
45242 2014-10-30 Roland McGrath <roland@hack.frob.com>
45243
45244 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45245 (convert_charseq): New function, broken out of ...
45246 (use_from_charmap): ... here. Call it.
45247 (use_to_charmap): Use convert_charseq and free instead of duplicating
45248 its code with a variable-length stack struct.
45249
45250 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45251
45252 * include/fcntl.h (__libc_creat): Remove declaration.
45253 * io/creat.c (__libc_creat): Rename to creat.
45254 (creat): Do not define as alias.
45255 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45256 of creat instead of __libc_creat.
45257 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45258 to creat.
45259 (creat): Do not define as alias.
45260 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45261 __libc_creat.
45262 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45263 __libc_creat name.
45264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45265 Likewise.
45266
45267 2014-10-29 Carlos O'Donell <carlos@redhat.com>
45268
45269 * manual/llio.texi: Add comments discussing why write() may be
45270 considered MT-unsafe on Linux.
45271
45272 2014-10-28 Carlos O'Donell <carlos@redhat.com>
45273
45274 * dl-load.c (local_strdup): Remove.
45275 (expand_dynamic_string_token): Use __strdup.
45276 (decompose_rpath): Likewise.
45277 (_dl_map_object): Likewise.
45278
45279 2014-10-28 Joseph Myers <joseph@codesourcery.com>
45280
45281 [BZ #14132]
45282 * sysdeps/generic/unwind-dw2-fde.c
45283 (__register_frame_info_bases_internal): Do not declare.
45284 (__register_frame_info_table_bases_internal): Likewise.
45285 (__deregister_frame_info_bases_internal): Likewise.
45286 (__register_frame_info_bases): Declare and use hidden_proto before
45287 definition. Use hidden_def instead of INTDEF.
45288 (__register_frame_info_table_bases): Likewise.
45289 (__deregister_frame_info_bases): Likewise.
45290 (__register_frame_info): Do not use INTUSE.
45291 (__register_frame): Likewise.
45292 (__register_frame_info_table): Likewise.
45293 (__register_frame_table): Likewise.
45294 (__deregister_frame_info): Likewise.
45295 (__deregister_frame): Likewise.
45296
45297 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
45298
45299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45300 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45301 not undefine.
45302 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45303 Likewise.
45304 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45305 Likewise.
45306
45307 2014-10-27 Joseph Myers <joseph@codesourcery.com>
45308
45309 [BZ #14138]
45310 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45311 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45312 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45313 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45314 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45315 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45316 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45317 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45318 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45319 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45320 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45321 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45322 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45323 syscall.
45324 (setfsuid): Likewise.
45325 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45326 (setfsuid): Likewise.
45327 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45328 (setfsuid): Likewise.
45329 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45330 Likewise.
45331 (setfsuid): Likewise.
45332 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45333 (setfsuid): Likewise.
45334 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45335 Likewise.
45336 (setfsuid): Likewise.
45337
45338 2014-10-27 Andreas Schwab <schwab@suse.de>
45339
45340 [BZ #17501]
45341 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45342 check for Slow_SSE4_2 feature bit.
45343 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45344 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45345 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45346 Likewise. Fix check for Fast_Unaligned_Load feature bit.
45347
45348 2014-10-24 Roland McGrath <roland@hack.frob.com>
45349
45350 * configure.ac: Validate compiler version with a empirical test of
45351 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45352 $CC -v output.
45353 * configure: Regenerated.
45354
45355 * inet/htons.c (htons): Prototypify.
45356 * inet/htonl.c (htonl): Likewise.
45357
45358 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45359
45360 * string/strncat.c (strncat): Improve performance by using strlen.
45361
45362 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45363
45364 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45365
45366 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45367
45368 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45369 Call libc_fetestexcept_aarch64.
45370
45371 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45372
45373 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45374 Call libc_feholdexcept_aarch64.
45375
45376 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45377
45378 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45379 Call get_rounding_mode.
45380
45381 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45382
45383 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45384 Simplify logic.
45385
45386 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45387
45388 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45389 Simplify logic.
45390
45391 2014-10-24 Joseph Myers <joseph@codesourcery.com>
45392
45393 [BZ #14138]
45394 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45395 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45396 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45397 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45398 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45399 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45400 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45401 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45402 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45403 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45404 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45405 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45406 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45407 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45408 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45409 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45410 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45411 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45412 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45413 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45414 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45415 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45416 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45417 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45418 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45419 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45420 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45421 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45422 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45423 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45424 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45425 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45426 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45427 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45428 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45429 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45430 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45431 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45432 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45433 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45434 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45435 syscall.
45436 (geteuid): Likewise.
45437 (getgid): Likewise.
45438 (getuid): Likewise.
45439 (getresgid): Likewise.
45440 (getresuid): Likewise.
45441 (getgroups): Likewise.
45442 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45443 (geteuid): Likewise.
45444 (getgid): Likewise.
45445 (getuid): Likewise.
45446 (getresgid): Likewise.
45447 (getresuid): Likewise.
45448 (getgroups): Likewise.
45449 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45450 (geteuid): Likewise.
45451 (getgid): Likewise.
45452 (getuid): Likewise.
45453 (getresgid): Likewise.
45454 (getresuid): Likewise.
45455 (getgroups): Likewise.
45456 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45457 Likewise.
45458 (geteuid): Likewise.
45459 (getgid): Likewise.
45460 (getuid): Likewise.
45461 (getresgid): Likewise.
45462 (getresuid): Likewise.
45463 (getgroups): Likewise.
45464 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45465 (geteuid): Likewise.
45466 (getgid): Likewise.
45467 (getuid): Likewise.
45468 (getresgid): Likewise.
45469 (getresuid): Likewise.
45470 (getgroups): Likewise.
45471 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45472 Likewise.
45473 (geteuid): Likewise.
45474 (getgid): Likewise.
45475 (getuid): Likewise.
45476 (getgroups): Likewise.
45477
45478 [BZ #14138]
45479 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45480 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45481 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45482 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45483 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45484 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45485 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45486 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45487 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45488 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45489 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45490 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45491 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45492 __chown.
45493 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45494 (lchown): Likewise.
45495 (fchown): Likewise.
45496 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45497 Likewise.
45498 (lchown): Likewise.
45499 (fchown): Likewise.
45500 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45501 (lchown): Likewise.
45502 (fchown): Likewise.
45503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45504 Likewise.
45505 (lchown): Likewise.
45506 (fchown): Likewise.
45507
45508 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45509
45510 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45511 Simplify logic.
45512
45513 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45514
45515 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45516 Cleanup logic.
45517
45518 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45519
45520 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45521 Remove unused include.
45522
45523 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45524
45525 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45527 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45528 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45529
45530 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45531 Helge Deller <deller@gmx.de>
45532
45533 [BZ #17508]
45534 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45535 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45536 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45537
45538 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45539
45540 [BZ #14132]
45541 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45542 Remove macro definition.
45543 (__ashrdi3_v_glibc20): Likewise.
45544 (__lshrdi3_v_glibc20): Likewise.
45545 (__cmpdi2_v_glibc20): Likewise.
45546 (__ucmpdi2_v_glibc20): Likewise.
45547 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45548 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45549 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45550 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45551 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45552 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45553
45554 2014-10-22 Roland McGrath <roland@hack.frob.com>
45555
45556 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45557 old GNU extension [0] syntax.
45558 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45559 alloca rather than an array member with variable length.
45560 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45561 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45562 (parse_opt): ... here. Likewise use alloca there.
45563 Validate the -i argument before checking for rootness.
45564 (send_shutdown): New function, broken out of ...
45565 (parse_opt): ... here.
45566
45567 2014-10-22 Roland McGrath <roland@hack.frob.com>
45568
45569 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45570 macro to get at the _rt_local_ro field.
45571 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45572 ([PIC] case) or _dl_hwcap ([!PIC] case).
45573 * sysdeps/arm/setjmp.S: Likewise.
45574
45575 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45576 * sysdeps/arm/configure.ac: New check to define it.
45577 * sysdeps/arm/configure: Regenerated.
45578 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45579 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45580 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45581 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45582 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45583 Use move/movt pair instead of a load.
45584 (LDST_GLOBAL): Macro removed.
45585 (LDR_GLOBAL): New macro replaces it.
45586 (LDR_HIDDEN): New macro.
45587 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45588 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45589
45590 * setjmp/tst-setjmp-static.c: New file.
45591 * setjmp/Makefile (tests): Add it.
45592 (tests-static): New variable.
45593
45594 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45595
45596 [BZ #17485]
45597 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45598
45599 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45600
45601 [BZ #14132]
45602 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45603
45604 2014-10-21 Roland McGrath <roland@hack.frob.com>
45605
45606 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45607
45608 2014-10-20 Roland McGrath <roland@hack.frob.com>
45609
45610 * io/fts.c (dirent_not_directory): New function.
45611 (fts_build): Call it.
45612
45613 2014-10-20 Roland McGrath <roland@hack.frob.com>
45614
45615 * nptl/version.c (__nptl_main): Use normal __write rather than
45616 INTERNAL_SYSCALL.
45617 (banner): Update copyright years.
45618
45619 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45620 gettimeofday.
45621 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45622 * nptl/pthread_cond_timedwait.c: Likewise.
45623 * nptl/pthread_mutex_timedlock.c: Likewise.
45624 * nptl/sem_timedwait.c: Likewise.
45625
45626 * sysdeps/nptl/bits/libc-lock.h
45627 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45628 (__libc_lock_init_recursive): Return void, not 0.
45629 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45630 (__libc_rwlock_init): Likewise.
45631 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45632
45633 2014-10-20 Torvald Riegel <triegel@redhat.com>
45634
45635 [BZ #15215]
45636 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45637 (__pthread_once_slow): ... here.
45638 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45639 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45640
45641 2014-10-20 Torvald Riegel <triegel@redhat.com>
45642
45643 [BZ #15215]
45644 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45645 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45646 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45647 * nptl/pthread_once.c (__pthread_once): Likewise.
45648 Update comments.
45649
45650 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45651
45652 [BZ #14138]
45653 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45654 name.
45655 (writev): Use __libc_writev as strong name.
45656 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45657 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45658
45659 2014-10-17 Roland McGrath <roland@hack.frob.com>
45660
45661 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45662
45663 * sysdeps/i386/nptl/tls.h
45664 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45665 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45666 New macros.
45667 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45668 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45669 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45670 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45671 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45672 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45673
45674 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45675 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45676 on [__NR_futex].
45677 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45678 broken out of ...
45679 (__pthread_mutex_init): ... here. Call it.
45680 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45681 Conditionalize PI cases on [__NR_futex].
45682 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45683 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45684 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45685
45686 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45687 conditional on [SIGSETXID].
45688 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45689 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45690 is defined. Likewise for SIGSETXID.
45691 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45692 Conditionalize definitions on [SIGSETXID].
45693 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45694 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45695 unblocking on [SIGCANCEL].
45696
45697 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45698 [__NR_set_robust_list].
45699
45700 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45701
45702 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45703 (do_compare): Likewise.
45704
45705 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45706
45707 [BZ #15884]
45708 * string/strcoll_l.c: Don't include stdio.h.
45709 (coll_seq): Remove members idxarr and rulearr.
45710 (get_next_seq_cached): Remove function.
45711 (get_next_seq): Likewise.
45712 (get_next_seq_nocache): Rename to get_next_seq.
45713 (do_compare): Remove function.
45714 (do_compare_nocache): Rename to do_compare.
45715 (STRCOLL): Remove weight and rules cache.
45716
45717 2014-10-16 Roland McGrath <roland@hack.frob.com>
45718
45719 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45720 * sysdeps/arm/sfp-machine.h: ... to here.
45721 * sysdeps/arm/Implies: Remove arm/soft-fp.
45722
45723 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45724
45725 * conform/data/sys/utsname.h-data (*_t): Allow.
45726 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45727 [POSIX] (WEXITED): Do not expect constant.
45728 [POSIX] (WSTOPPED): Likewise.
45729 [POSIX] (WNOHANG): Likewise.
45730 [POSIX] (WNOWAIT): Likewise.
45731 [POSIX] (siginfo_t): Do not expect type or elements.
45732 [POSIX] (pid_t): Do not expect type.
45733 [POSIX] (signal.h): Do not allow header.
45734 [POSIX] (sys/resource.h): Likewise.
45735 [POSIX] (si_*): Do not allow pattern.
45736 [POSIX] (W*): Likewise.
45737 [POSIX] (P_*): Likewise.
45738 [POSIX] (BUS_*): Likewise.
45739 [POSIX] (CLD_*): Likewise.
45740 [POSIX] (FPE_*): Likewise.
45741 [POSIX] (ILL_*): Likewise.
45742 [POSIX] (POLL_*): Likewise.
45743 [POSIX] (SEGV_*): Likewise.
45744 [POSIX] (SI_*): Likewise.
45745 [POSIX] (TRAP_*): Likewise.
45746 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45747 variable.
45748
45749 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45750
45751 [BZ #12926]
45752 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45753 infinite loop when __recvmsg returns 0.
45754
45755 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45756
45757 * CANCEL-FCT-WAIVE: Remove file.
45758 * CANCEL-FILE-WAIVE: Likewise.
45759
45760 [BZ #14132]
45761 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45762 instead of INTVARDEF.
45763 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45764 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45765 rtld_hidden_data_def instead of INTVARDEF.
45766 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45767 * elf/dl-deps.c (expand_dst): Likewise.
45768 * elf/dl-load.c (_dl_dst_count): Likewise.
45769 (_dl_dst_substitute): Likewise.
45770 (decompose_rpath): Likewise.
45771 (_dl_init_paths): Likewise.
45772 (open_path): Likewise.
45773 (_dl_map_object): Likewise.
45774 * elf/rtld.c (dl_main): Likewise.
45775 (process_dl_audit): Likewise.
45776 (process_envvars): Likewise.
45777 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45778 Remove declaration.
45779 (__libc_enable_secure): Use rtld_hidden_proto.
45780
45781 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45782
45783 * elf/dl-load.c
45784 (add_path): New function broken out of _dl_rtld_di_serinfo.
45785 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45786
45787 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45788
45789 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45790 parentheses around macro arguments.
45791 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45792 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45793 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45794 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45795 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45802 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45803 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45804 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45805 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45806 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45807 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45808 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45809 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45810 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45811 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45812 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45813 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45816 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45820 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45821 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45822 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45823 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45824 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45825 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45826 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45827 Likewise.
45828 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45829 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45830 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45831 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45834 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45835 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45836 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45837 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45838 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45839 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45840 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45843 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45845 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45846 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45847 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45849 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45850 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45851 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45852 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45853 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45854 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45855 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45856 (_FP_FRAC_SRS_1): Likewise.
45857 (_FP_FRAC_CLZ_1): Likewise.
45858 (_FP_MUL_MEAT_1_imm): Likewise.
45859 (_FP_MUL_MEAT_1_wide): Likewise.
45860 (_FP_MUL_MEAT_1_hard): Likewise.
45861 (_FP_SQRT_MEAT_1): Likewise.
45862 (_FP_FRAC_ASSEMBLE_1): Likewise.
45863 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45864 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45865 (__FP_CLZ_2): Likewise.
45866 (_FP_MUL_MEAT_2_wide): Likewise.
45867 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45868 (_FP_MUL_MEAT_2_gmp): Likewise.
45869 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45870 (_FP_SQRT_MEAT_2): Likewise.
45871 (_FP_FRAC_ASSEMBLE_2): Likewise.
45872 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45873 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45874 (_FP_FRAC_CLZ_4): Likewise.
45875 (_FP_MUL_MEAT_4_wide): Likewise.
45876 (_FP_MUL_MEAT_4_gmp): Likewise.
45877 (_FP_SQRT_MEAT_4): Likewise.
45878 (_FP_FRAC_ASSEMBLE_4): Likewise.
45879 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45880 * soft-fp/op-common.h (_FP_CMP): Likewise.
45881 (_FP_CMP_EQ): Likewise.
45882 (_FP_CMP_UNORD): Likewise.
45883 (_FP_TO_INT): Likewise.
45884 (_FP_FROM_INT): Likewise.
45885 [!__FP_CLZ] (__FP_CLZ): Likewise.
45886 (_FP_DIV_HELP_imm): Likewise.
45887 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45888 Likewise.
45889 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45890 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45891 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45893 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45894 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45900 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45901 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45902 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45903 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45904 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45905 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45906 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45907 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45908 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45909 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45910 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45911 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45918 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45919 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45920 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45921 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45922 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45923 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45924 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45925 (FP_UNPACK_RAW_SP): Likewise.
45926 (FP_PACK_RAW_S): Likewise.
45927 (FP_PACK_RAW_SP): Likewise.
45928 (FP_UNPACK_S): Likewise.
45929 (FP_UNPACK_SP): Likewise.
45930 (FP_UNPACK_SEMIRAW_S): Likewise.
45931 (FP_UNPACK_SEMIRAW_SP): Likewise.
45932 (FP_PACK_S): Likewise.
45933 (FP_PACK_SP): Likewise.
45934 (FP_PACK_SEMIRAW_S): Likewise.
45935 (FP_PACK_SEMIRAW_SP): Likewise.
45936 (_FP_SQRT_MEAT_S): Likewise.
45937 (FP_CMP_S): Likewise.
45938 (FP_CMP_EQ_S): Likewise.
45939 (FP_CMP_UNORD_S): Likewise.
45940 (FP_TO_INT_S): Likewise.
45941 (FP_FROM_INT_S): Likewise.
45942
45943 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45944
45945 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45946 (FP_EX_INVALID_IMZ): Likewise.
45947 (FP_EX_INVALID_IMZ_FMA): Likewise.
45948 (FP_EX_INVALID_ISI): Likewise.
45949 (FP_EX_INVALID_ZDZ): Likewise.
45950 (FP_EX_INVALID_IDI): Likewise.
45951 (FP_EX_INVALID_SQRT): Likewise.
45952 (FP_EX_INVALID_CVI): Likewise.
45953 (FP_EX_INVALID_VC): Likewise.
45954 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45955 "invalid" exceptions.
45956 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45957 (_FP_ADD_INTERNAL): Likewise.
45958 (_FP_MUL): Likewise.
45959 (_FP_FMA): Likewise.
45960 (_FP_DIV): Likewise.
45961 (_FP_CMP_CHECK_NAN): Likewise.
45962 (_FP_SQRT): Likewise.
45963 (_FP_TO_INT): Likewise.
45964 (FP_EXTEND): Likewise.
45965
45966 2014-10-09 Allan McRae <allan@archlinux.org>
45967
45968 * po/fr.po: Update French translation from translation project.
45969
45970 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45971
45972 [BZ #14132]
45973 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45974 of INTDEF.
45975 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45976 (__cxa_atexit): Use libc_hidden_proto.
45977 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45978
45979 [BZ #14132]
45980 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45981 declaration.
45982 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45983 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45984 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45985 [!_ISOMAC] (__iswctype_internal): Likewise.
45986 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45987 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45988 alias.
45989 (fcntl): Remove __fcntl_internal alias.
45990 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45991 __connect_internal alias.
45992 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45993 Likewise.
45994
45995 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45996 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45997 FP_DENORM_ZERO.
45998 (_FP_CHECK_FLUSH_ZERO): New macro.
45999 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
46000 (_FP_CMP): Likewise.
46001 (_FP_CMP_EQ): Likewise.
46002 (_FP_TO_INT): Do not set inexact for subnormal arguments if
46003 FP_DENORM_ZERO.
46004 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
46005 (FP_TRUNC): Likewise.
46006
46007 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
46008 treated as invalid conversion, not as normal exponent.
46009
46010 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
46011 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
46012 (_FP_CMP_EQ): Likewise.
46013 (_FP_CMP_UNORD): Likewise.
46014 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
46015 (FP_CMP_EQ_D): Likewise.
46016 (FP_CMP_UNORD_D): Likewise.
46017 * soft-fp/extended.h (FP_CMP_E): Likewise.
46018 (FP_CMP_EQ_E): Likewise.
46019 (FP_CMP_UNORD_E): Likewise.
46020 * soft-fp/quad.h (FP_CMP_Q): Likewise.
46021 (FP_CMP_EQ_Q): Likewise.
46022 (FP_CMP_UNORD_Q): Likewise.
46023 * soft-fp/single.h (FP_CMP_S): Likewise.
46024 (FP_CMP_EQ_S): Likewise.
46025 (FP_CMP_UNORD_S): Likewise.
46026 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
46027 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
46028 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
46029 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
46030 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
46031 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
46032 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
46033 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
46034 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
46035 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
46036 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
46037 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
46038 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
46039 to FP_CMP_Q.
46040 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
46041 FP_CMP_Q.
46042 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
46043 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
46044 FP_CMP_EQ_Q.
46045 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
46046 FP_CMP_Q.
46047 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
46048 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
46049 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
46050 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
46051 FP_CMP_EQ_Q.
46052 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
46053 FP_CMP_Q.
46054 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
46055 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
46056 FP_CMP_EQ_Q.
46057 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
46058 FP_CMP_Q.
46059 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
46060 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
46061 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
46062 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
46063 FP_CMP_EQ_Q.
46064
46065 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
46066 a subnormal result, set the underflow exception if trapping on
46067 underflow is enabled.
46068 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
46069 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
46070 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
46071 redefine to 0.
46072 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
46073 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46074 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46075 * soft-fp/extendxftf2.c (__extendxftf2): Use
46076 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
46077
46078 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
46079 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
46080 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46081 FP_HANDLE_EXCEPTIONS.
46082 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
46083 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46084 FP_HANDLE_EXCEPTIONS.
46085 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
46086 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46087 FP_HANDLE_EXCEPTIONS.
46088 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
46089 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46090 FP_HANDLE_EXCEPTIONS.
46091
46092 2014-10-08 Joseph Myers <joseph@codesourcery.com>
46093
46094 [BZ #14132]
46095 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
46096 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
46097 use INTUSE.
46098 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
46099 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
46100 Remove alias.
46101 (__adjtimex): Define using libc_hidden_ver.
46102 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
46103 Remove declaration.
46104 (ntp_gettime): Call __adjtimex directly.
46105 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
46106 Remove declaration.
46107 (ntp_gettimex): Call __adjtimex directly.
46108 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
46109 __adjtimex_internal alias.
46110
46111 2014-10-08 Roland McGrath <roland@hack.frob.com>
46112
46113 [BZ #17460]
46114 * nscd/nscd.c (more_help): Rewrite list of tables collection
46115 using xstrdup and asprintf.
46116
46117 * nscd/nscd_conf.c: Remove local xstrdup declaration.
46118
46119 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46120 Roland McGrath <roland@hack.frob.com>
46121
46122 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
46123 (do_lookup_unique): ... local function 'enter' here; update callers.
46124
46125 2014-10-06 Joseph Myers <joseph@codesourcery.com>
46126
46127 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
46128 compat_symbol calls on [SHARED].
46129 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
46130 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
46131 Remove.
46132 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46133 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
46134 (oldsetrlimit): Remove.
46135 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46137 (lchown): New syscall entry.
46138 (oldsetrlimit): Remove.
46139 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46140 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46141 (oldsetrlimit): Remove.
46142 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46143
46144 [BZ #14138]
46145 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46146 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46147 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46148 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46149 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46150 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46151 (fchown): Likewise.
46152 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46153 (fchown): Likewise.
46154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46155 Likewise.
46156
46157 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46158
46159 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46160 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46161 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46162 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46163 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46164 Likewise.
46165 (__old_sem_post): Likewise.
46166
46167 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
46168
46169 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46170 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46171 HAVE_CLOCK_GETTIME_VSYSCALL macros.
46172 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46173 Use INLINE_VSYSCALL macro.
46174 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46175 __vdso_clock_gettime.
46176 * sysdeps/unix/sysv/linux/tile/init-first.c
46177 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46178 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46179 __vdso_clock_gettime.
46180
46181 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46182 to set up frame more cleanly.
46183
46184 * sysdeps/tile/memcmp.c: New file.
46185
46186 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46187
46188 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46189 * sysdeps/tile/tilegx/strcasestr.c: New file.
46190 * sysdeps/tile/tilegx/strnlen.c: New file.
46191 * sysdeps/tile/tilegx/strstr.c: New file.
46192
46193 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46194
46195 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
46196
46197 * nptl/tst-setuid3.c: Write errors to stdout.
46198
46199 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46200
46201 * elf/dl-deps.c
46202 (preload): New functions broken out of _dl_map_object_deps.
46203 (_dl_map_object_deps): Remove a nested function. Update call sites.
46204
46205 2014-10-01 Joseph Myers <joseph@codesourcery.com>
46206
46207 [BZ #14138]
46208 * sysdeps/unix/sysv/linux/execve.c: Remove file.
46209 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46210
46211 2014-10-01 Steve Ellcey <sellcey@mips.com>
46212
46213 * sysdeps/mips/strcmp.S: New.
46214
46215 2014-09-30 Joseph Myers <joseph@codesourcery.com>
46216
46217 [BZ #14138]
46218 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46219 (linkat): Likewise.
46220 (mkdirat): Likewise.
46221 (readlinkat): Likewise.
46222 (renameat): Likewise.
46223 (symlinkat): Likewise.
46224 (unlinkat): Likewise.
46225 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46226 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46227 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46228 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46229 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46230 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46231 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46232
46233 2014-09-30 Will Newton <will.newton@linaro.org>
46234
46235 * math/math.h: Define long double math functions if
46236 _LIBC_TEST is defined.
46237 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46238
46239 * localedata/Makefile: Move assignment to tests-special
46240 into an ifdef testing run-built-tests.
46241 * timezone/Makefile: Likewise.
46242
46243 2014-09-29 Joseph Myers <joseph@codesourcery.com>
46244
46245 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46246 with $(BASH) not $(SHELL).
46247
46248 2014-09-29 Carlos O'Donell <carlos@redhat.com>
46249 Matthew LeGendre <legendre1@llnl.gov>
46250
46251 [BZ #17411]
46252 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46253 l_reloc_result.
46254
46255 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46256
46257 * stdio-common/printf_fp.c
46258 (hack_digit): New function, broken out of ...
46259 (__printf_fp): ... local function here. Update call sites.
46260 hack_digit now takes an additional parameter that is a pointer
46261 to a struct of the referenced locals. Those locals moved inside
46262 the struct and references updated.
46263
46264 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
46265
46266 * aclocal.m4: Require autoconf 2.69.
46267 * configure: Regenerated.
46268 * sysdeps/aarch64/configure: Likewise.
46269 * sysdeps/alpha/configure: Likewise.
46270 * sysdeps/arm/armv7/configure: Likewise.
46271 * sysdeps/arm/configure: Likewise.
46272 * sysdeps/ia64/configure: Likewise.
46273 * sysdeps/mach/configure: Likewise.
46274 * sysdeps/mips/configure: Likewise.
46275 * sysdeps/s390/configure: Likewise.
46276 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46278
46279 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46280 file.
46281 * sysdeps/ia64/configure.ac: Likewise.
46282
46283 2014-09-26 Joseph Myers <joseph@codesourcery.com>
46284
46285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46286 specify symbol version for ld.so. Do not include entry for
46287 libpthread.
46288 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46289 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46290 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46291
46292 [BZ #14171]
46293 * Makeconfig [$(build-shared) = yes]
46294 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46295 makefiles.
46296 [$(build-shared) = yes && $(soversions.mk-done) = t]
46297 ($(common-objpfx)gnu/lib-names.h): Remove rule.
46298 [$(build-shared) = yes && $(soversions.mk-done) = t]
46299 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
46300 to Makerules.
46301 [$(build-shared) = yes && $(soversions.mk-done) = t]
46302 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46303 here.
46304 [$(build-shared) = yes && $(soversions.mk-done) = t]
46305 (common-generated): Don't append gnu/lib-names.h and
46306 gnu/lib-names.stmp here.
46307 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46308 (lib-names-h-abi): New variable.
46309 [$(build-shared) = yes && $(soversions.mk-done) = t]
46310 (lib-names-stmp-abi): Likewise.
46311 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46312 abi-variants] (before-compile): Append
46313 $(common-objpfx)$(lib-names-h-abi).
46314 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46315 abi-variants] (common-generated): Append gnu/lib-names.h.
46316 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46317 abi-variants] (install-others-nosubdir): Depend on
46318 $(inst_includedir)/$(lib-names-h-abi).
46319 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46320 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46321 [$(build-shared) = yes && $(soversions.mk-done) = t]
46322 ($(common-objpfx)$(lib-names-h-abi)): New rule.
46323 [$(build-shared) = yes && $(soversions.mk-done) = t]
46324 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46325 [$(build-shared) = yes && $(soversions.mk-done) = t]
46326 (common-generated): Append $(lib-names-h-abi) and
46327 $(lib-names-stmp-abi).
46328 * scripts/lib-names.awk: Do not handle multi being set.
46329 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46330 Remove variable.
46331 (abi-lp64_be-ld-soname): Likewise.
46332 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46333 Likewise.
46334 (abi-hard-ld-soname): Likewise.
46335 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46336 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46337 Remove variable.
46338 (abi-o32_hard-ld-soname): Likewise.
46339 (abi-o32_soft_2008-ld-soname): Likewise.
46340 (abi-o32_hard_2008-ld-soname): Likewise.
46341 (abi-n32_soft-ld-soname): Likewise.
46342 (abi-n32_hard-ld-soname): Likewise.
46343 (abi-n32_soft_2008-ld-soname): Likewise.
46344 (abi-n32_hard_2008-ld-soname): Likewise.
46345 (abi-n64_soft-ld-soname): Likewise.
46346 (abi-n64_hard-ld-soname): Likewise.
46347 (abi-n64_soft_2008-ld-soname): Likewise.
46348 (abi-n64_hard_2008-ld-soname): Likewise.
46349 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46350 Likewise.
46351 (abi-64-v2-ld-soname): Likewise.
46352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46353 ld.so entries.
46354 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46355 variable.
46356 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46357 entry.
46358 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46359 variable.
46360 (abi-64-ld-soname): Likewise.
46361 (abi-x32-ld-soname): Likewise.
46362 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46363 entry.
46364 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46365
46366 2014-09-23 Joseph Myers <joseph@codesourcery.com>
46367
46368 [BZ #14138]
46369 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46370 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46371 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46372 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46373 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46374 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46375 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46376 syscall entry for GLIBC_2.2 symbol version.
46377 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46378 Likewise.
46379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46380 (setrlimit): Likewise.
46381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46382 Likewise.
46383
46384 2014-09-23 Will Newton <will.newton@linaro.org>
46385
46386 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46387 _LINUX_ARM_SYSDEP_H include guard too.
46388 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46389 define.
46390
46391 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46392
46393 * sysdeps/unix/sysv/linux/eventfd.c:
46394 Make first argument unsigned.
46395 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46396 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46397
46398 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
46399
46400 [BZ #16852]
46401 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46402 * socket/sys/socket.h: Likewise.
46403 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46404
46405 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46406
46407 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46408
46409 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46410
46411 * time/tst-ftime.c: New test.
46412 * time/Makefile (tests): Add tst-ftime.
46413
46414 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46415
46416 * soft-fp/extended.h: Fix comment formatting.
46417 * soft-fp/op-1.h: Likewise.
46418 * soft-fp/op-2.h: Likewise.
46419 * soft-fp/op-4.h: Likewise.
46420 * soft-fp/op-8.h: Likewise.
46421 * soft-fp/op-common.h: Likewise.
46422 * soft-fp/soft-fp.h: Likewise.
46423
46424 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46425
46426 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46427
46428 [BZ #6652]
46429 * Makeconfig (soversions-default-setname): Remove variable.
46430 ($(common-objpfx)soversions.i): Don't pass default_setname to
46431 soversions.awk.
46432 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46433 oldest_abi to abi-versions.awk.
46434 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46435 * config.make.in (oldest-abi): Remove variable.
46436 * configure.ac (--enable-oldest-abi): Remove configure option.
46437 * configure: Regenerated.
46438 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46439 text.
46440 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46441 * scripts/soversions.awk: Do not handle default_setname variable.
46442 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46443 variable.
46444 * sysdeps/mach/hurd/configure: Regenerated.
46445 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46446 variable.
46447 * sysdeps/unix/sysv/linux/configure: Regenerated.
46448
46449 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46450
46451 * elf/Makefile (CFLAGS-interp.c): Remove.
46452 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46453 path string.
46454 * elf/interp.c: Include generated runtime-linker.h
46455
46456 * Makerules (lib%.so): Don't include $(+interp) in
46457 prerequisites.
46458 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46459 * dlfcn/eval.c: Remove file.
46460
46461 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46462 macros.
46463
46464 [BZ #17266]
46465 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46466 4.2 and newer.
46467
46468 [BZ #17370]
46469 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46470
46471 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46472 Jakub Jelinek <jakub@redhat.com>
46473
46474 [BZ #17266]
46475 * libio/stdio.h: Check definition of __fortify_function
46476 instead of __extern_always_inline to include bits/stdio2.h.
46477 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46478 check if __extern_always_inline is defined.
46479 [__USE_MISC || __USE_XOPEN]: Likewise.
46480 [__USE_ISOC99] Likewise.
46481 * misc/sys/cdefs.h (__fortify_function): Define only if
46482 __extern_always_inline is defined.
46483 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46484 __extern_always_inline and __extern_inline only for g++-4.3
46485 and newer or a compatible gcc.
46486
46487 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46488
46489 [BZ #17371]
46490 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46491 last change to handle zero prefix length.
46492
46493 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46494
46495 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46496 _SC_REGEX_VERSION.
46497
46498 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46499 _POSIX_RAW_SOCKETS.
46500
46501 2014-09-13 Allan McRae <allan@archlinux.org>
46502
46503 * po/ru.po: Update Russian translation from translation project.
46504
46505 2014-09-12 Roland McGrath <roland@hack.frob.com>
46506
46507 * locale/programs/locale.c (show_locale_vars): Inline local function
46508 into its sole call site. Clean up some style nits.
46509 (print_item): New function, broken out of ...
46510 (show_info): ... local function here. Clean up style nits.
46511
46512 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46513 out of ...
46514 (set_class_defaults): ... local function set_default here.
46515 Define set_default as a macro locally to pass constant parameters.
46516 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46517 rather than a shared local.
46518
46519 * stdlib/rpmatch.c (try): New function, broken out of ...
46520 (rpmatch): ... local function here. Also, prototypify definition.
46521
46522 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46523
46524 * scripts/soversions.awk: Do not handle configuration names.
46525 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46526 vendor and os variables to soversions.awk.
46527 * configure.ac: Do not modify gnu-* host_os.
46528 * configure: Regenerated
46529 * shlib-versions: Remove first column with configuration names.
46530 * nptl/shlib-versions: Likewise.
46531 * nptl_db/shlib-versions: Likewise.
46532 * sysdeps/hppa/shlib-versions: Likewise.
46533 * sysdeps/m68k/shlib-versions: Likewise.
46534 * sysdeps/mach/hurd/shlib-versions: Likewise.
46535 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46536 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46537 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46538 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46539 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46540 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46541 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46542 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46544 Likewise.
46545 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46546 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46547 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46548 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46549 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46550 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46551 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46552 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46553
46554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46555 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46557 Regenerated.
46558 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46560 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46561
46562 * shlib-versions: Remove OS-specific entries. Moved to files in
46563 sysdeps.
46564 * sysdeps/mach/hurd/shlib-versions: New file.
46565 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46566
46567 * nptl/shlib-versions: Remove architecture-specific entries.
46568 Moved to files in sysdeps.
46569 * shlib-versions: Likewise.
46570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46571 file.
46572 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46573 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46574 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46575 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46576
46577 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46578 (UDP_NO_CHECK6_RX): Likewise.
46579
46580 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46581
46582 * sysdeps/posix/sysconf.c (__sysconf): Spell
46583 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46584
46585 2014-08-12 Florian Weimer <fweimer@redhat.com>
46586
46587 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46588 loading.
46589 * iconv/Versions (__gconv_transliterate): Export for use from
46590 gconv modules.
46591 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46592 (struct __gconv_trans_data, __gconv_trans_fct,
46593 __gconv_trans_context_fct, __gconv_trans_query_fct,
46594 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46595 definitions.
46596 (struct __gconv_step_data): Remove __trans member.
46597 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46598 longer hidden. Remove unused trans_data argument.
46599 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46600 (__gconv_translit_find): Remove declaration.
46601 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46602 prototype.
46603 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46604 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46605 trans_data argument. Add hidden definition.
46606 (__gconv_translit_find): Remove.
46607 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46608 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46609 * iconv/skeleton.c: Remove transliteration initialization.
46610 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46611 __gconv_step_data initialization.
46612 * libio/iofwide.c (__libio_translit_): Remove.
46613 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46614 * wcsmbs/btowc.c (__btowc): Likewise.
46615 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46616 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46617 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46618 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46619 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46620 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46621 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46622 * wcsmbs/wctob.c (wctob): Likewise.
46623
46624 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46625
46626 [BZ #16194]
46627 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46628 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46629 register usage.
46630 * sysdeps/x86/Makefile: Adjust.
46631
46632 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46633 Roland McGrath <roland@hack.frob.com>
46634
46635 * locale/weight.h: Add include guard.
46636 (findidx): Make static rather than auto; take new parameters
46637 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46638 * locale/weightwc.h: Likewise.
46639 * posix/fnmatch_loop.c
46640 (FCT): Change type of EXTRA from int32_t to wint_t.
46641 Don't include either header inside the function.
46642 Call FINDIDX rather than findidx, and pass new arguments.
46643 #undef FINDIDX at the end of the file.
46644 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46645 FINDIDX before including fnmatch_loop.c for the non-wide version.
46646 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46647 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46648 for the wide version.
46649 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46650 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46651 Pass new arguments to findidx.
46652 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46653 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46654 Don't #include it inside the function. Pass new arguments to findidx.
46655 * posix/regex_internal.h
46656 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46657 (re_string_elem_size_at): Don't #include it inside the function.
46658 Pass new arguments to findidx.
46659 * string/strcoll_l.c: #include WEIGHT_H at top level.
46660 (get_next_seq): Don't #include it inside the function.
46661 Pass new arguments to findidx.
46662 (get_next_seq_nocache): Likewise.
46663 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46664 (STRXFRM): Don't #include it inside the function.
46665 Pass new arguments to findidx.
46666
46667 2014-09-11 Florian Weimer <fweimer@redhat.com>
46668
46669 [BZ #17344]
46670 * malloc/malloc.c (unlink): Turn asserts into a call to
46671 malloc_printerr.
46672
46673 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46674
46675 [BZ #17370]
46676 * libio/wfileops (do_ftell_wide): Free OUT.
46677
46678 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46679
46680 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46681
46682 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46683
46684 [BZ #17363]
46685 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46686 group if the current group is empty.
46687
46688 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46689
46690 * benchtests/bench-memset.c (test_main): Add more test from size
46691 from 32 to 512 bytes.
46692 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46693 Add POWER8 memset object.
46694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46695 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46696 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46697 implementation.
46698 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46699 Likewise.
46700 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46701 multiarch POWER8 memset optimization.
46702 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46703 POWER8 memset optimization.
46704
46705 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46706 Remove bzero multiarch objects.
46707 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46710 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46711 Remove define.
46712 [__bzero]: Redefine to specific name.
46713 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46714 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46715 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46716 define.
46717 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46718 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46719
46720 2014-09-10 Florian Weimer <fweimer@redhat.com>
46721
46722 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46723 warnings into errors.
46724
46725 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46726 __cxa_thread_atexit_impl prototype.
46727
46728 2014-09-09 Steve Ellcey <sellcey@mips.com>
46729
46730 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46731 Fix capitalization of error message.
46732
46733 2014-09-09 Steve Ellcey <sellcey@mips.com>
46734
46735 * sysdeps/mips/preconfigure: Modify ABI tests.
46736
46737 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46738
46739 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46740
46741 2014-09-07 Roland McGrath <roland@hack.frob.com>
46742 Carlos O'Donell <carlos@systemhalted.org>
46743
46744 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46745 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46746 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46747 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46748 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46749 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46750 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46751 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46752 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46753 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46754 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46755 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46756 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46757 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46758 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46759 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46760 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46761 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46762 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46763 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46764 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46765 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46766 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46767 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46768 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46769 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46770 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46771 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46772 Deconditionalize the code that was previously under [RESET_PID].
46773 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46774 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46775 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46776 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46777 include sysdep.h.
46778
46779 2014-09-08 Allan McRae <allan@archlinux.org>
46780
46781 * version.h (RELEASE): Set to "development".
46782 (VERSION): Set to "2.20.90"
46783
46784 2014-09-07 Allan McRae <allan@archlinux.org
46785
46786 * version.h (RELEASE): Set to "stable".
46787 (VERSION): Set to "2.20"
46788 * include/features.h (__GLIBC_MINOR__): Set to 20.
46789
46790 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46791 Liebler.
46792
46793 * po/ko.po: Update Korean translation from translation project.
46794
46795 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46796
46797 [BZ #17354]
46798 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46799 macro for handling signed relocations.
46800
46801 2014-09-03 Florian Weimer <fweimer@redhat.com>
46802
46803 [BZ #17325]
46804 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46805 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46806 assert.
46807 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46808 * iconvdata/ibm935.c (BODY): Likewise.
46809 * iconvdata/ibm937.c (BODY): Likewise.
46810 * iconvdata/ibm939.c (BODY): Likewise.
46811 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46812 assert.
46813 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46814 script.
46815 * iconvdata/run-iconv-test.sh: New test loop for checking for
46816 decoder crashers.
46817
46818 2014-09-02 Khem Raj <raj.khem@gmail.com>
46819
46820 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46821 libm_hidden_ver.
46822
46823 2014-09-01 Allan McRae <allan@archlinux.org>
46824
46825 * po/eo.po: Update Esperanto translation from translation project.
46826
46827 * po/ca.po: Update Catalan translation from translation project.
46828
46829 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46830
46831 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46832 __proc_dostop call.
46833
46834 2014-08-27 Mark Wielaard <mjw@redhat.com>
46835
46836 [BZ #17319]
46837 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46838 to call set_thread_area instead of hand written asm.
46839 (__NR_set_thread_area): Removed define.
46840 (TLS_FLAG_WRITABLE): Likewise.
46841 (__ASSUME_SET_THREAD_AREA): Remove check.
46842 (TLS_EBX_ARG): Remove define.
46843 (TLS_LOAD_EBX): Likewise.
46844
46845 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46846
46847 Simplify atomicity of socket creation in bind.
46848
46849 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46850 looking up the name after linking the file.
46851
46852 2014-08-27 Allan McRae <allan@archlinux.org>
46853
46854 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46855
46856 2014-08-26 Florian Weimer <fweimer@redhat.com>
46857
46858 [BZ #17187]
46859 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46860 trans_compare, open_translit, __gconv_translit_find):
46861 Remove module loading code.
46862
46863 2014-08-26 Allan McRae <allan@archlinux.org>
46864
46865 * po/vi.po: Update Vietnamese translation from translation project.
46866
46867 * po/uk.po: Update Ukrainian translation from translation project.
46868
46869 * po/fr.po: Update French translation from translation project.
46870
46871 * po/ru.po: Update Russian translation from translation project.
46872
46873 * po/pl.po: Update Polish translation from translation project.
46874
46875 * po/cs.po: Update Czech translation from translation project.
46876
46877 * po/de.po: Update German translation from translation project.
46878
46879 * po/bg.po: Update Bulgarian translation from translation project.
46880
46881 * po/sv.po: Update Sweedish translation from translation project.
46882
46883 * po/nl.po: Update Dutch translation from translation project.
46884
46885 * po/es.po: Update Spanish translation from translation project.
46886
46887 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46888
46889 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46890
46891 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46892 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46893 (CPPFLAGS-iconvconfig): Likewise.
46894 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46895
46896 * include/libc-symbols.h: Remove unnecessary check for
46897 NOT_IN_libc.
46898 * nptl/pthreadP.h: Likewise.
46899 * sysdeps/aarch64/setjmp.S: Likewise.
46900 * sysdeps/alpha/setjmp.S: Likewise.
46901 * sysdeps/arm/sysdep.h: Likewise.
46902 * sysdeps/i386/setjmp.S: Likewise.
46903 * sysdeps/m68k/setjmp.c: Likewise.
46904 * sysdeps/posix/getcwd.c: Likewise.
46905 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46906 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46907 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46908 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46909 * sysdeps/sh/sh3/setjmp.S: Likewise.
46910 * sysdeps/sh/sh4/setjmp.S: Likewise.
46911 * sysdeps/unix/alpha/sysdep.h: Likewise.
46912 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46913 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46914 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46915 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46918 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46920 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46923 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46925 * sysdeps/x86_64/setjmp.S: Likewise.
46926
46927 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46928
46929 [BZ #17263]
46930 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46931 <stdint.h>.
46932 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46933 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46934
46935 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46936
46937 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46938
46939 [BZ #17262]
46940 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46941 and __x86_64__ when disabling x87 inline functions.
46942
46943 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46944
46945 [BZ #17259]
46946 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46947 asm statement with __cpuid_count.
46948
46949 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46950
46951 * configure.ac: Change __ehdr_start code to dereference the struct.
46952 Run readelf on the output to look for relocations.
46953 * configure: Regenerated.
46954
46955 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46956
46957 [BZ #17261]
46958 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46959 value to 0.
46960 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46961
46962 2014-08-12 Roland McGrath <roland@hack.frob.com>
46963
46964 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46965
46966 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46967
46968 [BZ #16892]
46969 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46970 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46971
46972 2014-08-12 Sean Anderson <seanga2@gmail.com>
46973
46974 * malloc/malloc.c: Fix typo in comment.
46975
46976 2014-08-09 Allan McRae <allan@archlinux.org>
46977
46978 * Regenerate libc.po.
46979
46980 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46981
46982 * intl/tst-gettext2.sh: Check every lang file for creation.
46983
46984 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46985
46986 * sysdeps/aarch64/fpu/math_private.h
46987 (libc_feholdsetround_noex_aarch64_ctx): New function.
46988
46989 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46990
46991 * sysdeps/arm/armv6/strcpy.S (strcpy):
46992 Fix performance issue in misaligned cases.
46993
46994 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46995
46996 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46997 Move definition from termios.h.
46998 (struct termio): Likewise.
46999 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47000 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47001 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47002 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47003 Likewise.
47004 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
47005 Move definition to ioctl-types.h
47006 (struct termio): Likewise.
47007 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47008 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47009 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47010 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47011 Likewise.
47012
47013 2014-08-05 Richard Henderson <rth@redhat.com>
47014
47015 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
47016 exceptions.
47017 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
47018 Add fraiseexcpt.
47019 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
47020 Use __feraiseexcept.
47021 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
47022 Protect libm symbols with IS_IN_libm.
47023
47024 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
47025
47026 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
47027
47028 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
47029
47030 2014-08-04 Will Newton <will.newton@linaro.org>
47031
47032 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
47033 file.
47034
47035 2014-08-04 Mike Frysinger <vapier@gentoo.org>
47036
47037 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
47038 variants for each function.
47039
47040 2014-08-04 Roland McGrath <roland@hack.frob.com>
47041
47042 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
47043 appended ...
47044 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
47045 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
47046 appended ...
47047 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
47048 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
47049 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
47050 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
47051 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
47052 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
47053 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
47054 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
47055 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
47056 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
47057 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
47058 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
47059 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
47060 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
47061 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
47062 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
47063 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
47064 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
47065 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
47066 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
47067 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
47068 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
47069 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
47070 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
47071 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
47072 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
47073 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
47074 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
47075 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
47076 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
47077 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
47078 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
47079 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
47080 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
47081 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
47082 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
47083 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
47084 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
47085 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
47086 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
47087 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
47088 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
47089 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
47090 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
47091 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
47092 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
47093 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
47094 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
47095 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
47096 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
47097 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
47098 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
47099 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
47100 Update #include.
47101 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
47102 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
47103
47104 2014-08-04 Roland McGrath <roland@hack.frob.com>
47105
47106 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
47107 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
47108 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
47109 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
47110 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
47111 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
47112
47113 2014-08-04 Roland McGrath <roland@hack.frob.com>
47114
47115 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
47116 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
47117 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47118 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
47119
47120 2014-08-04 Roland McGrath <roland@hack.frob.com>
47121
47122 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
47123 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
47124 (__libc_vfork): Define function under this name.
47125 (__vfork): Define as an alias.
47126 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
47127 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
47128
47129 2014-08-04 Roland McGrath <roland@hack.frob.com>
47130
47131 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
47132 that was previously under [RESET_PID].
47133 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
47134
47135 2014-08-04 Andreas Schwab <schwab@suse.de>
47136
47137 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
47138
47139 2014-08-03 Mike Frysinger <vapier@gentoo.org>
47140
47141 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47142 (main): Likewise.
47143
47144 2014-08-01 Roland McGrath <roland@hack.frob.com>
47145
47146 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47147
47148 2014-08-01 Richard Henderon <rth@redhat.com>
47149
47150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47151 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47152 typo in exact zero test.
47153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47156
47157 2014-08-01 Roland McGrath <roland@hack.frob.com>
47158
47159 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47160 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47161 * sysdeps/arm/sysdep.h: ... here.
47162 [!__ASSEMBLER__]: Include <stdint.h>.
47163
47164 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47165
47166 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47167 (HAVE_WCTYPE_H): Likewise.
47168 (HAVE_ISWCTYPE): Likewise.
47169 (ENABLE_NLS): Likewise.
47170 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47171 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47172
47173 * posix/regex_internal.c: Check if DEBUG is defined and is
47174 set.
47175
47176 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47177 (HAVE_MBSRTOWCS): Likewise.
47178 * posix/fnmatch.c: Include string.h unconditionally.
47179
47180 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47181
47182 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47183 reversal.
47184
47185 2014-07-31 Roland McGrath <roland@hack.frob.com>
47186
47187 * sysdeps/generic/safe-fatal.h: New file.
47188 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47189 * nptl/forward.c: Include it.
47190 (__pthread_unwind): Use __safe_fatal as default action, rather
47191 than a bogus use of INTERNAL_SYSCALL that could never work.
47192
47193 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47194 * configure.ac (libc_cv_builtin_trap): New test.
47195 * configure: Regenerated.
47196 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47197 (ABORT_INSTRUCTION): Define using __builtin_trap.
47198
47199 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47200 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47201 * sysdeps/nptl/nptl-signals.h: New file.
47202 * nptl/pthreadP.h: Include <nptl-signals.h>.
47203
47204 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47205
47206 * sysdeps/s390/s390-64/utf16-utf32-z9.c
47207 (ONE_DIRECTION): Define.
47208 * sysdeps/s390/s390-64/utf8-utf16-z9.c
47209 (ONE_DIRECTION): Define.
47210 * sysdeps/s390/s390-64/utf8-utf32-z9.c
47211 (ONE_DIRECTION): Define.
47212
47213 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47214
47215 * sysdeps/s390/Makefile: Delete file.
47216 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47217 * sysdeps/s390/__longjmp.c: Delete file.
47218 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47219 Remove fields __flags and __reserved.
47220 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47221 and add versioning.
47222 * sysdeps/s390/rtld-__longjmp.c: Delete file.
47223 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47224 * sysdeps/s390/rtld-setjmp.S: Likewise.
47225 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47226 * sysdeps/s390/s390-32/__longjmp.c: ... here.
47227 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47228 * sysdeps/s390/s390-32/setjmp.S: ... here.
47229 Add versioning.
47230 (__sigsetjmp): Remove setting __flags field.
47231 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47232 * sysdeps/s390/s390-64/__longjmp.c: ... here.
47233 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47234 * sysdeps/s390/s390-64/setjmp.S: ... here.
47235 Add versioning.
47236 (__sigsetjmp): Remove setting __flags field.
47237 * sysdeps/s390/setjmp.S: Delete file.
47238 * sysdeps/s390/sigjmp.c: Likewise.
47239 * sysdeps/s390/v1-longjmp.c: Likewise.
47240 * sysdeps/s390/v1-setjmp.h: Likewise.
47241 * sysdeps/s390/v1-sigjmp.c: Likewise.
47242 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47243 Remove v1-longjmp_chk.
47244 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47245 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47246 Include debug/longjmp_chk.c and add versioning.
47247 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47248 Include nptl/pt-longjmp.c and add versioning.
47249 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47250 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47251 Include __longjmp.c.
47252 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47253 Move to ...
47254 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47255 (__getcontext): Remove setting __flags field.
47256 Add versioning.
47257 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47258 Don't restore upper high grps.
47259 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47260 Likewise.
47261 (__swapcontext): Remove setting uc_flags field.
47262 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47263 Delete file.
47264 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47265 Include __longjmp.c.
47266 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47267 Move to ...
47268 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47269 (__getcontext): Remove setting __flags field.
47270 Add versioning.
47271 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47272 (__swapcontext): Remove setting uc_flags field.
47273 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47274 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47275 Remove fields uc_high_gprs and __reserved.
47276 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47277 New file with reverted content.
47278 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47279 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47280 Regenerated.
47281 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47282 Regenerated.
47283
47284 2014-07-31 Andreas Schwab <schwab@suse.de>
47285
47286 * config.h.in (HAVE_IFUNC): Define to 0.
47287 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47288 definedness.
47289
47290 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
47291
47292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47293 memmove-avx-unaligned, memcpy-avx-unaligned and
47294 mempcpy-avx-unaligned.
47295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47296 Add tests for AVX memcpy functions.
47297 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47298 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47299 memcpy_chk.
47300 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47301 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47302 memmove_chk.
47303 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47304 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47305 mempcpy_chk.
47306 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47307 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47308 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47309
47310 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47311
47312 [BZ #17213]
47313 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47314 powerpc64le.
47315
47316 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
47317
47318 [BZ #16839]
47319 * manual/llio.texi: Add section about open file description locks.
47320 * manual/examples/ofdlocks.c: Example of open file description
47321 lock usage.
47322 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47323 F_OFD_SETLK, and F_OFD_SETLKW.
47324
47325 2014-07-23 Allan McRae <allan@archlinux.org>
47326
47327 * po/es.po: Update Spanish translation from translation project.
47328
47329 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
47330
47331 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47332
47333 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
47334
47335 [BZ #17078]
47336 * sysdeps/arm/dl-machine.h (elf_machine_rela)
47337 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47338 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47339
47340 2014-07-17 Joseph Myers <joseph@codesourcery.com>
47341
47342 [BZ #17088]
47343 * math/fesetenv.c (__fesetenv)
47344 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47345 * math/feupdateenv.c (__feupdateenv)
47346 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47347
47348 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47349 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47350 (__ASSUME_SOCKETCALL): Do not define.
47351
47352 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47353 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47354 (__ASSUME_SOCKETCALL): Do not define.
47355 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47356 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47357 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47358 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47359 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47360 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47361 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47362 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47363
47364 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47365 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47366 (__ASSUME_SOCKETCALL): Do not define.
47367 (__ASSUME_IPC64): Define unconditionally.
47368 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47369 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47370 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47371 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47372 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47373 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47374 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47375 Likewise.
47376
47377 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47378 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47379 (__ASSUME_SOCKETCALL): Do not define.
47380 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47381 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47382 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47383 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47384 (__ASSUME_REQUEUE_PI): Define unconditionally.
47385 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47386 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47387 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47388 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47389 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47390 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47391
47392 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47393 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47394 (__ASSUME_SOCKETCALL): Do not define.
47395 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47396 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47397 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47398 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47399 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47400 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47401
47402 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47403 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47404 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47405 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47406 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47407 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47408 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47409 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47410 (__ASSUME_GETCPU_SYSCALL): Likewise.
47411
47412 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47413 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47414 cases for individual architectures.
47415 * sysdeps/gnu/configure: Regenerated.
47416 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47417 LIBC_SLIBDIR_RTLDDIR.
47418 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47419 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47420 LIBC_SLIBDIR_RTLDDIR.
47421 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47423 LIBC_SLIBDIR_RTLDDIR.
47424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47425 Regenerated.
47426 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47427 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47428 file.
47429 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47430 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47431 file.
47432 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47433 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47434 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47435 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47436
47437 * sysdeps/aarch64/shlib-versions: Move to ...
47438 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47439 * sysdeps/alpha/shlib-versions: Move to ...
47440 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47441 * sysdeps/arm/shlib-versions: Move to ...
47442 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47443 * sysdeps/hppa/shlib-versions: Move all contents except for
47444 libgcc_s entry to ...
47445 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47446 entry from ...
47447 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47448 * sysdeps/ia64/shlib-versions: Move to ...
47449 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47450 entry from ...
47451 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47452 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47453 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47454 * sysdeps/microblaze/shlib-versions: Move to ...
47455 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47456 * sysdeps/mips/shlib-versions: Move to ...
47457 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47458 entry from ...
47459 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47460 * sysdeps/tile/shlib-versions: Move to ...
47461 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47462 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47463 from ...
47464 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47465 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47466 entry from ...
47467 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47468
47469 2014-07-17 Will Newton <will.newton@linaro.org>
47470
47471 * sysdeps/arm/bits/atomic.h
47472 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47473 (__arch_compare_and_exchange_bool_16_int): Likewise.
47474 (__arch_compare_and_exchange_bool_64_int): Likewise.
47475
47476 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47477 into an #else block.
47478
47479 2014-07-16 Roland McGrath <roland@hack.frob.com>
47480
47481 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47482 just Linux configurations. Test empirically that the compiler sets
47483 __ARM_EABI__, rather than using the tuple to decide.
47484 * sysdeps/arm/preconfigure: Regenerated.
47485 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47486 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47487 contents appended ...
47488 * sysdeps/arm/configure.ac: ... here.
47489 * sysdeps/arm/configure: Regenerated.
47490
47491 2014-07-15 Roland McGrath <roland@hack.frob.com>
47492
47493 * nptl/pthread_kill.c: New file.
47494 * nptl/pthread_sigmask.c: New file.
47495 * nptl/pthread_sigqueue.c: New file.
47496
47497 * sysdeps/nptl/lowlevellock.h: New file.
47498 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47499 * sysdeps/nptl/lowlevellock-futex.h: New file.
47500
47501 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47502 Remove dead declarations.
47503
47504 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47505
47506 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47507 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47508 config-cflags-avx2.
47509 * sysdeps/x86_64/configure.ac: Likewise.
47510 * sysdeps/i386/configure: Regenerated.
47511 * sysdeps/x86_64/configure: Likewise.
47512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47513 memset-avx2 only if config-cflags-avx2 is yes.
47514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47515 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47516 defined.
47517 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47518 only if HAVE_AVX2_SUPPORT is defined.
47519 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47520
47521 2014-07-14 Alan Modra <amodra@gmail.com>
47522
47523 [BZ #17153]
47524 * elf/elf.h (DT_PPC64_NUM): Correct value.
47525 * NEWS: Add to fixed bug list.
47526
47527 2014-07-13 Jim Meyering <meyering@fb.com>
47528
47529 [BZ 17150]
47530 regex: don't deref NULL upon heap allocation failure
47531 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47532 failure in one more place.
47533 To trigger the segfault, configure grep -with-included-regex,
47534 build it, and run these commands:
47535 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47536
47537 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47538
47539 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47540
47541 2014-07-11 Richard Henderson <rth@redhat.com>
47542
47543 * sysdeps/aarch64/libm-test-ulps: Update.
47544
47545 2014-07-10 Florian Weimer <fweimer@redhat.com>
47546
47547 [BZ #17135]
47548 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47549 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47550 (__nptl_setxid): Initialize error member. Call
47551 __nptl_setxid_error.
47552 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47553 * nptl/descr.h (struct xid_command): Add error member.
47554 * nptl/tst-setuid3.c: New file.
47555 * nptl/Makefile (tests): Add it.
47556
47557 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47558
47559 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47560 New define.
47561 (__lll_trylock): Use __lll_base_trylock.
47562 (__lll_cond_trylock): Likewise.
47563
47564 2014-07-10 Roland McGrath <roland@hack.frob.com>
47565
47566 * nptl/pthread_create.c (start_thread): Use atomic_or and
47567 lll_futex_wake directly rather than lll_robust_dead.
47568 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47569 (lll_robust_dead): Macro removed.
47570 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47571 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47572 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47573 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47574 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47575 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47576 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47577 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47578 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47579 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47580 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47581 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47582 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47583 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47584 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47585
47586 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47587 Use atomic_compare_and_exchange_val_acq directly rather than
47588 lll_robust_trylock.
47589 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47590 (__lll_robust_trylock, lll_robust_trylock): Removed.
47591 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47592 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47593 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47594 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47595 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47596 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47597 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47598 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47599 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47600 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47601 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47602 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47603 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47604 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47605
47606 2014-07-02 Florian Weimer <fweimer@redhat.com>
47607
47608 * manual/locale.texi (Locale Names): New section documenting
47609 locale name syntax. Adjust menu and node chaining accordingly.
47610 (Choosing Locale): Reference Locale Names, Locale Categories.
47611 Mention setting LC_ALL=C. Reflect that name syntax is now
47612 documented.
47613 (Locale Categories): New section title. Reference Locale Names.
47614 LC_ALL is an environment variable, but not a category.
47615 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47616 description, now in Locale Name. Reference that section. Locale
47617 name syntax is now documented.
47618
47619 2014-07-02 Florian Weimer <fweimer@redhat.com>
47620
47621 [BZ #17137]
47622 * locale/findlocale.c (name_present, valid_locale_name): New
47623 functions.
47624 (_nl_find_locale): Use the loc_name variable to store name
47625 candidates. Call name_present and valid_locale_name to check and
47626 validate locale names. Return an error if the locale is invalid.
47627
47628 2014-07-02 Florian Weimer <fweimer@redhat.com>
47629
47630 * locale/setlocale.c (setlocale): Use strdup for allocating
47631 composite name copy.
47632
47633 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47634
47635 Sync up with gnulib.
47636 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47637 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47638 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47639 and _GL_ARG_NONNULL.
47640 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47641 [!_LIBC]: Include code for Windows and Cygwin.
47642 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47643 Include prototype for int strerror_r.
47644 [!_LIBC] (is_open): New function.
47645 (flush_stdout): New function.
47646 (print_errno_message): Use it.
47647 (error): Likewise.
47648 (error_at_line): Likewise.
47649 (error_tail) Add function attribute macros. Use
47650 __builtin_expect.
47651
47652 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47653
47654 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47655
47656 * io/ftw.c: Include sys/param.h unconditionally.
47657
47658 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47659
47660 [BZ #17125]
47661 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47662 libc_freeres_ptr.
47663 (freecache): New function to free CACHE on exit.
47664
47665 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47666 initialization.
47667
47668 2014-07-09 David S. Miller <davem@davemloft.net>
47669
47670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47671
47672 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47673 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47674 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47675 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47676 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47677 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47678 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47679 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47680 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47681 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47682 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47683 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47684 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47685
47686 2014-07-09 Andreas Schwab <schwab@suse.de>
47687
47688 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47689 output.
47690 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47691 (do_test): Likewise.
47692
47693 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47694
47695 2014-07-09 Will Newton <will.newton@linaro.org>
47696
47697 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47698 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47699 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47700 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47701 * sysdeps/hppa/start.S (_start): Likewise.
47702
47703 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47704
47705 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47706
47707 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47708 defined.
47709
47710 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47711
47712 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47713 after checking that it is non-NULL.
47714
47715 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47716
47717 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47718
47719 * sysdeps/powerpc/memmove.c: Remove file.
47720 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47721 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47722 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47723 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47724 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47725 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47726 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47727 string memmove instead of removed powerpc one.
47728
47729 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47730 [weak_alias]: Fix compiler warning due trailing data.
47731 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47732 [weak_alias]: Likewise.
47733 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47734 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47735
47736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47737 (__libc_ifunc_impl_list): Add memmove functions.
47738
47739 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47740
47741 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47742 Remove code.
47743 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47744 Likewise.
47745 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47746 Likewise.
47747 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47748 Likewise.
47749 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47750 Likewise.
47751 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47752 Likewise.
47753 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47754 Likewise.
47755 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47756 Likewise.
47757 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47758 Likewise.
47759 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47760 Likewise.
47761 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47762 Likewise.
47763 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47764 Likewise.
47765 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47766 Likewise.
47767 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47768 Likewise.
47769 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47770 Likewise.
47771 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47772 Likewise.
47773 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47774 Likewise.
47775
47776 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47777
47778 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47779 to avoid alignment traps in non-cacheable memory.
47780 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47781
47782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47783 multiarch objects.
47784 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47785 file: multiarch power7 memmove.
47786 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47787 multiarch default memmove.
47788 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47789 multiarch memove for powerpc32/power4.
47790
47791 * string/bcopy.c: Use full path to include memmove.c.
47792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47793 multiarch objects.
47794 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47795 bcopy for powerpc64.
47796 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47797 bcopy for powerpc64.
47798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47799 and memmove implementations.
47800 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47801 optimized multiarch memmove for POWER7/powerpc64.
47802 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47803 default multiarch memmove for powerpc64.
47804 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47805 multiarch for powerpc64.
47806 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47807 for POWER7/powerpc64.
47808 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47809 memmove for POWER7/powerpc64.
47810
47811 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47812 glibc default one.
47813
47814 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47815 __ELF_NATIVE_CLASS equal to 64.
47816
47817 2014-07-07 Roland McGrath <roland@hack.frob.com>
47818
47819 * sysdeps/nptl/lowlevellock.h: File removed.
47820
47821 * NEWS: NPTL is no longer an add-on!
47822 * nptl/internaltypes.h: Moved ...
47823 * sysdeps/nptl/internaltypes.h: ... here.
47824 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47825 * sysdeps/nptl/fork.c: Likewise.
47826 * sysdeps/nptl/gai_misc.h: Likewise.
47827 * sysdeps/nptl/librt-cancellation.c: Likewise.
47828 * sysdeps/nptl/jmp-unwind.c: Likewise.
47829 * sysdeps/nptl/setxid.h: Likewise.
47830 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47831 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47832 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47833 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47834 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47835 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47836 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47837 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47838 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47839 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47840 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47841 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47842 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47843 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47844 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47845 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47846 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47847 * nptl/Makeconfig: Moved ...
47848 * sysdeps/nptl/Makeconfig: ... here.
47849 * nptl/configure: File removed.
47850 * nptl/ANNOUNCE: File removed.
47851 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47852 * sysdeps/unix/sysv/linux/configure: Regenerated.
47853
47854 * nptl/Makefile (routines): Add libc_pthread_init,
47855 libc_multiple_threads, register-atfork and unregister-atfork.
47856 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47857 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47858 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47859 pthread-pi-defines.sym, structsem.sym.
47860 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47861 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47862 [$(subdir) = nptl] (tests): Add tst-setgetname.
47863 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47864 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47865 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47866 [!LIBC_SIGACTION]: Remove aliases.
47867 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47868 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47869 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47870 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47871 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47872 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47875 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47876 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47877 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47878 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47879 __libc_allocate_rtsig_private.
47880 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47881 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47882 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47883 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47884 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47885 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47886 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47887 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47888 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47889 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47890 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47891 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47892 * nptl/internaltypes.h: ... here.
47893 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47894 * sysdeps/nptl/jmp-unwind.c: ... here.
47895 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47896 * nptl/libc-lowlevellock.c: ... here.
47897 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47898 * nptl/libc_multiple_threads.c: ... here.
47899 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47900 * nptl/libc_pthread_init.c: ... here.
47901 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47902 * nptl/lowlevelbarrier.sym: ... here.
47903 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47904 * nptl/lowlevelcond.sym: ... here.
47905 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47906 * nptl/lowlevellock.c: ... here.
47907 * nptl/lowlevellock.h: Moved ...
47908 * sysdeps/nptl/lowlevellock.h: ... here.
47909 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47910 * nptl/lowlevelrobustlock.c: ... here.
47911 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47912 * nptl/lowlevelrobustlock.sym: ... here.
47913 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47914 * nptl/lowlevelrwlock.sym: ... here.
47915 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47916 * nptl/pt-fork.c: ... here.
47917 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47918 * nptl/pthread-pi-defines.sym: ... here.
47919 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47920 * nptl/pthread_attr_getaffinity.c: ... here.
47921 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47922 * nptl/pthread_attr_setaffinity.c: ... here.
47923 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47924 * nptl/pthread_mutex_cond_lock.c: ... here.
47925 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47926 Update #include.
47927 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47928 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47929 * nptl/pthread_once.c: ... here, replacing old file.
47930 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47931 * nptl/pthread_yield.c: ... here.
47932 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47933 * nptl/register-atfork.c: ... here.
47934 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47935 * nptl/sem_post.c: ... here.
47936 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47937 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47938 * nptl/sem_timedwait.c: ... here.
47939 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47940 * nptl/sem_trywait.c: ... here.
47941 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47942 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47943 * nptl/sem_wait.c: ... here.
47944 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47945 * nptl/structsem.sym: ... here.
47946 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47947 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47948 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47949 * nptl/unregister-atfork.c: ... here.
47950 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47951 * nptl/unwindbuf.sym: ... here.
47952 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47953 * sysdeps/nptl/fork.c: ... here.
47954 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47955 * sysdeps/nptl/fork.h: ... here.
47956 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47957 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47958 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47959 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47960 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47961 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47962 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47963 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47964 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47965 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47966 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47967 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47968 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47969 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47970 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47971 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47972 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47973 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47974 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47975 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47976 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47977 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47978 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47979 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47980 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47981 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47982 * sysdeps/unix/sysv/linux/raise.c: ... here.
47983 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47984 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47985 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47986 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47987 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47988 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47989 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47990 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47991 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47992 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47993 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47994 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47995 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47996 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47997 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47998
47999 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48000
48001 * sysdeps/generic/memcopy.h: Add comment for
48002 MEMCPY_OK_FOR_FWD_MEMMOVE.
48003
48004 2014-07-04 Will Newton <will.newton@linaro.org>
48005
48006 * string/memchr.c: Merge from gnulib.
48007 [_LIBC]: Remove conditionals.
48008 (__ptr_t): Remove define.
48009 (LONG_MAX_32_BITS): Likewise.
48010 (LONG_MAX): Likewise.
48011 (MEMCHR): Use ANSI prototype and optimize algorithm.
48012
48013 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
48014
48015 2014-07-03 Roland McGrath <roland@hack.frob.com>
48016
48017 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
48018 (lll_futex_timed_wait_bitset): Fix syscall argument count.
48019
48020 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
48021 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
48022 in a bare environment with no <stdlib.h> installed.
48023 * sysdeps/nptl/configure: Regenerated.
48024
48025 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
48026
48027 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
48028 AC_EGREP_CPP for kernel header checks, so they only succeed if
48029 including <linux/version.h> actually works right.
48030 * sysdeps/unix/sysv/linux/configure: Regenerated.
48031
48032 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
48033 value so it's not diagnosed as unused.
48034
48035 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
48036 thing) with "ifeq ($(subdir),rt)".
48037
48038 2014-07-03 Richard Henderson <rth@redhat.com>
48039
48040 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
48041 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
48042 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
48043
48044 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
48045 (math_force_eval): New.
48046
48047 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
48048 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
48049
48050 * sysdeps/alpha/fpu/s_round.c: Remove file.
48051 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
48052
48053 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
48054 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
48055 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
48056 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
48057 (_dl_start, print_statistics): Likewise.
48058 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
48059 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
48060
48061 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48062 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48063 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48064 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48065 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48066 (HP_SMALL_TIMING_AVAIL): Define.
48067 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48068 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48069 (HP_SMALL_TIMING_AVAIL): Define.
48070 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48071 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48072
48073 * sysdeps/aarch64/hp-timing.h: New file.
48074
48075 * sysdeps/generic/hp-timing.h: Remove dead comment.
48076 * sysdeps/generic/hp-timing-common.h: New file.
48077 * sysdeps/alpha/hp-timing.h: Include it.
48078 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
48079 * sysdeps/i386/i686/hp-timing.h: Likewise.
48080 * sysdeps/ia64/hp-timing.h: Likewise.
48081 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48082 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48083 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48084 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48085 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
48086 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
48087 (hp_timing_t): New.
48088
48089 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
48090 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
48091 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
48092 * elf/rtld.c (_dl_start_final): Likewise.
48093 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
48094 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48095 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48096 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48097 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48099 (HP_TIMING_DIFF_INIT): Remove.
48100 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48101 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48102 (HP_TIMING_DIFF_INIT): Remove.
48103 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48104 * sysdeps/i386/i686/hp-timing.c: Remove file.
48105 * sysdeps/x86_64/hp-timing.c: Remove file.
48106 * sysdeps/ia64/hp-timing.c: Remove file.
48107 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
48108 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
48109 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
48110 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
48111
48112 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
48113 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
48114 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
48115 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48116 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48117 (HP_TIMING_ACCUM): Remove.
48118 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48119 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
48120 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48121
48122 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
48123 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
48124 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
48125 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
48126 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
48127 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48128 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
48129 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48130
48131 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
48132
48133 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
48134
48135 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
48136
48137 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48138
48139 Sync up with gettext.
48140 * intl/loadmsgcat.c: Define O_BINARY if not defined.
48141 [_MSC_VER]: Include malloc.h
48142 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48143 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48144 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
48145 TEMP_FAILURE_RETRY. Cast return of alloca.
48146 [!_LIBC] Call gl_rwlock_init.
48147 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48148
48149 2014-07-02 Roland McGrath <roland@hack.frob.com>
48150
48151 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48152 before checking its value.
48153
48154 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48155
48156 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48157
48158 * debug/memcpy_chk.c: Don't include pagecopy.h.
48159 * debug/mempcpy_chk.c: Likewise.
48160 * string/memcpy.c: Likewise.
48161 * string/memmove.c: Likewise.
48162 * sysdeps/powerpc/memmove.c: Likewise.
48163 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
48164 definition of PAGE_COPY_FWD_MAYBE here...
48165 * sysdeps/generic/pagecopy.h: ... from here.
48166 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48167
48168 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
48169 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48170
48171 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48173 optimizations.
48174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48175 (__libc_ifunc_impl_list): Likewise.
48176 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48177 multiarch strcat for PPC64.
48178 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48179 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48180
48181 2014-07-02 Roland McGrath <roland@hack.frob.com>
48182
48183 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48184
48185 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48186
48187 * intl/loadmsgcat.c: Remove declaration of
48188 get_sysdep_segment_value.
48189 (get_sysdep_segment_value): Use ISO C style.
48190 (_nl_load_domain): Use ISO C style. Get rid of redundant
48191 semicolon. Fix typo and formatting in comment.
48192 (_nl_unload_domain): Use ISO C style.
48193
48194 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48195
48196 2014-07-02 Will Newton <will.newton@linaro.org>
48197
48198 * malloc/obstack.c: Merge from gnulib master.
48199 [HAVE_CONFIG_H]: Remove conditional code.
48200 [!_LIBC]: Include config.h.
48201 [!ELIDE_CODE]: Don't include inttypes.h, include
48202 stdint.h unconditionally.
48203 (print_and_abort): Mark as _Noreturn.
48204 (_obstack_allocated_p): Mark as __attribute_pure__.
48205 (obstack_free): Rename to __obstack_free.
48206 [!__attribute__]: Remove conditional code.
48207 * malloc/obstack.h: Merge from gnulib master.
48208 [__cplusplus]: Move conditional down.
48209 [!__attribute_pure__]: Define __attribute_pure__ here
48210 if it is not already defined.
48211 (_obstack_memory_used): Mark as __attribute_pure__.
48212 [!__obstack_free]: Define as obstack_free.
48213 [__GNUC__]: Remove check for ancient NeXT gcc.
48214
48215 2014-07-02 Will Newton <will.newton@linaro.org>
48216 Paul Eggert <eggert@cs.ucla.edu>
48217
48218 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48219
48220 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48221
48222 * resolv/gethnamaddr.c: Add comment warning that the file is
48223 not maintained.
48224
48225 2014-07-01 Carlos O'Donell <carlos@redhat.com>
48226
48227 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48228 entries.
48229
48230 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48231 entry for aio_cancel and aio_cancel64.
48232 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48233 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48234 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48235 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48236 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48237 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48238 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48239 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48240 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48241 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48242 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48243 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48244 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48245
48246 2014-07-01 Roland McGrath <roland@hack.frob.com>
48247
48248 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48249 * nptl/pthread_mutex_lock.c: Likewise.
48250 * nptl/pthread_mutex_timedlock.c: Likewise.
48251 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48252
48253 2014-07-01 Richard henderson <rth@redhat.com>
48254
48255 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48256 (__isnan, __isnanl): Remove.
48257 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48258
48259 * sysdeps/alpha/fpu/libm-test-ulps: Update.
48260
48261 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
48262
48263 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48264
48265 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
48266
48267 * resolv/nss_dns/dns-host.c (getanswer_r)
48268 [MULTI_PTRS_ARE_ALIASES]: Remove code.
48269
48270 2014-07-01 Joseph Myers <joseph@codesourcery.com>
48271
48272 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48273 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48274 undefine.
48275 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48276 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48277
48278 2014-07-01 Roland McGrath <roland@hack.frob.com>
48279
48280 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48281 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48282
48283 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48284 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48285
48286 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48287 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48288 ... here.
48289 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48290 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48291
48292 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48293 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48294 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48295 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48296
48297 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48298 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48299 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48300 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48301 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48302 Moved ...
48303 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48304 ... here.
48305 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48306 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48307 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48308 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48309 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48310 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48311 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48312 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48313 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48314 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48315 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48316 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48317 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48318 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48319 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48320 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48321 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48322 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48323 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48324 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48325 ... here.
48326 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48327 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48328 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48329 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48330 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48331 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48332 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48333 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48334
48335 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
48336
48337 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48338 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48339 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48340 Add sysdep.
48341
48342 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48343
48344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48345
48346 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48347
48348 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48349 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48350
48351 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48352
48353 * sysdeps/arm/libm-test-ulps: Regenerated.
48354
48355 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48356 Roland McGrath <roland@hack.frob.com>
48357
48358 * test-skeleton.c (signal_handler): Kill the whole process group
48359 before killing the child individually.
48360 (main): Report any failure on `setpgid'.
48361
48362 2014-06-30 Roland McGrath <roland@hack.frob.com>
48363
48364 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48365 from _TLS_H to _ARM_NPTL_TLS_H.
48366 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48367 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48368
48369 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48370
48371 [BZ #16539]
48372 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48373 (__expm1l): Return argument unchanged when small but not
48374 subnormal.
48375
48376 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48377 include macro name.
48378 (_FP_UNPACK_RAW_1_P): Likewise.
48379 (_FP_PACK_RAW_1): Likewise.
48380 (_FP_PACK_RAW_1_P): Likewise.
48381 (_FP_MUL_MEAT_1_wide): Likewise.
48382 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48383 (_FP_MUL_MEAT_1_hard): Likewise.
48384 (_FP_DIV_MEAT_1_imm): Likewise.
48385 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48386 (_FP_DIV_MEAT_1_udiv): Likewise.
48387 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48388 (_FP_UNPACK_RAW_2): Likewise.
48389 (_FP_UNPACK_RAW_2_P): Likewise.
48390 (_FP_PACK_RAW_2): Likewise.
48391 (_FP_PACK_RAW_2_P): Likewise.
48392 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48393 (_FP_MUL_MEAT_2_wide): Likewise.
48394 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48395 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48396 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48397 (_FP_MUL_MEAT_2_gmp): Likewise.
48398 (_FP_DIV_MEAT_2_udiv): Likewise.
48399 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48400 (_FP_FRAC_SRL_4): Likewise.
48401 (_FP_FRAC_SRST_4): Likewise.
48402 (_FP_FRAC_SRS_4): Likewise.
48403 (_FP_UNPACK_RAW_4): Likewise.
48404 (_FP_UNPACK_RAW_4_P): Likewise.
48405 (_FP_PACK_RAW_4): Likewise.
48406 (_FP_PACK_RAW_4_P): Likewise.
48407 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48408 (_FP_MUL_MEAT_4_wide): Likewise.
48409 (_FP_MUL_MEAT_4_gmp): Likewise.
48410 (umul_ppppmnnn): Likewise.
48411 (_FP_DIV_MEAT_4_udiv): Likewise.
48412 (__FP_FRAC_ADD_4): Likewise.
48413 (__FP_FRAC_SUB_3): Likewise.
48414 (__FP_FRAC_SUB_4): Likewise.
48415 (__FP_FRAC_DEC_3): Likewise.
48416 (__FP_FRAC_DEC_4): Likewise.
48417 (__FP_FRAC_ADDI_4): Likewise.
48418 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48419 (_FP_FRAC_SRL_8): Likewise.
48420 (_FP_FRAC_SRS_8): Likewise.
48421
48422 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48423 include macro name.
48424 (FP_UNPACK_RAW_EP): Likewise.
48425 (FP_PACK_RAW_E): Likewise.
48426 (FP_PACK_RAW_EP): Likewise.
48427 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48428 (_FP_ISSIGNAN): Likewise.
48429 (_FP_ADD_INTERNAL): Likewise.
48430 (_FP_FMA): Likewise.
48431 (_FP_CMP): Likewise.
48432 (_FP_SQRT): Likewise.
48433 (_FP_TO_INT): Likewise.
48434 (_FP_FROM_INT): Likewise.
48435 (FP_EXTEND): Likewise.
48436 (_FP_DIV_MEAT_N_loop): Likewise.
48437
48438 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48439
48440 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48441 throughout.
48442
48443 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48444
48445 [BZ #17097]
48446 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48447 result with correct sign in case of exponents that produce
48448 overflow except for X very close to 1.
48449
48450 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48451
48452 mktime: merge #if/#ifdef usage from glibc
48453 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48454 as that works with both Glibc's and Gnulib's style.
48455 See thread starting at Siddhesh Poyarekar's bug report at:
48456 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48457
48458 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48459
48460 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48461 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48462 * sysdeps/tile/tilegx/memmove.c: Remove file.
48463
48464 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48465
48466 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48467 abi-name definition.
48468 * scripts/soversions.awk: Do not handle or generate ABI lines.
48469 * shlib-versions: Remove ABI entries.
48470 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48471 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48472
48473 2014-06-27 Roland McGrath <roland@hack.frob.com>
48474
48475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48476 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48477 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48478 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48480 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48482 Moved ...
48483 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48484 ... here.
48485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48486 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48488 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48490 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48491 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48492 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48494 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48496 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48498 Moved ...
48499 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48501 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48503 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48505 Moved ...
48506 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48508 Moved ...
48509 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48513 Moved ...
48514 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48515 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48516 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48518 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48520 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48522 Moved ...
48523 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48525 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48526 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48527 Moved ...
48528 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48530 Moved ...
48531 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48533 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48534 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48535 Moved ...
48536 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48537 ... here.
48538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48539 Identical file removed.
48540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48541 Moved ...
48542 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48544 Identical file removed.
48545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48546 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48548 Moved ...
48549 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48551 Identical file removed.
48552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48553 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48554 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48555 Identical file removed.
48556 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48557 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48558 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48559 Identical file removed.
48560 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48561 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48563 Identical file removed.
48564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48565 Moved ...
48566 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48568 Identical file removed.
48569 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48570 Moved ...
48571 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48572 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48573 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48575 Identical file removed.
48576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48577 Moved ...
48578 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48579 ... here.
48580 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48581 Identical file removed.
48582 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48583 Moved ...
48584 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48585 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48586 Identical file removed.
48587 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48588 Moved ...
48589 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48590 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48591 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48592 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48593 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48594 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48595 Moved ...
48596 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48597 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48598 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48599
48600 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48601 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48602 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48603 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48604 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48605
48606 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48607
48608 [BZ #17092]
48609 * nscd/nscd.c (monitor_child): Return exit status of child
48610 instead of return value from wait syscall.
48611
48612 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48613
48614 * configure.ac (libc_commonpagesize): Remove variable.
48615 (libc_relro_required): Likewise.
48616 (libc_cv_z_relro): Remove configure test.
48617 * configure: Regenerated.
48618 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48619 variable.
48620 (libc_relro_required): Likewise.
48621 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48622 (libc_relro_required): Likewise.
48623 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48624 (libc_relro_required): Likewise.
48625 * sysdeps/arm/preconfigure: Regenerated.
48626 * sysdeps/ia64/preconfigure: Remove file.
48627 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48628 variable.
48629 (libc_relro_required): Likewise.
48630
48631 [BZ #16561]
48632 [BZ #16562]
48633 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48634 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48635 recompute overflowing results in original rounding mode.
48636 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48637 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48638 recompute overflowing results in original rounding mode.
48639 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48640 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48641 recompute overflowing results in original rounding mode.
48642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48643 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48644 recompute overflowing results in original rounding mode.
48645 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48646 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48647 recompute overflowing results in original rounding mode.
48648 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48649 (libc_feholdsetround_ctx): New macro.
48650 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48651 * sysdeps/i386/fpu/libm-test-ulps: Update.
48652 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48653
48654 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48655
48656 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48657 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48658 corresponding .cpsetup call.
48659
48660 2014-06-26 Roland McGrath <roland@hack.frob.com>
48661
48662 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48663 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48664 * sysdeps/arm/Makefile [$(subdir) = csu]
48665 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48666 (static-only-routines): Add aeabi_read_tp here.
48667 (shared-only-routines): Add libc-aeabi_read_tp here.
48668 (CFLAGS-libc-start.c): Add -fexceptions here.
48669 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48670 (sysdep_routines, static-only-routines, shared-only-routines):
48671 Don't add to these here.
48672 (CFLAGS-libc-start.c): Likewise.
48673
48674 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48675 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48676 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48677 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48678 * sysdeps/arm/Makefile [$(subdir) = rt]
48679 (librt-sysdep_routines, librt-shared-only-routines):
48680 Append rt-aeabi_unwind_cpp_pr1 here.
48681 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48682 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48683 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48684 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48685 Append nptl-aeabi_unwind_cpp_pr1 here.
48686 (tests): Filter out tst-cleanupx4 here.
48687 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48688 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48689 Don't do those here.
48690
48691 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48692
48693 * scripts/list-sources.sh: Do not handle ports specially.
48694
48695 2014-06-26 Roland McGrath <roland@hack.frob.com>
48696
48697 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48698 * sysdeps/arm/feupdateenv.c: Likewise.
48699
48700 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48701
48702 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48703
48704 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48705 trailing whitespace removed.
48706 * scripts/config.guess: Update to version 2014-03-23.
48707 * scripts/config.sub: Update to version 2014-05-01
48708 * scripts/install-sh: Update to version 2013-12-25.23.
48709 * scripts/move-if-change: Update from gnulib.
48710
48711 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48712
48713 * debug/memmove_chk.c: Remove pagecopy.h include.
48714
48715 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48716
48717 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48718 identical to gnulib mktime.
48719
48720 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48721
48722 * configure.ac: Do not test for machine being rs6000. Do not test
48723 for powerpc*-*soft.
48724 * configure: Regenerated.
48725
48726 [BZ #11505]
48727 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48728 test.
48729 * configure: Regenerated.
48730 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48731 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48732 Remove configure test.
48733 * sysdeps/arm/configure: Regenerated.
48734 * sysdeps/nptl/configure.ac: Do not check
48735 libc_cv_asm_cfi_directives.
48736 * sysdeps/nptl/configure: Regenerated.
48737 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48738 * sysdeps/x86_64/nptl/configure: Remove generated file.
48739 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48740 unconditional.
48741 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48742
48743 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48744
48745 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48746 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48747 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48748 it is defined.
48749
48750 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48751 instead of whether it is defined.
48752 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48753 * sysdeps/hppa/dl-machine.h: Likewise.
48754 * sysdeps/ia64/dl-machine.h: Likewise.
48755 * sysdeps/m68k/dl-machine.h: Likewise.
48756 * sysdeps/microblaze/dl-machine.h: Likewise.
48757 * sysdeps/mips/dl-machine.: Likewise.
48758 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48760 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48761 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48762 * sysdeps/sh/dl-machine.h: Likewise.
48763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48764 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48765 * sysdeps/tile/dl-machine.h: Likewise.
48766 * sysdeps/x86_64/dl-machine.h: Likewise.
48767
48768 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48769 code.
48770 (verify_persistent_db): Likewise.
48771
48772 2014-06-26 Roland McGrath <roland@hack.frob.com>
48773
48774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48775 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48777 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48779 Moved ...
48780 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48781 ... here.
48782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48783 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48785 Identical file removed.
48786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48787 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48789 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48791 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48793 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48795 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48797 Moved ...
48798 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48800 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48802 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48804 Moved ...
48805 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48807 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48809 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48811 Identical file removed.
48812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48813 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48815 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48817 Moved ...
48818 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48819 ... here.
48820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48823 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48825 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48827 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48829 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48831 Moved ...
48832 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48834 Moved ...
48835 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48837 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48839 Moved ...
48840 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48842 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48843
48844 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48845 folded into ...
48846 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48847 * sysdeps/unix/sysv/linux/s390/Versions
48848 (libpthread: GLIBC_2.19): New version set.
48849 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48850 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48851 (librt: GLIBC_2.3.3): New version set.
48852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48854 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48855 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48856 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48857 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48858 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48859 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48860 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48861 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48862 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48863 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48864 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48865 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48866 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48867 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48868 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48869 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48871 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48874 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48875 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48882 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48888 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48890 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48897
48898 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48899 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48900 (__libc_vfork): Define the function under this name.
48901 [!NOT_IN_libc] (__vfork): Make this an alias.
48902 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48904 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48905 (__libc_vfork): Define the function under this name.
48906 [!NOT_IN_libc] (__vfork): Make this an alias.
48907 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48908 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48912 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48913
48914 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48915 code that was previously under [RESET_PID].
48916 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48917 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48919
48920 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48921 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48922 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48923 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48925 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48926 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48927 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48928 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48929 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48930 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48931 Moved ...
48932 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48933 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48934 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48935 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48936 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48937 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48938 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48939 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48940 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48941 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48943 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48944 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48945 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48946 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48947 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48948 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48949 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48950 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48951 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48952 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48953 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48954 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48955 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48956 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48957 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48958 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48960 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48961
48962 2014-06-25 Roland McGrath <roland@hack.frob.com>
48963
48964 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48965 that was previously under [RESET_PID].
48966 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48967
48968 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48969
48970 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48971 not undefine and redefine.
48972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48973 [O_CLOEXEC]: Make code unconditional.
48974 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48975 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48976 <kernel-features.h>.
48977 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48978 conditional variable definition.
48979 (shm_open) [O_CLOEXEC]: Make code unconditional.
48980 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48981 code.
48982
48983 * configure.ac (USE_REGPARMS): Don't define here.
48984 * configure: Regenerated.
48985 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48986 * sysdeps/i386/configure: Regenerated.
48987
48988 * nptl/createthread.c: Don't include kernel-features.h.
48989 * nptl/pthread_cancel.c: Likewise.
48990 * nptl/pthread_condattr_setclock.c: Likewise.
48991 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48992 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48993 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48994 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48995 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48996 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48997 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
49000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
49001 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
49002 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
49003 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
49004 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
49005 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
49006 * nscd/gai.c: Likewise.
49007 * nss/nss_db/db-open.c: Likewise.
49008 * sysdeps/generic/ldsodefs.h: Likewise.
49009 * sysdeps/sh/nptl/tls.h: Likewise.
49010 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
49011 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
49012 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
49013 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
49014 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
49015 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
49016 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
49017 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49019 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
49020 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
49021 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49022 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
49023 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
49024 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
49025 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
49026 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
49027 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
49028 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
49029 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
49030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
49031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
49032 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
49033 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
49034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
49035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
49036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
49037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
49038 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
49039 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
49040 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
49041 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
49042 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
49043 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49044 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49045 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
49046 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49047 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
49048 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
49049 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
49050 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49051 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
49052 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
49053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49054 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
49055 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
49056 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
49057 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
49058 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
49059 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
49060 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
49061 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
49062 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
49063 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
49064 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
49065 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49066 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
49067 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
49068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
49070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
49071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
49073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
49074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
49075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
49076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
49079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
49080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
49081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
49082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
49088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
49089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
49090 * sysdeps/unix/sysv/linux/pread.c: Likewise.
49091 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
49092 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
49093 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
49094 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
49095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
49096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
49097 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
49098 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
49099 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
49100 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
49101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
49102 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
49103 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
49104 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
49105 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
49106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49107 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
49108 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
49109 * sysdeps/unix/sysv/linux/system.c: Likewise.
49110 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
49111 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
49112 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49113 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49114 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
49116 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49117
49118 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
49119 * configure: Regenerated.
49120 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
49121
49122 * configure.ac (base_machine): Do not set specially for particular
49123 machines here.
49124 * configure: Regenerated.
49125 * sysdeps/powerpc/preconfigure: Move machine and base_machine
49126 settings from configure.ac.
49127 * sysdeps/i386/preconfigure: New file.
49128 * sysdeps/s390/preconfigure: Likewise.
49129 * sysdeps/sh/preconfigure: Likewise.
49130 * sysdeps/sparc/preconfigure: Likewise.
49131
49132 2014-06-25 Roland McGrath <roland@hack.frob.com>
49133
49134 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
49135 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
49136 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
49137 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
49138 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49139 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49140 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49141 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49142 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49143 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49144 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49145 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49146 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49151 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49152 * sysdeps/sparc/sparc64/Makefile: ... appended here.
49153
49154 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49155 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49156 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49157 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49158 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49159 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49160 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49161 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49162 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49163 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49164 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49165 * sysdeps/sparc/sparc32/sem_post.c: ... here.
49166 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49167 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49168 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49169 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49170 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49171 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49172 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49173 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49175 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49179 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49185 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49187 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49189 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49191 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49192
49193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49194 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49196 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49198 Moved ...
49199 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49200 ... here.
49201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49202 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49206 Moved ...
49207 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49209 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49211 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49213 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49215 Moved ...
49216 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49218 Moved ...
49219 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49221 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49223 Moved ...
49224 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49226 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49228 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49230 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49232 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49234 Moved ...
49235 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49236 ... here.
49237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49238 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49240 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49242 Moved ...
49243 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49245 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49247 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49249 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49251 Moved ...
49252 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49254 Moved ...
49255 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49257 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49259 Moved ...
49260 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49262 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49265
49266 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49267
49268 * timezone/checktab.awk: Update from tzcode 2014e.
49269 * timezone/private.h: Likewise.
49270 * timezone/tzfile.h: Likewise.
49271 * timezone/zdump.c: Likewise.
49272 * timezone/zic.c: Likewise.
49273
49274 * sysdeps/unix/sysv/linux/kernel-features.h
49275 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49277 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49278 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49279 Remove conditional code.
49280
49281 2014-06-25 Will Newton <will.newton@linaro.org>
49282
49283 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49284 (_dl_arm_cap_flags): Add HWCAP2 values.
49285 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49286 (_DL_HWCAP_COUNT): Increase to 37.
49287 (_DL_HWCAP_LAST): New define.
49288 (_DL_HWCAP2_LAST): New define.
49289 (_dl_procinfo): Add support for printing
49290 AT_HWCAP2 entries.
49291 (_dl_string_hwcap): Use _dl_hwcap_string.
49292
49293 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49294
49295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49296
49297 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49298
49299 * README: Do not mention ports directory.
49300
49301 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49302 Remove macro.
49303 * sysdeps/unix/sysv/linux/futimes.c: Do not include
49304 <kernel-features.h>.
49305 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49306 conditional variable definition.
49307 (__futimes): Update comment.
49308 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49309 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49310
49311 [BZ #16560]
49312 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49313 arguments close to 0.
49314 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49315 Likewise.
49316 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49317 Likewise.
49318 * math/auto-libm-test-in: Add more tests of exp10.
49319 * math/auto-libm-test-out: Regenerated.
49320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49321
49322 * sysdeps/unix/sysv/linux/kernel-features.h
49323 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49324 * sysdeps/unix/sysv/linux/readv.c: Do not include
49325 <kernel-features.h>.
49326 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49327 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49328 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49329 unconditional.
49330 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49331 conditional code.
49332 * sysdeps/unix/sysv/linux/writev.c: Do not include
49333 <kernel-features.h>.
49334 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49335 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49336 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49337 unconditional.
49338 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49339 conditional code.
49340
49341 2014-06-25 Will Newton <will.newton@linaro.org>
49342
49343 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49344 comment changes throughout the file. Remove checks
49345 for HAVE_*_H definitions that are not required.
49346 (__gen_tempname): Call abort if an unknown kind value is
49347 passed.
49348
49349 2014-06-25 Andreas Schwab <schwab@suse.de>
49350
49351 [BZ #17086]
49352 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49353 scalbln, scalblnf, scalblnl in libc.
49354
49355 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49356
49357 [BZ #17086]
49358 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49359 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49360 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49361
49362 2014-06-24 Roland McGrath <roland@hack.frob.com>
49363
49364 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49365 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49366 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49367 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49368 Update #include.
49369 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49370 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49371 Update #include.
49372 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49373 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49374 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49375 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49376 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49377 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49378 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49379 * sysdeps/x86/bits/semaphore.h: ... here.
49380 * sysdeps/x86/nptl/elide.h: Moved ...
49381 * sysdeps/x86/elide.h: ... here.
49382 * sysdeps/x86_64/nptl/Implies: File removed.
49383 * sysdeps/i386/nptl/Implies: File removed.
49384
49385 2014-06-24 Joseph Myers <joseph@codesourcery.com>
49386
49387 [BZ #16539]
49388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49389 return the argument for normal arguments with exponent below -64.
49390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49391 Likewise.
49392 * math/auto-libm-test-in: Add another test of expm1.
49393 * math/auto-libm-test-out: Regenerated.
49394
49395 [BZ #16287]
49396 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49397 calling __erfcl for arguments at least 16.
49398 * math/auto-libm-test-in: Add more tests of erf.
49399 * math/auto-libm-test-out: Regenerated.
49400
49401 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49402 individual architectures.
49403 * sysdeps/unix/sysv/linux/configure: Regenerated.
49404 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49405 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49406 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49407 (ldd_rewrite_script): Define variable.
49408 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49410 file.
49411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49412 generated file.
49413 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49414 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49415 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49416 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49417 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49418 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49419 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49420 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49421
49422 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49423
49424 [BZ #17084]
49425 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49426 Rename member __data.d to __data.__elision_data.
49427
49428 2014-06-24 Wilco <wdijkstr@arm.com>
49429
49430 * NEWS: Add 16918 to fixed bug list.
49431
49432 2014-06-24 Wilco <wdijkstr@arm.com>
49433
49434 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49435
49436 2014-06-24 Wilco <wdijkstr@arm.com>
49437
49438 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49439 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49440 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49441 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49442 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49443 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49444 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49445 Use _FPU_MASK_RM.
49446
49447 2014-06-24 Wilco <wdijkstr@arm.com>
49448
49449 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49450
49451 2014-06-24 Wilco <wdijkstr@arm.com>
49452
49453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49454 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49455 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49456 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49457
49458 2014-06-24 Wilco <wdijkstr@arm.com>
49459
49460 [BZ #16918]
49461 * sysdeps/arm/feupdateenv.c (feupdateenv):
49462 Rewrite to reduce FPSCR accesses and fix return value.
49463
49464 2014-06-24 Wilco <wdijkstr@arm.com>
49465
49466 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49467 Optimize to avoid unnecessary FPSCR writes.
49468 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49469 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49470 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49471 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49472
49473 2014-06-24 Wilco <wdijkstr@arm.com>
49474
49475 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49476 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49477 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49478 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49479 Call libc_fetestexcept_vfp.
49480 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49481 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49482 __SOFTFP__ ifdef so that they can be built for softfp.
49483
49484 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49485
49486 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49487 argument type signed char.
49488
49489 * Makerules (check-abi): Dump diff of symlist if the test
49490 fails.
49491
49492 2014-06-23 Roland McGrath <roland@hack.frob.com>
49493
49494 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49495 using abort.
49496
49497 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49498 Remove unused variable ST.
49499
49500 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49501
49502 [BZ #16354]
49503 [BZ #17061]
49504 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49505 small arguments before calling __expm1.
49506 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49507 small arguments before calling __expm1f.
49508 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49509 small arguments before calling __expm1l.
49510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49511 Likewise.
49512 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49513 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49514 spurious underflow for some cosh tests.
49515 * math/auto-libm-test-out: Regenerated.
49516 * sysdeps/i386/fpu/libm-test-ulps: Update.
49517
49518 [BZ #17050]
49519 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49520 (__ieee754_y1): Set errno if return value overflows.
49521 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49522 (__ieee754_y1f): Set errno if return value overflows.
49523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49524 (__ieee754_y1l): Set errno if return value overflows.
49525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49526 (__ieee754_y1l): Set errno if return value overflows.
49527 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49528 * math/auto-libm-test-out: Regenerated.
49529
49530 * math/gen-auto-libm-tests.c: Document use of
49531 ignore-zero-inf-sign.
49532 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49533 (input_flags): Add ignore-zero-inf-sign.
49534 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49535 * math/gen-libm-test.pl (generate_testfile): Handle
49536 ignore-zero-inf-sign.
49537 * math/auto-libm-test-in: Mark some cpow tests with
49538 ignore-zero-inf-sign and some with xfail-rounding.
49539 * math/auto-libm-test-out: Regenerated.
49540 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49541 * sysdeps/i386/fpu/libm-test-ulps: Update.
49542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49543
49544 [BZ #16315]
49545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49546 overflowing or underflowing operations take place with sign of
49547 result.
49548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49550 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49551 (__ieee754_pow): Recompute overflowing and underflowing results in
49552 original rounding mode.
49553 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49554 (__powl_helper): Allow negative argument X and scale negated value
49555 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49556 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49557 overflowing or underflowing operations take place with sign of
49558 result.
49559 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49560 Include <math.h>.
49561 * math/auto-libm-test-in: Add more tests of pow.
49562 * math/auto-libm-test-out: Regenerated.
49563 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49564 (pow_tonearest_test_data): Remove.
49565 (pow_test_tonearest): Likewise.
49566 (pow_towardzero_test_data): Likewise.
49567 (pow_test_towardzero): Likewise.
49568 (pow_downward_test_data): Likewise.
49569 (pow_test_downward): Likewise.
49570 (pow_upward_test_data): Likewise.
49571 (pow_test_upward): Likewise.
49572 (main): Don't call removed functions.
49573 * sysdeps/i386/fpu/libm-test-ulps: Update.
49574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49575
49576 2014-06-23 Roland McGrath <roland@hack.frob.com>
49577
49578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49579 Moved ...
49580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49582 Moved ...
49583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49585 Moved ...
49586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49588 Moved ...
49589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49591 File removed.
49592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49593 File removed.
49594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49595 File removed.
49596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49597 File removed.
49598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49599 File removed.
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49601 File removed.
49602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49603 File removed.
49604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49605 File removed.
49606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49607 File removed.
49608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49609 File removed.
49610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49611 File removed.
49612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49613 File removed.
49614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49615 Moved ...
49616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49618 Moved ...
49619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49620 ... here.
49621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49622 Moved ...
49623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49625 Moved ...
49626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49628 Moved ...
49629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49631 Moved ...
49632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49634 Moved ...
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49637 Moved ...
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49640 Moved ...
49641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49644 ... here.
49645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49646 Moved ...
49647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49649 Moved ...
49650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49651 ... here.
49652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49653 Moved ...
49654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49655 ... here.
49656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49657 Moved ...
49658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49659 ... here.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49661 Moved ...
49662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49664 Moved ...
49665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49669 Moved ...
49670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49671 ... here.
49672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49673 Moved ...
49674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49675 ... here.
49676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49677 Moved ...
49678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49680 Moved ...
49681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49683 Moved ...
49684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49686 Moved ...
49687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49689 Moved ...
49690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49691 ... here.
49692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49693 Moved ...
49694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49696 Moved ...
49697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49699 Moved ...
49700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49702 Moved ...
49703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49707 Moved ...
49708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49710 Moved ...
49711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49713 Moved ...
49714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49715 ... here.
49716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49717 Moved ...
49718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49719 ... here.
49720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49721 Moved ...
49722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49723 ... here.
49724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49725 Moved ...
49726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49728 Moved ...
49729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49731 Moved ...
49732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49734 Moved ...
49735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49736 ... here.
49737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49738 Moved ...
49739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49740 ... here.
49741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49742 Moved ...
49743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49744 ... here.
49745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49746 Moved ...
49747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49749 Moved ...
49750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49751
49752 2014-06-23 Will Newton <will.newton@linaro.org>
49753 Wilco <wdijkstr@arm.com>
49754
49755 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49756 implementation. Include get-rounding-mode.h.
49757 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49758 [!libc_feholdsetround_noex_ctx]: Define
49759 libc_feholdsetround_noex_ctx.
49760 [!libc_feholdsetround_noexf_ctx]: Define
49761 libc_feholdsetround_noexf_ctx.
49762 [!libc_feholdsetround_noexl_ctx]: Define
49763 libc_feholdsetround_noexl_ctx.
49764 (libc_feholdsetround_ctx): New function.
49765 (libc_feresetround_ctx): New function.
49766 (libc_feholdsetround_noex_ctx): New function.
49767 (libc_feresetround_noex_ctx): New function.
49768
49769 2014-06-23 Roland McGrath <roland@hack.frob.com>
49770
49771 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49772 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49773 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49774 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49775 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49776 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49777
49778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49779 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49780 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49781 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49782 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49783 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49785 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49787 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49789 Moved ...
49790 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49791 ... here.
49792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49793 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49795 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49797 Moved ...
49798 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49800 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49804 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49806 Moved ...
49807 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49809 Moved ...
49810 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49812 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49813 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49814 Moved ...
49815 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49817 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49818 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49819 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49820 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49821 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49823 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49825 Moved ...
49826 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49827 ... here.
49828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49829 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49833 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49835 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49839 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49841 Moved ...
49842 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49844 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49846 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49848 Moved ...
49849 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49851 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49852 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49854
49855 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49856 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49857 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49858 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49859 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49860 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49861 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49862 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49864 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49865 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49866 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49867 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49868 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49870 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49871 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49872 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49874 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49875 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49876 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49877 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49878 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49879 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49880 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49882 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49883
49884 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49885
49886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49887 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49888 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49889 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49890 (IPV6_PMTUDISC_INTERFACE): Likewise.
49891 (IPV6_PMTUDISC_OMIT): Likewise.
49892
49893 2014-06-23 Andreas Schwab <schwab@suse.de>
49894
49895 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49896 Remove unused errout label.
49897
49898 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49899
49900 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49901 macro: hardware supports Vector Crypto instructions.
49902
49903 2014-06-23 Will Newton <will.newton@linaro.org>
49904
49905 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49906 rather than __builtin_expect.
49907
49908 * elf/dl-lookup.c (undefined_msg): Remove variable.
49909 (_dl_lookup_symbol_x): Replace undefined_msg with string
49910 literal.
49911
49912 * elf/dl-lookup.c (do_lookup_unique): New function.
49913 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49914 to a separate function.
49915
49916 2014-06-23 Andreas Schwab <schwab@suse.de>
49917
49918 [BZ #17079]
49919 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49920 before reading the next line.
49921
49922 2014-06-23 Will Newton <will.newton@linaro.org>
49923
49924 * test-skeleton.c (signal_handler): Use printf and %m
49925 rather than perror. Use printf rather than fprintf to
49926 stderr. Use puts rather than fputs to stderr.
49927 (main): Likewise.
49928
49929 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49930
49931 * nscd/nscd.c (thread_info_t): Remove typedef.
49932 (thread_info): Remove variable.
49933
49934 2014-06-21 Allan McRae <allan@archlinux.org>
49935
49936 * NEWS: Mention CVE-2014-4043.
49937
49938 2014-06-20 Roland McGrath <roland@hack.frob.com>
49939
49940 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49941 * nptl/smp.h: ... here.
49942
49943 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49944
49945 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49946 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49947 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49948 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49949
49950 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49951 * nptl/stack-aliasing.h: New file.
49952 * sysdeps/i386/i686/stack-aliasing.h: New file.
49953 * sysdeps/i386/i686/nptl/Makefile: File removed.
49954 * sysdeps/x86_64/stack-aliasing.h: New file.
49955 * sysdeps/x86_64/nptl/Makefile
49956 (CFLAGS-pthread_create.c): Variable removed.
49957
49958 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49959 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49960 old file.
49961 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49962 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49963 old file.
49964
49965 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49966
49967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49968 (__ASSUME_SIGFRAME_V2): Remove macro.
49969 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49970 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49971 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49972 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49973 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49974 Declare as function. Remove conditional macro definitions.
49975 (__default_rt_sa_restorer): Likewise.
49976 (__default_sa_restorer_v1): Remove declaration.
49977 (__default_sa_restorer_v2): Likewise.
49978 (__default_rt_sa_restorer_v1): Likewise.
49979 (__default_rt_sa_restorer_v2): Likewise.
49980 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49981 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49982 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49983
49984 2014-06-20 Roland McGrath <roland@hack.frob.com>
49985
49986 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49987 (libpthread-routines): Add sysdep.
49988 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49989 * sysdeps/unix/sysv/linux/sparc/Versions
49990 (libpthread: GLIBC_2.3.3): New version set.
49991 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49992 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49993 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49994 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49995 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49996 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49997 Moved ...
49998 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49999 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
50000 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
50001 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
50002 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
50003 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
50004 * sysdeps/sparc/nptl/sem_init.c: ... here.
50005 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
50006 * sysdeps/sparc/nptl/sem_post.c: ... here.
50007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
50008 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
50009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
50010 * sysdeps/sparc/nptl/sem_wait.c: ... here.
50011 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
50012 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
50013 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
50014 (libpthread-routines): Add cpu_relax.
50015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
50016 File removed.
50017 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
50018 (librt: GLIBC_2.3.3): New version set.
50019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
50020 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
50021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
50022 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
50023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
50024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
50025 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
50026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
50027 Moved ...
50028 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
50029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
50030 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
50031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
50032 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
50033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
50034 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
50035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
50036 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
50037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
50038 Moved ...
50039 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
50040 Update #include.
50041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
50042 Moved ...
50043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
50044 Update #include.
50045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
50046 Moved ...
50047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
50048 Update #include.
50049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
50050 Moved ...
50051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
50052 Update #include.
50053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
50054 Moved ...
50055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
50056 Update #include.
50057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
50058 Moved ...
50059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
50060 Update #include.
50061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
50062 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
50063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
50064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
50065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
50066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
50067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
50068 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
50069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
50070 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
50071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50072 Moved ...
50073 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
50074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
50075 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
50076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
50077 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
50078
50079 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50080
50081 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
50082 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
50083 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
50084 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
50085 * nscd/nscd.c: Likewise.
50086 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
50087 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
50088 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
50089 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
50090
50091 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
50092 <kernel-features.h>.
50093 (init_mq_netlink): Remove conditional have_sock_cloexec
50094 definitions. Remove code conditional on have_sock_cloexec < 0.
50095 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
50096 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
50097 * sysdeps/unix/sysv/linux/opensock.c: Do not include
50098 <kernel-features.h>.
50099 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
50100 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
50101
50102 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50103
50104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50105 Add tests for memset_chk and memset.
50106
50107 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
50108 with AVX2_Usable.
50109
50110 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50111
50112 [BZ #16046]
50113 * elf/tst-dl-iter-static.c: New file.
50114 * elf/Makefile (tests-static): Add tst-dl-iter-static.
50115
50116 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
50117 error.
50118
50119 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50120
50121 * sysdeps/unix/sysv/linux/kernel-features.h
50122 (__ASSUME_F_GETOWN_EX): Remove macro.
50123 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
50124 <kernel-features.h>.
50125 (miss_F_GETOWN_EX): Remove variable or macro.
50126 (do_fcntl): Do not check miss_F_GETOWN_EX.
50127 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
50128
50129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
50130 Remove macro.
50131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
50132 [!__ASSUME_AT_RANDOM]: Remove conditional code.
50133 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
50134
50135 * sysdeps/unix/sysv/linux/kernel-features.h
50136 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
50137 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
50138 [ADJ_OFFSET_SS_READ]: Make code unconditional.
50139 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50140
50141 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50142
50143 [BZ #17075]
50144 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50145 Fix calculation of the symbol's value.
50146 * sysdeps/arm/tst-armtlsdescloc.c: New file.
50147 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50148 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50149 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50150 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50151 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50152 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50153 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50154 (modules-names): Add `tst-armtlsdescmod',
50155 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50156 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50157 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50158 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50159 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50160 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50161 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50162 ($(objpfx)tst-armtlsdescloc): New dependency.
50163 ($(objpfx)tst-armtlsdescextnow): Likewise.
50164 ($(objpfx)tst-armtlsdescextlazy): Likewise.
50165 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50166 TLS scheme support.
50167 * sysdeps/arm/configure: Regenerate.
50168
50169 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50170
50171 * include/fcntl.h (__atfct_seterrno): Remove prototype.
50172 (__atfct_seterrno_2): Likewise.
50173 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50174 <kernel-features.h>.
50175 (__ASSUME_ATFCTS): Do not undefine and redefine.
50176 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50177 (__have_atfcts): Remove conditional definition.
50178 (__fxstatat([__NR_fstatat64]: Make code unconditional.
50179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50180 unreachable if [__ASSUME_ATFCTS].
50181 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50182 not undefine and redefine.
50183 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50184 <kernel-features.h>.
50185 (faccessat) [__NR_faccessat]: Make code unconditional.
50186 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50187 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50188 <kernel-features.h>.
50189 (fchmodat) [__NR_fchmodat]: Make code unconditional.
50190 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50191 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50192 <kernel-features.h>.
50193 (fchownat) [__NR_fchownat]: Make code unconditional.
50194 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50195 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50196 <kernel-features.h>.
50197 (futimesat) [__NR_futimesat]: Make code unconditional.
50198 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50199 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50200 <kernel-features.h>.
50201 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50202 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50203 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50204 <kernel-features.h>.
50205 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50206 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50207 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50208 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50209 <kernel-features.h>.
50210 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50211 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50212 * sysdeps/unix/sysv/linux/linkat.c: Do not include
50213 <kernel-features.h>.
50214 (linkat) [__NR_linkat]: Make code unconditional.
50215 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50216 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50217 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50218 <kernel-features.h>.
50219 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50220 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50221 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50222 <kernel-features.h>.
50223 (mkdirat) [__NR_mkdirat]: Make code unconditional.
50224 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50225 * sysdeps/unix/sysv/linux/openat.c: Do not include
50226 <kernel-features.h>.
50227 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50228 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50229 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50230 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50232 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50233 <kernel-features.h>.
50234 (readlinkat) [__NR_readlinkat]: Make code unconditional.
50235 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
50236 result of INLINE_SYSCALL directly, not via int variable.
50237 * sysdeps/unix/sysv/linux/renameat.c: Do not include
50238 <kernel-features.h>.
50239 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50240 (renameat) [__NR_renameat]: Make code unconditional.
50241 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50242 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50243 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50244 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50245 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50246 (__ASSUME_ATFCTS): Do not undefine and redefine.
50247 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50248 <kernel-features.h>.
50249 (symlinkat) [__NR_symlinkat]: Make code unconditional.
50250 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50251 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50252 <kernel-features.h>.
50253 (unlinkat) [__NR_unlinkat]: Make code unconditional.
50254 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50256 (__ASSUME_ATFCTS): Do not undefine and redefine.
50257 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50258 <kernel-features.h>.
50259 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50260 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50261 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50262 <kernel-features.h>.
50263 (__xmknodat) [__NR_mknodat]: Make code unconditional.
50264 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50265
50266 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50267
50268 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50269
50270 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
50271
50272 [BZ #17069]
50273 * posix/regcomp.c (parse_reg_exp): Deallocate partially
50274 constructed tree before returning error.
50275 * posix/bug-regexp36.c: Expand test case.
50276
50277 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
50278
50279 [BZ #6803]
50280 * math/libm-test.inc (scalbln_test_date):
50281 Add errno expectations.
50282 * math/w_scalblnf.c: New File.
50283 Add wrapper which checks for setting errno to ERANGE.
50284 Add weak_alias for corresponding scalbln function.
50285 * math/w_scalbln.c: Likewise.
50286 * math/w_scalblnl.c: Likewise.
50287 * math/Makefile (libm-calls): Add w_scalbln.
50288 * sysdeps/ieee754/flt-32/s_scalblnf.c:
50289 Remove weak_alias for corresponding scalbln function.
50290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50294 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50295 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50296 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50297 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50298 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50299 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50300 Remove long_double_symbol for scalblnl function in libm, libc.
50301 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50302 Add wrapper which checks for setting errno to ERANGE.
50303 Add long_double_symbol for scalblnl function in libm, libc.
50304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50305 Remove long_double_symbol for scalblnl in libm.
50306 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50307 Add wrapper which checks for setting errno to ERANGE.
50308 Add long_double_symbol for scalblnl function in libm.
50309 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50310 Do not use wrapper because of own implementation.
50311
50312 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
50313
50314 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50315 3 bytes for __pad1 for x32.
50316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50317
50318 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
50319 H.J. Lu <hongjiu.lu@intel.com>
50320
50321 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50322 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50325 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50326
50327 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
50328
50329 [BZ #17069]
50330 * posix/regcomp.c (parse_expression): Deallocate partially
50331 constructed tree before returning error.
50332 * posix/Makefile.c (tests): Add bug-regex36.
50333 (generated): Add bug-regex36.mtrace.
50334 (tests-special): Add $(objpfx)bug-regex36-mem.out
50335 (bug-regex36-ENV): New variable.
50336 ($(objpfx)bug-regex36-mem.out): New rule.
50337 * posix/bug-regex36.c: New file.
50338
50339 2014-06-19 Will Newton <will.newton@linaro.org>
50340
50341 * malloc/malloc.c (systrim): If extra is zero then return
50342 early.
50343
50344 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50345
50346 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50347
50348 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
50349
50350 * sysdeps/aarch64/strchr.S: New file.
50351
50352 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50353
50354 [BZ #17022]
50355 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50356 from arguments -2 or below.
50357 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50358 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50359
50360 2014-06-18 Andreas Schwab <schwab@suse.de>
50361
50362 [BZ #17062]
50363 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50364 of a bracket expr not to run off the end of the string.
50365 * posix/Makefile (tests): Add tst-fnmatch3.
50366 * posix/tst-fnmatch3.c: New file.
50367
50368 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50369
50370 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50371 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50372 [$(cross-compiling) = no]: Likewise.
50373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50374 [$(cross-compiling) = no]: Likewise.
50375
50376 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50377
50378 [BZ #17031]
50379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50380 double, adjusted for any remainder from the high double.
50381 * math/libm-test.inc (nearbyint): Add tests.
50382 (rint): Likewise.
50383
50384 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50385
50386 * nptl/sysdeps/powerpc/Makefile: Moved ...
50387 * sysdeps/powerpc/nptl/Makefile: ... here.
50388 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50389 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50390 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50391 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50392 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50393 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50394 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50395 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50396 * nptl/sysdeps/powerpc/tls.h: Moved ...
50397 * sysdeps/powerpc/nptl/tls.h: ... here.
50398
50399 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50400
50401 [BZ #16681]
50402 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50403 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50404 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50405 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50406 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50407 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50408 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50409 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50410 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50411
50412 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50413
50414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50415
50416 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50417
50418 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50419 defined operator.
50420
50421 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50422 $TIMEOUTFACTOR.
50423
50424 2014-06-16 Florian Weimer <fweimer@redhat.com>
50425
50426 [BZ #17058]
50427 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50428 non-executed part of the test.
50429
50430 2014-06-16 Andreas Schwab <schwab@suse.de>
50431
50432 * string/bits/string2.h (strdup, strndup): Update feature guard.
50433
50434 2014-06-14 David S. Miller <davem@davemloft.net>
50435
50436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50437
50438 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50439
50440 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50441 that was previously under [RESET_PID].
50442 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50443
50444 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50445 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50446 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50447 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50448 (__libc_vfork): New strong alias.
50449 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50450
50451 2014-06-14 Andi Kleen <ak@linux.intel.com>
50452
50453 * sysdeps/generic/elide.h: New file.
50454
50455 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50456
50457 * Makefile (installed-headers): Adjust path of pthread.h header.
50458
50459 2014-06-13 Roland McGrath <roland@hack.frob.com>
50460
50461 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50462 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50463 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50464 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50465
50466 * nptl/sysdeps/s390/Makefile: Moved ...
50467 * sysdeps/s390/nptl/Makefile: ... here.
50468 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50469 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50470 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50471 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50472 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50473 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50474 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50475 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50476 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50477 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50478 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50479 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50480 * nptl/sysdeps/s390/tls.h: Moved ...
50481 * sysdeps/s390/nptl/tls.h: ... here.
50482
50483 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50484 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50485
50486 2014-06-13 David S. Miller <davem@davemloft.net>
50487
50488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50491 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50495 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50496 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50497 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50498 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50499 Remove RESET_PID cpp guards.
50500 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50501 Remove RESET_PID cpp guards.
50502 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50503
50504 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50505
50506 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50507 __sp to uintptr_t.
50508
50509 2014-06-13 Andi Kleen <ak@linux.intel.com>
50510
50511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50519 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50523 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50524 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50531
50532 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50533 (pthread_rwlock_rdlock): Add elision.
50534 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50535 (pthread_rwlock_wrlock): Add elision.
50536 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50537 (pthread_rwlock_trywrlock): Add elision.
50538 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50539 (pthread_rwlock_tryrdlock): Add elision.
50540 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50541 (pthread_rwlock_tryrdlock): Add elision unlock.
50542 * nptl/sysdeps/pthread/pthread.h:
50543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50544 (PTHREAD_RWLOCK_INITIALIZER,
50545 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50546 Handle new elision field.
50547 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50548 * sysdeps/arm/nptl/bits/pthreadtypes.h
50549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50550 * sysdeps/sh/nptl/bits/pthreadtypes.h
50551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50552 * sysdeps/tile/nptl/bits/pthreadtypes.h
50553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50554 * sysdeps/a/nptl/bits/pthreadtypes.h
50555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50556 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50558 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50560 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50562 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50564 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50566 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50568 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50570 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50572 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50573 (elision_init): Set try_xbegin to zero when no RTM.
50574 * sysdeps/x86/nptl/bits/pthreadtypes.h
50575 (pthread_rwlock_t): Change __pad1 to __rwelision.
50576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50577
50578 2014-06-13 Andi Kleen <ak@linux.intel.com>
50579
50580 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50581 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50582 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50583 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50584
50585 2014-06-13 Meador Inge <meadori@codesourcery.com>
50586
50587 [BZ #16996]
50588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50589 that the cached result has been set before returning it.
50590
50591 2014-06-12 Roland McGrath <roland@hack.frob.com>
50592
50593 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50594 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50595 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50596 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50597 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50598 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50599
50600 * nptl/sysdeps/sparc/Makefile: Moved ...
50601 * sysdeps/sparc/nptl/Makefile: ... here.
50602 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50603 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50604 * nptl/sysdeps/sparc/tls.h: Moved ...
50605 * sysdeps/sparc/nptl/tls.h: ... here.
50606 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50607 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50608 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50609 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50610 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50611 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50612 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50613 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50614 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50615 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50616 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50617 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50618 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50619 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50620 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50621 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50622 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50623 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50624 Update #include.
50625 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50627 Update #include.
50628 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50630 Update #include.
50631 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50632 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50633 Update #include.
50634
50635 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50636
50637 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50638 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50639
50640 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50641 (struct list_links): Type removed.
50642 (struct thread_node, struct timer_node): Replace struct list_links
50643 with struct list_head.
50644 (list_unlink_ip): Likewise.
50645 * sysdeps/pthread/timer_routines.c
50646 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50647 (list_append, list_insbefore): Likewise.
50648 (list_init): Function removed.
50649 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50650 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50651 * sysdeps/pthread/Makefile: ... here, new file.
50652
50653 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50654 * sysdeps/nptl/Implies: ... here.
50655 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50656 * nptl/sysdeps/pthread/list.h: Moved ...
50657 * include/list.h: ... here.
50658 * nptl/sysdeps/pthread/createthread.c: Moved ...
50659 * nptl/createthread.c: ... here.
50660 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50661 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50662 * nptl/pt-longjmp.c: ... here.
50663 * nptl/sysdeps/pthread/Makefile: Moved ...
50664 * sysdeps/nptl/Makefile: ... here.
50665 * nptl/sysdeps/pthread/Subdirs: Moved ...
50666 * sysdeps/nptl/Subdirs: ... here.
50667 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50668 * sysdeps/nptl/aio_misc.h: ... here.
50669 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50670 * sysdeps/nptl/bits/libc-lock.h: ... here.
50671 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50672 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50673 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50674 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50675 * nptl/sysdeps/pthread/configure: Moved ...
50676 * sysdeps/nptl/configure: ... here.
50677 * nptl/sysdeps/pthread/configure.ac: Moved ...
50678 * sysdeps/nptl/configure.ac: ... here.
50679 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50680 * sysdeps/nptl/gai_misc.h: ... here.
50681 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50682 * sysdeps/nptl/librt-cancellation.c: ... here.
50683 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50684 * sysdeps/nptl/malloc-machine.h: ... here.
50685 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50686 * sysdeps/nptl/pthread-functions.h: ... here.
50687 * nptl/sysdeps/pthread/pthread.h: Moved ...
50688 * sysdeps/nptl/pthread.h: ... here.
50689 * nptl/sysdeps/pthread/setxid.h: Moved ...
50690 * sysdeps/nptl/setxid.h: ... here.
50691 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50692 * sysdeps/nptl/sigfillset.c: ... here.
50693 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50694 * sysdeps/nptl/tcb-offsets.h: ... here.
50695 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50696 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50697 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50698 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50699 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50700 * sysdeps/pthread/allocalim.h: ... here.
50701 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50702 * sysdeps/pthread/bits/sigthread.h: ... here.
50703 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50704 * sysdeps/pthread/flockfile.c: ... here.
50705 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50706 * sysdeps/pthread/ftrylockfile.c: ... here.
50707 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50708 * sysdeps/pthread/funlockfile.c: ... here.
50709 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50710 * sysdeps/pthread/posix-timer.h: ... here.
50711 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50712 * sysdeps/pthread/timer_create.c: ... here.
50713 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50714 * sysdeps/pthread/timer_delete.c: ... here.
50715 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50716 * sysdeps/pthread/timer_getoverr.c: ... here.
50717 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50718 * sysdeps/pthread/timer_gettime.c: ... here.
50719 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50720 * sysdeps/pthread/timer_routines.c: ... here.
50721 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50722 * sysdeps/pthread/timer_settime.c: ... here.
50723 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50724 * sysdeps/pthread/tst-timer.c: ... here.
50725 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50726 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50727
50728 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50729 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50730
50731 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50732 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50733 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50734 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50735 Update #include target.
50736 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50737 * sysdeps/i386/i686/nptl/Makefile: ... here.
50738 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50739 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50740 Update #include target.
50741 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50742 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50743 * nptl/sysdeps/i386/Makefile: Moved ...
50744 * sysdeps/i386/nptl/Makefile: ... here.
50745 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50746 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50747 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50748 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50749 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50750 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50751 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50752 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50753 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50754 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50755 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50756 * nptl/sysdeps/i386/tls.h: Moved ...
50757 * sysdeps/i386/nptl/tls.h: ... here.
50758
50759 * sysdeps/sh/Makefile [$(subdir) = csu]
50760 (gen-as-const-headers): Add tcb-offsets.sym.
50761 * nptl/sysdeps/sh/Makefile: File removed.
50762 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50763 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50764 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50765 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50766 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50767 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50768 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50769 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50770 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50771 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50772 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50773 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50774 * nptl/sysdeps/sh/tls.h: Moved ...
50775 * sysdeps/sh/nptl/tls.h: ... here.
50776 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50777 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50778 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50779 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50780 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50781 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50783 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50785 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50787 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50789 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50791 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50793 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50795 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50797 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50801 Moved ...
50802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50804 Moved ...
50805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50807 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50810 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50811 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50812 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50813 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50814 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50815 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50816 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50817 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50818 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50819 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50820 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50821 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50822 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50824
50825 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50826
50827 * posix/spawn_faction_addopen.c: Include string.h.
50828
50829 2014-06-11 Roland McGrath <roland@hack.frob.com>
50830
50831 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50832 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50833 * nptl/sysdeps/x86_64/Makefile: Moved ...
50834 * sysdeps/x86_64/nptl/Makefile: ... here.
50835 * nptl/sysdeps/x86_64/configure: Moved ...
50836 * sysdeps/x86_64/nptl/configure: ... here.
50837 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50838 * sysdeps/x86_64/nptl/configure.ac: ... here.
50839 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50840 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50841 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50842 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50843 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50844 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50845 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50846 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50847 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50848 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50849 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50850 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50851 * nptl/sysdeps/x86_64/tls.h: Moved ...
50852 * sysdeps/x86_64/nptl/tls.h: ... here.
50853 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50854 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50855 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50856 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50857
50858 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50859
50860 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50861
50862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50863
50864 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50865
50866 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50867 type.
50868 [POSIX] (off_t): Likewise.
50869 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50870 [POSIX] (S_ISBLK): Require macro.
50871 [POSIX] (S_ISCHR): Likewise.
50872 [POSIX] (S_ISDIR): Likewise.
50873 [POSIX] (S_ISFIFO): Likewise.
50874 [POSIX] (S_ISREG): Likewise.
50875 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50876 optional-macro.
50877 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50878 type.
50879 [POSIX] (time_t): Likewise.
50880 [POSIX] (timer_t): Likewise.
50881
50882 2014-06-11 Florian Weimer <fweimer@redhat.com>
50883
50884 [BZ #17048]
50885 * posix/spawn_int.h (struct __spawn_action): Make the path string
50886 non-const to support deallocation.
50887 * posix/spawn_faction_addopen.c
50888 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50889 * posix/spawn_faction_destroy.c
50890 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50891 path in all spawn_do_open actions.
50892 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50893 posix_spawn_file_actions_addopen.
50894
50895 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50896
50897 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50898 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50899 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50900 conditional code always true.
50901 (__libc_vfork): New alias.
50902
50903 2014-06-11 Roland McGrath <roland@hack.frob.com>
50904
50905 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50906 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50907
50908 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50909
50910 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50911 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50912
50913 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50914 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50915
50916 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50917 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50918
50919 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50920
50921 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50922 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50923 multiarch strcmp for PPC64.
50924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50927 multiarch optimizations.
50928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50929 (__libc_ifunc_impl_list): Likewise.
50930
50931 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50932
50933 * benchtests/scripts/validate_benchout.py: New script.
50934 * benchtests/Makefile (bench-func): Call it.
50935 * benchtests/scripts/benchout.schema.json: New file.
50936
50937 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50938
50939 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50940 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50941 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50942 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50943 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50944 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50945 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50946 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50947 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50948 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50949 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50950 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50951 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50952 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50953 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50954 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50956 Moved ...
50957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50958 ... here.
50959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50960 Moved ...
50961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50963 Moved ...
50964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50965 ... here.
50966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50967 Moved ...
50968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50969 ... here.
50970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50971 Moved ...
50972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50974 Moved ...
50975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50976 ... here.
50977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50978 Moved ...
50979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50980 ... here.
50981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50982 Moved ...
50983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50985 Moved ...
50986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50987 ... here.
50988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50989 Moved ...
50990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50991 ... here.
50992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50993 Moved ...
50994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50995 ... here.
50996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50997 Moved ...
50998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
51000 Moved ...
51001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
51002 ... here.
51003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
51004 Moved ...
51005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
51006 ... here.
51007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
51008 Moved ...
51009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
51010 ... here.
51011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
51012 Moved ...
51013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
51014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
51015 Moved ...
51016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
51017 ... here.
51018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
51019 Moved ...
51020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
51021 ... here.
51022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
51023 Moved ...
51024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
51025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
51026 Moved ...
51027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
51028 ... here.
51029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
51030 Moved ...
51031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
51032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
51033 Moved ...
51034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
51035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
51036 Moved ...
51037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
51038 ... here.
51039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
51040 Moved ...
51041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
51042 ... here.
51043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
51044 Moved ...
51045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
51046 ... here.
51047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
51048 Moved ...
51049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
51050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
51051 Moved ...
51052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
51053 ... here.
51054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
51055 Moved ...
51056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
51057 ... here.
51058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
51059 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
51060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
51061 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
51062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
51063 Moved ...
51064 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
51065 ... here.
51066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
51067 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
51068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
51069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
51070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
51071 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
51072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
51073 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
51074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
51075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
51076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
51077 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
51078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
51079 Moved ...
51080 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
51081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
51082 Moved ...
51083 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
51084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
51085 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
51086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
51087 Moved ...
51088 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
51089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
51090 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
51091 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
51092 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
51093 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
51094 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
51095
51096 2014-06-10 Wilco <wdijkstr@arm.com>
51097
51098 * math/test-fenv-return.c: New file.
51099 * math/Makefile: Add new test test-fenv-return.
51100
51101 2014-06-10 Joseph Myers <joseph@codesourcery.com>
51102
51103 [BZ #17042]
51104 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
51105 when x - 1 is zero.
51106 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
51107 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
51108 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
51109 0.0L for an argument of 1.0L.
51110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
51111 Likewise.
51112 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
51113 value when x - 1 is zero.
51114 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
51115 * sysdeps/i386/fpu/libm-test-ulps: Update.
51116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51117
51118 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
51119
51120 [BZ #15119]
51121 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
51122
51123 2014-06-09 Roland McGrath <roland@hack.frob.com>
51124
51125 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
51126 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
51127
51128 2014-06-09 Roland McGrath <roland@hack.frob.com>
51129
51130 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51131 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
51132
51133 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51134 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
51135
51136 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51137 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
51138
51139 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51140 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51141
51142 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51143 if not already defined.
51144 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51145 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51146 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51147 (TLS_INIT_TP): Use it.
51148 (TLS_DEFINE_INIT_TP): New macro.
51149 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51150
51151 2014-06-09 Joseph Myers <joseph@codesourcery.com>
51152
51153 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51154 constant.
51155 [POSIX] (IXANY): Likewise.
51156 [POSIX] (OLCUC): Likewise.
51157 [POSIX || POSIX2008] (CBAUD): Do not allow.
51158 [POSIX || POSIX2008] (DEFECHO): Likewise.
51159 [POSIX || POSIX2008] (ECHOCTL): Likewise.
51160 [POSIX || POSIX2008] (ECHOKE): Likewise.
51161 [POSIX || POSIX2008] (ECHOPRT): Likewise.
51162 [POSIX || POSIX2008] (EXTA): Likewise.
51163 [POSIX || POSIX2008] (EXTB): Likewise.
51164 [POSIX || POSIX2008] (FLUSHO): Likewise.
51165 [POSIX || POSIX2008] (LOBLK): Likewise.
51166 [POSIX || POSIX2008] (PENDIN): Likewise.
51167 [POSIX || POSIX2008] (SWTCH): Likewise.
51168 [POSIX || POSIX2008] (VDISCARD): Likewise.
51169 [POSIX || POSIX2008] (VDSUSP): Likewise.
51170 [POSIX || POSIX2008] (VLNEXT): Likewise.
51171 [POSIX || POSIX2008] (VREPRINT): Likewise.
51172 [POSIX || POSIX2008] (VSTATUS): Likewise.
51173 [POSIX || POSIX2008] (VWERASE): Likewise.
51174 (B*): Change to B[0123456789]*.
51175 * conform/data/time.h-data [POSIX || UNIX98]
51176 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51177 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51178 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51179 [POSIX] (tm_*): Do not allow.
51180
51181 2014-06-07 Joseph Myers <joseph@codesourcery.com>
51182
51183 * Makefile (install): Don't set LANGUAGE.
51184 * Makefile.in (install): Likewise.
51185 * assert/Makefile (test-assert-ENV): Remove variable.
51186 (test-assert-perr-ENV): Likewise.
51187 * elf/Makefile (neededtest4-ENV): Likewise.
51188 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51189 [$(cross-compiling) = no]: Don't set LANGUAGE.
51190 * io/ftwtest-sh (LANG): Remove variable.
51191 * libio/Makefile (tst-widetext-ENV): Likewise.
51192 * manual/install.texi (Running make install): Don't refer to
51193 environment settings for make install.
51194 * INSTALL: Regenerated.
51195 * nptl/tst-tls6.sh: Don't set LANG.
51196 * posix/globtest.sh (LANG): Remove variable.
51197 * string/Makefile (tester-ENV): Likewise.
51198 (inl-tester-ENV): Likewise.
51199 (noinl-tester-ENV): Likewise.
51200 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51201 [$(cross-compiling) = no]: Don't set LANGUAGE.
51202 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51203 without explicit environment settings.
51204
51205 2014-06-06 Roland McGrath <roland@hack.frob.com>
51206
51207 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51208 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51209 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51210 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51211
51212 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
51213
51214 * crypt/crypt-private.h [DOS]: Add some includes taken from the
51215 other files in the crypt directory.
51216 * crypt/crypt.c: Remove duplicate includes.
51217 * crypt/crypt-entry.c: Likewise.
51218 * crypt/crypt_util.c: Likewise.
51219
51220 2014-06-06 Joseph Myers <joseph@codesourcery.com>
51221
51222 * Makeconfig (run-program-env): New variable.
51223 (run-program-prefix-before-env): Likewise.
51224 (run-program-prefix-after-env): Likewise.
51225 (run-program-prefix): Define in terms of new variables.
51226 (built-program-cmd-before-env): New variable.
51227 (built-program-cmd-after-env): Likewise.
51228 (built-program-cmd): Define in terms of new variables.
51229 (test-program-prefix-before-env): New variable.
51230 (test-program-prefix-after-env): Likewise.
51231 (test-program-prefix): Define in terms of new variables.
51232 (test-program-cmd-before-env): New variable.
51233 (test-program-cmd-after-env): Likewise.
51234 (test-program-cmd): Define in terms of new variables.
51235 * Rules (make-test-out): Use $(run-program-env).
51236 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51237 (help): Do not mention environment variables. Mention
51238 --timeoutfactor option.
51239 (timeoutfactor): New variable.
51240 (blacklist_exports): Remove function.
51241 (exports): Remove variable.
51242 (command): Do not include ${exports}.
51243 * manual/install.texi (Configuring and compiling): Do not mention
51244 test wrappers preserving environment variables. Mention that last
51245 assignment to a variable must take precedence.
51246 * INSTALL: Regenerated.
51247 * benchtests/Makefile (run-bench): Use $(run-program-env).
51248 * catgets/Makefile ($(objpfx)test1.cat): Use
51249 $(built-program-cmd-before-env), $(run-program-env) and
51250 $(built-program-cmd-after-env).
51251 ($(objpfx)test2.cat): Do not specify environment variables
51252 explicitly.
51253 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51254 $(run-program-env) and $(built-program-cmd-after-env).
51255 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51256 $(run-program-env) and $(test-program-cmd-after-env).
51257 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51258 explicitly.
51259 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51260 run_program_env and test_program_cmd_after_env arguments.
51261 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51262 * elf/tst-pathopt.sh: Use run_program_env argument.
51263 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51264 $(test-wrapper-env) and $(run-program-env).
51265 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51266 run_program_env arguments.
51267 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51268 * intl/Makefile ($(objpfx)tst-gettext.out): Use
51269 $(test-program-prefix-before-env), $(run-program-env) and
51270 $(test-program-prefix-after-env).
51271 ($(objpfx)tst-gettext2.out): Likewise.
51272 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51273 run_program_env and test_program_prefix_after_env arguments.
51274 * intl/tst-gettext2.sh: Likewise.
51275 * intl/tst-gettext4.sh: Do not set environment variables
51276 explicitly.
51277 * intl/tst-gettext6.sh: Likewise.
51278 * intl/tst-translit.sh: Likewise.
51279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51280 $(test-program-prefix-before-env), $(run-program-env) and
51281 $(test-program-prefix-after-env).
51282 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51283 run_program_env and test_program_prefix_after_env arguments.
51284 * math/Makefile (run-regen-ulps): Use $(run-program-env).
51285 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51286 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
51287 explicitly with each use of ${test_wrapper_env}.
51288 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51289 $(test-program-prefix-before-env), $(run-program-env) and
51290 $(test-program-prefix-after-env).
51291 * posix/tst-getconf.sh: Do not set environment variables
51292 explicitly.
51293 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51294 run_program_env and test_program_prefix_after_env arguments.
51295 * stdio-common/tst-printf.sh: Do not set environment variables
51296 explicitly.
51297 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51298 $(test-program-prefix-before-env), $(run-program-env) and
51299 $(test-program-prefix-after-env).
51300 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51301 run_program_env and test_program_prefix_after_env arguments.
51302 Split $test calls into $test_pre and $test.
51303 * timezone/Makefile (build-testdata): Use
51304 $(built-program-cmd-before-env), $(run-program-env) and
51305 $(built-program-cmd-after-env).
51306
51307 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51308
51309 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51310 strlen for non SHARED builds.
51311
51312 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51313
51314 * nptl/allocatestack.c (check_list): Inlined function...
51315 (__reclaim_stacks): ... here.
51316
51317 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
51318
51319 [BZ #15698]
51320 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51321 memory overrun.
51322
51323 2014-06-05 Joseph Myers <joseph@codesourcery.com>
51324
51325 * Rules (make-test-out): Include
51326 LOCPATH=$(common-objpfx)localedata in default environment.
51327 * debug/Makefile (tst-chk1-ENV): Remove variable.
51328 (tst-chk2-ENV): Likewise.
51329 (tst-chk3-ENV): Likewise.
51330 (tst-chk4-ENV): Likewise.
51331 (tst-chk5-ENV): Likewise.
51332 (tst-chk6-ENV): Likewise.
51333 (tst-lfschk1-ENV): Likewise.
51334 (tst-lfschk2-ENV): Likewise.
51335 (tst-lfschk3-ENV): Likewise.
51336 (tst-lfschk4-ENV): Likewise.
51337 (tst-lfschk5-ENV): Likewise.
51338 (tst-lfschk6-ENV): Likewise.
51339 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51340 (tst-iconv7-ENV): Likewise.
51341 * intl/Makefile (LOCPATH-ENV): Likewise.
51342 (tst-codeset-ENV): Likewise.
51343 (tst-gettext3-ENV): Likewise.
51344 (tst-gettext5-ENV): Likewise.
51345 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51346 (tst-fopenloc-ENV): Likewise.
51347 (tst-fgetws-ENV): Remove variable.
51348 (tst-ungetwc1-ENV): Likewise.
51349 (tst-ungetwc2-ENV): Likewise.
51350 (bug-ungetwc2-ENV): Likewise.
51351 (tst-swscanf-ENV): Likewise.
51352 (bug-ftell-ENV): Likewise.
51353 (tst-fgetwc-ENV): Likewise.
51354 (tst-fseek-ENV): Likewise.
51355 (tst-ftell-partial-wide-ENV): Likewise.
51356 (tst-ftell-active-handler-ENV): Likewise.
51357 (tst-ftell-append-ENV): Likewise.
51358 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51359 (tst-regexloc-ENV): Likewise.
51360 (bug-regex1-ENV): Likewise.
51361 (tst-regex-ENV): Likewise.
51362 (tst-regex2-ENV): Likewise.
51363 (bug-regex5-ENV): Likewise.
51364 (bug-regex6-ENV): Likewise.
51365 (bug-regex17-ENV): Likewise.
51366 (bug-regex18-ENV): Likewise.
51367 (bug-regex19-ENV): Likewise.
51368 (bug-regex20-ENV): Likewise.
51369 (bug-regex22-ENV): Likewise.
51370 (bug-regex23-ENV): Likewise.
51371 (bug-regex25-ENV): Likewise.
51372 (bug-regex26-ENV): Likewise.
51373 (bug-regex30-ENV): Likewise.
51374 (bug-regex32-ENV): Likewise.
51375 (bug-regex33-ENV): Likewise.
51376 (bug-regex34-ENV): Likewise.
51377 (bug-regex35-ENV): Likewise.
51378 (tst-rxspencer-ENV): Likewise.
51379 (tst-rxspencer-no-utf8-ENV): Likewise.
51380 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51381 (tst-sscanf-ENV): Likewise.
51382 (tst-swprintf-ENV): Likewise.
51383 (tst-swscanf-ENV): Likewise.
51384 (test-vfprintf-ENV): Likewise.
51385 (scanf13-ENV): Likewise.
51386 (bug14-ENV): Likewise.
51387 (tst-grouping-ENV): Likewise.
51388 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51389 (tst-strtod3-ENV): Likewise.
51390 (tst-strtod4-ENV): Likewise.
51391 (tst-strtod5-ENV): Likewise.
51392 (testmb2-ENV): Likewise./
51393 * string/Makefile (tst-strxfrm-ENV): Likewise.
51394 (tst-strxfrm2-ENV): Likewise.
51395 (bug-strcoll1-ENV): Likewise.
51396 (test-strcasecmp-ENV): Likewise.
51397 (test-strncasecmp-ENV): Likewise.
51398 * time/Makefile (tst-strptime-ENV): Likewise.
51399 (tst-ftime_l-ENV): Likewise.
51400 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51401 (tst-mbrtowc-ENV): Likewise.
51402 (tst-wcrtomb-ENV): Likewise.
51403 (tst-mbrtowc2-ENV): Likewise.
51404 (tst-c16c32-1-ENV): Likewise.
51405 (tst-mbsnrtowcs-ENV): Likewise.
51406
51407 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
51408
51409 * manual/resource.texi (How to get information about the memory
51410 subsystem?): Fix typo.
51411 Reported by Peon de la Parra Ivan <peon@keba.com>
51412
51413 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51414
51415 [BZ #16882]
51416 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51417 (pthread_spin_lock): Branch out of spin loop to proper location.
51418 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51419 (pthread_spin_lock): Likewise.
51420
51421 * nptl/tst-spin4.c: New test.
51422 * nptl/Makefile (tests): Add tst-spin4.
51423
51424 2014-06-03 Andreas Schwab <schwab@suse.de>
51425
51426 [BZ #15946]
51427 * resolv/res_send.c (send_dg): Reload file descriptor after
51428 calling reopen.
51429
51430 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51431
51432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51433
51434 2014-06-03 Richard Henderson <rth@redhat.com>
51435
51436 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51437 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51438 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51439 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51440 in the SAVE_PID block.
51441 (__libc_vfork): New alias.
51442 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51443
51444 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51445 child in registers, not on the stack. Remove RESET_PID conditionals.
51446 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51447
51448 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51449
51450 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51451
51452 2014-06-03 Wilco <wdijkstr@arm.com>
51453
51454 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51455 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51456 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51457 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51458 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51459 Likewise.
51460
51461 2014-06-03 Wilco <wdijkstr@arm.com>
51462
51463 * sysdeps/aarch64/fpu/math_private.h
51464 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51465 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51466 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51468 Fix declarations.
51469
51470 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51471
51472 * crypt/crypt-private.h: Include ufc-crypt.h.
51473 (__b64_from_24bit): Declare extern.
51474 * crypt/crypt_util.c(__b64_from_24bit): New function.
51475 (b64t): New static const variable.
51476 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51477 (b64t): Remove variable.
51478 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51479 * crypt/sha256-crypt.c: Include crypt-private.h.
51480 (b64t): Remove variable.
51481 (__sha256_crypt_r): Remove b64_from_24bit and replace
51482 with __b64_from_24bit.
51483 * crypt/sha512-crypt.c: Likewise.
51484
51485 2014-06-02 Roland McGrath <roland@hack.frob.com>
51486
51487 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51488 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51489 Label the code __libc_vfork rather than __vfork.
51490 [!NOT_IN_libc] (vfork): Define as weak alias.
51491 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51492 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51493 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51494
51495 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51496
51497 * malloc/malloc.c (malloc_info): Fix format specifier for
51498 n_mmaps.
51499
51500 2014-06-02 Wilco <wdijkstr@arm.com>
51501
51502 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51503 FPCR write.
51504
51505 2014-06-02 Wilco <wdijkstr@arm.com>
51506
51507 [BZ #17009]
51508 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51509 Rewrite to reduce FPCR/FPSR accesses.
51510
51511 2014-06-01 David S. Miller <davem@davemloft.net>
51512
51513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51514
51515 2014-05-31 David S. Miller <davem@davemloft.net>
51516
51517 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51518 to occur in round to nearest mode when |x| >= 2.0
51519
51520 2014-05-30 Richard Henderson <rth@twiddle.net>
51521
51522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51523 (PSEUDO_RET_NOERRNO): Remove.
51524 (ret): Don't redefine.
51525 (ret_NOERRNO): Define in terms of ret.
51526 (ret_ERRVAL): Likewise.
51527
51528 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51529 use of PSEUDO_RET; perform the error check directly.
51530
51531 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51532
51533 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51534 with __int128_t.
51535
51536 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51537
51538 * malloc/malloc (malloc_info): Fix formatting.
51539
51540 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51541 Roland McGrath <roland@hack.frob.com>
51542
51543 * malloc/malloc (malloc_info): Also print mmapped statistics.
51544
51545 2014-05-30 Roland McGrath <roland@hack.frob.com>
51546
51547 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51548 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51549
51550 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
51551
51552 * malloc/malloc.c (malloc_info): Inline mi_arena.
51553
51554 2014-05-29 Richard Henderson <rth@twiddle.net>
51555
51556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51557 Remove comma before expanding ASM_ARGS_##nr.
51558 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51559 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51560 of ASM_ARGS_##nr.
51561 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51562 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51563 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51564 (ASM_ARGS_1): Add leading comma.
51565
51566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51567 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51568 to __errno_location.
51569 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51570 Remove the expected plt for __errno_location.
51571
51572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51573 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51574 call to __read_tp.
51575
51576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51577 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51578 it and break it down.
51579 (DOCARGS_0, DOCARGS_1): Do nothing.
51580 (DOCARGS_2): Update to store into the new stack frame.
51581 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51582 (UNDOCARGS_1): Update to restore from the new stack frame.
51583 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51584 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51585
51586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51587 (SINGLE_THREAD_P): New parameter for result regno.
51588 (PSEUDO): Update to match; use cbz instead of beq.
51589
51590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51591 Use ENTRY to define the _nocancel entry point. Share the syscall
51592 and syscall error check paths with the cancel path.
51593 (PSEUDO_END): New.
51594
51595 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51596 whitespace; tabs before and after asm mnemonics.
51597
51598 2014-05-29 Eric Wong <normalperson@yhbt.net>
51599
51600 [BZ #15132]
51601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51602 Call fstat64 or stat64 internally, depending on arguments passed.
51603 Replace stat buffer argument with file descriptor argument.
51604 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51605 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51606 Pass fd to __internal_statvfs instead of calling fstat64.
51607 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51608 Pass fd to __internal_statvfs64 instead of calling fstat64.
51609 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51610 Pass -1 to __internal_statvfs instead of calling stat64.
51611 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51612 Pass -1 to __internal_statvfs64 instead of calling stat64.
51613
51614 2014-05-28 Roland McGrath <roland@hack.frob.com>
51615
51616 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51617 that was previously under [RESET_PID].
51618 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51619
51620 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51621 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51622
51623 2014-05-27 Roland McGrath <roland@hack.frob.com>
51624
51625 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51626
51627 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51628 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51629
51630 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
51631
51632 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51633
51634 2014-05-27 Andreas Schwab <schwab@suse.de>
51635
51636 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51637 TLS_INIT_TP macro.
51638 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51639 * elf/rtld.c (init_tls, dl_main): Likewise.
51640 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51641 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51642 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51643 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51644 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51645 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51646 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51647 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51648 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51649 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51650 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51651 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51652 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51653 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51654 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51655 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51656 * sysdeps/generic/tls.h: Update description.
51657
51658 2014-05-27 Will Newton <will.newton@linaro.org>
51659
51660 [BZ #16990]
51661 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51662 and restore r2 rather than just restoring.
51663
51664 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51665
51666 [BZ #16724]
51667 * libio/tst-ftell-append.c: New test case.
51668 * libio/Makefile (tests): Add test case.
51669 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51670 append mode.
51671 * libio/wfileops.c (do_ftell_wide): Likewise.
51672
51673 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51674
51675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51676
51677 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51678 ...
51679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51681 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51682 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51684 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51685 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51688 Moved ...
51689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51691 Moved ...
51692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51693 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51694 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51695 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51696 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51697 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51698 ...
51699 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51700 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51701 Moved ...
51702 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51703 here.
51704 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51705 ...
51706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51707 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51709
51710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51711 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51713 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51714
51715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51716 merge into ...
51717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51719 ...
51720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51722 ...
51723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51725 Moved ...
51726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51727 here.
51728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51729 Moved ...
51730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51732 Moved ...
51733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51734
51735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51736 conditional [RESET_PID].
51737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51739 removed.
51740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51741 removed.
51742
51743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51744 <tcb-offsets.h>.
51745 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51746 (__libc_vfork): New strong alias.
51747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51748 removed.
51749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51750 Removed.
51751
51752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51753 <tcb-offsets.h>.
51754 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51755 (__libc_vfork): New strong alias.
51756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51757 removed.
51758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51759 removed.
51760
51761 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51762
51763 * malloc/malloc.c (mi_arena): New function.
51764 (malloc_info): Remove nested function mi_arena. Call non-nosted
51765 function mi_arena.
51766
51767 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51768
51769 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51770 by insrwi.
51771 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51772 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51773 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51774 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51775 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51776 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51777 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51778
51779 2014-05-26 Andreas Schwab <schwab@suse.de>
51780
51781 [BZ #16984]
51782 * locale/programs/repertoire.c (repertoire_read): Add slash
51783 between I18NPATH element and file name.
51784 * locale/programs/locfile.c (locfile_read): Likewise.
51785
51786 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51787
51788 * nptl/pthread_mutexattr_settype.c
51789 (__pthread_mutexattr_settype):
51790 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51791
51792 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51793
51794 * nptl/tst-mutex5 (do_test):
51795 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51796
51797 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51798
51799 * benchtests/README: Document 'init' directive.
51800 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51801 BENCH_INIT.
51802 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51803 (parse_file): Recognize 'init' directive.
51804
51805 2014-05-26 Kyle McMartin <kyle@redhat.com>
51806
51807 [BZ #16796]
51808 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51809 alignment of struct pthread.
51810
51811 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51812
51813 [BZ #16878]
51814 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51815 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51816 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51817 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51818
51819 2014-05-25 Richard Henderson <rth@twiddle.net>
51820
51821 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51822 (SINGLE_THREAD_P_PIC): Remove.
51823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51824 (SINGLE_THREAD_P_PIC): Remove.
51825
51826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51827 branch to syscall error ...
51828 (PSEUDO): ... here.
51829 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51830 from __local_syscall_error to .Lsyscall_error.
51831 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51832 (SYSCALL_ERROR): Update label name.
51833
51834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51835 Do not use DOARGS/UNDOARGS.
51836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51837 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51838 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51839 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51840 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51841
51842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51843 block comment.
51844
51845 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51846 define if !NOT_IN_libc.
51847 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51848 define with non-default symbol versions.
51849
51850 2014-05-23 Richard Henderson <rth@twiddle.net>
51851
51852 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51853 (vfork, __vfork): Define via compat_symbol.
51854
51855 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51856 [!HAVE_IFUNC] (vfork_compat): Remove.
51857 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51858
51859 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51860
51861 [BZ #16978]
51862 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51863 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51864 variable.
51865
51866 2014-05-23 Richard Henderson <rth@twiddle.net>
51867
51868 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51869 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51870 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51871 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51872
51873 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51874 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51875 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51876 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51877 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51878 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51880 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51881 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51882 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51883 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51884 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51885 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51886 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51887 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51888 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51889 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51890 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51891 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51892 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51893 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51894 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51895 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51896 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51897 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51899 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51900 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51901 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51902 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51903 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51904 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51905 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51906 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51907 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51908 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51909 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51910 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51911 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51912 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51913 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51914 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51915 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51916 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51917 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51918 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51920 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51922 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51924 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51926 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51928 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51929
51930 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51931 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51932 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51933 before exiting on error.
51934 (__libc_vfork): New strong alias.
51935 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51936 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51937
51938 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51939 that was previously under [RESET_PID].
51940 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51941
51942 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51943
51944 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51945
51946 [BZ #16977]
51947 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51948 value when x - 1 is zero.
51949 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51950 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51951 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51952 0.0L for an argument of 1.0L.
51953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51954 Likewise.
51955 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51956 value when x - 1 is zero.
51957 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51958 * sysdeps/i386/fpu/libm-test-ulps: Update.
51959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51960
51961 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51962
51963 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51964 alphasort and versionsort.
51965
51966 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51967
51968 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51969 macro.
51970 [copysignf]: Likewise.
51971
51972 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51973
51974 * crypt/md5-crypt.c: Fix formatting.
51975
51976 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51977
51978 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51979 (b64_from_24bit): New function.
51980
51981 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51982
51983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51984 libc_hidden_builtin_def to ifunc.
51985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51986 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51987
51988 2014-05-21 Roland McGrath <roland@hack.frob.com>
51989
51990 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51991 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51992
51993 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51994
51995 * nscd/Depend (linuxthreads): Remove.
51996 (nptl): Add.
51997 * resolv/Depend (linuxthreads): Remove.
51998 * rt/Depend (linuxthreads): Remove.
51999
52000 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
52001 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
52002 $(common-objpfx)elf/.
52003 (link-libc-before-gnulib): Likewise.
52004 (elfobjdir): Remove variable.
52005 * Makefile (install): Use $(elf-objpfx) instead of
52006 $(common-objpfx)elf/.
52007 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
52008 $(elfobjdir)/.
52009 (link-libc-deps): Likewise.
52010 ($(common-objpfx)libc.so): Likewise.
52011 ($(common-objpfx)linkobj/libc.so): Likewise.
52012 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
52013 instead of $(common-objpfx)elf/.
52014 (symbolic-link-list): Likewise.
52015 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
52016 [$(cross-compiling) = no]: Likewise.
52017 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
52018 $(elfobjdir)/.
52019 (static-gnulib-arch): Likewise.
52020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
52021 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
52022 $(common-objpfx)elf/.
52023
52024 2014-05-21 Richard Henderson <rth@redhat.com>
52025
52026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
52027 (SINGLE_THREAD_P): Use the correct width load. Fold
52028 into the ldr offset.
52029
52030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
52031 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
52032
52033 2014-05-20 Joseph Myers <joseph@codesourcery.com>
52034
52035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
52036 (libgcc_s_resume): Use __attribute_used__.
52037 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
52038 Likewise.
52039
52040 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52041
52042 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
52043 optimization when used with float constants.
52044
52045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52046
52047 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
52048
52049 [BZ #16915]
52050 * locale/nl_langinfo_l.c: Make direct reference to every
52051 _nl_current_CATEGORY symbol.
52052 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
52053 (tests-static): Add tst-langinfo-static.
52054 (tests-special): Add tst-langinfo-static.out.
52055 ($(objpfx)tst-langinfo.out): Redirect output.
52056 ($(objpfx)tst-langinfo-static.out): New.
52057 * localedata/tst-langinfo.sh: Send output to stdout.
52058 * localedata/tst-langinfo-static.c: New file.
52059
52060 [BZ #16965]
52061 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
52062 when the shift amount is modulo the limb size.
52063
52064 2014-05-20 Richard Henderson <rth@redhat.com>
52065
52066 [BZ #16967]
52067 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
52068 Change type of sa_flags from unsigned int to int.
52069
52070 [BZ #16966]
52071 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
52072
52073 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
52074
52075 2014-05-20 Will Newton <will.newton@linaro.org>
52076
52077 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
52078 Test the return value of the system call in the nocancel case.
52079
52080 2014-05-20 Will Newton <will.newton@linaro.org>
52081 Yvan Roux <yvan.roux@linaro.org>
52082
52083 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
52084 #include of asm/ptrace.h.
52085 (PTRACE_GET_THREAD_AREA): Remove #undef.
52086 (PTRACE_GETHBPREGS): Likewise.
52087 (PTRACE_SETHBPREGS): Likewise.
52088 (struct user_regs_struct): New structure.
52089 (struct user_fpsimd_struct): New structure.
52090 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
52091 #include of asm/ptrace.h and second #include of sys/user.h.
52092 (PTRACE_GET_THREAD_AREA): Remove #undef.
52093 (PTRACE_GETHBPREGS): Likewise.
52094 (PTRACE_SETHBPREGS): Likewise.
52095 (ELF_NGREG): Use new struct user_regs_struct.
52096 (elf_fpregset_t): Use new struct user_fpsimd_struct.
52097
52098 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52099
52100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
52101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
52102
52103 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
52104
52105 [BZ #16958]
52106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
52107 membar to avoid block loads/stores to overlap previous stores.
52108
52109 2014-05-17 Richard Henderson <rth@redhat.com>
52110
52111 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
52112 Create the __##syscall_name##_nocancel entry point.
52113 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
52114 Remove; let the sysdep-cancel.h code create it.
52115
52116 2014-05-17 David S. Miller <davem@davemloft.net>
52117
52118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
52119 Protect with __USE_GNU.
52120 (TIOCSET_TEMPT): Likewise.
52121 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
52122 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
52123 these are already provided in bits/ioctl-types.h
52124
52125 2014-05-16 Roland McGrath <roland@hack.frob.com>
52126
52127 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
52128 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
52129
52130 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
52131 Use wait4 regardless of [__NR_waitpid].
52132
52133 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
52134
52135 PR libgcc/60166
52136 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52137 (_FP_NANSIGN_Q): Set the quiet bit.
52138
52139 2014-05-16 Joseph Myers <joseph@codesourcery.com>
52140
52141 * benchtests/Makefile
52142 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52143 not $(common-objpfx)math/libm.so.
52144 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52145 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52146 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52147 $(common-objpfx)dlfcn/libdl.so.
52148 ($(objpfx)tst-audit8): Depend on $(libm), not
52149 $(common-objpfx)math/libm.so.
52150 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52151 not $(common-objpfx)dlfcn/libdl.so.
52152 * math/Makefile
52153 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52154 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
52155 [$(build-shared) = yes].
52156 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52157 $(common-objpfx)nptl/libpthread.so.
52158 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52159 $(common-objpfx)math/libm.so$(libm.so-version) or
52160 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52161 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52162 $(common-objpfx)dlfcn/libdl.so.
52163 * setjmp/Makefile (link-libm): Remove variable.
52164 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52165 * stdio-common/Makefile (link-libm): Remove variable.
52166 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52167 * stdlib/Makefile (link-libm): Remove variable.
52168 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52169 ($(objpfx)tst-strtod-round): Likewise.
52170 ($(objpfx)tst-tininess): Likewise.
52171 ($(objpfx)tst-strtod-underflow): Likewise.
52172 ($(objpfx)tst-strtod6): Likewise.
52173 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52174 $(libdl), not $(common-objpfx)nptl/libpthread.so and
52175 $(common-objpfx)dlfcn/libdl.so.
52176
52177 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52178
52179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52180 BSD terminal modes definitions.
52181
52182 2014-05-16 Roland McGrath <roland@hack.frob.com>
52183
52184 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52185 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52186
52187 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52188 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52189 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52190 Don't do #include_next.
52191 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52192 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52193 Don't do #include_next.
52194 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52195 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52196 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52197 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52198
52199 2014-05-16 Allan McRae <allan@archlinux.org>
52200
52201 * po/sv.po: Update Swedish translation from translation project.
52202
52203 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52204 in sed expression.
52205
52206 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
52207
52208 [BZ #16917]
52209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52210 errno if the TIOCGPTN ioctl fails with an error different than
52211 EINVAL.
52212 * login/tst-ptsname.c: New file.
52213 * login/Makefile (tests): Add tst-ptsname.
52214
52215 [BZ #16943]
52216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52217 and prlimit64.
52218
52219 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52220
52221 [BZ #16849]
52222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52223 herrno to return EAI_AGAIN.
52224
52225 2014-05-14 Roland McGrath <roland@hack.frob.com>
52226
52227 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52228 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52229 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52230 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52231 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52232 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52234 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52236 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52238 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52239 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52240 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52241 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52242 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52244 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52245 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52246 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52247 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52248 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52249 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52250 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52251 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52252 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52253 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52254 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52255 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52256 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52258 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52260 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52262 Moved ...
52263 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52265 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52269 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52271 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52275 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52277 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52279 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52281 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52283 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52285 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52287 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52289 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52291 Moved ...
52292 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52294 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52296 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52298 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52300 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52304 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52306 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52308 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52310 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52312 Moved ...
52313 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52315 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52316
52317 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52318 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52319 (libpthread-sysdep_routines): Add elision-related stuff here instead.
52320 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52321 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52322 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52323 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52324 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52325 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52326 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52327 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52328 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52329 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52330 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52331 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52332 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52333 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52334 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52335 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52336 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52337 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52338 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52339 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52340 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52341 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52342 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52343 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52348
52349 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52350 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52351
52352 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52353 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52354 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52355 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52356 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52358 Moved ...
52359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52361 Moved ...
52362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52364 Moved ...
52365 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52367 Moved ...
52368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52369 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52370 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52372 Moved ...
52373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52374 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52375 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52378 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52379 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52381 Moved ...
52382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52384 Moved ...
52385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52386 ... here.
52387 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52388 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52390 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52392 Moved ...
52393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52394 ... here.
52395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52396 Moved ...
52397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52399 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52400 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52401 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52403 Moved ...
52404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52406 Moved ...
52407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52409 Moved ...
52410 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52412 Moved ...
52413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52414 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52415 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52417 Moved ...
52418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52419 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52420 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52423 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52424 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52426 Moved ...
52427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52429 Moved ...
52430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52431 ... here.
52432 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52433 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52435 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52437 Moved ...
52438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52439 ... here.
52440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52441 Moved ...
52442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52444 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52445 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52446 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52447 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52449 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52450 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52452 Moved ...
52453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52455 Moved ...
52456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52458 Moved ...
52459 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52460 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52461 Moved ...
52462 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52463 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52464 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52465 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52466 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52468 Moved ...
52469 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52470 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52471 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52474 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52475 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52477 Moved ...
52478 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52480 Moved ...
52481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52482 ... here.
52483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52484 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52485 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52486 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52488 Moved ...
52489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52490 ... here.
52491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52492 Moved ...
52493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52495 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52496 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52497 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52498 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52499 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52500 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52501 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52502 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52503 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52504
52505 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52506 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52507
52508 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52509 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52510
52511 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52512 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52514 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52515 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52516 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52517 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52518 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52519 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52520 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52522 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52525 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52527 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52529 Moved ...
52530 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52534 Moved ...
52535 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52536 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52537 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52538 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52539 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52543 Moved ...
52544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52546 Moved ...
52547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52551 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52553 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52554 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52555 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52556 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52557 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52559 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52561 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52562 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52564
52565 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52566 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52567 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52568 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52569 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52570
52571 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52572 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52573 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52574 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52575 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52576 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52577 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52578 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52579 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52580 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52581
52582 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52584
52585 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52586 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52587 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52588 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52589 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52590 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52591 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52592 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52594 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52596 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52598 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52600 Update #include.
52601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52602 Likewise.
52603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52604 Likewise.
52605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52606 Likewise.
52607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52608 Likewise.
52609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52610 Likewise.
52611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52612 Likewise.
52613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52614 Likewise.
52615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52616 Likewise.
52617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52618 Likewise.
52619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52634
52635 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52636 that was previously under [RESET_PID].
52637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52638 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52639 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52640
52641 * sysdeps/i386/nptl/Implies: New file.
52642 * sysdeps/x86_64/nptl/Implies: New file.
52643 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52644 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52645 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52646 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52647
52648 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52649 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52650 (__libc_vfork): New strong alias.
52651 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52652 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52653
52654 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52655 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52656 (__libc_vfork): New strong alias.
52657 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52658 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52659
52660 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52661 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52662 (__libc_vfork): New strong alias.
52663 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52664 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52665 * nptl/pt-vfork.c: New file.
52666 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52667 (libpthread: GLIBC_2.20): New version set (empty).
52668
52669 2014-05-14 Will Newton <will.newton@linaro.org>
52670
52671 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52672 rather than #if.
52673
52674 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52675
52676 [BZ #16564]
52677 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52678 arguments with exponent 65 or above.
52679 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52680 arguments 0x1p113L or above.
52681 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52682 to arguments 0x1p107L or above.
52683 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52684 positive arguments with exponent 65 or above.
52685 * math/auto-libm-test-in: Add more tests of log1p.
52686 * math/auto-libm-test-out: Regenerated.
52687
52688 [BZ #16928]
52689 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52690 non-finite arguments is +0.
52691 * math/s_cacosf.c (__cacosf): Likewise.
52692 * math/s_cacosl.c (__cacosl): Likewise.
52693 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52694 * sysdeps/i386/fpu/libm-test-ulps: Update.
52695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52696
52697 [BZ #16927]
52698 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52699 value.
52700 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52701 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52702 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52703 for explicit high bit of mantissa when testing for argument equal
52704 to 1.
52705 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52706 * sysdeps/i386/fpu/libm-test-ulps: Update.
52707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52708
52709 [BZ #16516]
52710 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52711 (__erf): Scale by 16 instead of 8 in potentially underflowing
52712 case. Ensure exception if result actually underflows.
52713 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52714 (__erff): Scale by 16 instead of 8 in potentially underflowing
52715 case. Ensure exception if result actually underflows.
52716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52717 (efx8): Remove variable.
52718 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52719 case. Ensure exception if result actually underflows.
52720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52721 (efx8): Remove variable.
52722 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52723 case. Ensure exception if result actually underflows.
52724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52725 (efx8): Remove variable.
52726 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52727 case. Ensure exception if result actually underflows.
52728 * math/auto-libm-test-in: Add more tests of erf.
52729 * math/auto-libm-test-out: Regenerated.
52730
52731 2014-05-14 Andreas Schwab <schwab@suse.de>
52732
52733 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52734 Remove code conditionalized on USE___THREAD.
52735
52736 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52737 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52738 not definedness.
52739
52740 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52741
52742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52743 Define unconditionally.
52744 (__ASSUME_O_CLOEXEC): Likewise.
52745 (__ASSUME_SOCK_CLOEXEC): Likewise.
52746 (__ASSUME_IN_NONBLOCK): Likewise.
52747 (__ASSUME_PIPE2): Likewise.
52748 (__ASSUME_EVENTFD2): Likewise.
52749 (__ASSUME_SIGNALFD4): Likewise.
52750 (__ASSUME_DUP3): Likewise.
52751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52752 (__ASSUME_DUP3): Do not define.
52753 (__ASSUME_EVENTFD2): Likewise.
52754 (__ASSUME_IN_NONBLOCK): Likewise.
52755 (__ASSUME_O_CLOEXEC): Likewise.
52756 (__ASSUME_PIPE2): Likewise.
52757 (__ASSUME_SIGNALFD4): Likewise.
52758 (__ASSUME_SOCK_CLOEXEC): Likewise.
52759 (__ASSUME_UTIMES): Undefine.
52760 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52761 (__ASSUME_UTIMES): Do not define.
52762 (__ASSUME_O_CLOEXEC): Likewise.
52763 (__ASSUME_SOCK_CLOEXEC): Likewise.
52764 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52765 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52766 0x020621].
52767 (__ASSUME_PIPE2): Likewise.
52768 (__ASSUME_EVENTFD2): Likewise.
52769 (__ASSUME_SIGNALFD4): Likewise.
52770 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52771 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52772 Do not define.
52773 (__ASSUME_EVENTFD2): Likewise.
52774 (__ASSUME_SIGNALFD4): Likewise.
52775 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52776 (__ASSUME_32BITUIDS): Likewise.
52777 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52778 (__ASSUME_IPC64): Likewise.
52779 (__ASSUME_ST_INO_64_BIT): Likewise.
52780 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52781 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52783 (__ASSUME_UTIMES): Do not define.
52784 (__ASSUME_PSELECT): Likewise.
52785 (__ASSUME_PPOLL): Likewise.
52786 (__ASSUME_O_CLOEXEC): Likewise.
52787 (__ASSUME_SOCK_CLOEXEC): Likewise.
52788 (__ASSUME_IN_NONBLOCK): Likewise.
52789 (__ASSUME_PIPE2): Likewise.
52790 (__ASSUME_EVENTFD2): Likewise.
52791 (__ASSUME_SIGNALFD4): Likewise.
52792 (__ASSUME_DUP3): Likewise.
52793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52794 (__ASSUME_UTIMES): Likewise.
52795 (__ASSUME_O_CLOEXEC): Likewise.
52796 (__ASSUME_SOCK_CLOEXEC): Likewise.
52797 (__ASSUME_IN_NONBLOCK): Likewise.
52798 (__ASSUME_PIPE2): Likewise.
52799 (__ASSUME_EVENTFD2): Likewise.
52800 (__ASSUME_SIGNALFD4): Likewise.
52801 (__ASSUME_DUP3): Likewise.
52802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52803 (__ASSUME_UTIMES): Likewise.
52804 (__ASSUME_O_CLOEXEC): Likewise.
52805 (__ASSUME_SOCK_CLOEXEC): Likewise.
52806 (__ASSUME_IN_NONBLOCK): Likewise.
52807 (__ASSUME_PIPE2): Likewise.
52808 (__ASSUME_EVENTFD2): Likewise.
52809 (__ASSUME_SIGNALFD4): Likewise.
52810 (__ASSUME_DUP3): Likewise.
52811 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52812 Likewise.
52813 (__ASSUME_UTIMES): Likewise.
52814 (__ASSUME_EVENTFD2): Likewise.
52815 (__ASSUME_SIGNALFD4): Likewise.
52816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52817 (__ASSUME_O_CLOEXEC): Likewise.
52818 (__ASSUME_SOCK_CLOEXEC): Likewise.
52819 (__ASSUME_IN_NONBLOCK): Likewise.
52820 (__ASSUME_PIPE2): Likewise.
52821 (__ASSUME_EVENTFD2): Likewise.
52822 (__ASSUME_SIGNALFD4): Likewise.
52823 (__ASSUME_DUP3): Likewise.
52824 (__ASSUME_UTIMES): Undefine.
52825
52826 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52827 feclearexcept. Remove symbol versioning code.
52828 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52829 symbol versioning code.
52830 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52831 symbol versioning code.
52832 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52833 feupdateenv. Remove symbol versioning code.
52834 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52835 fegetexceptflag. Remove symbol versioning code.
52836 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52837 fesetexceptflag. Remove symbol versioning code.
52838 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52839 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52840 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52841 (__posix_fadvise64_l32): Remove prototype.
52842 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52843 code.
52844
52845 2014-05-13 Roland McGrath <roland@hack.frob.com>
52846
52847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52848 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52849 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52850 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52851
52852 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52853
52854 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52855 current working directory
52856
52857 2014-05-13 Roland McGrath <roland@hack.frob.com>
52858
52859 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52860 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52861 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52862 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52863 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52864 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52865 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52866 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52867 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52868 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52869 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52870 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52871 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52872 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52873 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52874 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52875 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52876 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52877 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52878 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52879 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52880 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52881 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52882 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52883 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52884 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52885 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52886 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52887 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52888 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52889 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52890 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52891 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52892 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52893 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52894 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52895 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52896 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52897 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52898 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52899 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52900 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52901
52902 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52903 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52904
52905 * sysdeps/unix/sysv/linux/arm/Makefile
52906 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52907 Add rt-aeabi_unwind_cpp_pr1.
52908 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52909 Add nptl-aeabi_unwind_cpp_pr1.
52910 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52911 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52912 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52913 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52914 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52915 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52916
52917 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52918 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52919 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52920 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52921
52922 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52923 Deconditionalize the code that was previously under [RESET_PID].
52924 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52925
52926 * sysdeps/generic/exit-thread.h: New file.
52927 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52928 * include/unistd.h (__exit_thread): Remove declaration.
52929 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52930 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52931 * csu/libc-start.c: Include <exit-thread.h>.
52932 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52933 * nptl/pthread_create.c: Include <exit-thread.h>.
52934 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52935 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52936 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52937 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52938 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52939 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52940 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52941 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52942 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52943 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52944 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52945 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52946 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52947 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52948 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52949 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52950 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52951
52952 2014-05-13 Andreas Schwab <schwab@suse.de>
52953
52954 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52955
52956 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52957
52958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52959 (__ASSUME_UTIMES): Do not condition on kernel version.
52960 (__ASSUME_PSELECT): Define unconditionally.
52961 (__ASSUME_PPOLL): Likewise.
52962 (__ASSUME_ATFCTS): Likewise.
52963 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52964 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52965 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52966 (__ASSUME_UTIMENSAT): Define unconditionally.
52967 (__ASSUME_PRIVATE_FUTEX): Likewise.
52968 (__ASSUME_FALLOCATE): Likewise.
52969 (__ASSUME_O_CLOEXEC): Likewise.
52970 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52971 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52972 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52973 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52974 (__ASSUME_IN_NONBLOCK): Likewise.
52975 (__ASSUME_PIPE2): Likewise.
52976 (__ASSUME_EVENTFD2): Likewise.
52977 (__ASSUME_SIGNALFD4): Likewise.
52978 (__ASSUME_DUP3): Likewise.
52979 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52980 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52981 (__ASSUME_AT_RANDOM): Likewise.
52982 (__ASSUME_PREADV): Likewise.
52983 (__ASSUME_PWRITEV): Likewise.
52984 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52985 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52986 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52987 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52988 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52990 (__ASSUME_O_CLOEXEC): Define unconditionally.
52991 (__ASSUME_PSELECT): Do not undefine conditionally.
52992 (__ASSUME_PPOLL): Likewise.
52993 (__ASSUME_ATFCTS): Likewise.
52994 (__ASSUME_SET_ROBUST_LIST): Likewise.
52995 (__ASSUME_UTIMENSAT): Likewise.
52996 (__ASSUME_FDATASYNC): Define unconditionally.
52997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52998 (__ASSUME_SIGFRAME_V2): Likewise.
52999 )__ASSUME_EVENTFD2): Likewise.
53000 (__ASSUME_SIGNALFD4): Likewise.
53001 (__ASSUME_PSELECT): Do not undefine conditionally.
53002 (__ASSUME_PPOLL): Likewise.
53003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53004 (__ASSUME_PSELECT): Define unconditionally.
53005 (__ASSUME_PPOLL): Likewise.
53006 (__ASSUME_O_CLOEXEC): Likewise.
53007 (__ASSUME_SOCK_CLOEXEC): Likewise.
53008 (__ASSUME_IN_NONBLOCK): Likewise.
53009 (__ASSUME_PIPE2): Likewise.
53010 (__ASSUME_EVENTFD2): Likewise.
53011 (__ASSUME_SIGNALFD4): Likewise.
53012 (__ASSUME_DUP3): Likewise.
53013 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53014 (__ASSUME_O_CLOEXEC): Likewise.
53015 (__ASSUME_SOCK_CLOEXEC): Likewise.
53016 (__ASSUME_IN_NONBLOCK): Likewise.
53017 (__ASSUME_PIPE2): Likewise.
53018 (__ASSUME_EVENTFD2): Likewise.
53019 (__ASSUME_SIGNALFD4): Likewise.
53020 (__ASSUME_DUP3): Likewise.
53021 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53022 (__ASSUME_EVENTFD2): Likewise.
53023 (__ASSUME_SIGNALFD4): Likewise.
53024 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53025
53026 2014-05-12 Andreas Schwab <schwab@suse.de>
53027
53028 [BZ #16932]
53029 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
53030 (_nss_nis_gethostbyname4_r): Return error if item length is larger
53031 than maximum RPC packet size.
53032 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
53033 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
53034 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
53035 (_nss_nis_getservbyport_r): Likewise.
53036
53037 2014-05-12 Will Newton <will.newton@linaro.org>
53038
53039 * malloc/Makefile (tests): Add tst-mallopt.
53040 * malloc/tst-mallopt.c: New file.
53041
53042 2014-05-09 Roland McGrath <roland@hack.frob.com>
53043
53044 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
53045 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
53046
53047 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53048
53049 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
53050 (tst-tlsmod6.so): Likewise.
53051
53052 2014-05-09 Roland McGrath <roland@hack.frob.com>
53053
53054 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
53055
53056 2014-05-09 Joseph Myers <joseph@codesourcery.com>
53057
53058 [BZ #16064]
53059 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
53060 and <dl-procinfo.h>.
53061 (__fegetenv): Save SSE state in envp->__eip if supported.
53062 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
53063 envp->__eip if supported.
53064 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
53065 and <dl-procinfo.h>.
53066 (__fesetenv): Always set __eip, __cs_selector, __opcode,
53067 __data_offset and __data_selector in environment to 0. Set SSE
53068 state if supported.
53069 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
53070 test-fenv-sse.
53071 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
53072 -mfpmath=sse.
53073 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
53074
53075 2014-05-09 Will Newton <will.newton@linaro.org>
53076
53077 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53078 and libc_relro_required for ARM.
53079 * sysdeps/arm/preconfigure: Regenerate.
53080
53081 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
53082 Stefan Liebler <stli@linux.vnet.ibm.com>
53083
53084 * config.make.in (enable-lock-elision): New Makefile variable.
53085 * configure.ac: Likewise.
53086 * configure: Regenerate.
53087 * sysdeps/s390/configure.ac:
53088 Add check for gcc transactions support.
53089 * sysdeps/s390/configure: Regenerate.
53090 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
53091 Build elision files if enabled.
53092 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
53093 Add lock elision support for s390.
53094 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
53095 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
53096 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
53097 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
53098 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
53099 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
53100 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
53101 Likewise.
53102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
53103 Likewise.
53104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
53105 Likewise.
53106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
53107 Likewise.
53108 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
53109 (__lll_timedlock_elision, __lll_lock_elision)
53110 (__lll_unlock_elision, __lll_trylock_elision)
53111 (lll_timedlock_elision, lll_lock_elision)
53112 (lll_unlock_elision, lll_trylock_elision): Add.
53113 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53114 (pthread_mutex_t): Add lock elision support for s390.
53115
53116 2014-05-14 Wilco <wdijkstr@arm.com>
53117
53118 * sysdeps/arm/fclrexcpt.c: Cleanup.
53119 * sysdeps/arm/fedisblxcpt.c: Cleanup.
53120 * sysdeps/arm/feenablxcpt.c: Cleanup.
53121 * sysdeps/arm/fegetenv.c: Cleanup.
53122 * sysdeps/arm/fegetexcept.c: Cleanup.
53123 * sysdeps/arm/fegetround.c: Cleanup.
53124 * sysdeps/arm/feholdexcpt.c: Cleanup.
53125 * sysdeps/arm/fesetenv.c: Cleanup.
53126 * sysdeps/arm/fesetround.c: Cleanup.
53127 * sysdeps/arm/feupdateenv.c: Cleanup.
53128 * sysdeps/arm/fgetexcptflg.c: Cleanup.
53129 * sysdeps/arm/fraiseexcpt.c: Cleanup.
53130 * sysdeps/arm/fsetexcptflg.c: Cleanup.
53131 * sysdeps/arm/ftestexcept.c: Cleanup.
53132 * sysdeps/arm/get-rounding-mode.h: Cleanup.
53133 * sysdeps/arm/setfpucw.c: Cleanup.
53134
53135 2014-05-09 Will Newton <will.newton@linaro.org>
53136
53137 * sysdeps/arm/armv7/strcmp.S: New file.
53138 * NEWS: Mention addition of ARMv7 optimized strcmp.
53139
53140 2014-05-08 Roland McGrath <roland@hack.frob.com>
53141
53142 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53143 look for %.ac rather than %.in.
53144
53145 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53146 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53147 * sysdeps/mach/hurd/configure: Regenerated.
53148 * sysdeps/unix/sysv/linux/configure: Regenerated.
53149
53150 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53151
53152 2014-05-07 Steve Ellcey <sellcey@mips.com>
53153
53154 [BZ #16922]
53155 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53156 (LONG_SUB): Ditto.
53157 (PTR_SUB): Ditto.
53158
53159 2014-05-07 Andreas Schwab <schwab@suse.de>
53160
53161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53162 when skipping over non-matching result from nscd.
53163
53164 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
53165
53166 [BZ #16876]
53167 * nptl/sockperf.c (client): Check socket return value.
53168
53169 [BZ #16877]
53170 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53171 nscd security class.
53172
53173 2014-05-06 Roland McGrath <roland@hack.frob.com>
53174
53175 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53176 * sysdeps/arm/unwind.h: ... here.
53177
53178 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
53179
53180 [BZ #16916]
53181 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53182 Define.
53183
53184 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53185
53186 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53187 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53188 multiarch strncpy for PPC64.
53189 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53190 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53192 multiarch optimizations.
53193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53194 (__libc_ifunc_impl_list): Likewise.
53195 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53197 multiarch stpncpy for PPC64.
53198 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53199 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53200
53201 2014-05-06 Andreas Schwab <schwab@suse.de>
53202
53203 [BZ #16912]
53204 * gmon/mcount.c (_MCOUNT_DECL): Use
53205 atomic_compare_and_exchange_bool_acq instead of
53206 catomic_compare_and_exchange_bool_acq.
53207
53208 2014-05-05 Roland McGrath <roland@hack.frob.com>
53209
53210 * elf/Makefile (others, install-bin): Remove pldd.
53211 (pldd-modules): Variable removed.
53212 ($(objpfx)pldd): Target removed.
53213 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53214 (others, install-bin): Append pldd here.
53215 ($(objpfx)pldd): New target.
53216
53217 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53218 to 0, so the first #if test emitted later doesn't see it undefined.
53219 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53220 * sysdeps/gnu/errlist.c: Regenerated.
53221
53222 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53223
53224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53225 [libc_hidden_builtin_def]: Define to empty value.
53226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53227 [libc_hidden_builtin_def]: Likewise.
53228 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53229 [libc_hidden_builtin_def]: Likewise.
53230 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53231 [libc_hidden_builtin_def]: Likewise.
53232 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53233 __redirect_memcpy and define ifunc as default hidden symbol.
53234 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53235 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53236
53237 2014-05-04 Adam Conrad <adconrad@0c3.net>
53238
53239 * locale/iso-4217.def: Reintroduce XDR currency.
53240
53241 2014-05-04 Allan McRae <allan@archlinux.org>
53242
53243 * po/eo.po: Update Esperanto translation from translation project.
53244
53245 2014-05-02 Carlos O'Donell <carlos@redhat.com>
53246
53247 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53248 and FEATURE_INDEX_MAX to 1.
53249 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53250
53251 2014-05-01 Steve Ellcey <sellcey@mips.com>
53252
53253 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53254 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53255 * iconvdata/big5.c (ONE_DIRECTION): Define.
53256 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53257 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53258 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53259 * iconvdata/cp932.c (ONE_DIRECTION): Define.
53260 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53261 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53262 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53263 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53264 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53265 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53266 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53267 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53268 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53269 * iconvdata/gbk.c (ONE_DIRECTION): Define.
53270 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53271 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53272 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53273 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53274 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53275 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53276 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53277 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53278 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53279 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53280 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53281 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53282 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53283 * iconvdata/iso646.c (ONE_DIRECTION): Define.
53284 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53285 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53286 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53287 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53288 * iconvdata/johab.c (ONE_DIRECTION): Define.
53289 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53290 * iconvdata/sjis.c (ONE_DIRECTION): Define.
53291 * iconvdata/t.61.c (ONE_DIRECTION): Define.
53292 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53293 * iconvdata/tscii.c (ONE_DIRECTION): Define.
53294 * iconvdata/uhc.c (ONE_DIRECTION): Define.
53295 * iconvdata/unicode.c (ONE_DIRECTION): Define.
53296 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53297 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53298 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53299
53300 2014-05-01 Roland McGrath <roland@hack.frob.com>
53301
53302 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53303 (_IO_JUMPS_OFFSET): Define to 0.
53304
53305 * nptl/sysdeps/pthread/bits/libc-lock.h
53306 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53307 (__libc_lock_define_initialized_recursive): Always define using
53308 initializer. Modern compilers treat uninitialized (implicit zero) and
53309 explicit zero initializers the same (i.e. put the datum in bss).
53310
53311 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53312
53313 * nscd/nscd-client.h: Include <string.h>.
53314
53315 2014-05-01 David S. Miller <davem@davemloft.net>
53316
53317 [BZ #16885]
53318 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53319 multiple zero bytes exist at the end of a string.
53320 Reported by Aurelien Jarno <aurelien@aurel32.net>
53321
53322 * string/test-strcmp.c (check): Add explicit test for situations where
53323 there are multiple zero bytes after the first.
53324
53325 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53326
53327 [BZ #16890]
53328 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53329 when compiling wprintf.
53330 * stdio-common/tstdiomisc.c (t3): New function.
53331 (main): Call it.
53332
53333 2014-05-01 Steve Ellcey <sellcey@mips.com>
53334
53335 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53336 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53337 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53338 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53339
53340 2014-05-01 Steve Ellcey <sellcey@mips.com>
53341
53342 * stdlib/longlong.h: Updated from GCC.
53343
53344 2014-05-01 Will Newton <will.newton@linaro.org>
53345 Bernard Ogden <bernie.ogden@linaro.org>
53346
53347 * NEWS: Update fixed bug list.
53348
53349 [BZ #15119]
53350 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53351
53352 2014-04-30 David S. Miller <davem@davemloft.net>
53353
53354 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53355 (libc_feholdexcept_setround_sparc_ctx): New function.
53356 (libc_fesetenv_sparc_ctx): Likewise.
53357 (libc_feupdateenv_sparc_ctx): Likewise.
53358 (libc_feholdsetround_sparc_ctx): Likewise.
53359 (libc_feholdexcept_setround_ctx): Define.
53360 (libc_feholdexcept_setroundf_ctx): Likewise.
53361 (libc_feholdexcept_setroundl_ctx): Likewise.
53362 (libc_fesetenv_ctx): Likewise.
53363 (libc_fesetenvf_ctx): Likewise.
53364 (libc_fesetenvl_ctx): Likewise.
53365 (libc_feupdateenv_ctx): Likewise.
53366 (libc_feupdateenvf_ctx): Likewise.
53367 (libc_feupdateenvl_ctx): Likewise.
53368 (libc_feresetround_ctx): Likewise.
53369 (libc_feresetroundf_ctx): Likewise.
53370 (libc_feresetroundl_ctx): Likewise.
53371 (libc_feholdsetround_ctx): Likewise.
53372 (libc_feholdsetroundf_ctx): Likewise.
53373 (libc_feholdsetroundl_ctx): Likewise.
53374
53375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53376 with __USE_GNU instead of XOPEN cpp guards.
53377
53378 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53379 0.
53380
53381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53382 with XOPEN cpp guards.
53383
53384 2014-04-30 Julian Brown <julian@codesourcery.com>
53385
53386 [BZ #16888]
53387 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53388 handling.
53389
53390 2014-04-30 Joseph Myers <joseph@codesourcery.com>
53391
53392 [BZ #9894]
53393 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53394 Change to 2.6.32.
53395 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53396 * sysdeps/unix/sysv/linux/configure: Regenerated.
53397 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53398 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53399 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53400 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53401 * README: Update reference to required Linux kernel version.
53402 * manual/install.texi (Linux): Update reference to required Linux
53403 kernel headers version.
53404 * INSTALL: Regenerated.
53405
53406 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53407 header inclusion.
53408 [POSIX] (limits.h): Likewise.
53409 [POSIX] (math.h): Likewise.
53410 [POSIX] (sys/wait.h): Likewise.
53411 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53412 function.
53413 [POSIX] (stddef.h): Do not allow header inclusion.
53414
53415 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53416
53417 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53418
53419 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53420
53421 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53422 Return immediately after lll_futex_wake.
53423
53424 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53425
53426 [BZ #16791]
53427 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53428 structure.
53429 (datahead_init_pos): Call datahead_init_common early.
53430 (datahead_init_neg): Likewise.
53431
53432 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53433 datahead_init_neg): New functions.
53434 * nscd/aicache.c (addhstaiX): Use them.
53435 * nscd/grpcache.c (cache_addgr): Likewise.
53436 * nscd/hstcache.c (cache_addhst): Likewise.
53437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53438 * nscd/netgroupcache.c (do_notfound): Likewise.
53439 (addgetnetgrentX): Likewise.
53440 (addinnetgrX): Likewise.
53441 * nscd/pwdcache.c (cache_addpw): Likewise.
53442 * nscd/servicescache.c (cache_addserv): Likewise.
53443
53444 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53445 Atsushi Onoe <atsushi@onoe.org>
53446
53447 [BZ #14308]
53448 [BZ #12994]
53449 [BZ #13651]
53450 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53451 one response is valid.
53452 * resolv/res_send.c (send_dg): Check for validity of other
53453 response if the current response is a referral.
53454
53455 2014-04-29 Steve Ellcey <sellcey@mips.com>
53456
53457 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53458
53459 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53460
53461 [BZ #16823]
53462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53463 Always divide by positive zero when computing -Inf result.
53464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53465 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53466
53467 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53468
53469 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53470 FPSCR if value do not change.
53471 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53472 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53473 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53474 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53475 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53476 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53477 function.
53478
53479 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53480
53481 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53482 * sysdeps/unix/sysv/linux/hppa: Move directory from
53483 ports/systeps/unix/sysv/linux/hppa.
53484 * README: Update listing for hppa-*-linux-gnu.
53485
53486 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
53487
53488 [BZ #16754]
53489 * manual/stdio.texi (Hook functions): Fix types of stream hook
53490 functions.
53491 [BZ #16854]
53492 * socket/sys/socket.h: Fix typo in comment.
53493
53494 2014-04-28 Wilco <wdijkstr@arm.com>
53495
53496 * sysdeps/arm/fenv_private.h: New file.
53497 * sysdeps/arm/math_private.h: New file.
53498 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53499
53500 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53501
53502 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53503 with __int128_t.
53504 (La_x86_64_retval): Likewise.
53505
53506 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53507
53508 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53509 fpsr if value didn't change.
53510 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53511 to fpcr if value didn't change.
53512 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53513 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53514 fpsr or fpcr if value didn't change.
53515 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53516 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53517 fpcr if value didn't change.
53518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53519 to fpsr if value didn't change.
53520
53521 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53522
53523 * nptl/tst-sem3.c: Use test-skeleton.c
53524 (main): Rename to do_test. Use return instead of
53525 exit.
53526 * nptl/tst-sem4.c: Use test-skeleton.c
53527 (main): Rename to do_test.
53528
53529 2014-04-22 David S. Miller <davem@davemloft.net>
53530
53531 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53532 (struct sigaction): New struct member __glibc_reserved0, change
53533 type of sa_flags to int.
53534
53535 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53536
53537 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53538 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53539
53540 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53541
53542 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53543 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53544
53545 2014-04-22 Will Newton <will.newton@linaro.org>
53546 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53547
53548 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53549 (__longjmp): Add longjmp and longjmp_target SystemTap
53550 probes.
53551 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53552 (__sigsetjmp): Add setjmp SystemTap probe.
53553
53554 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53555
53556 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53557 match manual order.
53558
53559 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53560
53561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53562
53563 * sysdeps/powerpc/fpu/fenv_private.h
53564 (libc_feholdexcept_setroundl_ctx): Define to
53565 libc_feholdexcept_setround_ppc_ctx.
53566 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53567 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53568 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53569 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53570
53571 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53572
53573 * sysdeps/aarch64/math-tests.h: New file.
53574
53575 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53576
53577 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53578 New.
53579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53580 Check and set bit_AVX2_Usable.
53581 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53582 macro.
53583 (bit_AVX2): Likewise.
53584 (index_AVX2_Usable): Likewise.
53585 (CPUID_AVX2): Likewise.
53586 (HAS_AVX2): Likewise.
53587
53588 2014-04-17 Will Newton <will.newton@linaro.org>
53589
53590 * manual/setjmp.texi (System V contexts): Add note that
53591 calling setcontext on a context created by a call to a
53592 signal handler is undefined. Update text to note that
53593 setcontext from a signal handler is possible but not
53594 recommended.
53595
53596 [BZ #16629]
53597 * stdlib/tst-setcontext.c: Include signal.h.
53598 (main): Check that the signal stack before and
53599 after swapcontext is the same.
53600
53601 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53602 Re-implement to restore registers in user code and avoid
53603 rt_sigreturn system call.
53604
53605 2014-04-17 Wilco <wdijkstr@arm.com>
53606
53607 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53608 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53609 * math/test-fenv.c: Skip exception trap tests on targets which only
53610 support non-stop mode.
53611
53612 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53613 Wilco Dijkstra <wilco.dijkstra@arm.com>
53614
53615 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53616 (libc_feholdsetround_aarch64_ctx)
53617 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53618 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53619 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53620 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53621 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53622 (libc_feresetround_noexl_ctx): Define.
53623
53624 2014-04-16 Richard Henderson <rth@redhat.com>
53625
53626 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53627
53628 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53629 unwind tables.
53630
53631 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53632 const from the non-libc, non-ldso copy.
53633
53634 * sysdeps/alpha/libm-test-ulps: Regenerate.
53635
53636 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53637 Wilco Dijkstra <wilco.dijkstra@arm.com>
53638
53639 * sysdeps/aarch64/fpu/math_private.h: New file.
53640
53641 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53642
53643 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53644
53645 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53646
53647 [BZ #16275]
53648 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53649 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53651 Intel MPX bound registers before _dl_profile_fixup.
53652 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53653 registers after _dl_profile_fixup. Save and restore bound
53654 registers bnd0/bnd1 when calling _dl_call_pltexit.
53655 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53656 (LR_BND_OFFSET): Likewise.
53657 (LRV_BND0_OFFSET): Likewise.
53658 (LRV_BND1_OFFSET): Likewise.
53659
53660 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53661
53662 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53663 to...
53664 * sysdeps/mach/hurd/i386/tls.h: ... here.
53665 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53666 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53667 fields.
53668
53669 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53670
53671 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53672
53673 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53674
53675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53676
53677 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53678
53679 [BZ #14770]
53680 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53681 * sysdeps/s390/configure: Regenerate.
53682
53683 [BZ #16824]
53684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53685 Set round-to-nearest internally to reduce error accumulation.
53686
53687 2014-04-16 Alan Modra <amodra@gmail.com>
53688
53689 [BZ #16740]
53690 [BZ #16619]
53691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53692 * math/libm-test.inc (frexp_test_data): Add tests.
53693 * NEWS: Update fixed bug list.
53694
53695 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53696
53697 * benchtests/Makefile: Depend on libraries in build directory.
53698 (bench-math): Separate out math tests.
53699 (bench-pthread): Separate out pthread tests.
53700 (bench): Include math and pthread tests.
53701
53702 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53703
53704 [BZ #16831]
53705 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53706 _dl_debug_initialize.
53707
53708 * configure.ac: Remove SELinux header check.
53709 * configure: Regenerate.
53710 * nscd/selinux.c (perms): Array of const char* to permission names.
53711 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53712 default policy. Call string_to_security_class and string_to_av_perm to
53713 translate strings. Enforce default policy and call avs_has_perm with
53714 results of translated strings.
53715
53716 2014-04-13 David S. Miller <davem@davemloft.net>
53717
53718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53719
53720 2014-04-12 Allan McRae <allan@archlinux.org>
53721
53722 [BZ #16838]
53723 * manual/string.texi (Collation Functions): Fix qsort argument
53724 order in example.
53725 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53726
53727 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53728
53729 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53730 Make the test a no-op if there are no exceptions defined.
53731
53732 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53733
53734 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53735 enable-hardcoded-path-in-tests
53736
53737 2014-04-11 Will Newton <will.newton@linaro.org>
53738
53739 * benchtests/Makefile (extra-objs): Add json-lib.o.
53740 (bench-func): Tidy up JSON output.
53741 * benchtests/bench-skeleton.c: Include json-lib.h.
53742 (main): Use JSON library functions to do output of
53743 benchmark results.
53744 * benchtests/bench-timing-type.c (main): Output the
53745 timing type simply, leaving formatting to the user.
53746 * benchtests/json-lib.c: New file.
53747 * benchtests/json-lib.h: Likewise.
53748
53749 2014-04-11 Torvald Riegel <triegel@redhat.com>
53750
53751 [BZ #15215]
53752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53753 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53754 memory barriers. Add comments.
53755 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53756 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53757 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53758 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53759 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53760 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53761
53762 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53763
53764 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53765 * sysdeps/s390/s390-64/configure.ac: ... this ...
53766 * sysdeps/s390/configure.ac: ... to here.
53767 * sysdeps/s390/s390-32/configure: Delete file.
53768 * sysdeps/s390/s390-64/configure: Delete file.
53769 * sysdeps/s390/configure: Regenerate.
53770
53771 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53772
53773 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53774
53775 2014-04-11 Will Newton <will.newton@linaro.org>
53776
53777 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53778 to zero if it is not defined elsewhere. (mtrim): Test
53779 the value of MALLOC_DEBUG with #if rather than #ifdef.
53780
53781 2014-04-10 Torvald Riegel <triegel@redhat.com>
53782
53783 * benchtests/pthread_once-inputs: New file.
53784 * benchtests/pthread_once-source.c: New file.
53785 * benchtests/README: Update documentation.
53786
53787 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53788 H.J. Lu <hongjiu.lu@intel.com>
53789
53790 [BZ #16275]
53791 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53792 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53793 * sysdeps/x86_64/configure: Regenerated.
53794 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53795 macro.
53796 (REGISTER_SAVE_RAX): Likewise.
53797 (REGISTER_SAVE_RCX): Likewise.
53798 (REGISTER_SAVE_RDX): Likewise.
53799 (REGISTER_SAVE_RSI): Likewise.
53800 (REGISTER_SAVE_RDI): Likewise.
53801 (REGISTER_SAVE_R8): Likewise.
53802 (REGISTER_SAVE_R9): Likewise.
53803 (REGISTER_SAVE_BND0): Likewise.
53804 (REGISTER_SAVE_BND1): Likewise.
53805 (REGISTER_SAVE_BND2): Likewise.
53806 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53807 bound registers when calling _dl_fixup.
53808
53809 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53810
53811 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53812 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53813 of its definition.
53814 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53815 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53816 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53817 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53818 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53819 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53820 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53821
53822 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53823
53824 [BZ #15514]
53825 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53826 pathconf(_PC_NAME_MAX).
53827
53828 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53829
53830 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53831 Remove macro usage.
53832 (__PTHREAD_SPINS): Move definition to ...
53833 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53834 (__PTHREAD_SPINS): ... here.
53835 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53836 (__PTHREAD_SPIN): Likewise.
53837 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53838 (__PTHREAD_SPIN): Likewise.
53839 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53840 (__PTHREAD_SPIN): Likewise.
53841 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53842 (__PTHREAD_SPIN): Likewise.
53843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53844 (__PTHREAD_SPIN): Likewise.
53845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53846 (__PTHREAD_SPIN): Likewise.
53847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53848 (__PTHREAD_SPIN): Likewise.
53849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53850 (__PTHREAD_SPIN): Likewise.
53851 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53852 (__PTHREAD_SPIN): Likewise.
53853 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53854 (__PTHREAD_SPIN): Likewise.
53855 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53856 (__PTHREAD_SPIN): Likewise.
53857 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53858 (__PTHREAD_SPIN): Likewise.
53859
53860 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53861 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53862 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53864 imply folder.
53865 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53866 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53867 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53868 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53869 correct imply path.
53870 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53871 strlen symbol for non multi-arch builds.
53872 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53873 missing hidden_def and weak_alias.
53874
53875 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53876
53877 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53878
53879 2014-04-07 Will Newton <will.newton@linaro.org>
53880
53881 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53882 and contents. [!_LIBC] Remove #ifndef and contents.
53883 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53884 * string/memccpy.c (__memccpy): Use ANSI prototype.
53885 * string/memfrob.c (memfrob): Likewise.
53886 * string/strcoll.c (STRCOLL): Likewise.
53887 * string/strlen.c (strlen): Likewise.
53888 * string/strtok.c (STRTOK): Likewise.
53889 * string/strcat.c: Remove unused #include of memcopy.h.
53890 (strcat): Use ANSI prototype.
53891 * string/strchr.c: Remove unused #include of memcopy.h.
53892 (strchr): Use ANSI prototype.
53893 * string/strcmp.c: Remove unused #include of memcopy.h.
53894 (strcmp): Use ANSI prototype.
53895 * string/strcpy.c: Remove unused #include of memcopy.h.
53896 (strcpy): Use ANSI prototype.
53897
53898 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53899
53900 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53901 * config.make.in (config-extra-cppflags): Set it from
53902 libc_extra_cppflags.
53903 * configure.ac (libc_extra_cflags): Make it accumulate over
53904 configure fragments.
53905 (libc_extra_cppflags): New flag.
53906 * configure. Regenerate.
53907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53908 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53909 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53911
53912 [BZ #16815]
53913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53914 result for FE_DOWNWARD rounding mode.
53915 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53916 Likewise.
53917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53918
53919 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53920
53921 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53922 in function argument name.
53923
53924 2014-04-03 David Svoboda <svoboda@cert.org>
53925
53926 [BZ #5666]
53927 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53928 explicitly.
53929
53930 2014-04-03 Roland McGrath <roland@hack.frob.com>
53931
53932 * elf/dl-unmap-segments.h: New file.
53933 * sysdeps/generic/ldsodefs.h
53934 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53935 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53936 * elf/dl-fptr.c: Likewise.
53937 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53938 * sysdeps/aarch64/tlsdesc.c: Likewise.
53939 * sysdeps/arm/tlsdesc.c: Likewise.
53940 * sysdeps/i386/tlsdesc.c: Likewise.
53941 * sysdeps/tile/dl-runtime.c: Likewise.
53942 * sysdeps/x86_64/tlsdesc.c: Likewise.
53943 * elf/dl-load.h: New file.
53944 * elf/dl-load.c: Include it.
53945 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53946 Macros moved to dl-load.h.
53947 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53948 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53949 Use _dl_unmap_segments in place of __munmap.
53950 Break out segment-mapping loop into ...
53951 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53952
53953 2014-04-03 Will Newton <will.newton@linaro.org>
53954
53955 * elf/dl-lookup.c (do_lookup_x): Remove comment
53956 referring to nested function and move variable
53957 declarations down to before first use.
53958
53959 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53960
53961 [BZ #16799]
53962 [BZ #16800]
53963 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53964 with 0 numerator.
53965 * math/s_catanf.c (__catanf): Likewise.
53966 * math/s_catanh.c (__catanh): Likewise.
53967 * math/s_catanhf.c (__catanhf): Likewise.
53968 * math/s_catanhl.c (__catanhl): Likewise.
53969 * math/s_catanl.c (__catanl): Likewise.
53970 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53971 by positive zero when computing -Inf result.
53972 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53973 (catanh_test): Likewise.
53974 * sysdeps/i386/fpu/libm-test-ulps: Update.
53975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53976
53977 [BZ #16789]
53978 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53979 instead of using underflowing value in computing result.
53980 * math/s_clog10.c (__clog10): Likewise.
53981 * math/s_clog10f.c (__clog10f): Likewise.
53982 * math/s_clog10l.c (__clog10l): Likewise.
53983 * math/s_clogf.c (__clogf): Likewise.
53984 * math/s_clogl.c (__clogl): Likewise.
53985 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53986 (clog10_test): Likewise.
53987 * sysdeps/i386/fpu/libm-test-ulps: Update.
53988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53989
53990 2014-04-02 Alan Modra <amodra@gmail.com>
53991
53992 [BZ #16739]
53993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53994 output when value is near a power of two. Use int64_t for lx and
53995 remove casts. Use decimal rather than hex exponent constants.
53996 Don't use long double multiplication when double will suffice.
53997 * math/libm-test.inc (nextafter_test_data): Add tests.
53998 * NEWS: Add 16739 and 16786 to bug list.
53999
54000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
54001
54002 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
54003
54004 2014-04-01 Will Newton <will.newton@linaro.org>
54005
54006 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
54007 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
54008
54009 2014-04-01 Florian Weimer <fweimer@redhat.com>
54010
54011 [BZ #13347]
54012 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
54013 * nptl/tst-setuid2.c: New file.
54014 * nptl/Makefile (xtests): Add tst-setuid2.
54015
54016 2014-04-01 Alan Modra <amodra@gmail.com>
54017
54018 [BZ #16786]
54019 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
54020
54021 2014-03-31 Joseph Myers <joseph@codesourcery.com>
54022
54023 [BZ #6803]
54024 [BZ #6804]
54025 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
54026 set errno as appropriate.
54027 * math/w_scalbf.c (__scalbf): Likewise.
54028 * math/w_scalbl.c (__scalbl): Likewise.
54029 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
54030 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
54031 * math/libm-test.inc (scalb_test_data): Add errno expectations.
54032 Add more NaN tests.
54033
54034 [BZ #16349]
54035 * math/w_atan2.c: Include <errno.h>.
54036 (__atan2): Set errno for result underflowing to zero.
54037 * math/w_atan2f.c: Include <errno.h>.
54038 (__atan2f): Set errno for result underflowing to zero.
54039 * math/w_atan2l.c: Include <errno.h>.
54040 (__atan2l): Set errno for result underflowing to zero.
54041 * math/auto-libm-test-in: Don't allow missing errno for some atan2
54042 tests.
54043 * math/auto-libm-test-out: Regenerated.
54044
54045 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54046
54047 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
54048 Encode instruction correctly in little endian.
54049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
54050 Likewise.
54051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
54052 Likewise.
54053 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
54054 Likewise.
54055 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
54056 Likewise.
54057
54058 2014-03-31 Joseph Myers <joseph@codesourcery.com>
54059
54060 [BZ #9894]
54061 * sysdeps/unix/sysv/linux/kernel-features.h
54062 [__sparc__ && !__arch64__ && !__sparc_v9__]
54063 (__ASSUME_SET_ROBUST_LIST): Do not define.
54064 [__sparc__ && !__arch64__ && !__sparc_v9__]
54065 (__ASSUME_FUTEX_LOCK_PI): Likewise.
54066 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
54067 Likewise.
54068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54069 (__ASSUME_FUTEX_LOCK_PI): Undefine.
54070 (__ASSUME_REQUEUE_PI): Likewise.
54071 (__ASSUME_SET_ROBUST_LIST): Likewise.
54072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54073 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
54074 Undefine.
54075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
54077 Likewise.
54078 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
54079 Likewise.
54080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
54081 Likewise.
54082 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54083 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
54084 Undefine.
54085 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
54086 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
54087 Likewise.
54088
54089 [BZ #16648]
54090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54091 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
54092 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
54093
54094 2014-03-31 Will Newton <will.newton@linaro.org>
54095
54096 * benchtests/Makefile (bench): Add ffs and ffsll to list
54097 of tests.
54098 * benchtests/ffs-inputs: New file.
54099 * benchtests/ffsll-inputs: Likewise.
54100
54101 2014-03-29 Joseph Myers <joseph@codesourcery.com>
54102
54103 [BZ #16770]
54104 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
54105 too large before casting to int.
54106 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
54107 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
54108 * math/libm-test.inc (scalb_test_data): Add more tests.
54109
54110 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54111
54112 * benchtests/Makefile (DETAILED_OPT): New make option.
54113 (bench-func): Run benchmark program with -d if DETAILED_OPT is
54114 set.
54115 * benchtests/bench-skeleton.c: Include stdbool.h.
54116 (main): Store and print timings per input.
54117 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
54118 member to each argument value.
54119 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
54120 (_print_arg_data): Initialize per-input timing to 0.
54121
54122 * benchtests/Makefile (timing-type): New binary.
54123 (bench-clean): Also remove bench-timing-type.
54124 (bench): New target for timing-type.
54125 (bench-func): Print output in JSON format.
54126 * benchtests/bench-skeleton.c (main): Print output in JSON
54127 format.
54128 * benchtests/bench-timing-type.c: New file.
54129 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
54130 (TIMING_PRINT_STATS): Remove.
54131 * benchtests/scripts/bench.py (_print_arg_data): Store variant
54132 name separately.
54133
54134 * benchtests/bench-modf.c: Remove.
54135 * benchtests/modf-inputs: New inputs file.
54136
54137 2014-03-28 Joseph Myers <joseph@codesourcery.com>
54138
54139 [BZ #16362]
54140 * math/s_clog10.c (M_PI_LOG10E): New macro.
54141 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54142 imaginary parts are 0.
54143 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54144 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54145 imaginary parts are 0.
54146 * math/s_clog10l.c (M_PI_LOG10El): New macro.
54147 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54148 imaginary parts are 0.
54149 * math/libm-test.inc (clog10_test_data): Update expected results
54150 for when real and imaginary parts are 0.
54151
54152 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
54153
54154 * elf/dl-load.c: Finish conversion of __builtin_expect into
54155 __glibc_{un}likely.
54156
54157 2014-03-27 Joseph Myers <joseph@codesourcery.com>
54158
54159 [BZ #16348]
54160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54161 1+x for argument with exponent below -67.
54162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54163 Likewise.
54164 * math/auto-libm-test-in: Add more tests of exp.
54165 * math/auto-libm-test-out: Regenerated.
54166
54167 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54168
54169 [BZ #16759]
54170 * inet/getnetgrent_r.c (get_nonempty_val): New function.
54171 (nscd_getnetgrent): Use it.
54172
54173 [BZ #16760]
54174 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54175 of stpcpy.
54176
54177 2014-03-27 Andi Kleen <ak@linux.intel.com>
54178
54179 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54180 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54181 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54182 (lll_robust_unlock): Remove out of line section. Use cfi
54183 intrinsics.
54184 (LLL_STUB_UNWIND_INFO*): Remove.
54185 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54186 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54187 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54188 (lll_robust_unlock): Remove out of line section. Use cfi
54189 intrinsics.
54190 (LLL_STUB_UNWIND_INFO*): Remove.
54191
54192 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54193
54194 [BZ #16758]
54195 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54196 blank values.
54197
54198 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
54199
54200 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54201
54202 2014-03-26 Joseph Myers <joseph@codesourcery.com>
54203
54204 [BZ #16198]
54205 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54206 fnstenv.
54207 * math/test-fenv-preserve.c: New file.
54208 * math/Makefile (tests): Add test-fenv-preserve.
54209
54210 2014-03-26 Will Newton <will.newton@linaro.org>
54211
54212 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54213
54214 2014-03-25 Roland McGrath <roland@hack.frob.com>
54215
54216 * scripts/versionlist.awk: Partition the version sets and emit all
54217 GLIBC_* (sorted) before all others (sorted).
54218
54219 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54220
54221 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54222 GLIBC_2.2.5 version.
54223
54224 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54225
54226 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54227 calls.
54228
54229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54230 previous change.
54231
54232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54233
54234 2014-03-25 Andreas Schwab <schwab@suse.de>
54235
54236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54237 label to be used after in6ailist is initialized.
54238
54239 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54240
54241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54242 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54243
54244 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54245
54246 [BZ #16357]
54247 [BZ #16599]
54248 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54249 min_plus_half.
54250 (fp_formats): Update initializers.
54251 (init_fp_formats): Initialize new field.
54252 (output_for_one_input_case): Allow underflow for results up to
54253 min_plus_half.
54254 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54255 * math/auto-libm-test-in: Don't mark some underflows from asin and
54256 atanh as spurious.
54257 * math/auto-libm-test-out: Regenerated.
54258 * sysdeps/i386/fpu/libm-test-ulps: Update.
54259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54260
54261 2014-03-25 Andreas Schwab <schwab@suse.de>
54262
54263 * libio/Makefile (tst-ftell-partial-wide-ENV)
54264 (tst-ftell-active-handler-ENV): Define.
54265
54266 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
54267
54268 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54269
54270 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54271
54272 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54273
54274 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54275
54276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54277 * sysdeps/x86_64/fpu/multiarch/e_exp.c
54278 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54279
54280 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54281
54282 [BZ #16634]
54283 * elf/dl-load.c (open_verify): Add mode parameter.
54284 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54285 (open_path): Change from boolean 'secure' to complete flag 'mode'
54286 (_dl_map_object): Adjust.
54287 * elf/Makefile (tests): Add tst-dlopen-aout.
54288 * elf/tst-dlopen-aout.c: New test.
54289
54290 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54291
54292 [BZ #16714]
54293 * sysdeps/unix/sysv/linux/s390/bits/stat.h
54294 (struct stat): Rename member pad0 to __glibc_reserved0.
54295
54296 [BZ #16712]
54297 * sysdeps/s390/s390-32/bits/wordsize.h
54298 (__WORDSIZE32_SIZE_ULONG): New define.
54299 * sysdeps/s390/s390-64/bits/wordsize.h
54300 (__WORDSIZE32_SIZE_ULONG): Likewise.
54301 * sysdeps/generic/stdint.h (SIZE_MAX):
54302 Define as UL if __WORDSIZE32_SIZE_ULONG.
54303
54304 [BZ #16713]
54305 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54306 (__glibc_reserved0): New variable.
54307 (sa_flags): Change type to int.
54308
54309 * posix/Makefile (before-compile): Use += before-compile instead
54310 of a :=.
54311
54312 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54313 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54314
54315 2014-03-20 Andreas Schwab <schwab@suse.de>
54316
54317 [BZ #16743]
54318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54319 non-matching result from nscd.
54320
54321 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54322
54323 * scripts/bench.py: Moved to ...
54324 * benchtests/scripts/bench.py: ... here.
54325 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54326
54327 2014-03-24 Andreas Schwab <schwab@suse.de>
54328
54329 [BZ #16002]
54330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54331 alloca_account and account alloca use for struct in6ailist.
54332
54333 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54334
54335 [BZ #16284]
54336 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54337 rounding mode to recompute results that overflow to infinity or
54338 underflow to zero.
54339 * math/auto-libm-test-in: Don't mark tests as expected to fail for
54340 bug 16284.
54341 * math/auto-libm-test-out: Regenerated.
54342 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54343 (ccosh_test): Likewise.
54344 (csin_test_data): Use plus_oflow.
54345 (csin_test): Use ALL_RM_TEST.
54346 (csinh_test_data): Use plus_oflow.
54347 (csinh_test): Use ALL_RM_TEST.
54348 * sysdeps/i386/fpu/libm-test-ulps: Update.
54349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54350
54351 2014-03-21 Joseph Myers <joseph@codesourcery.com>
54352
54353 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54354 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54355 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54356
54357 [BZ #16731]
54358 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54359 when x - 1 is zero.
54360 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54361 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54362 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54364 argument is 1.
54365 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54366 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54367 zero.
54368 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54369 * sysdeps/i386/fpu/libm-test-ulps: Update.
54370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54371
54372 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54373
54374 * scripts/bench.pl: Remove file.
54375 * scripts/bench.py: New benchmark script.
54376 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54377 * benchtests/README: Mention python dependency.
54378 * scripts/pylintrc: New file.
54379 * scripts/pylint: New file.
54380
54381 * bits/mathdef.h: Use #ifdef instead of #if.
54382 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54383 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54384 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54385 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54386 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54387 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54388
54389 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54390 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54391
54392 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54394 and strpbrk-ppc64 objects.
54395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54396 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54397 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54398 multiarch strpbrk for POWER7.
54399 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54400 multiarch strpbrk for PPC64.
54401 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54402 ifunc selector.
54403 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54404 strpbrk for POWER7.
54405
54406 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54407
54408 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54409 (atan_test): Likewise.
54410 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54411 (atanh_test): Use ALL_RM_TEST.
54412 (atan2_test_data): Likewise.
54413 (cabs_test): Likewise.
54414 (cacosh_test): Likewise.
54415 (carg_test): Likewise.
54416 (casin_test): Likewise.
54417 (casinh_test): Likewise.
54418 (cbrt_test): Likewise.
54419 (csqrt_test): Likewise.
54420 (erf_test): Likewise.
54421 (erfc_test): Likewise.
54422 (pow10_test): Likewise.
54423 (exp2_test): Likewise.
54424 (hypot_test): Likewise.
54425 (j0_test): Likewise.
54426 (j1_test): Likewise.
54427 (lgamma_test): Likewise.
54428 (gamma_test): Likewise.
54429 (sincos_test): Likewise.
54430 (tanh_test): Likewise.
54431 (y0_test): Likewise.
54432 (y1_test): Likewise.
54433 * sysdeps/i386/fpu/libm-test-ulps: Update.
54434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54435
54436 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54437
54438 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54440 and strcspn-ppc64 objects.
54441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54442 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54443 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54444 multiarch strcspn for POWER7.
54445 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54446 multiarch strcspn for PPC64.
54447 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54448 ifunc selector.
54449 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54450 strcspn for POWER7.
54451
54452 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54453
54454 * math/gen-libm-test.pl (generate_testfile): Expect only function
54455 name as argument to AUTO_TESTS_* and pass results for all rounding
54456 modes to parse_args.
54457 (parse_auto_input): Separate inputs of automatic tests from
54458 outputs before storing in %auto_tests.
54459 * math/libm-test.inc (acos_test_data): Update call to
54460 AUTO_TESTS_f_f.
54461 (acos_test): Use ALL_RM_TEST.
54462 (acos_tonearest_test_data): Remove.
54463 (acos_test_tonearest): Likewise.
54464 (acos_towardzero_test_data): Likewise.
54465 (acos_test_towardzero): Likewise.
54466 (acos_downward_test_data): Likewise.
54467 (acos_test_downward): Likewise.
54468 (acos_upward_test_data): Likewise.
54469 (acos_test_upward): Likewise.
54470 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54471 (asin_test_data): Likewise.
54472 (asin_test): Use ALL_RM_TEST.
54473 (asin_tonearest_test_data): Remove.
54474 (asin_test_tonearest): Likewise.
54475 (asin_towardzero_test_data): Likewise.
54476 (asin_test_towardzero): Likewise.
54477 (asin_downward_test_data): Likewise.
54478 (asin_test_downward): Likewise.
54479 (asin_upward_test_data): Likewise.
54480 (asin_test_upward): Likewise.
54481 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54482 (atan_test_data): Likewise.
54483 (atanh_test_data): Likewise.
54484 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54485 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54486 (carg_test_data): Likewise.
54487 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54488 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54489 (ccosh_test_data): Likewise.
54490 (cexp_test_data): Likewise.
54491 (clog_test_data): Likewise.
54492 (clog10_test_data): Likewise.
54493 (cos_test_data): Update call to AUTO_TESTS_f_f.
54494 (cos_test): Use ALL_RM_TEST.
54495 (cos_tonearest_test_data): Remove.
54496 (cos_test_tonearest): Likewise.
54497 (cos_towardzero_test_data): Likewise.
54498 (cos_test_towardzero): Likewise.
54499 (cos_downward_test_data): Likewise.
54500 (cos_test_downward): Likewise.
54501 (cos_upward_test_data): Likewise.
54502 (cos_test_upward): Likewise.
54503 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54504 (cosh_test): Use ALL_RM_TEST.
54505 (cosh_tonearest_test_data): Remove.
54506 (cosh_test_tonearest): Likewise.
54507 (cosh_towardzero_test_data): Likewise.
54508 (cosh_test_towardzero): Likewise.
54509 (cosh_downward_test_data): Likewise.
54510 (cosh_test_downward): Likewise.
54511 (cosh_upward_test_data): Likewise.
54512 (cosh_test_upward): Likewise.
54513 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54514 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54515 (ctan_test_data): Likewise.
54516 (ctan_test): Use ALL_RM_TEST.
54517 (ctan_tonearest_test_data): Remove.
54518 (ctan_test_tonearest): Likewise.
54519 (ctan_towardzero_test_data): Likewise.
54520 (ctan_test_towardzero): Likewise.
54521 (ctan_downward_test_data): Likewise.
54522 (ctan_test_downward): Likewise.
54523 (ctan_upward_test_data): Likewise.
54524 (ctan_test_upward): Likewise.
54525 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54526 (ctanh_test): Use ALL_RM_TEST.
54527 (ctanh_tonearest_test_data): Remove.
54528 (ctanh_test_tonearest): Likewise.
54529 (ctanh_towardzero_test_data): Likewise.
54530 (ctanh_test_towardzero): Likewise.
54531 (ctanh_downward_test_data): Likewise.
54532 (ctanh_test_downward): Likewise.
54533 (ctanh_upward_test_data): Likewise.
54534 (ctanh_test_upward): Likewise.
54535 (erf_test_data): Update call to AUTO_TESTS_f_f.
54536 (erfc_test_data): Likewise.
54537 (exp_test_data): Likewise.
54538 (exp_test): Use ALL_RM_TEST.
54539 (exp_tonearest_test_data): Remove.
54540 (exp_test_tonearest): Likewise.
54541 (exp_towardzero_test_data): Likewise.
54542 (exp_test_towardzero): Likewise.
54543 (exp_downward_test_data): Likewise.
54544 (exp_test_downward): Likewise.
54545 (exp_upward_test_data): Likewise.
54546 (exp_test_upward): Likewise.
54547 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54548 (exp10_test): Use ALL_RM_TEST.
54549 (exp10_tonearest_test_data): Remove.
54550 (exp10_test_tonearest): Likewise.
54551 (exp10_towardzero_test_data): Likewise.
54552 (exp10_test_towardzero): Likewise.
54553 (exp10_downward_test_data): Likewise.
54554 (exp10_test_downward): Likewise.
54555 (exp10_upward_test_data): Likewise.
54556 (exp10_test_upward): Likewise.
54557 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54558 (expm1_test_data): Likewise.
54559 (expm1_test): Use ALL_RM_TEST.
54560 (expm1_tonearest_test_data): Remove.
54561 (expm1_test_tonearest): Likewise.
54562 (expm1_towardzero_test_data): Likewise.
54563 (expm1_test_towardzero): Likewise.
54564 (expm1_downward_test_data): Likewise.
54565 (expm1_test_downward): Likewise.
54566 (expm1_upward_test_data): Likewise.
54567 (expm1_test_upward): Likewise.
54568 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54569 (fma_test): Use ALL_RM_TEST.
54570 (fma_towardzero_test_data): Remove.
54571 (fma_test_towardzero): Likewise.
54572 (fma_downward_test_data): Likewise.
54573 (fma_test_downward): Likewise.
54574 (fma_upward_test_data): Likewise.
54575 (fma_test_upward): Likewise.
54576 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54577 (j0_test_data): Update call to AUTO_TESTS_f_f.
54578 (j1_test_data): Likewise.
54579 (jn_test_data): Update call to AUTO_TESTS_if_f.
54580 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54581 (log_test_data): Update call to AUTO_TESTS_f_f.
54582 (log10_test_data): Likewise.
54583 (log1p_test_data): Likewise.
54584 (log2_test_data): Likewise.
54585 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54586 (pow_tonearest_test_data): Likewise.
54587 (sin_test_data): Update call to AUTO_TESTS_f_f.
54588 (sin_test): Use ALL_RM_TEST.
54589 (sin_tonearest_test_data): Remove.
54590 (sin_test_tonearest): Likewise.
54591 (sin_towardzero_test_data): Likewise.
54592 (sin_test_towardzero): Likewise.
54593 (sin_downward_test_data): Likewise.
54594 (sin_test_downward): Likewise.
54595 (sin_upward_test_data): Likewise.
54596 (sin_test_upward): Likewise.
54597 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54598 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54599 (sinh_test): Use ALL_RM_TEST.
54600 (sinh_tonearest_test_data): Remove.
54601 (sinh_test_tonearest): Likewise.
54602 (sinh_towardzero_test_data): Likewise.
54603 (sinh_test_towardzero): Likewise.
54604 (sinh_downward_test_data): Likewise.
54605 (sinh_test_downward): Likewise.
54606 (sinh_upward_test_data): Likewise.
54607 (sinh_test_upward): Likewise.
54608 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54609 (sqrt_test): Use ALL_RM_TEST.
54610 (sqrt_tonearest_test_data): Remove.
54611 (sqrt_test_tonearest): Likewise.
54612 (sqrt_towardzero_test_data): Likewise.
54613 (sqrt_test_towardzero): Likewise.
54614 (sqrt_downward_test_data): Likewise.
54615 (sqrt_test_downward): Likewise.
54616 (sqrt_upward_test_data): Likewise.
54617 (sqrt_test_upward): Likewise.
54618 (tan_test_data): Update call to AUTO_TESTS_f_f.
54619 (tan_test): Use ALL_RM_TEST.
54620 (tan_tonearest_test_data): Remove.
54621 (tan_test_tonearest): Likewise.
54622 (tan_towardzero_test_data): Likewise.
54623 (tan_test_towardzero): Likewise.
54624 (tan_downward_test_data): Likewise.
54625 (tan_test_downward): Likewise.
54626 (tan_upward_test_data): Likewise.
54627 (tan_test_upward): Likewise.
54628 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54629 (tgamma_test_data): Likewise.
54630 (y0_test_data): Likewise.
54631 (y1_test_data): Likewise.
54632 (yn_test_data): Update call to AUTO_TESTS_if_f.
54633 (main): Do not call removed functions.
54634
54635 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54636
54637 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54638 (ldexp_test_data): Remove.
54639 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54640 scalbn_test_data.
54641 (scalb_test): Use ALL_RM_TEST.
54642
54643 2014-03-19 Andreas Schwab <schwab@suse.de>
54644
54645 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54646
54647 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54648
54649 [BZ #16649]
54650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54654 (__ASSUME_PREADV): Undefine.
54655 (__ASSUME_PWRITEV): Likewise.
54656
54657 2014-03-18 Roland McGrath <roland@hack.frob.com>
54658
54659 * bits/mman-linux.h: Add comment about non-Linux use.
54660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54661 bits/mman-linux.h resting place.
54662
54663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54664 * bits/mman-linux.h: ... here.
54665
54666 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54667
54668 * conform/conformtest.pl: Add standard definition when calling C
54669 preprocessor on data files.
54670 (checknamespace): Remove unused variable.
54671
54672 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54673
54674 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54675 minus_oflow, plus_uflow and minus_uflow in expected results.
54676 * math/libm-test.inc (scalbn_test_data): Add more tests of
54677 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54678 minus_uflow.
54679 (scalbn_test): Use ALL_RM_TEST.
54680 (scalbln_test_data): Add more tests of negative arguments. Use
54681 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54682 (scalbln_test): Use ALL_RM_TEST.
54683
54684 2014-03-18 Roland McGrath <roland@hack.frob.com>
54685
54686 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54687
54688 2014-03-18 Will Newton <will.newton@linaro.org>
54689
54690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54691 inaccurate comment.
54692
54693 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54694
54695 * Makerules [!subdir] (check-abi): Exit with error status if a
54696 test failed.
54697
54698 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54699
54700 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54701 for rint. Include results for all rounding modes.
54702 (nearbyint_test): Use ALL_RM_TEST.
54703 (rint_test_data): Include all tests used for nearbyint.
54704
54705 2014-03-17 Will Newton <will.newton@linaro.org>
54706
54707 * nptl/sysdeps/pthread/pthread.h: Revert previous
54708 change.
54709
54710 * sysdeps/generic/ldsodefs.h: Revert previous
54711 change.
54712
54713 * libio/genops.c: Revert previous change.
54714 * libio/libioP.h: Likewise.
54715 * stdio-common/vfprintf.c: Likewise.
54716
54717 * sysdeps/generic/math_private.h: Revert previous
54718 change.
54719
54720 * sysdeps/generic/math_private.h: Check whether
54721 HAVE_RM_CTX is defined with #ifdef rather
54722 than #if.
54723
54724 * argp/argp-fmtstream.h: Check whether
54725 __STRICT_ANSI__ is defined with #ifdef rather
54726 than #if.
54727 * argp/argp.h: Likewise.
54728
54729 * libio/genops.c: Check whether
54730 _IO_JUMPS_OFFSET is defined with #ifdef rather
54731 than #if.
54732 * libio/libioP.h: Likewise.
54733 * stdio-common/vfprintf.c: Likewise.
54734
54735 * sysdeps/generic/ldsodefs.h: Check whether
54736 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54737 than #if.
54738
54739 * nptl/sysdeps/pthread/pthread.h: Check
54740 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54741 its value.
54742
54743 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54744
54745 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54746 setting O_APPEND.
54747 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54748 test case.
54749
54750 [BZ #16680]
54751 * libio/fileops.c (_IO_file_open): Seek to end of file but
54752 don't cache the offset.
54753 (get_file_offset): Remove function.
54754 (do_ftell): Use cached offset when available.
54755 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54756 don't cache the offset.
54757 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54758 case.
54759 (do_one_test): Call it.
54760 (do_ftell_test): Fix up expected old offset for a+ mode.
54761 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54762 available.
54763
54764 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54765 up test status with function return status.
54766 (do_write_test): Likewise.
54767 (do_append_test): Likewise.
54768
54769 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54770 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54771 Remove.
54772
54773 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54774
54775 * math/gen-libm-test.pl (parse_args): Handle results specified for
54776 each rounding mode separately.
54777 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54778 tests and results from lrint_tonearest_test_data,
54779 lrint_towardzero_test_data, lrint_downward_test_data and
54780 lrint_upward_test_data.
54781 (lrint_test): Use ALL_RM_TEST.
54782 (lrint_tonearest_test_data): Remove.
54783 (lrint_test_tonearest): Likewise.
54784 (lrint_towardzero_test_data): Likewise.
54785 (lrint_test_towardzero): Likewise.
54786 (lrint_downward_test_data): Likewise.
54787 (lrint_test_downward): Likewise.
54788 (lrint_upward_test_data): Likewise.
54789 (lrint_test_upward): Likewise.
54790 (llrint_test_data): Merge in per-rounding-mode tests and results
54791 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54792 llrint_downward_test_data and llrint_upward_test_data.
54793 (llrint_test): Use ALL_RM_TEST.
54794 (llrint_tonearest_test_data): Remove.
54795 (llrint_test_tonearest): Likewise.
54796 (llrint_towardzero_test_data): Likewise.
54797 (llrint_test_towardzero): Likewise.
54798 (llrint_downward_test_data): Likewise.
54799 (llrint_test_downward): Likewise.
54800 (llrint_upward_test_data): Likewise.
54801 (llrint_test_upward): Likewise.
54802 (rint_test_data): Merge in per-rounding-mode tests and results
54803 from rint_tonearest_test_data, rint_towardzero_test_data,
54804 rint_downward_test_data and rint_upward_test_data. Add
54805 per-rounding-mode results for tests not in those arrays.
54806 (rint_test): Use ALL_RM_TEST.
54807 (rint_tonearest_test_data): Remove.
54808 (rint_test_tonearest): Likewise.
54809 (rint_towardzero_test_data): Likewise.
54810 (rint_test_towardzero): Likewise.
54811 (rint_downward_test_data): Likewise.
54812 (rint_test_downward): Likewise.
54813 (rint_upward_test_data): Likewise.
54814 (rint_test_upward): Likewise.
54815 (main): Don't call removed functions.
54816
54817 2014-03-14 Roland McGrath <roland@hack.frob.com>
54818
54819 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54820 "Compiled on ..." crapola. It is anti-useful.
54821
54822 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54823
54824 * scripts/evaluate-test.sh: Handle fourth argument to determine
54825 whether test run should stop on failure.
54826 * Makeconfig (stop-on-test-failure): New variable.
54827 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54828 $(stop-on-test-failure).
54829 * Makefile (tests): Give a summary of results from testing and
54830 exit with failure status if they include an ERROR or FAIL.
54831 (xtests): Likewise.
54832 * manual/install.texi (Configuring and compiling): Mention
54833 stop-on-test-failure=y.
54834 * INSTALL: Regenerated.
54835
54836 2014-03-14 Roland McGrath <roland@hack.frob.com>
54837
54838 * scripts/versionlist.awk: New file.
54839 * Makerules [$(build-shared) = yes]
54840 (postclean-generated): Add Versions.def, not Versions.def.v and
54841 Versions.def.v.i.
54842 ($(common-objpfx)Versions.def.v.i): Target removed.
54843 ($(common-objpfx)Versions.def): New target.
54844 ($(common-objpfx)Versions.all): Depend on that rather that
54845 $(common-objpfx)Versions.def.v.
54846 * Versions.def: File removed.
54847
54848 * Makeconfig (+gccwarn): Add -Wundef.
54849 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54850 a dl-sysdep.h breaking its contract.
54851 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54852 * include/stackinfo.h: New file.
54853 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54854 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54855 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54856 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54857 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54858 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54859 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54860 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54861 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54862 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54863 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54864 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54865 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54866 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54867 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54868
54869 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54870
54871 [BZ #16707]
54872 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54873 implementation.
54874 * math/libm-test.inc (round_test_data): Add more tests.
54875
54876 [BZ #16706]
54877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54878 implementation.
54879 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54880
54881 [BZ #16701]
54882 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54883 implementation.
54884 * math/libm-test.inc (ceil_test_data): Add more tests.
54885
54886 * math/libm-test.inc (trunc_test_data): Add more tests related to
54887 BZ#16414.
54888
54889 2014-03-14 Roland McGrath <roland@hack.frob.com>
54890
54891 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54892 with #if rather than #ifdef.
54893 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54894
54895 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54896
54897 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54898 first. Disable AVX-512 GCC support if assembler doesn't support
54899 it.
54900 * sysdeps/x86_64/configure: Regenerated.
54901
54902 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54903
54904 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54905 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54906 (__old_pthread_attr_setstack): Likewise.
54907 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54908 [!_STACK_GROWS_DOWN]: Likewise.
54909
54910 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54911
54912 * config.make.in (have-bash2): Delete.
54913 * configure.ac (libc_cv_have_bash2): Delete.
54914 * configure: Regenerate.
54915 * elf/Makefile (common-ldd-rewrite): Rename to ...
54916 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54917 (sh-ldd-rewrite): Delete.
54918 (bash-ldd-rewrite): Delete.
54919 (have-bash2): Delete checks.
54920 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54921 ldd-rewrite.
54922
54923 * config.make.in (have-ksh): Delete.
54924 (KSH): Delete.
54925 * configure.ac (libc_cv_have_ksh): Delete.
54926 * configure: Regenerate.
54927
54928 * elf/Makefile: Delete $(have-ksh) check.
54929 ($(objpfx)sotruss): Change KSH to BASH.
54930 * elf/sotruss.ksh: Rename to ...
54931 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54932 function style to match POSIX. Drop ksh vim mode setting.
54933
54934 * manual/time.texi (Specifying the Time Zone with TZ): Change
54935 Tuesday to Thursday.
54936
54937 * debug/tst-longjmp_chk2.c: Update header comment.
54938 (stackoverflow_handler): Add comment. Call assert on pass value.
54939
54940 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54941
54942 [BZ #16194]
54943 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54944 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54945 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54946 (La_x86_64_vector): Add zmm.
54947 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54948 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54949 ($(objpfx)tst-audit10): New target.
54950 ($(objpfx)tst-audit10.out): Likewise.
54951 (tst-audit10-ENV): New.
54952 (AVX512-CFLAGS): Likewise.
54953 (CFLAGS-tst-audit10.c): Likewise.
54954 (CFLAGS-tst-auditmod10a.c): Likewise.
54955 (CFLAGS-tst-auditmod10b.c): Likewise.
54956 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54957 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54958 * sysdeps/x86_64/configure: Regenerated.
54959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54960 AVX-512 zmm register support.
54961 (_dl_x86_64_save_sse): Likewise.
54962 (_dl_x86_64_restore_sse): Likewise.
54963 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54964 size vector registers.
54965 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54966 (ZMM_SIZE): Likewise.
54967 * sysdeps/x86_64/tst-audit10.c: New file.
54968 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54969 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54970
54971 2014-03-13 Roland McGrath <roland@hack.frob.com>
54972
54973 * configure.ac (HAVE_EHDR_START): New check.
54974 * configure: Regenerated.
54975 * config.h.in (HAVE_EHDR_START): New #undef.
54976 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54977 assuming the lowest-addressed segment maps the start of the file.
54978
54979 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54980
54981 * INSTALL: Regenerated.
54982
54983 2014-03-13 Will Newton <will.newton@linaro.org>
54984
54985 * manual/setjmp.texi (System V contexts): Improve
54986 clarity and grammar of documentation.
54987
54988 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54989
54990 [BZ #16381]
54991 * elf/Makefile (tests): Add tst-pie2.
54992 (tests-pie): Add tst-pie2.
54993 * elf/tst-pie2.c: New file.
54994 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54995 for ET_EXEC.
54996 * elf/rtld.c (map_doit): Load executable as lt_executable.
54997 (dl_main): Likewise.
54998
54999 2014-03-12 Joseph Myers <joseph@codesourcery.com>
55000
55001 [BZ #16642]
55002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55003 (__ASSUME_PSELECT): Undefine.
55004
55005 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55006
55007 [BZ #16689]
55008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
55009 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
55010 static build.
55011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
55012 selector for static builds.
55013
55014 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
55015
55016 [BZ #16695]
55017 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
55018 key in the buffer.
55019
55020 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55021
55022 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
55023 IFUNC selector for static builds.
55024
55025 2014-03-11 Joseph Myers <joseph@codesourcery.com>
55026
55027 * sysdeps/mips/math_private.h [__mips_hard_float]
55028 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
55029 libc_feresetround_mips_ctx.
55030 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
55031 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
55032 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
55033
55034 [BZ #16677]
55035 * math/s_nextafter.c (__nextafter): Do not return value from
55036 overflowing computation.
55037 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
55038 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
55039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
55040 Likewise.
55041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
55042 Likewise.
55043 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
55044 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
55045
55046 2014-03-11 Roland McGrath <roland@hack.frob.com>
55047
55048 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
55049 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
55050 Move sfi_sp use from the load-multiple (that no longer sets sp) to
55051 the new mov targetting sp.
55052
55053 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55054
55055 [BZ #16683]
55056 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
55057 Define it for static builds as well.
55058 (NO_BZERO_IMPL): Likewise.
55059
55060 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
55061
55062 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
55063 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
55064 multiarch strspn for PPC64.
55065 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
55066 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
55067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55068 (__libc_ifunc_impl_list): Likewise.
55069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
55070 multiarch optimizations
55071 * string/strspn.c (strspn): Using macro to redefine symbol name.
55072
55073 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
55074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55075
55076 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
55077 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
55078 multiarch strncat for PPC64.
55079 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
55080 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
55081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55082 (__libc_ifunc_impl_list): Likewise.
55083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
55084 multiarch optimizations
55085
55086 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55087
55088 [BZ #16639]
55089 * nscd/nscd.service: Make service type forking.
55090
55091 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55092
55093 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
55094 sign in non default rounding modes.
55095 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
55096
55097 2014-03-08 Joseph Myers <joseph@codesourcery.com>
55098
55099 * math/libm-test.inc (ALL_RM_TEST): New macro.
55100 (ceil_test): Use ALL_RM_TEST.
55101 (cimag_test): Likewise.
55102 (conj_test): Likewise.
55103 (copysign_test): Likewise.
55104 (cproj_test): Likewise.
55105 (creal_test): Likewise.
55106 (fabs_test): Likewise.
55107 (floor_test): Likewise.
55108 (fmax_test): Likewise.
55109 (fmin_test): Likewise.
55110 (fmod_test): Likewise.
55111 (fpclassify_test): Likewise.
55112 (frexp_test): Likewise.
55113 (ilogb_test): Likewise.
55114 (isfinite_test): Likewise.
55115 (finite_test): Likewise.
55116 (isgreater_test): Likewise.
55117 (isgreaterequal_test): Likewise.
55118 (isinf_test): Likewise.
55119 (isless_test): Likewise.
55120 (islessequal_test): Likewise.
55121 (islessgreater_test): Likewise.
55122 (isnan_test): Likewise.
55123 (isnormal_test): Likewise.
55124 (issignaling_test): Likewise.
55125 (isunordered_test): Likewise.
55126 (logb_test): Likewise.
55127 (logb_downward_test_data): Remove.
55128 (logb_test_downward): Likewise.
55129 (lround_test): Use ALL_RM_TEST.
55130 (llround_test): Likewise.
55131 (modf_test): Likewise.
55132 (nexttoward_test): Likewise.
55133 (remainder_test): Likewise.
55134 (drem_test): Likewise.
55135 (remainder_tonearest_test_data): Likewise.
55136 (remainder_test_tonearest): Likewise.
55137 (drem_test_tonearest): Likewise.
55138 (remainder_towardzero_test_data): Likewise.
55139 (remainder_test_towardzero): Likewise.
55140 (drem_test_towardzero): Likewise.
55141 (remainder_downward_test_data): Likewise.
55142 (remainder_test_downward): Likewise.
55143 (drem_test_downward): Likewise.
55144 (remainder_upward_test_data): Likewise.
55145 (remainder_test_upward): Likewise.
55146 (drem_test_upward): Likewise.
55147 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
55148 (round_test): Use ALL_RM_TEST.
55149 (signbit_test): Likewise.
55150 (trunc_test): Likewise.
55151 (significand_test): Likewise.
55152 (main): Don't call removed functions.
55153
55154 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55155
55156 [BZ #16674]
55157 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55158 || __USE_XOPEN2K8].
55159 (ILL_ILLOPN): Likewise.
55160 (ILL_ILLADR): Likewise.
55161 (ILL_ILLTRP): Likewise.
55162 (ILL_PRVOPC): Likewise.
55163 (ILL_PRVREG): Likewise.
55164 (ILL_COPROC): Likewise.
55165 (ILL_BADSTK): Likewise.
55166 (FPE_INTDIV): Likewise.
55167 (FPE_INTOVF): Likewise.
55168 (FPE_FLTDIV): Likewise.
55169 (FPE_FLTOVF): Likewise.
55170 (FPE_FLTUND): Likewise.
55171 (FPE_FLTRES): Likewise.
55172 (FPE_FLTINV): Likewise.
55173 (FPE_FLTSUB): Likewise.
55174 (SEGV_MAPERR): Likewise.
55175 (SEGV_ACCERR): Likewise.
55176 (BUS_ADRALN): Likewise.
55177 (BUS_ADRERR): Likewise.
55178 (BUS_OBJERR): Likewise.
55179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55180 (TRAP_TRACE): Likewise.
55181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55182 __USE_XOPEN2K8].
55183 (CLD_KILLED): Likewise.
55184 (CLD_DUMPED): Likewise.
55185 (CLD_TRAPPED): Likewise.
55186 (CLD_STOPPED): Likewise.
55187 (CLD_CONTINUED): Likewise.
55188 (POLL_IN): Likewise.
55189 (POLL_OUT): Likewise.
55190 (POLL_MSG): Likewise.
55191 (POLL_ERR): Likewise.
55192 (POLL_PRI): Likewise.
55193 (POLL_HUP): Likewise.
55194 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55195 Likewise.
55196 (ILL_ILLOPN): Likewise.
55197 (ILL_ILLADR): Likewise.
55198 (ILL_ILLTRP): Likewise.
55199 (ILL_PRVOPC): Likewise.
55200 (ILL_PRVREG): Likewise.
55201 (ILL_COPROC): Likewise.
55202 (ILL_BADSTK): Likewise.
55203 (FPE_INTDIV): Likewise.
55204 (FPE_INTOVF): Likewise.
55205 (FPE_FLTDIV): Likewise.
55206 (FPE_FLTOVF): Likewise.
55207 (FPE_FLTUND): Likewise.
55208 (FPE_FLTRES): Likewise.
55209 (FPE_FLTINV): Likewise.
55210 (FPE_FLTSUB): Likewise.
55211 (SEGV_MAPERR): Likewise.
55212 (SEGV_ACCERR): Likewise.
55213 (BUS_ADRALN): Likewise.
55214 (BUS_ADRERR): Likewise.
55215 (BUS_OBJERR): Likewise.
55216 (BUS_MCEERR_AR): Likewise.
55217 (BUS_MCEERR_AO): Likewise.
55218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55219 (TRAP_TRACE): Likewise.
55220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55221 __USE_XOPEN2K8].
55222 (CLD_KILLED): Likewise.
55223 (CLD_DUMPED): Likewise.
55224 (CLD_TRAPPED): Likewise.
55225 (CLD_STOPPED): Likewise.
55226 (CLD_CONTINUED): Likewise.
55227 (POLL_IN): Likewise.
55228 (POLL_OUT): Likewise.
55229 (POLL_MSG): Likewise.
55230 (POLL_ERR): Likewise.
55231 (POLL_PRI): Likewise.
55232 (POLL_HUP): Likewise.
55233 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55234 (ILL_ILLOPN): Likewise.
55235 (ILL_ILLADR): Likewise.
55236 (ILL_ILLTRP): Likewise.
55237 (ILL_PRVOPC): Likewise.
55238 (ILL_PRVREG): Likewise.
55239 (ILL_COPROC): Likewise.
55240 (ILL_BADSTK): Likewise.
55241 (FPE_INTDIV): Likewise.
55242 (FPE_INTOVF): Likewise.
55243 (FPE_FLTDIV): Likewise.
55244 (FPE_FLTOVF): Likewise.
55245 (FPE_FLTUND): Likewise.
55246 (FPE_FLTRES): Likewise.
55247 (FPE_FLTINV): Likewise.
55248 (FPE_FLTSUB): Likewise.
55249 (SEGV_MAPERR): Likewise.
55250 (SEGV_ACCERR): Likewise.
55251 (BUS_ADRALN): Likewise.
55252 (BUS_ADRERR): Likewise.
55253 (BUS_OBJERR): Likewise.
55254 (BUS_MCEERR_AR): Likewise.
55255 (BUS_MCEERR_AO): Likewise.
55256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55257 (TRAP_TRACE): Likewise.
55258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55259 __USE_XOPEN2K8].
55260 (CLD_KILLED): Likewise.
55261 (CLD_DUMPED): Likewise.
55262 (CLD_TRAPPED): Likewise.
55263 (CLD_STOPPED): Likewise.
55264 (CLD_CONTINUED): Likewise.
55265 (POLL_IN): Likewise.
55266 (POLL_OUT): Likewise.
55267 (POLL_MSG): Likewise.
55268 (POLL_ERR): Likewise.
55269 (POLL_PRI): Likewise.
55270 (POLL_HUP): Likewise.
55271 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55272 Likewise.
55273 (ILL_ILLOPN): Likewise.
55274 (ILL_ILLADR): Likewise.
55275 (ILL_ILLTRP): Likewise.
55276 (ILL_PRVOPC): Likewise.
55277 (ILL_PRVREG): Likewise.
55278 (ILL_COPROC): Likewise.
55279 (ILL_BADSTK): Likewise.
55280 (ILL_BADIADDR): Likewise.
55281 (ILL_BREAK): Likewise.
55282 (FPE_INTDIV): Likewise.
55283 (FPE_INTOVF): Likewise.
55284 (FPE_FLTDIV): Likewise.
55285 (FPE_FLTOVF): Likewise.
55286 (FPE_FLTUND): Likewise.
55287 (FPE_FLTRES): Likewise.
55288 (FPE_FLTINV): Likewise.
55289 (FPE_FLTSUB): Likewise.
55290 (FPE_DECOVF): Likewise.
55291 (FPE_DECDIV): Likewise.
55292 (FPE_DECERR): Likewise.
55293 (FPE_INVASC): Likewise.
55294 (FPE_INVDEC): Likewise.
55295 (SEGV_MAPERR): Likewise.
55296 (SEGV_ACCERR): Likewise.
55297 (SEGV_PSTKOVF): Likewise.
55298 (BUS_ADRALN): Likewise.
55299 (BUS_ADRERR): Likewise.
55300 (BUS_OBJERR): Likewise.
55301 (BUS_MCEERR_AR): Likewise.
55302 (BUS_MCEERR_AO): Likewise.
55303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55304 (TRAP_TRACE): Likewise.
55305 (TRAP_BRANCH): Likewise.
55306 (TRAP_HWBKPT): Likewise.
55307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55308 __USE_XOPEN2K8].
55309 (CLD_KILLED): Likewise.
55310 (CLD_DUMPED): Likewise.
55311 (CLD_TRAPPED): Likewise.
55312 (CLD_STOPPED): Likewise.
55313 (CLD_CONTINUED): Likewise.
55314 (POLL_IN): Likewise.
55315 (POLL_OUT): Likewise.
55316 (POLL_MSG): Likewise.
55317 (POLL_ERR): Likewise.
55318 (POLL_PRI): Likewise.
55319 (POLL_HUP): Likewise.
55320 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55321 (ILL_ILLOPN): Likewise.
55322 (ILL_ILLADR): Likewise.
55323 (ILL_ILLTRP): Likewise.
55324 (ILL_PRVOPC): Likewise.
55325 (ILL_PRVREG): Likewise.
55326 (ILL_COPROC): Likewise.
55327 (ILL_BADSTK): Likewise.
55328 (FPE_INTDIV): Likewise.
55329 (FPE_INTOVF): Likewise.
55330 (FPE_FLTDIV): Likewise.
55331 (FPE_FLTOVF): Likewise.
55332 (FPE_FLTUND): Likewise.
55333 (FPE_FLTRES): Likewise.
55334 (FPE_FLTINV): Likewise.
55335 (FPE_FLTSUB): Likewise.
55336 (SEGV_MAPERR): Likewise.
55337 (SEGV_ACCERR): Likewise.
55338 (BUS_ADRALN): Likewise.
55339 (BUS_ADRERR): Likewise.
55340 (BUS_OBJERR): Likewise.
55341 (BUS_MCEERR_AR): Likewise.
55342 (BUS_MCEERR_AO): Likewise.
55343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55344 (TRAP_TRACE): Likewise.
55345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55346 __USE_XOPEN2K8].
55347 (CLD_KILLED): Likewise.
55348 (CLD_DUMPED): Likewise.
55349 (CLD_TRAPPED): Likewise.
55350 (CLD_STOPPED): Likewise.
55351 (CLD_CONTINUED): Likewise.
55352 (POLL_IN): Likewise.
55353 (POLL_OUT): Likewise.
55354 (POLL_MSG): Likewise.
55355 (POLL_ERR): Likewise.
55356 (POLL_PRI): Likewise.
55357 (POLL_HUP): Likewise.
55358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55359 (ILL_ILLOPN): Likewise.
55360 (ILL_ILLADR): Likewise.
55361 (ILL_ILLTRP): Likewise.
55362 (ILL_PRVOPC): Likewise.
55363 (ILL_PRVREG): Likewise.
55364 (ILL_COPROC): Likewise.
55365 (ILL_BADSTK): Likewise.
55366 (FPE_INTDIV): Likewise.
55367 (FPE_INTOVF): Likewise.
55368 (FPE_FLTDIV): Likewise.
55369 (FPE_FLTOVF): Likewise.
55370 (FPE_FLTUND): Likewise.
55371 (FPE_FLTRES): Likewise.
55372 (FPE_FLTINV): Likewise.
55373 (FPE_FLTSUB): Likewise.
55374 (SEGV_MAPERR): Likewise.
55375 (SEGV_ACCERR): Likewise.
55376 (BUS_ADRALN): Likewise.
55377 (BUS_ADRERR): Likewise.
55378 (BUS_OBJERR): Likewise.
55379 (BUS_MCEERR_AR): Likewise.
55380 (BUS_MCEERR_AO): Likewise.
55381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55382 (TRAP_TRACE): Likewise.
55383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55384 __USE_XOPEN2K8].
55385 (CLD_KILLED): Likewise.
55386 (CLD_DUMPED): Likewise.
55387 (CLD_TRAPPED): Likewise.
55388 (CLD_STOPPED): Likewise.
55389 (CLD_CONTINUED): Likewise.
55390 (POLL_IN): Likewise.
55391 (POLL_OUT): Likewise.
55392 (POLL_MSG): Likewise.
55393 (POLL_ERR): Likewise.
55394 (POLL_PRI): Likewise.
55395 (POLL_HUP): Likewise.
55396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55397 (ILL_ILLOPN): Likewise.
55398 (ILL_ILLADR): Likewise.
55399 (ILL_ILLTRP): Likewise.
55400 (ILL_PRVOPC): Likewise.
55401 (ILL_PRVREG): Likewise.
55402 (ILL_COPROC): Likewise.
55403 (ILL_BADSTK): Likewise.
55404 (FPE_INTDIV): Likewise.
55405 (FPE_INTOVF): Likewise.
55406 (FPE_FLTDIV): Likewise.
55407 (FPE_FLTOVF): Likewise.
55408 (FPE_FLTUND): Likewise.
55409 (FPE_FLTRES): Likewise.
55410 (FPE_FLTINV): Likewise.
55411 (FPE_FLTSUB): Likewise.
55412 (SEGV_MAPERR): Likewise.
55413 (SEGV_ACCERR): Likewise.
55414 (BUS_ADRALN): Likewise.
55415 (BUS_ADRERR): Likewise.
55416 (BUS_OBJERR): Likewise.
55417 (BUS_MCEERR_AR): Likewise.
55418 (BUS_MCEERR_AO): Likewise.
55419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55420 (TRAP_TRACE): Likewise.
55421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55422 __USE_XOPEN2K8].
55423 (CLD_KILLED): Likewise.
55424 (CLD_DUMPED): Likewise.
55425 (CLD_TRAPPED): Likewise.
55426 (CLD_STOPPED): Likewise.
55427 (CLD_CONTINUED): Likewise.
55428 (POLL_IN): Likewise.
55429 (POLL_OUT): Likewise.
55430 (POLL_MSG): Likewise.
55431 (POLL_ERR): Likewise.
55432 (POLL_PRI): Likewise.
55433 (POLL_HUP): Likewise.
55434 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55435 (ILL_ILLOPN): Likewise.
55436 (ILL_ILLADR): Likewise.
55437 (ILL_ILLTRP): Likewise.
55438 (ILL_PRVOPC): Likewise.
55439 (ILL_PRVREG): Likewise.
55440 (ILL_COPROC): Likewise.
55441 (ILL_BADSTK): Likewise.
55442 (ILL_DBLFLT): Likewise.
55443 (ILL_HARDWALL): Likewise.
55444 (FPE_INTDIV): Likewise.
55445 (FPE_INTOVF): Likewise.
55446 (FPE_FLTDIV): Likewise.
55447 (FPE_FLTOVF): Likewise.
55448 (FPE_FLTUND): Likewise.
55449 (FPE_FLTRES): Likewise.
55450 (FPE_FLTINV): Likewise.
55451 (FPE_FLTSUB): Likewise.
55452 (SEGV_MAPERR): Likewise.
55453 (SEGV_ACCERR): Likewise.
55454 (BUS_ADRALN): Likewise.
55455 (BUS_ADRERR): Likewise.
55456 (BUS_OBJERR): Likewise.
55457 (BUS_MCEERR_AR): Likewise.
55458 (BUS_MCEERR_AO): Likewise.
55459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55460 (TRAP_TRACE): Likewise.
55461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55462 __USE_XOPEN2K8].
55463 (CLD_KILLED): Likewise.
55464 (CLD_DUMPED): Likewise.
55465 (CLD_TRAPPED): Likewise.
55466 (CLD_STOPPED): Likewise.
55467 (CLD_CONTINUED): Likewise.
55468 (POLL_IN): Likewise.
55469 (POLL_OUT): Likewise.
55470 (POLL_MSG): Likewise.
55471 (POLL_ERR): Likewise.
55472 (POLL_PRI): Likewise.
55473 (POLL_HUP): Likewise.
55474 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55475 (ILL_ILLOPN): Likewise.
55476 (ILL_ILLADR): Likewise.
55477 (ILL_ILLTRP): Likewise.
55478 (ILL_PRVOPC): Likewise.
55479 (ILL_PRVREG): Likewise.
55480 (ILL_COPROC): Likewise.
55481 (ILL_BADSTK): Likewise.
55482 (FPE_INTDIV): Likewise.
55483 (FPE_INTOVF): Likewise.
55484 (FPE_FLTDIV): Likewise.
55485 (FPE_FLTOVF): Likewise.
55486 (FPE_FLTUND): Likewise.
55487 (FPE_FLTRES): Likewise.
55488 (FPE_FLTINV): Likewise.
55489 (FPE_FLTSUB): Likewise.
55490 (SEGV_MAPERR): Likewise.
55491 (SEGV_ACCERR): Likewise.
55492 (BUS_ADRALN): Likewise.
55493 (BUS_ADRERR): Likewise.
55494 (BUS_OBJERR): Likewise.
55495 (BUS_MCEERR_AR): Likewise.
55496 (BUS_MCEERR_AO): Likewise.
55497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55498 (TRAP_TRACE): Likewise.
55499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55500 __USE_XOPEN2K8].
55501 (CLD_KILLED): Likewise.
55502 (CLD_DUMPED): Likewise.
55503 (CLD_TRAPPED): Likewise.
55504 (CLD_STOPPED): Likewise.
55505 (CLD_CONTINUED): Likewise.
55506 (POLL_IN): Likewise.
55507 (POLL_OUT): Likewise.
55508 (POLL_MSG): Likewise.
55509 (POLL_ERR): Likewise.
55510 (POLL_PRI): Likewise.
55511 (POLL_HUP): Likewise.
55512 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55513 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55514
55515 [BZ #16670]
55516 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55517 before #include of <time.h>.
55518 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55519 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55520 (test-xfail-UNIX98/sched.h/conform): Likewise.
55521
55522 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55523
55524 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55525 error absence of trapping exception support.
55526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55527
55528 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55529
55530 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55531 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55532 * timezone/Makefile (testdata): Move definition above include of
55533 Rules.
55534 (test-zones): New variable.
55535 (tests-special): Add zone files.
55536 (build-testdata): Use $(evaluate-test).
55537
55538 * elf/Makefile (tests-special): Rename tests to end with .out.
55539 ($(objpfx)noload-mem): Likewise.
55540 ($(objpfx)tst-leaks1-mem): Likewise.
55541 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55542 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55543 $(objpfx)test-iconvconfig.out.
55544 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55545 set -e inside subshell and redirect output to file.
55546 * iconvdata/Makefile (generated): Rename tests to end with .out.
55547 Correct type.
55548 (tests-special): Rename tests to end with .out.
55549 ($(objpfx)mtrace-tst-loading): Likewise.
55550 * intl/Makefile (generated): Likewise.
55551 (tests-special): Likewise.
55552 ($(objpfx)mtrace-tst-gettext): Likewise.
55553 * misc/Makefile (generated): Likewise.
55554 (tests-special): Likewise.
55555 ($(objpfx)tst-error1-mem): Likewise.
55556 * nptl/Makefile (tests-special): Likewise.
55557 ($(objpfx)tst-stack3-mem): Likewise.
55558 (generated): Likewise.
55559 * posix/Makefile (generated): Likewise.
55560 (tests-special): Likewise.
55561 (xtests-special): Likewise.
55562 ($(objpfx)tst-fnmatch-mem): Likewise.
55563 ($(objpfx)bug-regex2-mem): Likewise.
55564 ($(objpfx)bug-regex14-mem): Likewise.
55565 ($(objpfx)bug-regex21-mem): Likewise.
55566 ($(objpfx)bug-regex31-mem): Likewise.
55567 ($(objpfx)tst-vfork3-mem): Likewise.
55568 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55569 ($(objpfx)tst-pcre-mem): Likewise.
55570 ($(objpfx)tst-boost-mem): Likewise.
55571 ($(objpfx)bug-ga2-mem): Likewise.
55572 ($(objpfx)bug-glob2-mem): Likewise.
55573 * resolv/Makefile (generate): Likewise.
55574 (tests-special): Likewise.
55575 (xtests-special): Likewise.
55576 (generated): Likewise.
55577 ($(objpfx)mtrace-tst-leaks): Likewise.
55578 ($(objpfx)mtrace-tst-leaks2): Likewise.
55579
55580 * scripts/merge-test-results.sh: New file.
55581 * Makefile (tests-special-notdir): New variable.
55582 (tests): Run merge-test-results.sh.
55583 (xtests): Likewise.
55584 * Rules (tests-special-notdir): New variable.
55585 (xtests-special-notdir): Likewise.
55586 (tests): Run merge-test-results.sh
55587 (xtests): Likewise.
55588
55589 * Makeconfig (test-xfail-name): New variable.
55590 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55591 compute variable name for expected failures.
55592 * conform/Makefile (conformtest-headers-data): New variable.
55593 (conformtest-standards): Likewise.
55594 (conformtest-headers-ISO): Likewise.
55595 (conformtest-headers-ISO99): Likewise.
55596 (conformtest-headers-ISO11): Likewise.
55597 (conformtest-headers-POSIX): Likewise.
55598 (conformtest-headers-XPG3): Likewise.
55599 (conformtest-headers-XPG4): Likewise.
55600 (conformtest-headers-UNIX98): Likewise.
55601 (conformtest-headers-XOPEN2K): Likewise.
55602 (conformtest-headers-POSIX2008): Likewise.
55603 (conformtest-headers-XOPEN2K8): Likewise.
55604 (conformtest-header-list-base): Likewise.
55605 (conformtest-header-list-tests): Likewise.
55606 (conformtest-header-base): Likewise.
55607 (conformtest-header-tests): Likewise.
55608 (tests-special): Add $(conformtest-header-list-tests). If
55609 [$(fast-check) && !$(cross-compiling)], add
55610 $(conformtest-header-tests) instead of
55611 $(objpfx)run-conformtest.out.
55612 (generated): Add $(conformtest-header-list-base). If
55613 [$(fast-check) && !$(cross-compiling)], add
55614 $(conformtest-header-base). Remove previous setting.
55615 ($(conformtest-header-list-tests)): New target.
55616 (test-xfail-run-conformtest): Remove variable.
55617 ($(objpfx)run-conformtest.out): Remove target.
55618 (test-xfail-ISO11/complex.h/conform): New variable.
55619 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55620 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55621 (test-xfail-XPG3/varargs.h/conform): Likewise.
55622 (test-xfail-XPG4/varargs.h/conform): Likewise.
55623 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55624 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55625 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55626 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55627 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55628 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55629 (test-xfail-XPG3/ftw.h/conform): Likewise.
55630 (test-xfail-XPG3/grp.h/conform): Likewise.
55631 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55632 (test-xfail-XPG3/limits.h/conform): Likewise.
55633 (test-xfail-XPG3/pwd.h/conform): Likewise.
55634 (test-xfail-XPG3/search.h/conform): Likewise.
55635 (test-xfail-XPG3/signal.h/conform): Likewise.
55636 (test-xfail-XPG3/stdio.h/conform): Likewise.
55637 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55638 (test-xfail-XPG3/string.h/conform): Likewise.
55639 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55640 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55641 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55642 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55643 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55644 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55645 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55646 (test-xfail-XPG3/termios.h/conform): Likewise.
55647 (test-xfail-XPG3/time.h/conform): Likewise.
55648 (test-xfail-XPG3/unistd.h/conform): Likewise.
55649 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55650 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55651 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55652 (test-xfail-XPG4/netdb.h/conform): Likewise.
55653 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55654 (test-xfail-XPG4/signal.h/conform): Likewise.
55655 (test-xfail-XPG4/stdio.h/conform): Likewise.
55656 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55657 (test-xfail-XPG4/stropts.h/conform): Likewise.
55658 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55659 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55660 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55661 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55662 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55663 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55664 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55665 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55666 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55667 (test-xfail-XPG4/termios.h/conform): Likewise.
55668 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55669 (test-xfail-XPG4/unistd.h/conform): Likewise.
55670 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55671 (test-xfail-POSIX/sched.h/conform): Likewise.
55672 (test-xfail-POSIX/signal.h/conform): Likewise.
55673 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55674 (test-xfail-POSIX/tar.h/conform): Likewise.
55675 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55676 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55677 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55678 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55679 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55680 (test-xfail-UNIX98/sched.h/conform): Likewise.
55681 (test-xfail-UNIX98/signal.h/conform): Likewise.
55682 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55683 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55684 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55685 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55686 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55687 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55688 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55689 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55690 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55691 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55692 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55693 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55694 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55695 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55696 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55697 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55698 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55699 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55700 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55701 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55702 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55703 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55704 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55705 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55706 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55707 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55708 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55709 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55710 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55711 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55712 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55713 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55714 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55715 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55716 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55717 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55718 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55719 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55720 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55721 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55722 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55723 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55724 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55725 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55726 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55727 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55728 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55729 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55730 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55731 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55732 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55733 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55734 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55735 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55736 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55737 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55738 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55739 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55740 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55741 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55742 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55743 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55744 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55745 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55746 (conformtest-cc-flags): Likewise.
55747 ($(conformtest-header-tests): New target.
55748 * conform/check-header-lists.sh: New file.
55749 * conform/run-conformtest.sh: Remove.
55750
55751 * conform/conformtest.pl: Allow ' and \ in values given for
55752 constants.
55753 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55754 inclusion.
55755 [POSIX] (sys/types.h): Likewise.
55756 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55757 inclusion.
55758 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55759 inclusion.
55760 * conform/data/signal.h-data (SIGIO): Remove expectation.
55761 [XPG3] (SIGBUS): Do not expect.
55762 [POSIX || XPG3] (SIGPOLL): Likewise.
55763 [POSIX || XPG3] (SIGPROF): Likewise.
55764 [POSIX || XPG3] (SIGSYS): Likewise.
55765 [XPG3] (SIGTRAP): Likewise.
55766 [POSIX || XPG3] (SIGURG): Likewise.
55767 [POSIX || XPG3] (SIGVTALRM): Likewise.
55768 [POSIX || XPG3] (SIGXCPU): Likewise.
55769 [POSIX || XPG3] (SIGXFSZ): Likewise.
55770 [POSIX] (SA_SIGINFO): Expect.
55771 [XPG3] (siginfo_t): Do not expect type or contents.
55772 [POSIX] (si_pid): Do not expect element.
55773 [POSIX] (si_uid): Likewise.
55774 [POSIX] (si_addr): Likewise.
55775 [POSIX] (si_status): Likewise.
55776 [POSIX] (si_band): Likewise.
55777 [XPG4] (si_value): Likewise.
55778 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55779 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55780 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55781 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55782 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55783 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55784 [POSIX || XPG3] (ILL_COPROC): Likewise.
55785 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55786 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55787 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55788 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55789 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55790 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55791 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55792 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55793 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55794 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55795 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55796 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55797 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55798 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55799 [POSIX || XPG3] (CLD_EXITED): Likewise.
55800 [POSIX || XPG3] (CLD_KILLED): Likewise.
55801 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55802 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55803 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55804 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55805 [POSIX || XPG3] (POLL_IN): Likewise.
55806 [POSIX || XPG3] (POLL_OUT): Likewise.
55807 [POSIX || XPG3] (POLL_MSG): Likewise.
55808 [POSIX || XPG3] (POLL_ERR): Likewise.
55809 [POSIX || XPG3] (POLL_PRI): Likewise.
55810 [POSIX || XPG3] (POLL_HUP): Likewise.
55811 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55812 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55813 (SIG*): Do not allow.
55814 [XPG3] (si_*): Likewise.
55815 [XPG3] (SI_*): Likewise.
55816 [XPG3 || XPG4] (sigev_*): Likewise.
55817 [XPG3 || XPG4] (SIGEV_*): Likewise.
55818 [XPG3 || XPG4] (sival_*): Likewise.
55819 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55820 [POSIX || XPG3] (BUS_*): Likewise.
55821 [POSIX || XPG3] (CLD_*): Likewise.
55822 [POSIX || XPG3] (FPE_*): Likewise.
55823 [POSIX || XPG3] (ILL_*): Likewise.
55824 [POSIX || XPG3] (POLL_*): Likewise.
55825 [POSIX || XPG3] (SEGV_*): Likewise.
55826 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55827 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55828 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55829 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55830 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55831 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55832 Specify type and value.
55833 (TVERSLEN): Likewise.
55834 (REGTYPE): Likewise.
55835 (AREGTYPE): Likewise.
55836 (LNKTYPE): Likewise.
55837 (SYMTYPE): Likewise.
55838 (CHRTYPE): Likewise.
55839 (BLKTYPE): Likewise.
55840 (DIRTYPE): Likewise.
55841 (FIFOTYPE): Likewise.
55842 (CONTTYPE): Likewise.
55843 (TSUID): Likewise.
55844 (TSGID): Likewise.
55845 (TSVTX): Likewise.
55846 (TUREAD): Likewise.
55847 (TUWRITE): Likewise.
55848 (TUEXEC): Likewise.
55849 (TGREAD): Likewise.
55850 (TGWRITE): Likewise.
55851 (TGEXEC): Likewise.
55852 (TOREAD): Likewise.
55853 (TOWRITE): Likewise.
55854 (TOEXEC): Likewise.
55855 [POSIX] (TSVTX): Expect constant.
55856
55857 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55858
55859 * Makefile (tests): Change dependencies to ....
55860 (tests-special): ... additions to this variable.
55861 (tests): Depend on $(tests-special).
55862 * Makerules (check-abi-list): New variable.
55863 (check-abi): Depend on $(check-abi-list).
55864 [$(subdir) = elf] (tests-special): Add
55865 $(objpfx)check-abi-libc.out.
55866 [$(build-shared) = yes && subdir] (tests-special): Add
55867 $(check-abi-list).
55868 [$(build-shared) = yes && subdir] (tests): Do not depend on
55869 check-abi.
55870 * Rules (tests): Depend on $(tests-special).
55871 (xtests): Depend on $(xtests-special).
55872 * catgets/Makefile (tests): Change dependencies to ....
55873 (tests-special): ... additions to this variable.
55874 * conform/Makefile (tests): Change dependencies to ....
55875 (tests-special): ... additions to this variable.
55876 * elf/Makefile (tests): Change dependencies to ....
55877 (tests-special): ... additions to this variable.
55878 * grp/Makefile (tests): Change dependencies to ....
55879 (tests-special): ... additions to this variable.
55880 * iconv/Makefile (xtests): Change dependencies to ....
55881 (xtests-special): ... additions to this variable.
55882 * iconvdata/Makefile (tests): Change dependencies to ....
55883 (tests-special): ... additions to this variable.
55884 * intl/Makefile (tests): Change dependencies to ....
55885 (tests-special): ... additions to this variable. Also add
55886 $(objpfx)tst-gettext.out.
55887 * io/Makefile (tests): Change dependencies to ....
55888 (tests-special): ... additions to this variable.
55889 * libio/Makefile (tests): Change dependencies to ....
55890 (tests-special): ... additions to this variable.
55891 * malloc/Makefile (tests): Change dependencies to ....
55892 (tests-special): ... additions to this variable.
55893 * misc/Makefile (tests): Change dependencies to ....
55894 (tests-special): ... additions to this variable.
55895 * nptl/Makefile (tests): Change dependencies to ....
55896 (tests-special): ... additions to this variable.
55897 * nptl_db/Makefile (tests): Change dependencies to ....
55898 (tests-special): ... additions to this variable.
55899 * posix/Makefile (tests): Change dependencies to ....
55900 (tests-special): ... additions to this variable.
55901 (xtests): Change dependencies to ....
55902 (xtests-special): ... additions to this variable.
55903 * resolv/Makefile (tests): Change dependencies to ....
55904 (tests-special): ... additions to this variable.
55905 (xtests): Change dependencies to ....
55906 (xtests-special): ... additions to this variable.
55907 * stdio-common/Makefile (tests): Change dependencies to ....
55908 (tests-special): ... additions to this variable.
55909 (do-tst-unbputc): Remove target.
55910 (do-tst-printf): Likewise.
55911 * stdlib/Makefile (tests): Change dependencies to ....
55912 (tests-special): ... additions to this variable.
55913 * string/Makefile (tests): Change dependencies to ....
55914 (tests-special): ... additions to this variable.
55915 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55916 (tests-special): ... additions to this variable.
55917
55918 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55919 whole file.
55920 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55921 whole file.
55922 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55923 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55924
55925 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55926 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55927 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55928 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55929 * conform/data/libgen.h-data [XPG3]: Likewise.
55930 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55931 * conform/data/ndbm.h-data [XPG3]: Likewise.
55932 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55933 * conform/data/netdb.h-data [XPG3]: Likewise.
55934 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55935 * conform/data/poll.h-data [XPG3]: Likewise.
55936 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55937 * conform/data/strings.h-data [XPG3]: Likewise.
55938 * conform/data/stropts.h-data [XPG3]: Likewise.
55939 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55940 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55941 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55942 Likewise.
55943 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55944 * conform/data/sys/time.h-data [XPG3]: Likewise.
55945 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55946 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55947 * conform/data/sys/un.h-data [XPG3]: Likewise.
55948 * conform/data/syslog.h-data [XPG3]: Likewise.
55949 * conform/data/ucontext.h-data [XPG3]: Likewise.
55950 * conform/data/utmpx.h-data [XPG3]: Likewise.
55951 * conform/data/varargs.h-data [UNIX98]: Enable file.
55952
55953 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55954
55955 * math/libm-test.inc (struct test_f_f_data): Move expected results
55956 into structure for each rounding mode.
55957 (struct test_ff_f_data): Likewise.
55958 (struct test_ff_f_data_nexttoward): Likewise.
55959 (struct test_fi_f_data): Likewise.
55960 (struct test_fl_f_data): Likewise.
55961 (struct test_if_f_data): Likewise.
55962 (struct test_fff_f_data): Likewise.
55963 (struct test_c_f_data): Likewise.
55964 (struct test_f_f1_data): Likewise.
55965 (struct test_fF_f1_data): Likewise.
55966 (struct test_ffI_f1_data): Likewise.
55967 (struct test_c_c_data): Likewise.
55968 (struct test_cc_c_data): Likewise.
55969 (struct test_f_i_data): Likewise.
55970 (struct test_ff_i_data): Likewise.
55971 (struct test_f_l_data): Likewise.
55972 (struct test_f_L_data): Likewise.
55973 (struct test_fFF_11_data): Likewise.
55974 (RM_): New macro.
55975 (RM_FE_DOWNWARD): Likewise.
55976 (RM_FE_TONEAREST): Likewise.
55977 (RM_FE_TOWARDZERO): Likewise.
55978 (RM_FE_UPWARD): Likewise.
55979 (RUN_TEST_LOOP_f_f): Update references to expected results.
55980 (RUN_TEST_LOOP_2_f): Likewise.
55981 (RUN_TEST_LOOP_fff_f): Likewise.
55982 (RUN_TEST_LOOP_c_f): Likewise.
55983 (RUN_TEST_LOOP_f_f1): Likewise.
55984 (RUN_TEST_LOOP_fF_f1): Likewise.
55985 (RUN_TEST_LOOP_fI_f1): Likewise.
55986 (RUN_TEST_LOOP_ffI_f1): Likewise.
55987 (RUN_TEST_LOOP_c_c): Likewise.
55988 (RUN_TEST_LOOP_cc_c): Likewise.
55989 (RUN_TEST_LOOP_f_i): Likewise.
55990 (RUN_TEST_LOOP_f_i_tg): Likewise.
55991 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55992 (RUN_TEST_LOOP_f_b): Likewise.
55993 (RUN_TEST_LOOP_f_b_tg): Likewise.
55994 (RUN_TEST_LOOP_f_l): Likewise.
55995 (RUN_TEST_LOOP_f_L): Likewise.
55996 (RUN_TEST_LOOP_fFF_11): Likewise.
55997 * math/gen-libm-test.pl (parse_args): Output four copies of
55998 expected results for each test.
55999
56000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56001 (__ASSUME_UTIMES): Remove.
56002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56003 (__ASSUME_UTIMES): Likewise.
56004
56005 * math/gen-auto-libm-tests.c: Update comment on output format.
56006 (output_for_one_input_case): Generate before-rounding and
56007 after-rounding information as conditions on output flags not
56008 floating-point format.
56009 * math/auto-libm-test-out: Regenerated.
56010 * math/gen-libm-test.pl (cond_value): New function.
56011 (or_cond_value): Use cond_value.
56012 (generate_testfile): Handle conditional exceptions.
56013
56014 2014-03-05 Joseph Myers <joseph@codesourcery.com>
56015
56016 * math/libm-test.inc (max_valid_error): New variable.
56017 (init_max_error): Take new argument specifying whether function
56018 results are exactly determined. Set max_valid_error and bound
56019 other variables for errors based on this argument.
56020 (set_max_error): Do not record results above max_valid_error.
56021 (check_float_internal): Only accept errors of up to 0.5ulps if
56022 also at most max_valid_error.
56023 (START): Take new argument EXACT and pass it to init_max_error.
56024 (acos_test): Update call to START.
56025 (acos_test_tonearest): Likewise.
56026 (acos_test_towardzero): Likewise.
56027 (acos_test_downward): Likewise.
56028 (acos_test_upward): Likewise.
56029 (acosh_test): Likewise.
56030 (asin_test): Likewise.
56031 (asin_test_tonearest): Likewise.
56032 (asin_test_towardzero): Likewise.
56033 (asin_test_downward): Likewise.
56034 (asin_test_upward): Likewise.
56035 (asinh_test): Likewise.
56036 (atan_test): Likewise.
56037 (atanh_test): Likewise.
56038 (atan2_test): Likewise.
56039 (cabs_test): Likewise.
56040 (cacos_test): Likewise.
56041 (cacosh_test): Likewise.
56042 (carg_test): Likewise.
56043 (casin_test): Likewise.
56044 (casinh_test): Likewise.
56045 (catan_test): Likewise.
56046 (catanh_test): Likewise.
56047 (cbrt_test): Likewise.
56048 (ccos_test): Likewise.
56049 (ccosh_test): Likewise.
56050 (ceil_test): Likewise.
56051 (cexp_test): Likewise.
56052 (cimag_test): Likewise.
56053 (clog_test): Likewise.
56054 (clog10_test): Likewise.
56055 (conj_test): Likewise.
56056 (copysign_test): Likewise.
56057 (cos_test): Likewise.
56058 (cos_test_tonearest): Likewise.
56059 (cos_test_towardzero): Likewise.
56060 (cos_test_downward): Likewise.
56061 (cos_test_upward): Likewise.
56062 (cosh_test): Likewise.
56063 (cosh_test_tonearest): Likewise.
56064 (cosh_test_towardzero): Likewise.
56065 (cosh_test_downward): Likewise.
56066 (cosh_test_upward): Likewise.
56067 (cpow_test): Likewise.
56068 (cproj_test): Likewise.
56069 (creal_test): Likewise.
56070 (csin_test): Likewise.
56071 (csinh_test): Likewise.
56072 (csqrt_test): Likewise.
56073 (ctan_test): Likewise.
56074 (ctan_test_tonearest): Likewise.
56075 (ctan_test_towardzero): Likewise.
56076 (ctan_test_downward): Likewise.
56077 (ctan_test_upward): Likewise.
56078 (ctanh_test): Likewise.
56079 (ctanh_test_tonearest): Likewise.
56080 (ctanh_test_towardzero): Likewise.
56081 (ctanh_test_downward): Likewise.
56082 (ctanh_test_upward): Likewise.
56083 (erf_test): Likewise.
56084 (erfc_test): Likewise.
56085 (exp_test): Likewise.
56086 (exp_test_tonearest): Likewise.
56087 (exp_test_towardzero): Likewise.
56088 (exp_test_downward): Likewise.
56089 (exp_test_upward): Likewise.
56090 (exp10_test): Likewise.
56091 (exp10_test_tonearest): Likewise.
56092 (exp10_test_towardzero): Likewise.
56093 (exp10_test_downward): Likewise.
56094 (exp10_test_upward): Likewise.
56095 (pow10_test): Likewise.
56096 (exp2_test): Likewise.
56097 (expm1_test): Likewise.
56098 (expm1_test_tonearest): Likewise.
56099 (expm1_test_towardzero): Likewise.
56100 (expm1_test_downward): Likewise.
56101 (expm1_test_upward): Likewise.
56102 (fabs_test): Likewise.
56103 (fdim_test): Likewise.
56104 (floor_test): Likewise.
56105 (fma_test): Likewise.
56106 (fma_test_towardzero): Likewise.
56107 (fma_test_downward): Likewise.
56108 (fma_test_upward): Likewise.
56109 (fmax_test): Likewise.
56110 (fmin_test): Likewise.
56111 (fmod_test): Likewise.
56112 (fpclassify_test): Likewise.
56113 (frexp_test): Likewise.
56114 (hypot_test): Likewise.
56115 (ilogb_test): Likewise.
56116 (isfinite_test): Likewise.
56117 (finite_test): Likewise.
56118 (isgreater_test): Likewise.
56119 (isgreaterequal_test): Likewise.
56120 (isinf_test): Likewise.
56121 (isless_test): Likewise.
56122 (islessequal_test): Likewise.
56123 (islessgreater_test): Likewise.
56124 (isnan_test): Likewise.
56125 (isnormal_test): Likewise.
56126 (issignaling_test): Likewise.
56127 (isunordered_test): Likewise.
56128 (j0_test): Likewise.
56129 (j1_test): Likewise.
56130 (jn_test): Likewise.
56131 (ldexp_test): Likewise.
56132 (lgamma_test): Likewise.
56133 (gamma_test): Likewise.
56134 (lrint_test): Likewise.
56135 (lrint_test_tonearest): Likewise.
56136 (lrint_test_towardzero): Likewise.
56137 (lrint_test_downward): Likewise.
56138 (lrint_test_upward): Likewise.
56139 (llrint_test): Likewise.
56140 (llrint_test_tonearest): Likewise.
56141 (llrint_test_towardzero): Likewise.
56142 (llrint_test_downward): Likewise.
56143 (llrint_test_upward): Likewise.
56144 (log_test): Likewise.
56145 (log10_test): Likewise.
56146 (log1p_test): Likewise.
56147 (log2_test): Likewise.
56148 (logb_test): Likewise.
56149 (logb_test_downward): Likewise.
56150 (lround_test): Likewise.
56151 (llround_test): Likewise.
56152 (modf_test): Likewise.
56153 (nearbyint_test): Likewise.
56154 (nextafter_test): Likewise.
56155 (nexttoward_test): Likewise.
56156 (pow_test): Likewise.
56157 (pow_test_tonearest): Likewise.
56158 (pow_test_towardzero): Likewise.
56159 (pow_test_downward): Likewise.
56160 (pow_test_upward): Likewise.
56161 (remainder_test): Likewise.
56162 (drem_test): Likewise.
56163 (remainder_test_tonearest): Likewise.
56164 (drem_test_tonearest): Likewise.
56165 (remainder_test_towardzero): Likewise.
56166 (drem_test_towardzero): Likewise.
56167 (remainder_test_downward): Likewise.
56168 (drem_test_downward): Likewise.
56169 (remainder_test_upward): Likewise.
56170 (drem_test_upward): Likewise.
56171 (remquo_test): Likewise.
56172 (rint_test): Likewise.
56173 (rint_test_tonearest): Likewise.
56174 (rint_test_towardzero): Likewise.
56175 (rint_test_downward): Likewise.
56176 (rint_test_upward): Likewise.
56177 (round_test): Likewise.
56178 (scalb_test): Likewise.
56179 (scalbn_test): Likewise.
56180 (scalbln_test): Likewise.
56181 (signbit_test): Likewise.
56182 (sin_test): Likewise.
56183 (sin_test_tonearest): Likewise.
56184 (sin_test_towardzero): Likewise.
56185 (sin_test_downward): Likewise.
56186 (sin_test_upward): Likewise.
56187 (sincos_test): Likewise.
56188 (sinh_test): Likewise.
56189 (sinh_test_tonearest): Likewise.
56190 (sinh_test_towardzero): Likewise.
56191 (sinh_test_downward): Likewise.
56192 (sinh_test_upward): Likewise.
56193 (sqrt_test): Likewise.
56194 (sqrt_test_tonearest): Likewise.
56195 (sqrt_test_towardzero): Likewise.
56196 (sqrt_test_downward): Likewise.
56197 (sqrt_test_upward): Likewise.
56198 (tan_test): Likewise.
56199 (tan_test_tonearest): Likewise.
56200 (tan_test_towardzero): Likewise.
56201 (tan_test_downward): Likewise.
56202 (tan_test_upward): Likewise.
56203 (tanh_test): Likewise.
56204 (tgamma_test): Likewise.
56205 (trunc_test): Likewise.
56206 (y0_test): Likewise.
56207 (y1_test): Likewise.
56208 (yn_test): Likewise.
56209 (significand_test): Likewise.
56210
56211 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56212 individual tests in comment.
56213 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56214 (prev_max_error): New variable.
56215 (prev_real_max_error): Likewise.
56216 (prev_imag_max_error): Likewise.
56217 (compare_ulp_data): Don't refer to test names in comment.
56218 (find_test_ulps): Remove function.
56219 (find_function_ulps): Likewise.
56220 (find_complex_function_ulps): Likewise.
56221 (init_max_error): Take function name as argument. Look up ulps
56222 for that function.
56223 (print_ulps): Remove function.
56224 (print_max_error): Use prev_max_error instead of calling
56225 find_function_ulps.
56226 (print_complex_max_error): Use prev_real_max_error and
56227 prev_imag_max_error instead of calling find_complex_function_ulps.
56228 (check_float_internal): Take max_ulp parameter instead of calling
56229 find_test_ulps. Don't call print_ulps.
56230 (check_float): Update call to check_float_internal.
56231 (check_complex): Update calls to check_float_internal.
56232 (START): Pass argument to init_max_error.
56233 * math/gen-libm-test.pl (%results): Don't include "kind"
56234 information.
56235 (parse_ulps): Don't handle ulps of individual tests.
56236 (print_ulps_file): Likewise.
56237 (output_ulps): Likewise.
56238 * math/README.libm-test: Update.
56239 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56240 individual tests.
56241 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56242 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56243 * sysdeps/arm/libm-test-ulps: Likewise.
56244 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56245 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56246 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56247 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56248 * sysdeps/microblaze/libm-test-ulps: Likewise.
56249 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56250 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56252 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56254 * sysdeps/sh/libm-test-ulps: Likewise.
56255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56256 * sysdeps/tile/libm-test-ulps: Likewise.
56257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56258
56259 2014-03-04 Joseph Myers <joseph@codesourcery.com>
56260
56261 * math/libm-test.inc (print_complex_max_error): Check separately
56262 whether real and imaginary errors are within allowed range and
56263 pass 0 to print_complex_function_ulps instead of value within
56264 allowed range.
56265
56266 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56267
56268 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56269 formatting.
56270 (get_handles_fopen): Likewise.
56271 (do_write_test): Likewise.
56272
56273 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56274
56275 * libio/fileops.c (do_ftell): Use cached offset when
56276 available.
56277 * libio/iofwide.c (do_ftell_wide): Likewise.
56278 * libio/iofdopen.c (_IO_new_fdopen): Don't use
56279 _IO_file_attach.
56280 * libio/wfileops.c (_IO_fwide): Don't cache offset.
56281
56282 [BZ #16532]
56283 * libio/libioP.h (get_file_offset): New function.
56284 * libio/fileops.c (get_file_offset): Likewise.
56285 (do_ftell): Likewise.
56286 (_IO_new_file_seekoff): Split out ftell logic.
56287 * libio/wfileops.c (do_ftell_wide): Likewise.
56288 (_IO_wfile_seekoff): Split out ftell logic.
56289 * libio/tst-ftell-active-handler.c: New test case.
56290 * libio/Makefile (tests): Add it.
56291
56292 2014-03-03 Roland McGrath <roland@hack.frob.com>
56293
56294 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56295 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56296
56297 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56298
56299 [BZ #16639]
56300 * nscd/connections.c (nscd_init): Call do_exit.
56301 (start_threads): Call do_exit and notify_parent.
56302 (begin_drop_privileges): Call do_exit.
56303 (finish_drop_privileges): Likewise.
56304 * nscd/selinux.c (preserve_capabilities): Likewise.
56305 (install_real_capabilities): Likewise.
56306 (nscd_selinux_enabled): Likewise.
56307 (avc_create_thread): Likewise.
56308 (avc_alloc_lock): Likewise.
56309 (nscd_avc_init): Likewise.
56310 * nscd/nscd.c (parent_fd): New static variable.
56311 (main): Create a pipe between parent and child processes.
56312 Skip closing parent_fd.
56313 (monitor_child): New function.
56314 (do_exit): Likewise.
56315 (notify_parent): Likewise.
56316 * nscd/nscd.h (notify_parent): Likewise.
56317 (do_exit): Likewise.
56318
56319 2014-03-03 Carlos O'Donell <carlos@redhat.com>
56320
56321 * malloc/malloc.c (__libc_calloc): Revert last change.
56322
56323 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56324
56325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56326
56327 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56328
56329 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56331 implementation.
56332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56333 (__libc_ifunc_impl_list): Likewise.
56334 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56335 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56336 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56337 * string/strrchr.c: Define STRRCHR.
56338
56339 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
56340
56341 * benchtest/bench-strtok.c (simple_strtok): Delete.
56342 (strtok_string): Use as benchmark.
56343 * string/strtok (STRTOK): New macro.
56344
56345 2014-02-28 Carlos O'Donell <carlos@redhat.com>
56346
56347 * manual/threads.texi: Add header and standard comments to all
56348 functions.
56349
56350 * elf/dl-lookup.c (check_match): New function.
56351 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56352 (do_lookup_x): Remove nested function check_match. Use non-nested
56353 function check_match.
56354
56355 2014-02-28 Roland McGrath <roland@hack.frob.com>
56356
56357 * csu/Makefile (generated, before-compile): Use += rather than =.
56358 * catgets/Makefile (generated, generated-dirs): Likewise.
56359 * debug/Makefile (generated): Likewise.
56360 * dlfcn/Makefile (generated): Likewise.
56361 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56362 * iconvdata/Makefile (before-compile, generated): Likewise.
56363 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56364 * libio/Makefile (generated): Likewise.
56365 * malloc/Makefile (generated): Likewise.
56366 * manual/Makefile (generated, generated-dirs): Likewise.
56367 * misc/Makefile (generated): Likewise.
56368 * posix/Makefile (generated): Likewise.
56369 * resolv/Makefile (generated): Likewise.
56370 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56371 * timezone/Makefile (generated, generated-dirs): Likewise.
56372
56373 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56374
56375 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56376
56377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56378 power8 implementation.
56379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56380 file: POWER8 llround ifunc implementation.
56381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56382 (__lllround): Add POWER8 implementation.
56383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56384 POWER8 llround implementation.
56385
56386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56387 power8 implementation.
56388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56389 file: POWER8 llrint ifunc implementation.
56390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56391 Add POWER8 implementation.
56392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56393 POWER8 llrint implementation.
56394
56395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56396 power8 implementation.
56397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56398 file: POWER8 finite ifunc implementation.
56399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56400 Add POWER8 implementation.
56401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56402 Likewise.
56403 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56404 POWER8 finite implementation.
56405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56406
56407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56408 power8 implementation.
56409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56410 file: POWER8 isinf ifunc implementation.
56411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56412 POWER8 implementation.
56413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56414 Likewise.
56415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56416 isinf implementation.
56417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56418
56419 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56420 (INIT_ARCH): Add hwcap2 initialization.
56421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56422 power8 implementation.
56423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56424 file: POWER8 isnan ifunc implementation.
56425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56426 POWER8 implementation.
56427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56428 Likewise.
56429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56430 isnan implementation.
56431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56432
56433 2014-02-27 Joey Ye <joey.ye@arm.com>
56434
56435 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56436 (_FP_NANFRAC_Q): Set to zero.
56437
56438 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56439
56440 [BZ #16623]
56441 * math/auto-libm-test-in: New test inputs.
56442 * math/auto-libm-test-out: Regenerate.
56443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56444 and DA.
56445 (__cos): Likewise.
56446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56447
56448 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56449
56450 * scripts/evaluate-test.sh: Take new argument indicating whether
56451 failure is expected.
56452 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56453 indicating whether failure is expected.
56454 * conform/Makefile (test-xfail-run-conformtest): New variable.
56455 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56456 level.
56457 * posix/Makefile (test-xfail-annexc): New variable.
56458 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56459
56460 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56461
56462 * argp/Makefile: Include Makeconfig immediately after defining
56463 subdir.
56464 * assert/Makefile: Likewise.
56465 * benchtests/Makefile: Likewise.
56466 * catgets/Makefile: Likewise.
56467 * conform/Makefile: Likewise.
56468 * crypt/Makefile: Likewise.
56469 * csu/Makefile: Likewise.
56470 (all): Remove target.
56471 * ctype/Makefile: Include Makeconfig immediately after defining
56472 subdir.
56473 * debug/Makefile: Likewise.
56474 * dirent/Makefile: Likewise.
56475 * dlfcn/Makefile: Likewise.
56476 * gmon/Makefile: Likewise.
56477 * gnulib/Makefile: Likewise.
56478 * grp/Makefile: Likewise.
56479 * gshadow/Makefile: Likewise.
56480 * hesiod/Makefile: Likewise.
56481 * hurd/Makefile: Likewise.
56482 (all): Remove target.
56483 * iconvdata/Makefile: Include Makeconfig immediately after
56484 defining subdir.
56485 * inet/Makefile: Likewise.
56486 * intl/Makefile: Likewise.
56487 * io/Makefile: Likewise.
56488 * libio/Makefile: Likewise.
56489 (all): Remove target.
56490 * locale/Makefile: Include Makeconfig immediately after defining
56491 subdir.
56492 * login/Makefile: Likewise.
56493 * mach/Makefile: Likewise.
56494 (all): Remove target.
56495 * malloc/Makefile: Include Makeconfig immediately after defining
56496 subdir.
56497 (all): Remove target.
56498 * manual/Makefile: Include Makeconfig immediately after defining
56499 subdir.
56500 * math/Makefile: Likewise.
56501 * misc/Makefile: Likewise.
56502 * nis/Makefile: Likewise.
56503 * nss/Makefile: Likewise.
56504 * po/Makefile: Likewise.
56505 (all): Remove target.
56506 * posix/Makefile: Include Makeconfig immediately after defining
56507 subdir.
56508 * pwd/Makefile: Likewise.
56509 * resolv/Makefile: Likewise.
56510 * resource/Makefile: Likewise.
56511 * rt/Makefile: Likewise.
56512 * setjmp/Makefile: Likewise.
56513 * shadow/Makefile: Likewise.
56514 * signal/Makefile: Likewise.
56515 * socket/Makefile: Likewise.
56516 * soft-fp/Makefile: Likewise.
56517 * stdio-common/Makefile: Likewise.
56518 * stdlib/Makefile: Likewise.
56519 * streams/Makefile: Likewise.
56520 * string/Makefile: Likewise.
56521 * sunrpc/Makefile: Likewise.
56522 (all): Remove target.
56523 * sysvipc/Makefile: Include Makeconfig immediately after defining
56524 subdir.
56525 * termios/Makefile: Likewise.
56526 * time/Makefile: Likewise.
56527 * timezone/Makefile: Likewise.
56528 (all): Remove target.
56529 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56530 subdir.
56531 * wctype/Makefile: Likewise.
56532
56533 2014-02-26 Steve Ellcey <sellcey@mips.com>
56534
56535 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56536 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56537 (libc_feholdexcept_setround_mips): Ditto.
56538 (libc_feholdsetround): New.
56539 (libc_feholdsetroundf): New.
56540 (libc_feholdsetroundl): New.
56541 (libc_feupdateenv_test_mips): New.
56542 (libc_feupdateenv_test): New.
56543 (libc_feupdateenv_testf): New.
56544 (libc_feupdateenv_testl): New.
56545 (libc_feresetround): New.
56546 (libc_feresetroundf): New.
56547 (libc_feresetroundl): New.
56548 (libc_fetestexcept_mips): New.
56549 (libc_fetestexcept): New.
56550 (libc_fetestexceptf): New.
56551 (libc_fetestexceptl): New.
56552 (HAVE_RM_CTX): New.
56553 (libc_feholdexcept_setround_mips_ctx): New.
56554 (libc_feholdexcept_setround_ctx): New.
56555 (libc_feholdexcept_setroundf_ctx): New.
56556 (libc_feholdexcept_setroundl_ctx): New.
56557 (libc_fesetenv_mips_ctx): New.
56558 (libc_fesetenv_ctx): New.
56559 (libc_fesetenv_ctxf): New.
56560 (libc_fesetenv_ctxl): New.
56561 (libc_feupdateenv_mips_ctx): New.
56562 (libc_feupdateenv_ctx): New.
56563 (libc_feupdateenvf_ctx): New.
56564 (libc_feupdateenvl_ctx): New.
56565 (libc_feholdsetround_mips_ctx): New.
56566 (libc_feholdsetround_ctx): New.
56567 (libc_feholdsetroundf_ctx): New.
56568 (libc_feholdsetroundl_ctx): New.
56569 (libc_feresetround_mips_ctx): New.
56570 (libc_feresetround_ctx): New.
56571 (libc_feresetroundf_ctx): New.
56572 (libc_feresetroundl_ctx): New.
56573
56574 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56575
56576 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56577
56578 * manual/ipc.texi: New file.
56579 * manual/Makefile (chapters): Add ipc.
56580 * manual/job.texi: Add "Inter-Process Communication" to next.
56581 * manual/process.texi: Add "Inter-Process Communication" to prev.
56582
56583 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56584
56585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56586
56587 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
56588
56589 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56590
56591 * manual/arith.texi: Fix spaces after sentences.
56592 * manual/charset.texi: Likewise.
56593 * manual/errno.texi: Likewise.
56594 * manual/install.texi: Likewise.
56595 * manual/llio.texi: Likewise.
56596 * manual/locale.texi: Likewise.
56597 * manual/maint.texi: Likewise.
56598 * manual/math.texi: Likewise.
56599 * manual/memory.texi: Likewise.
56600 * manual/message.texi: Likewise.
56601 * manual/probes.texi: Likewise.
56602 * manual/resource.texi: Likewise.
56603 * manual/signal.texi: Likewise.
56604 * manual/socket.texi: Likewise.
56605 * manual/stdio.texi: Likewise.
56606 * manual/string.texi: Likewise.
56607 * manual/time.texi: Likewise.
56608 * manual/users.texi: Likewise.
56609
56610 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56611
56612 [BZ #16632]
56613 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56614 _DEFAULT_SOURCE is defined.
56615
56616 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56617 Carlos O'Donell <carlos@redhat.com>
56618
56619 [BZ #16613]
56620 * elf/dl-tls.c (_dl_count_modids): New function.
56621 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56622 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56623 audit library and increment generation counter.
56624 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56625 * elf/tst-audit9.c: New file.
56626 * elf/tst-auditmod9a.c: New file.
56627 * elf/tst-auditmod9b.c: New file.
56628 * elf/Makefile: Add rules to build and run tst-audit9.
56629
56630 2014-02-25 Florian Weimer <fweimer@redhat.com>
56631
56632 [BZ #15347]
56633 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56634
56635 2014-02-25 Will Newton <will.newton@linaro.org>
56636
56637 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56638 (__longjmp): Restore sp and lr before restoring callee
56639 saved registers. Add longjmp and longjmp_target
56640 SystemTap probe point.
56641 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56642 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56643 Define to zero to match jmpbuf layout.
56644 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56645 (__sigsetjmp): Save sp and lr before saving callee
56646 saved registers. Add setjmp SystemTap probe point.
56647
56648 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56649
56650 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56651
56652 2014-02-24 Andreas Schwab <schwab@suse.de>
56653
56654 [BZ #15804]
56655 * elf/pldd.c (wait_for_ptrace_stop): New function.
56656 (main): Call it after attaching.
56657
56658 2014-02-22 Roland McGrath <roland@hack.frob.com>
56659
56660 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56661 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56662 Versions files is now verboten.
56663 * hurd/Versions (libc: GLIBC_2.0):
56664 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56665 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56666 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56667 * mach/Versions: Likewise.
56668
56669 * csu/Versions: Remove unused %include.
56670 * resolv/Versions: Likewise.
56671
56672 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56673
56674 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56675 ($(objpfx)check-local-headers.out): Likewise.
56676 ($(objpfx)begin-end-check.out): Likewise.
56677 * Makerules (check-abi-%.out): Likewise.
56678 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56679 ($(objpfx)test2.cat): Likewise.
56680 ($(objpfx)de/libc.cat): Likewise.
56681 ($(objpfx)test-gencat.out): Likewise.
56682 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56683 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56684 ($(objpfx)noload-mem): Likewise.
56685 ($(objpfx)tst-pathopt.out): Likewise.
56686 ($(objpfx)tst-rtld-load-self.out): Likewise.
56687 ($(objpfx)tst-array1-cmp.out): Likewise.
56688 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56689 ($(objpfx)tst-array2-cmp.out): Likewise.
56690 ($(objpfx)tst-array3-cmp.out): Likewise.
56691 ($(objpfx)tst-array4-cmp.out): Likewise.
56692 ($(objpfx)tst-array5-cmp.out): Likewise.
56693 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56694 ($(objpfx)check-textrel.out): Likewise.
56695 ($(objpfx)check-execstack.out): Likewise.
56696 ($(objpfx)check-localplt.out): Likewise.
56697 ($(objpfx)order2-cmp.out): Likewise.
56698 ($(objpfx)tst-leaks1-mem): Likewise.
56699 ($(objpfx)tst-leaks1-static-mem): Likewise.
56700 ($(objpfx)tst-initorder-cmp.out): Likewise.
56701 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56702 ($(objpfx)tst-unused-dep.out): Likewise.
56703 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56705 * iconv/Makefile (test-iconvconfig): Likewise.
56706 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56707 ($(objpfx)iconv-test.out): Likewise.
56708 ($(objpfx)tst-tables.out): Likewise.
56709 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56710 ($(objpfx)tst-gettext.out): Likewise.
56711 ($(objpfx)tst-translit.out): Likewise.
56712 ($(objpfx)tst-gettext2.out): Likewise.
56713 ($(objpfx)tst-gettext4.out): Likewise.
56714 ($(objpfx)tst-gettext6.out): Likewise.
56715 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56716 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56717 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56718 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56720 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56721 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56722 ($(objpfx)wordexp-tst.out): Likewise.
56723 ($(objpfx)annexc.out): Likewise.
56724 ($(objpfx)tst-fnmatch-mem): Likewise.
56725 ($(objpfx)bug-regex2-mem): Likewise.
56726 ($(objpfx)bug-regex14-mem): Likewise.
56727 ($(objpfx)bug-regex21-mem): Likewise.
56728 ($(objpfx)bug-regex31-mem): Likewise.
56729 ($(objpfx)tst-vfork3-mem): Likewise.
56730 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56731 ($(objpfx)tst-pcre-mem): Likewise.
56732 ($(objpfx)tst-boost-mem): Likewise.
56733 ($(objpfx)tst-getconf.out): Likewise.
56734 ($(objpfx)bug-ga2-mem): Likewise.
56735 ($(objpfx)bug-glob2-mem): Likewise.
56736 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56737 ($(objpfx)mtrace-tst-leaks2): Likewise.
56738 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56739 ($(objpfx)tst-printf.out): Likewise.
56740 ($(objpfx)tst-setvbuf1.out): Likewise.
56741 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56742 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56743 ($(objpfx)tst-fmtmsg.out): Likewise.
56744 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56745 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56746
56747 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56748 * bits/sigaction.h [__USE_MISC]: Likewise.
56749 * bits/waitstatus.h: Update #endif comments.
56750 * ctype/ctype.h: Likewise.
56751 * dirent/dirent.h: Likewise.
56752 [__USE_MISC]: Remove redundant conditionals.
56753 * grp/grp.h: Update #endif comments.
56754 [__USE_GNU]: Remove redundant conditionals.
56755 [__USE_MISC]: Likewise.
56756 * inet/netinet/in.h [__USE_GNU]: Likewise.
56757 * io/sys/stat.h [__USE_MISC]: Likewise.
56758 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56759 * libio/bits/stdio.h: Update #endif comments.
56760 [__USE_MISC]: Remove redundant conditionals.
56761 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56762 * libio/stdio.h: Update #endif comments.
56763 [__USE_MISC]: Remove redundant conditionals.
56764 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56765 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56766 * math/math.h: Update #else and #endif comments.
56767 [__USE_MISC]: Remove redundant conditionals.
56768 * misc/sys/uio.h: Update #endif comments.
56769 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56770 * posix/glob.h [__USE_MISC]: Likewise.
56771 * posix/sys/types.h: Update #endif comments.
56772 [__USE_MISC]: Remove redundant conditionals.
56773 * posix/sys/wait.h: Update #endif comments.
56774 [__USE_MISC]: Remove redundant conditionals.
56775 * posix/unistd.h: Update #endif comments.
56776 [__USE_MISC]: Remove redundant conditionals.
56777 * pwd/pwd.h [__USE_GNU]: Likewise.
56778 [__USE_MISC]: Likewise.
56779 * resolv/netdb.h [__USE_GNU]: Likewise.
56780 * signal/signal.h: Update #endif comments.
56781 [__USE_MISC]: Remove redundant conditionals.
56782 * stdlib/stdlib.h: Update #else and #endif comments.
56783 [__USE_MISC]: Remove redundant conditionals.
56784 [__USE_GNU]: Likewise.
56785 * string/bits/string2.h [__USE_MISC]: Likewise.
56786 * string/string.h: Update #endif comments.
56787 [__USE_MISC]: Remove redundant conditionals.
56788 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56789 Likewise.
56790 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56791 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56792 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56793 Likewise.
56794 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56795 Likewise.
56796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56797 comments.
56798 [__USE_MISC]: Remove redundant conditionals.
56799 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56800 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56801 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56802 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56803 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56804 Likewise.
56805 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56806 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56807 Likewise.
56808 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56809 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56810 Likewise.
56811 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56812 Likewise.
56813 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56814 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56815 Likewise.
56816 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56817 Likewise.
56818 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56819 * sysdeps/x86/bits/string.h: Update #endif comments.
56820 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56821 conditionals.
56822 * time/sys/time.h: Update #endif comments.
56823 * time/time.h: Likewise.
56824 [__USE_MISC]: Remove redundant conditionals.
56825
56826 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56827
56828 [BZ #16600]
56829 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56830
56831 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56832
56833 * Versions.def (librt): Add GLIBC_2.17.
56834
56835 2014-02-21 Adam Conrad <adconrad@0c3.net>
56836
56837 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56838 synonym for _SYS_AUXV_H to allow direct inclusion.
56839 * sysdeps/sparc/bits/hwcap.h: Likewise.
56840 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56841 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56842 * sysdeps/sparc/sysdep.h: Likewise.
56843
56844 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56845
56846 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56847
56848 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56849
56850 * benchtests/bench-strrchr.c: Print length instead of position.
56851
56852 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56853
56854 [BZ #16611]
56855 * sysdeps/unix/sysv/linux/kernel-features.h
56856 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56857 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56858 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56859 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56860 Likewise.
56861 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56862 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56863 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56864 (__ASSUME_SENDMMSG): Define instead of using previous
56865 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56867 (__ASSUME_SENDMMSG_SYSCALL): Define.
56868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56869 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56870 Likewise.
56871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56872 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56873 Likewise.
56874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56875 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56876 Likewise.
56877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56878 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56879 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56880 [__ASSUME_SENDMMSG]: Change conditionals to
56881 [__ASSUME_SENDMMSG_SOCKETCALL].
56882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56883 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56884 Define.
56885 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56886 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56887 Likewise.
56888 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56889 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56891 [!__ASSUME_SENDMMSG]: Change conditional to
56892 [!__ASSUME_SENDMMSG_SOCKETCALL].
56893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56894 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56895 Define.
56896
56897 [BZ #16610]
56898 * sysdeps/unix/sysv/linux/kernel-features.h
56899 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56900 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56901 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56902 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56903 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56904 [__i386__ || __sparc__]
56905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56906 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56907 (__ASSUME_RECVMMSG): Define instead of using previous
56908 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56909 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56910 (__ASSUME_RECVMMSG_SYSCALL): Define.
56911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56913 Likewise.
56914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56916 Likewise.
56917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56919 Likewise.
56920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56921 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56922 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56923 [__ASSUME_RECVMMSG]: Change condition to
56924 [__ASSUME_RECVMMSG_SOCKETCALL].
56925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56927 Define.
56928 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56929 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56931 Likewise.
56932 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56933 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56934 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56935 [!__ASSUME_RECVMMSG]: Change condition to
56936 [!__ASSUME_RECVMMSG_SOCKETCALL].
56937 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56938 (__ASSUME_RECVMMSG_SYSCALL): Define.
56939
56940 [BZ #16609]
56941 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56942 __powerpc__ || __s390__ || __sh__ || __sparc__]
56943 (__ASSUME_SOCKETCALL): Define.
56944 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56945 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56946 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56947 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56948 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56949 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56950 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56951 (__ASSUME_ACCEPT4): Define instead of using previous
56952 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56953 __powerpc__ || __sparc__ || __s390__)] condition.
56954 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56955 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56956 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56957 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56958 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56959 [!__ASSUME_ACCEPT4]: Change condition to
56960 [!__ASSUME_ACCEPT4_SOCKETCALL].
56961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56962 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56963 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56965 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56966 __ASSUME_ACCEPT4_SYSCALL.
56967 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56968 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56970 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56971 __ASSUME_ACCEPT4_SYSCALL.
56972 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56973 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56974 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56975 [__ASSUME_ACCEPT4]: Change condition to
56976 [__ASSUME_ACCEPT4_SOCKETCALL].
56977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56978 (__ASSUME_SOCKETCALL): Define.
56979 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56981 (__ASSUME_SOCKETCALL): Define.
56982 (__ASSUME_ACCEPT4): Remove.
56983 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56984 Define.
56985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56986 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56987 Likewise.
56988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56989 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56990
56991 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56992 macro.
56993 (HWCAP_ARM_LPAE): Likewise.
56994 (HWCAP_ARM_EVTSTRM): Likewise.
56995 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56996 Add vpfd32, lpae and evtstrm.
56997 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56998 Increase to 22.
56999
57000 2014-02-19 Joseph Myers <joseph@codesourcery.com>
57001
57002 * math/auto-libm-test-in: Add tests of clog10.
57003 * math/auto-libm-test-out: Regenerated.
57004 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
57005 * sysdeps/i386/fpu/libm-test-ulps: Update.
57006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57007
57008 2014-02-18 Andreas Schwab <schwab@suse.de>
57009
57010 [BZ #16574]
57011 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
57012 Store non-zero if the second buffer was newly allocated.
57013 (send_dg): Likewise.
57014 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
57015 to send_vc and send_dg.
57016 (res_nsend): Pass NULL for ansp2_malloced.
57017 * resolv/res_query.c (__libc_res_nquery): Add parameter
57018 answerp2_malloced and pass it down to __libc_res_nsend.
57019 (res_nquery): Pass additional NULL to __libc_res_nquery.
57020 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
57021 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
57022 second answer buffer if answerp2_malloced was set.
57023 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
57024 (__libc_res_nquerydomain): Add parameter
57025 answerp2_malloced and pass it down to __libc_res_nquery.
57026 (res_nquerydomain): Pass additional NULL to
57027 __libc_res_nquerydomain.
57028 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
57029 additional NULL to __libc_res_nsend and __libc_res_nquery.
57030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
57031 additional NULL to __libc_res_nsearch.
57032 (_nss_dns_gethostbyname4_r): Revert last change. Use new
57033 parameter of __libc_res_nsearch to check for separately allocated
57034 second buffer.
57035 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
57036 __libc_res_nquery.
57037 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
57038 additional NULL to __libc_res_nquery.
57039 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
57040 __libc_res_nsearch.
57041 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
57042 * include/resolv.h: Update prototypes of __libc_res_nquery,
57043 __libc_res_nsearch, __libc_res_nsend.
57044
57045 2014-02-18 Joseph Myers <joseph@codesourcery.com>
57046
57047 * math/auto-libm-test-in: Add tests of fma.
57048 * math/auto-libm-test-out: Regenerated.
57049 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
57050 (fma_towardzero_test_data): Likewise.
57051 (fma_downward_test_data): Likewise.
57052 (fma_upward_test_data): Likewise.
57053 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
57054 mpc_mode.
57055 (rounding_modes): Add values for new field.
57056 (func_calc_method): Add value mpfr_fff_f.
57057 (func_calc_desc): Add mpfr_fff_f union field.
57058 (test_function): Add field exact_args.
57059 (FUNC): Add macro argument EXACT_ARGS.
57060 (FUNC_mpfr_f_f): Update call to FUNC.
57061 (FUNC_mpfr_f_f): Likewise.
57062 (FUNC_mpfr_ff_f): Likewise.
57063 (FUNC_mpfr_if_f): Likewise.
57064 (FUNC_mpc_c_f): Likewise.
57065 (FUNC_mpc_c_c): Likewise.
57066 (test_functions): Add fma. Update calls to FUNC.
57067 (handle_input_arg): Add argument exact_args.
57068 (add_test): Update call to handle_input_arg.
57069 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
57070 (output_for_one_input_case): Update call to calc_generic_results.
57071 Recalculate exact zero results in each rounding mode.
57072
57073 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
57074 non-negative before setting low bit.
57075 * math/auto-libm-test-in: Mark one asin test possibly having
57076 spurious underflow.
57077 * math/auto-libm-test-out: Regenerated.
57078 * sysdeps/i386/fpu/libm-test-ulps: Update.
57079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57080
57081 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
57082
57083 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
57084 * sysdeps/unix/sysv/linux/microblaze: Move directory from
57085 ports/sysdeps/unix/sysv/linux/microblaze.
57086 * README: Add missing listing for microblaze*-*-linux-gnu.
57087
57088 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
57089
57090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
57091 duplicate code
57092
57093 2014-02-16 Mike Frysinger <vapier@gentoo.org>
57094
57095 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
57096 * sysdeps/unix/sysv/linux/ia64: Move directory from
57097 ports/sysdeps/unix/sysv/linux/ia64.
57098 * README: Update listing for ia64-*-linux-gnu.
57099
57100 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
57101 Joseph Myers <joseph@codesourcery.com>
57102
57103 * Makeconfig (test-name): New variable.
57104 (evaluate-test): Likewise.
57105 * Makerules (do-test-clean): Remove .test-result files.
57106 (common-mostlyclean): Likewise.
57107 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
57108 * scripts/evaluate-test.sh: New file.
57109
57110 2014-02-14 Joseph Myers <joseph@codesourcery.com>
57111
57112 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
57113 separate $(objpfx)tst-fopenloc-cmp.out and
57114 $(objpfx)tst-fopenloc-mem.out targets.
57115 (tests): Update dependencies.
57116 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
57117 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
57118 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
57119 (tst-rxspencer-no-utf8-ARGS): New variable.
57120 (tst-rxspencer-no-utf8-ENV): Likewise.
57121 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
57122 instead of $(objpfx)tst-rxspencer-mem.
57123 ($(objpfx)tst-rxspencer-mem): Change target to
57124 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
57125 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
57126 * posix/tst-rxspencer-no-utf8.c: New file.
57127
57128 * elf/Makefile ($(objpfx)order.out): Remove rule.
57129 [$(run-built-tests) = yes] (tests): Depend on
57130 $(objpfx)order-cmp.out.
57131 ($(objpfx)order-cmp.out): New rule.
57132 [$(run-built-tests) = yes] (tests): Depend on
57133 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
57134 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
57135 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
57136 $(objpfx)tst-array5-static-cmp.out.
57137 ($(objpfx)tst-array1.out): Remove rule.
57138 ($(objpfx)tst-array1-cmp.out): New rule.
57139 ($(objpfx)tst-array1-static.out): Remove rule.
57140 ($(objpfx)tst-array1-static-cmp.out): New rule.
57141 ($(objpfx)tst-array2.out): Remove rule.
57142 ($(objpfx)tst-array2-cmp.out): New rule.
57143 ($(objpfx)tst-array3.out): Remove rule.
57144 ($(objpfx)tst-array3-cmp.out): New rule.
57145 ($(objpfx)tst-array4.out): Remove rule.
57146 ($(objpfx)tst-array4-cmp.out): New rule.
57147 ($(objpfx)tst-array5.out): Remove rule.
57148 ($(objpfx)tst-array5-cmp.out): New rule.
57149 ($(objpfx)tst-array5-static.out): Remove rule.
57150 ($(objpfx)tst-array5-static-cmp.out): New rule.
57151 [$(run-built-tests) = yes] (tests): Depend on
57152 $(objpfx)order2-cmp.out.
57153 ($(objpfx)order2.out): Remove rule.
57154 ($(objpfx)order2-cmp.out): New rule.
57155 ($(objpfx)tst-initorder.out): Remove rule.
57156 [$(run-built-tests) = yes] (tests): Depend on
57157 $(objpfx)tst-initorder-cmp.out.
57158 ($(objpfx)tst-initorder-cmp.out): New rule.
57159 ($(objpfx)tst-initorder2.out): Remove rule.
57160 [$(run-built-tests) = yes] (tests): Depend on
57161 $(objpfx)tst-initorder2-cmp.out.
57162 ($(objpfx)tst-initorder2-cmp.out): New rule.
57163 [$(run-built-tests) = yes] (tests): Depend on
57164 $(objpfx)tst-unused-dep-cmp.out.
57165 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57166 ($(objpfx)tst-unused-dep-cmp.out): New rule.
57167 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57168 on $(objpfx)tst-setvbuf1-cmp.out.
57169 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57170 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57171 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57172 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57173 ($(objpfx)tst-svc.out): Remove rule.
57174 ($(objpfx)tst-svc-cmp.out): New rule.
57175
57176 2014-02-13 Joseph Myers <joseph@codesourcery.com>
57177
57178 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57179 * ctype/ctype.h [__USE_MISC]: Likewise.
57180 * dirent/dirent.h [__USE_MISC]: Likewise.
57181 * grp/grp.h [__USE_MISC]: Likewise.
57182 * io/fcntl.h [__USE_MISC]: Likewise.
57183 * io/sys/stat.h [__USE_MISC]: Likewise.
57184 * libio/stdio.h [__USE_MISC]: Likewise.
57185 * posix/unistd.h [__USE_MISC]: Likewise.
57186 * pwd/pwd.h [__USE_MISC]: Likewise.
57187 * stdlib.h [__USE_MISC]: Likewise.
57188 * string/bits/string2.h [__USE_MISC]: Likewise.
57189 * string/string.h [__USE_MISC]: Likewise.
57190 * time/time.h [__USE_MISC]: Likewise.
57191
57192 2014-02-13 Andreas Schwab <schwab@suse.de>
57193
57194 [BZ #16574]
57195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57196 second answer buffer if it was separately allocated.
57197
57198 2014-02-12 Joseph Myers <joseph@codesourcery.com>
57199
57200 * sysdeps/mips/math-tests.h: Include <features.h>.
57201 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57202 (ROUNDING_TESTS_long_double): Do not define.
57203 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57204 (EXCEPTION_TESTS_long_double): Likewise.
57205 * sysdeps/mips/mips64/libm-test-ulps: Update.
57206
57207 * include/features.h (__USE_BSD): Remove macro definitions.
57208 (__USE_SVID): Likewise.
57209 (_BSD_SOURCE): Likewise.
57210 (_SVID_SOURCE): Likewise.
57211 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57212 from definition of _DEFAULT_SOURCE.
57213 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57214 [_DEFAULT_SOURCE].
57215 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57216 * bits/mman.h [__USE_BSD]: Likewise.
57217 * bits/termios.h [__USE_BSD]: Likewise.
57218 * bits/waitstatus.h [__USE_BSD]: Likewise.
57219 * ctype/ctype.h [__USE_SVID]: Likewise.
57220 * dirent/dirent.h [__USE_BSD]: Likewise.
57221 * grp/grp.h [__USE_SVID]: Likewise.
57222 [__USE_BSD]: Likewise.
57223 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57224 * io/fcntl.h [__USE_BSD]: Likewise.
57225 * io/ftw.h [__USE_BSD]: Likewise.
57226 * io/sys/stat.h [__USE_BSD]: Likewise.
57227 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57228 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57229 * libio/stdio.h [__USE_SVID]: Likewise.
57230 [__USE_BSD]: Likewise.
57231 * math/math.h [__USE_SVID]: Likewise.
57232 [__USE_BSD]: Likewise.
57233 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57234 * misc/bits/syslog.h [__USE_BSD]: Likewise.
57235 * misc/search.h [__USE_SVID]: Likewise.
57236 * misc/sys/mman.h [__USE_BSD]: Likewise.
57237 * misc/sys/syslog.h [__USE_BSD]: Likewise.
57238 * misc/sys/uio.h [__USE_BSD]: Likewise.
57239 * posix/bits/unistd.h [__USE_BSD]: Likewise.
57240 * posix/glob.h [__USE_BSD]: Likewise.
57241 * posix/regex.h [__USE_BSD]: Likewise.
57242 * posix/sys/types.h [__USE_BSD]: Likewise.
57243 [__USE_SVID]: Likewise.
57244 * posix/sys/utsname.h [__USE_SVID]: Likewise.
57245 * posix/sys/wait.h [__USE_BSD]: Likewise.
57246 [__USE_SVID]: Likewise.
57247 * posix/unistd.h [__USE_BSD]: Likewise.
57248 [__USE_SVID]: Likewise.
57249 * pwd/pwd.h [__USE_SVID]: Likewise.
57250 * resolv/netdb.h [__USE_BSD]: Likewise.
57251 * setjmp/setjmp.h [__USE_BSD]: Likewise.
57252 * signal/signal.h [__USE_BSD]: Likewise.
57253 [__USE_SVID]: Likewise.
57254 * socket/sys/socket.h [__USE_BSD]: Likewise.
57255 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57256 * stdlib/stdlib.h [__USE_BSD]: Likewise.
57257 [__USE_SVID]: Likewise.
57258 * string/bits/string2.h [__USE_BSD]: Likewise.
57259 [__USE_SVID]: Likewise.
57260 * string/bits/string3.h [__USE_BSD]: Likewise.
57261 * string/endian.h [__USE_BSD]: Likewise.
57262 * string/string.h [__USE_SVID]: Likewise.
57263 [__USE_BSD]: Likewise.
57264 * string/strings.h [__USE_BSD]: Likewise.
57265 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57266 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57267 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57268 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57269 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57270 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57271 Likewise.
57272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57273 Likewise.
57274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57275 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57276 Likewise.
57277 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57278 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57279 Likewise.
57280 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57281 Likewise.
57282 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57283 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57285 Likewise.
57286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57287 Likewise.
57288 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57289 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57290 * termios/termios.h [__USE_BSD]: Likewise.
57291 * time/sys/time.h [__USE_BSD]: Likewise.
57292 * time/time.h [__USE_BSD]: Likewise.
57293 [__USE_SVID]: Likewise.
57294
57295 * Makefile (subdir_targets): Remove subdir_lint.out.
57296
57297 * stdio-common/Makefile (do-tst-unbputc): Remove target.
57298 (do-tst-printf): Likewise.
57299 (tests): Depend directly on $(objpfx)tst-unbputc.out and
57300 $(objpfx)tst-printf.out.
57301
57302 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57303
57304 * Makerules (check-abi-%): Change target to
57305 $(objpfx)check-abi-%.out.
57306 (check-abi target): Update dependencies.
57307 (check-abi-pattern variable): Redirect output of diff to $@.
57308 (check-abi variable): Likewise.
57309 * elf/Makefile (check-abi): Update dependencies.
57310
57311 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57312 unused.
57313 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57314 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57315 subnormal range.
57316 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57317 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57318 value has largest subnormal exponent.
57319 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57320 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57321 * sysdeps/aarch64/soft-fp/sfp-machine.h
57322 (_FP_TININESS_AFTER_ROUNDING): New macro.
57323 * sysdeps/alpha/soft-fp/sfp-machine.h
57324 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57325 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57326 Likewise.
57327 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57329 * sysdeps/mips/soft-fp/sfp-machine.h
57330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57331 * sysdeps/powerpc/soft-fp/sfp-machine.h
57332 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57333 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57334 Likewise.
57335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57338 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57339 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57340 Likewise.
57341
57342 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
57343
57344 [BZ #16545]
57345 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57346 model 1.
57347
57348 2014-02-12 Richard Henderson <rth@redhat.com>
57349
57350 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57351 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57352 * sysdeps/unix/sysv/linux/alpha: Move directory from
57353 ports/sysdeps/unix/sysv/linux/alpha.
57354 * README: Update listing for alpha-*-linux-gnu.
57355
57356 2014-02-11 Joseph Myers <joseph@codesourcery.com>
57357
57358 * include/features.h: Update comment documenting feature test
57359 macros.
57360 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57361 _DEFAULT_SOURCE.
57362 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57363 (_SVID_SOURCE): Likewise.
57364 (_DEFAULT_SOURCE): Update description of default features.
57365 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57366 with _GNU_SOURCE.
57367 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57368 (S_ISVTX): Likewise.
57369 * manual/math.texi (Mathematical Constants): Likewise.
57370 * manual/signal.texi (Interrupted Primitives): Likewise.
57371 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57372 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57373 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57374 Don't refer to _SVID_SOURCE in warning text.
57375
57376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57377
57378 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57379 already defined.
57380 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57381 * sysdeps/mips/dl-lookup.c: Remove.
57382 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57383
57384 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57385
57386 [BZ #16447]
57387 * math/auto-libm-test-in: Add testcase for expl.
57388 * math/auto-libm-test-out: Regenerate.
57389 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57390 calculation of unsafe.
57391 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57392
57393 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57394
57395 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57396 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57397 ports/sysdeps/unix/sysv/linux/aarch64.
57398 * README: Update listing for aarch64*-*-linux-gnu.
57399
57400 2014-02-11 Will Newton <will.newton@linaro.org>
57401
57402 * manual/probes.texi (Mathematical Function Probes): Use
57403 "triggered" instead of "hit".
57404
57405 * manual/probes.texi (Internal Probes): Add documentation
57406 of setjmp, longjmp and longjmp_target probes.
57407
57408 * include/stap-probe.h: Add comment about probe argument
57409 format.
57410
57411 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57412 definition. (tr_where, tr_freehook, tr_mallochook,
57413 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57414
57415 2014-02-11 David S. Miller <davem@davemloft.net>
57416
57417 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57418 processing int_tests.
57419
57420 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57421
57422 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57423 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57424 * sysdeps/unix/sysv/linux/mips: Move directory from
57425 ports/sysdeps/unix/sysv/linux/mips.
57426 * README: Update listing for mips-*-linux-gnu and
57427 mips64-*-linux-gnu.
57428
57429 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57430
57431 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57432 * sysdeps/unix/sysv/linux/m68k: Move directory from
57433 ports/sysdeps/unix/sysv/linux/m68k.
57434 * README: Update listing for m68k-*-linux-gnu.
57435
57436 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57437
57438 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57439 * sysdeps/unix/sysv/linux/generic: Move directory from
57440 ports/sysdeps/unix/sysv/linux/generic.
57441 * sysdeps/unix/sysv/linux/tile: Move directory from
57442 ports/sysdeps/unix/sysv/linux/tile.
57443 * README: Update listing for tile*-*-linux-gnu.
57444
57445 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
57446
57447 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57448 __builtin_expect.
57449 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57450 * catgets/open_catalog.c (__open_catalog): Likewise.
57451 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57452 * debug/confstr_chk.c: Likewise.
57453 * debug/fread_chk.c (__fread_chk): Likewise.
57454 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57455 * debug/getgroups_chk.c: Likewise.
57456 * debug/mbsnrtowcs_chk.c: Likewise.
57457 * debug/mbsrtowcs_chk.c: Likewise.
57458 * debug/mbstowcs_chk.c: Likewise.
57459 * debug/memcpy_chk.c: Likewise.
57460 * debug/memmove_chk.c: Likewise.
57461 * debug/mempcpy_chk.c: Likewise.
57462 * debug/memset_chk.c: Likewise.
57463 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57464 * debug/strcat_chk.c (__strcat_chk): Likewise.
57465 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57466 * debug/strncat_chk.c (__strncat_chk): Likewise.
57467 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57468 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57469 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57470 * debug/wcpncpy_chk.c: Likewise.
57471 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57472 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57473 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57474 * debug/wcsncpy_chk.c: Likewise.
57475 * debug/wcsnrtombs_chk.c: Likewise.
57476 * debug/wcsrtombs_chk.c: Likewise.
57477 * debug/wcstombs_chk.c: Likewise.
57478 * debug/wmemcpy_chk.c: Likewise.
57479 * debug/wmemmove_chk.c: Likewise.
57480 * debug/wmempcpy_chk.c: Likewise.
57481 * debug/wmemset_chk.c: Likewise.
57482 * dirent/scandirat.c (SCANDIRAT): Likewise.
57483 * dlfcn/dladdr1.c (dladdr1): Likewise.
57484 * dlfcn/dladdr.c (dladdr): Likewise.
57485 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57486 * dlfcn/dlerror.c (__dlerror): Likewise.
57487 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57488 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57489 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57490 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57491 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57492 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57493 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57494 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57495 Likewise.
57496 * elf/dl-conflict.c: Likewise.
57497 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57498 * elf/dl-dst.h: Likewise.
57499 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57500 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57502 * elf/dl-init.c (call_init, _dl_init): Likewise.
57503 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57504 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57505 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57506 Likewise.
57507 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57508 Likewise.
57509 * elf/dl-minimal.c (__libc_memalign): Likewise.
57510 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57511 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57512 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57513 * elf/dl-sym.c (do_sym): Likewise.
57514 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57515 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57516 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57517 * elf/dl-writev.h (_dl_writev): Likewise.
57518 * elf/ldconfig.c (search_dir): Likewise.
57519 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57520 (dl_main): Likewise.
57521 * elf/setup-vdso.h (setup_vdso): Likewise.
57522 * grp/compat-initgroups.c (compat_call): Likewise.
57523 * grp/fgetgrent.c (fgetgrent): Likewise.
57524 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57525 * grp/putgrent.c (putgrent): Likewise.
57526 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57527 Likewise.
57528 * hurd/hurdinit.c: Likewise.
57529 * iconvdata/8bit-gap.c (struct): Likewise.
57530 * iconvdata/ansi_x3.110.c : Likewise.
57531 * iconvdata/big5.c : Likewise.
57532 * iconvdata/big5hkscs.c : Likewise.
57533 * iconvdata/cp1255.c: Likewise.
57534 * iconvdata/cp1258.c : Likewise.
57535 * iconvdata/cp932.c : Likewise.
57536 * iconvdata/euc-cn.c: Likewise.
57537 * iconvdata/euc-jisx0213.c : Likewise.
57538 * iconvdata/euc-jp.c: Likewise.
57539 * iconvdata/euc-jp-ms.c : Likewise.
57540 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57541 * iconvdata/gb18030.c : Likewise.
57542 * iconvdata/gbbig5.c (const): Likewise.
57543 * iconvdata/gbgbk.c: Likewise.
57544 * iconvdata/gbk.c : Likewise.
57545 * iconvdata/ibm1364.c : Likewise.
57546 * iconvdata/ibm930.c : Likewise.
57547 * iconvdata/ibm932.c: Likewise.
57548 * iconvdata/ibm933.c : Likewise.
57549 * iconvdata/ibm935.c : Likewise.
57550 * iconvdata/ibm937.c : Likewise.
57551 * iconvdata/ibm939.c : Likewise.
57552 * iconvdata/ibm943.c: Likewise.
57553 * iconvdata/iso_11548-1.c: Likewise.
57554 * iconvdata/iso-2022-cn.c : Likewise.
57555 * iconvdata/iso-2022-cn-ext.c : Likewise.
57556 * iconvdata/iso-2022-jp-3.c: Likewise.
57557 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57558 * iconvdata/iso-2022-kr.c : Likewise.
57559 * iconvdata/iso646.c (gconv_end): Likewise.
57560 * iconvdata/iso_6937-2.c : Likewise.
57561 * iconvdata/iso_6937.c : Likewise.
57562 * iconvdata/iso8859-1.c: Likewise.
57563 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57564 * iconvdata/shift_jisx0213.c : Likewise.
57565 * iconvdata/sjis.c : Likewise.
57566 * iconvdata/t.61.c : Likewise.
57567 * iconvdata/tcvn5712-1.c : Likewise.
57568 * iconvdata/tscii.c: Likewise.
57569 * iconvdata/uhc.c : Likewise.
57570 * iconvdata/unicode.c (gconv_end): Likewise.
57571 * iconvdata/utf-16.c (gconv_end): Likewise.
57572 * iconvdata/utf-32.c (gconv_end): Likewise.
57573 * iconvdata/utf-7.c (base64): Likewise.
57574 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57575 * iconv/gconv_close.c (__gconv_close): Likewise.
57576 * iconv/gconv_open.c (__gconv_open): Likewise.
57577 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57578 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57579 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57580 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57581 (ucs4le_internal_loop_single): Likewise.
57582 * iconv/iconv.c (iconv): Likewise.
57583 * iconv/iconv_close.c: Likewise.
57584 * iconv/loop.c (SINGLE): Likewise.
57585 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57586 * include/atomic.h: Likewise.
57587 * inet/inet6_option.c (option_alloc): Likewise.
57588 * intl/bindtextdom.c (set_binding_values): Likewise.
57589 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57590 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57591 * intl/localealias.c (read_alias_file): Likewise.
57592 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57593 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57594 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57595 * libio/fmemopen.c (fmemopen): Likewise.
57596 * libio/iofgets.c (_IO_fgets): Likewise.
57597 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57598 * libio/iofgetws.c (fgetws): Likewise.
57599 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57600 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57601 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57602 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57603 * locale/findlocale.c (_nl_find_locale): Likewise.
57604 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57605 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57606 Likewise.
57607 * locale/setlocale.c (setlocale): Likewise.
57608 * login/programs/pt_chown.c (main): Likewise.
57609 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57610 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57611 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57612 (mmap, mmap64, mremap, munmap): Likewise.
57613 * math/e_exp2l.c: Likewise.
57614 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57615 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57616 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57617 * math/s_catan.c (__catan): Likewise.
57618 * math/s_catanf.c (__catanf): Likewise.
57619 * math/s_catanh.c (__catanh): Likewise.
57620 * math/s_catanhf.c (__catanhf): Likewise.
57621 * math/s_catanhl.c (__catanhl): Likewise.
57622 * math/s_catanl.c (__catanl): Likewise.
57623 * math/s_ccosh.c (__ccosh): Likewise.
57624 * math/s_ccoshf.c (__ccoshf): Likewise.
57625 * math/s_ccoshl.c (__ccoshl): Likewise.
57626 * math/s_cexp.c (__cexp): Likewise.
57627 * math/s_cexpf.c (__cexpf): Likewise.
57628 * math/s_cexpl.c (__cexpl): Likewise.
57629 * math/s_clog10.c (__clog10): Likewise.
57630 * math/s_clog10f.c (__clog10f): Likewise.
57631 * math/s_clog10l.c (__clog10l): Likewise.
57632 * math/s_clog.c (__clog): Likewise.
57633 * math/s_clogf.c (__clogf): Likewise.
57634 * math/s_clogl.c (__clogl): Likewise.
57635 * math/s_csin.c (__csin): Likewise.
57636 * math/s_csinf.c (__csinf): Likewise.
57637 * math/s_csinh.c (__csinh): Likewise.
57638 * math/s_csinhf.c (__csinhf): Likewise.
57639 * math/s_csinhl.c (__csinhl): Likewise.
57640 * math/s_csinl.c (__csinl): Likewise.
57641 * math/s_csqrt.c (__csqrt): Likewise.
57642 * math/s_csqrtf.c (__csqrtf): Likewise.
57643 * math/s_csqrtl.c (__csqrtl): Likewise.
57644 * math/s_ctan.c (__ctan): Likewise.
57645 * math/s_ctanf.c (__ctanf): Likewise.
57646 * math/s_ctanh.c (__ctanh): Likewise.
57647 * math/s_ctanhf.c (__ctanhf): Likewise.
57648 * math/s_ctanhl.c (__ctanhl): Likewise.
57649 * math/s_ctanl.c (__ctanl): Likewise.
57650 * math/w_pow.c: Likewise.
57651 * math/w_powf.c: Likewise.
57652 * math/w_powl.c: Likewise.
57653 * math/w_scalb.c (sysv_scalb): Likewise.
57654 * math/w_scalbf.c (sysv_scalbf): Likewise.
57655 * math/w_scalbl.c (sysv_scalbl): Likewise.
57656 * misc/error.c (error_tail): Likewise.
57657 * misc/pselect.c (__pselect): Likewise.
57658 * nis/nis_callback.c (__nis_create_callback): Likewise.
57659 * nis/nis_call.c (__nisfind_server): Likewise.
57660 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57661 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57663 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57664 * nis/nis_lookup.c (nis_lookup): Likewise.
57665 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57666 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57667 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57668 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57669 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57670 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57671 * nis/nss_compat/compat-initgroups.c (add_group)
57672 (internal_getgrent_r): Likewise.
57673 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57674 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57675 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57676 (internal_getspnam_r): Likewise.
57677 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57678 (_nss_nis_getaliasbyname_r): Likewise.
57679 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57680 (_nss_nis_getntohost_r): Likewise.
57681 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57682 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57683 (_nss_nis_getgrgid_r): Likewise.
57684 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57685 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57686 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57687 (_nss_nis_gethostbyname4_r): Likewise.
57688 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57689 (initgroups_netid): Likewise.
57690 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57691 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57692 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57693 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57694 (_nss_nis_getprotobynumber_r): Likewise.
57695 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57696 (_nss_nis_getsecretkey): Likewise.
57697 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57698 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57699 (_nss_nis_getpwuid_r): Likewise.
57700 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57701 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57702 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57703 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57704 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57705 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57706 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57707 Likewise.
57708 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57709 (_nss_nisplus_getntohost_r): Likewise.
57710 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57711 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57712 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57713 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57714 Likewise.
57715 * nis/nss_nisplus/nisplus-initgroups.c
57716 (_nss_nisplus_initgroups_dyn): Likewise.
57717 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57718 (_nss_nisplus_getnetbyaddr_r): Likewise.
57719 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57720 (_nss_nisplus_getprotobynumber_r): Likewise.
57721 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57722 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57723 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57724 Likewise.
57725 * nis/nss_nisplus/nisplus-service.c
57726 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57727 (_nss_nisplus_getservbyport_r): Likewise.
57728 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57729 (_nss_nisplus_getspnam_r): Likewise.
57730 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57731 Likewise.
57732 * nscd/aicache.c (addhstaiX): Likewise.
57733 * nscd/cache.c (cache_search, prune_cache): Likewise.
57734 * nscd/connections.c (register_traced_file, send_ro_fd)
57735 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57736 (main_loop_epoll): Likewise.
57737 * nscd/grpcache.c (addgrbyX): Likewise.
57738 * nscd/hstcache.c (addhstbyX): Likewise.
57739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57740 * nscd/mem.c (gc, mempool_alloc): Likewise.
57741 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57742 (addinnetgrX): Likewise.
57743 * nscd/nscd-client.h (__nscd_acquire_maplock)
57744 (__nscd_drop_map_ref): Likewise.
57745 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57746 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57748 Likewise.
57749 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57750 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57751 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57752 (__nscd_get_map_ref): Likewise.
57753 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57754 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57755 Likewise.
57756 * nscd/pwdcache.c (addpwbyX): Likewise.
57757 * nscd/selinux.c (preserve_capabilities): Likewise.
57758 * nscd/servicescache.c (addservbyX): Likewise.
57759 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57760 * posix/fnmatch.c (fnmatch): Likewise.
57761 * posix/getopt.c (_getopt_internal_r): Likewise.
57762 * posix/glob.c (glob, glob_in_dir): Likewise.
57763 * posix/wordexp.c (exec_comm_child): Likewise.
57764 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57765 (getanswer_r, gaih_getanswer_slice): Likewise.
57766 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57767 * resolv/res_init.c: Likewise.
57768 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57769 * resolv/res_query.c (__libc_res_nquery): Likewise.
57770 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57771 Likewise.
57772 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57773 * stdio-common/perror.c (perror): Likewise.
57774 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57775 * stdio-common/tmpnam.c (tmpnam): Likewise.
57776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57777 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57778 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57779 Likewise.
57780 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57781 * stdlib/putenv.c (putenv): Likewise.
57782 * stdlib/setenv.c (__add_to_environ): Likewise.
57783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57784 * stdlib/strtol_l.c (INTERNAL): Likewise.
57785 * string/memmem.c (memmem): Likewise.
57786 * string/strerror.c (strerror): Likewise.
57787 * string/strnlen.c (__strnlen): Likewise.
57788 * string/test-memmem.c (simple_memmem): Likewise.
57789 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57790 * sunrpc/pm_getport.c (__get_socket): Likewise.
57791 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57792 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57793 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57794 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57795 Likewise.
57796 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57798 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57799 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57801 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57802 Likewise.
57803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57804 Likewise.
57805 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57806 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57808 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57809 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57813 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57814 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57815 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57816 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57817 Likewise.
57818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57819 Likewise.
57820 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57821 Likewise.
57822 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57824 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57826 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57828 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57838 Likewise.
57839 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57840 Likewise.
57841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57842 Likewise.
57843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57844 Likewise.
57845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57847 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57848 Likewise.
57849 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57850 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57851 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57852 * sysdeps/posix/sleep.c: Likewise.
57853 * sysdeps/posix/tempname.c: Likewise.
57854 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57855 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57856 Likewise.
57857 * sysdeps/powerpc/powerpc32/dl-machine.h
57858 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57859 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57861 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57862 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57863 Likewise.
57864 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57865 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57866 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57867 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57868 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57869 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57870 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57871 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57873 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57875 (elf_machine_lazy_rel): Likewise.
57876 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57878 (elf_machine_lazy_rel): Likewise.
57879 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57880 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57881 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57882 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57883 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57884 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57887 Likewise.
57888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57889 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57890 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57891 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57892 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57893 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57894 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57895 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57897 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57898 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57899 Likewise.
57900 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57901 (__posix_fallocate64_l64): Likewise.
57902 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57903 (posix_fallocate): Likewise.
57904 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57905 Likewise.
57906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57907 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57908 (getifaddrs_internal): Likewise.
57909 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57910 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57911 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57913 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57914 (__posix_fallocate64_l64): Likewise.
57915 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57916 Likewise.
57917 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57918 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57919 (__get_clockfreq): Likewise.
57920 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57921 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57922 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57925 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57926 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57927 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57928 Likewise.
57929 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57930 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57931 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57933 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57934 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57936 Likewise.
57937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57938 (posix_fallocate): Likewise.
57939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57940 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57941 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57942 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57943 (elf_machine_rela, elf_machine_rela_relative)
57944 (elf_machine_lazy_rel): Likewise.
57945 * time/asctime.c (asctime_internal): Likewise.
57946 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57947 * time/tzset.c (__tzset_parse_tz): Likewise.
57948 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57949 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57950 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57951 * wcsmbs/wcsmbsload.h: Likewise.
57952
57953 [BZ #15894]
57954 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57955
57956 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57957 (arena_get2): Remove THREAD_STATS conditionals.
57958 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57959 (__malloc_stats, int): Likewise.
57960
57961 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57962
57963 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57964 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57965
57966 * manual/setjmp.texi: Fix typos/grammar errors.
57967
57968 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57969 Only return early when n is <= 0. Delete unused return statement.
57970
57971 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57972 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57973 * debug/tst-longjmp_chk3.c: New file.
57974
57975 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57976 (test_main): Replace code with set_fortify_handler call.
57977 * debug/test-strcpy_chk.c: Likewise.
57978 * debug/tst-chk1.c: Likewise.
57979 * debug/tst-longjmp_chk.c: Likewise.
57980 * test-skeleton.c: Include fcntl.h & paths.h
57981 (set_fortify_handler): Define.
57982
57983 * debug/tst-longjmp_chk.c: Add header comment and include
57984 ../test-skeleton.c.
57985 (do_test): Mark static.
57986 (TEST_FUNCTION): Define.
57987
57988 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57989 (IP_PMTUDISC_INTERFACE): Likewise.
57990 (IP_MULTICAST_IF): Likewise.
57991 (IP_MULTICAST_TTL): Likewise.
57992 (IP_MULTICAST_LOOP): Likewise.
57993 (IP_ADD_MEMBERSHIP): Likewise.
57994 (IP_DROP_MEMBERSHIP): Likewise.
57995 (IP_UNBLOCK_SOURCE): Likewise.
57996 (IP_BLOCK_SOURCE): Likewise.
57997 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57998 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57999 (IP_MSFILTER): Likewise.
58000 (MCAST_JOIN_GROUP): Likewise.
58001 (MCAST_BLOCK_SOURCE): Likewise.
58002 (MCAST_UNBLOCK_SOURCE): Likewise.
58003 (MCAST_LEAVE_GROUP): Likewise.
58004 (MCAST_JOIN_SOURCE_GROUP): Likewise.
58005 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
58006 (MCAST_MSFILTER): Likewise.
58007 (IP_MULTICAST_ALL): Likewise.
58008 (IP_UNICAST_IF): Likewise.
58009
58010 * timezone/Makefile: Delete $(have-ksh) check.
58011 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
58012 * timezone/tzselect.ksh: Add +x mode bits.
58013
58014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
58015 (ANON_INODE_FS_MAGIC): Likewise.
58016 (BDEVFS_MAGIC): Likewise.
58017 (BINFMTFS_MAGIC): Likewise.
58018 (BTRFS_TEST_MAGIC): Likewise.
58019 (CRAMFS_MAGIC_WEND): Likewise.
58020 (DEBUGFS_MAGIC): Likewise.
58021 (ECRYPTFS_SUPER_MAGIC): Likewise.
58022 (EXT3_SUPER_MAGIC): Likewise.
58023 (EXT4_SUPER_MAGIC): Likewise.
58024 (FUTEXFS_SUPER_MAGIC): Likewise.
58025 (HOSTFS_SUPER_MAGIC): Likewise.
58026 (HUGETLBFS_MAGIC): Likewise.
58027 (MINIX3_SUPER_MAGIC): Likewise.
58028 (MTD_INODE_FS_MAGIC): Likewise.
58029 (NILFS_SUPER_MAGIC): Likewise.
58030 (OPENPROM_SUPER_MAGIC): Likewise.
58031 (PIPEFS_MAGIC): Likewise.
58032 (PSTOREFS_MAGIC): Likewise.
58033 (QNX6_SUPER_MAGIC): Likewise.
58034 (RAMFS_MAGIC): Likewise.
58035 (REISERFS_SUPER_MAGIC_STRING): Likewise.
58036 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
58037 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
58038 (SECURITYFS_MAGIC): Likewise.
58039 (SELINUX_MAGIC): Likewise.
58040 (SMACK_MAGIC): Likewise.
58041 (SOCKFS_MAGIC): Likewise.
58042 (SQUASHFS_MAGIC): Likewise.
58043 (STACK_END_MAGIC): Likewise.
58044 (TMPFS_MAGIC): Likewise.
58045 (USBDEVICE_SUPER_MAGIC): Likewise.
58046 (V9FS_MAGIC): Likewise.
58047 (XENFS_SUPER_MAGIC): Likewise.
58048 (CRAMFS_MAGIC): Fix typo in comment.
58049 (EXT2_SUPER_MAGIC): Update comment.
58050 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
58051
58052 2014-02-08 Joseph Myers <joseph@codesourcery.com>
58053
58054 * sysdeps/arm: Move directory from ports/sysdeps/arm.
58055 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
58056 * sysdeps/unix/sysv/linux/arm: Move directory from
58057 ports/sysdeps/unix/sysv/linux/arm.
58058 * README: Update listing for arm-*-linux-gnueabi.
58059
58060 * README: Remove mention of am33.
58061
58062 2014-02-07 Roland McGrath <roland@hack.frob.com>
58063
58064 * bits/sigset.h (__sigemptyset): Use a statement expression rather
58065 than the comma operator, to avoid "rhs of comma has no effect"
58066 compiler warnings.
58067 (__sigfillset, __sigandset, __sigorset): Likewise.
58068 * include/signal.h (__sigemptyset): Likewise.
58069 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
58070
58071 2014-02-07 Allan McRae <allan@archlinux.org>
58072
58073 * version.h (RELEASE): Set to "development".
58074 (VERSION): Set to "2.19.90"
58075 * NEWS: Add 2.20 section.
58076
58077 2014-02-06 Carlos O'Donell <carlos@redhat.com>
58078
58079 [BZ #16529]
58080 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
58081
58082 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
58083
58084 * manual/contrib.texi: Update entry for Carlos O'Donell,
58085 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
58086
58087 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
58088
58089 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
58090
58091 * sysdeps/unix/sysv/linux/kernel-features.h
58092 [__LINUX_KERNEL_VERSION >= 0x020621]
58093 (__ASSUME_PROC_PID_TASK_COMM): Define.
58094
58095 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58096
58097 [BZ #16398]
58098 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
58099 conversion when destination buffer does not have enough space.
58100 * libio/tst-ftell-partial-wide.c: New test case.
58101 * libio/Makefile (tests): Add tst-ftell-partial-wide.
58102
58103 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
58104 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
58105 Leonard and Allan McRae.
58106
58107 2014-02-04 David S. Miller <davem@davemloft.net>
58108
58109 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
58110 32-bit.
58111
58112 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58113
58114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
58115 New file
58116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
58117 New file
58118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
58119 New file.
58120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
58121 New file.
58122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
58123 New file.
58124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
58125 New file.
58126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
58127 New file.
58128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
58129 New file.
58130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
58131 New file.
58132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
58133 New file.
58134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
58135 New file.
58136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
58137 New file.
58138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58139 New file.
58140
58141 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58142
58143 * nptl/shlib-versions: Change powerpc*le start to 2.17.
58144 * shlib-versions: Likewise.
58145
58146 2014-02-04 Roland McGrath <roland@hack.frob.com>
58147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58148
58149 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58150 (abilist-pattern): New variable, set to %-le.abilist.
58151
58152 * Makerules (abilist-pattern): New variable.
58153 (vpath): Use $(abilist-pattern) in place of %.abilist.
58154 (check-abi-% pattern rule): Likewise.
58155 (check-abi, update-abi): Likewise.
58156
58157 2014-02-04 Eric Wong <normalperson@yhbt.net>
58158
58159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58160
58161 2014-02-03 Carlos O'Donell <carlos@redhat.com>
58162
58163 * manual/startup.texi: Add next, previous, and top entries for
58164 the `Program Arguments' and `Environment Variables' nodes.
58165
58166 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
58167
58168 * manual/macros.texi: Add comments before MTASC-safety macros.
58169
58170 * manual/users.texi: Document MTASC-safety properties.
58171
58172 * manual/threads.texi (pthread_key_create, pthread_key_delete)
58173 (pthread_getspecific, pthread_setspecific): Format with
58174 @deftypefun, and add @safety note.
58175 * manual/signal.texi: Move comments that analyze the above
58176 functions to their home place.
58177
58178 2014-02-03 Allan McRae <allan@archlinux.org>
58179
58180 * po/sl.po: Update Slovenian translation from translation project.
58181
58182 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
58183
58184 * manual/time.texi (timegm): Add missing blank after @c.
58185 Reported by Joseph Myers <joseph@codesourcery.com>.
58186
58187 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
58188
58189 * manual/check-safety.sh: New.
58190 * manual/Makefile ($(objpfx)stamp-summary): Run it.
58191
58192 * manual/terminal.texi: Document MTASC-safety properties.
58193
58194 * manual/filesys.texi: Document MTASC-safety properties.
58195
58196 * manual/errno.texi: Document MTASC-safety properties.
58197
58198 * manual/intro.texi: Document safety identifiers and
58199 conditionals.
58200
58201 * manual/string.texi (wcstok): Fix prototype.
58202 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58203
58204 * manual/time.texi: Document MTASC-safety properties.
58205
58206 * manual/string.texi: Document MTASC-safety properties.
58207
58208 * manual/threads.texi: Document MTASC-safety properties.
58209
58210 * manual/stdio.texi: Document MTASC-safety properties.
58211
58212 * manual/syslog.texi: Document MTASC-safety properties.
58213
58214 * manual/sysinfo.texi: Document MTASC-safety properties.
58215
58216 * manual/startup.texi: Document MTASC-safety properties.
58217
58218 * manual/socket.texi: Document MTASC-safety properties.
58219
58220 * manual/signal.texi: Document MTASC-safety properties.
58221
58222 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
58223
58224 * manual/setjmp.texi: Document MTASC-safety properties.
58225
58226 * manual/search.texi: Document MTASC-safety properties.
58227
58228 * manual/resource.texi: Document MTASC-safety properties.
58229
58230 * manual/process.texi: Document MTASC-safety properties.
58231
58232 * manual/platform.texi: Document MTASC-safety properties.
58233
58234 * manual/pipe.texi: Document MTASC-safety properties.
58235
58236 * manual/pattern.texi: Document MTASC-safety properties.
58237
58238 * manual/message.texi: Document MTASC-safety properties.
58239
58240 [BZ #12751]
58241 * manual/memory.texi: Document MTASC-safety properties.
58242
58243 * manual/math.texi: Document MTASC-safety properties.
58244
58245 * manual/locale.texi: Document MTASC-safety properties.
58246
58247 * manual/llio.texi: Document MTASC-safety properties.
58248
58249 * manual/libdl.texi: New.
58250
58251 * manual/lang.texi: Document MTASC-safety properties.
58252
58253 * manual/job.texi: Document MTASC-safety properties.
58254
58255 * manual/getopt.texi: Document MTASC-safety properties.
58256
58257 * manual/ctype.texi: Document MTASC-safety properties.
58258
58259 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
58260
58261 [BZ #16046]
58262 * csu/libc-tls.c (static_map): Remove variable.
58263 (__libc_setup_tls): Use main executable's link map for TLS data.
58264 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58265 casing for LM_ID_BASE and GL(dl_nns).
58266 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58267 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
58268 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58269 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58270 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58271 member.
58272 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58273 l_phnum members.
58274
58275 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
58276
58277 * manual/debug.texi: Document MTASC-safety properties.
58278
58279 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
58280
58281 [BZ #16510]
58282 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58283 of __x86_64__ when disabling x87 inline functions.
58284
58285 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
58286
58287 * manual/charset.texi: Document MTASC-safety properties.
58288
58289 * manual/crypt.texi: Document MTASC-safety properties.
58290
58291 * manual/conf.texi: Document MTASC-safety properties.
58292
58293 * manual/arith.texi: Document MTASC-safety properties.
58294
58295 * manual/argp.texi: Document MTASC-safety properties.
58296
58297 * manual/macros.texi: Introduce macros to document multi
58298 thread, asynchronous signal and asynchronous cancellation
58299 safety properties.
58300 * manual/intro.texi: Introduce the properties themselves.
58301
58302 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58303
58304 * sysdeps/sh/sh4/Makefile: New file.
58305
58306 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
58307
58308 * math/gen-libm-test.pl ($srcdir): New variable.
58309 ($auto_input): Use it.
58310
58311 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58312
58313 [BZ #16506]
58314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58315 access beyond array bounds when parsing netgroups file.
58316
58317 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58318 the old buffer before realloc.
58319
58320 2014-01-27 Allan McRae <allan@archlinux.org>
58321
58322 * po/fr.po: Update French translation from translation project.
58323
58324 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58325
58326 * sysdeps/sh/libm-test-ulps: Regenerate.
58327
58328 2014-01-24 David S. Miller <davem@davemloft.net>
58329
58330 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58331
58332 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58333
58334 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58335 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58336
58337 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58338
58339 [BZ #16474]
58340 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58341 string pointers after reallocation.
58342
58343 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58344
58345 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58346 __SH4A__ instead of __SH_FPU_ANY__.
58347
58348 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58349
58350 * sysdeps/sh/fpu_control.h: New file.
58351 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58352 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58353 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58354 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58355 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58356 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58357 * sysdeps/sh/sys/ucontext.h: Remove.
58358 * sysdeps/sh/sys: Remove directory.
58359
58360 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58361
58362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58363 s390/sys/ucontext.h.
58364 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58366
58367 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58368
58369 [BZ #15605]
58370 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58371
58372 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58373
58374 [BZ #16431]
58375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58376 Adjust the vDSO correctly for internal calls.
58377 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58378
58379 2014-01-20 Allan McRae <allan@archlinux.org>
58380
58381 * po/ca.po: Update Catalan translation from translation project.
58382
58383 2014-01-16 Mike Frysinger <vapier@gentoo.org>
58384
58385 * sysdeps/s390/sotruss-lib.c: New file.
58386
58387 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58388
58389 [BZ #16430]
58390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58391 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58392 local calls issues by not having a PLT stub required for IFUNC calls.
58393 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58394
58395 2014-01-16 Joseph Myers <joseph@codesourcery.com>
58396
58397 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58398 * math/test-fpucw-static.c: Likewise.
58399
58400 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58401
58402 [BZ #16453]
58403 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58404
58405 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58406
58407 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58408 implementation for powerpc.
58409
58410 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
58411
58412 [BZ #14782]
58413 * sysdeps/posix/system.c (__libc_system): Do not enable
58414 asynchronous cancellation.
58415
58416 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58417
58418 [BZ #16427]
58419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58420 handling only for numbers special also in the IEEE case.
58421
58422 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58423
58424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58425
58426 2014-01-11 Allan McRae <allan@archlinux.org>
58427
58428 * po/bg.po: Update Bulgarian translation from translation project.
58429
58430 * po/de.po: Update German translation from translation project.
58431
58432 2014-01-10 Roland McGrath <roland@hack.frob.com>
58433
58434 * sysdeps/generic/gcc-compat.h: New file.
58435
58436 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58437
58438 * benchtests/asin-inputs: Correct slow inputs.
58439 * benchtests/acos-inputs: Likewise.
58440
58441 2014-01-10 Allan McRae <allan@archlinux.org>
58442
58443 * po:sv.po: Update Swedish translation from translation project.
58444
58445 * po/vi.po: Update Vietnamese translation from translation project.
58446
58447 * po/eo.po: Update Esperanto translation from translation project.
58448
58449 * po/cs.po: Update Czech translation from translation project.
58450
58451 * po/nl.po: Update Dutch translation from translation project.
58452
58453 * po/pl.po: Update Polish translation from translation project.
58454
58455 * po/ru.po: Update Russian translation from translation project.
58456
58457 * po/uk.po: Update Ukrainian translation from translation project.
58458
58459 2014-01-08 Brooks Moses <bmoses@google.com>
58460
58461 * elf/dl-load.c: Fix comment typo.
58462
58463 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58464
58465 * po/header.pot: Rename to...
58466 * po/pot.header: ... this.
58467 * po/Makefile: Use pot.header.
58468
58469 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58470 Maxim Kuvyrkov <maxim@kugelworks.com>
58471
58472 [BZ #16394]
58473 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58474 SRC and DEST against LEN.
58475
58476 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58477
58478 [BZ #16414]
58479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58480 implementation.
58481 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58482
58483 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58484
58485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58486
58487 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58488
58489 [BZ #16408]
58490 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58491 for large positive arguments.
58492
58493 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58494
58495 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58496
58497 * math/auto-libm-test-in: Mark various tests with
58498 xfail-rounding:ldbl-128ibm.
58499 * math/auto-libm-test-out: Regenerated.
58500
58501 [BZ #16407]
58502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58503 Increase overflow threshold.
58504
58505 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
58506
58507 [BZ #14286]
58508 * stdio-common/vfprintf.c: Check for integer overflow.
58509
58510 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58511
58512 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58513 the first argument and return value of __tls_get_addr_internal.
58514
58515 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58516
58517 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58518 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58519
58520 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58521
58522 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58523 * sysdeps/s390/rtld-global-offsets.sym: New file.
58524 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58525 GLIBC_2.19 symbol.
58526 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58527 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58529 ... this.
58530 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58531 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58532 ... this.
58533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58534 Regenerate.
58535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58536 Regenerate.
58537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58538 halfs of GPRs for high_gprs contexts.
58539 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58540 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58541 field.
58542 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58543 uc_flags field.
58544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58545 64 bit versions:
58546 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58547 for high GPRs (uc_high_gprs) and for future extensions
58548 (__reserved).
58549 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58550 for future extensions (__reserved).
58551 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58552 64 bit versions:
58553 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58554 SC_HIGHGPRS offset definition.
58555 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58556 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58557
58558 * Versions.def: Add GLIBC_2.19 for libpthread.
58559 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58560 siglongjmp for libpthread with GLIBC_2.19 symver.
58561 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58562 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58563 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58564 * sysdeps/s390/__longjmp.c: New file.
58565 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58566 * sysdeps/s390/longjmp.c: New file.
58567 * sysdeps/s390/setjmp.S: New file.
58568 * sysdeps/s390/sigjmp.S: New file.
58569 * sysdeps/s390/v1-longjmp.c: New file.
58570 * sysdeps/s390/v1-setjmp.h: New file.
58571 * sysdeps/s390/v1-sigjmp.c: New file.
58572 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58573 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58574 GLIBC_2.19 version.
58575 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58576 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58577 versioned symbols for ____longjmp_chk.
58578 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58579 Likewise.
58580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58581 Regenerate.
58582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58583 Regenerate.
58584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58585 Regenerate.
58586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58587 Regenerate.
58588 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58589 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58590 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58591 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58592 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58593 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58594 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58595 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58596 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58597 * sysdeps/s390/rtld-__longjmp.c: New file.
58598 * sysdeps/s390/rtld-setjmp.S: New file.
58599
58600 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58601
58602 [BZ #16400]
58603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58604 Return -__logl (x) for small positive arguments without evaluating
58605 a polynomial.
58606
58607 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58608
58609 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58610 Rename to ...
58611 (__ptrace_peeksiginfo_args): ... this.
58612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58615
58616 2014-01-06 Allan McRae <allan@archlinux.org>
58617
58618 * inet/netinet/in.h: Fix typo in comment.
58619
58620 2014-01-05 Andreas Jaeger <aj@suse.de>
58621
58622 * sysdeps/i386/fpu/libm-test-ulps: Update.
58623
58624 2014-01-05 Allan McRae <allan@archlinux.org>
58625
58626 * po/libc.pot: Regenerated.
58627
58628 * malloc/memusagestat.c: Fix gettext call formatting.
58629
58630 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58631
58632 * nscd/nscd.c: Improve usage() output.
58633
58634 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58635
58636 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58637 * sysdeps/unix/sysv/linux/configure: Regenerated.
58638 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58639 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58640
58641 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58642
58643 [BZ #16390]
58644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58645 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58646
58647 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58648
58649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58650 extra tokens at end of #undef directive.
58651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58654
58655 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58656
58657 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58658
58659 * math/auto-libm-test-in: Mark various tests with
58660 xfail-rounding:ldbl-128ibm.
58661 * math/auto-libm-test-out: Regenerated.
58662
58663 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58664
58665 [BZ #16386]
58666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58667 numbers with subnormal high part when calculating exponent.
58668
58669 [BZ #16385]
58670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58671 fabs.
58672
58673 [BZ #16384]
58674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58675 M_LN2l.
58676 (__ieee754_acoshl): Use __log1pl not __log1p.
58677
58678 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
58679
58680 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58681 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58682 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58683 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58684 (reused_arena, arena_get2): Convert to GNU style.
58685 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58686 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58687 (memalign_check, __malloc_set_state): Likewise.
58688 * malloc/mallocbug.c (main): Likewise.
58689 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58690 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58691 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58692 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58693 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58694 (__posix_memalign, malloc_info): Likewise.
58695 * malloc/malloc.h: Likewise.
58696 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58697 (mallochook, memalignhook, reallochook, mabort): Likewise.
58698 * malloc/mcheck.h: Likewise.
58699 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58700 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58701 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58702 * malloc/morecore.c (__default_morecore): Likewise.
58703 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58704 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58705 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58706 (print_and_abort): Likewise.
58707 * malloc/obstack.h: Likewise.
58708 * malloc/set-freeres.c (__libc_freeres): Likewise.
58709 * malloc/tst-mallocstate.c (main): Likewise.
58710 * malloc/tst-mtrace.c (main): Likewise.
58711 * malloc/tst-realloc.c (do_test): Likewise.
58712
58713 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58714
58715 [BZ #16366]
58716 * nscd/netgroupcache.c (do_notfound): New function.
58717 (addgetnetgrentX): Use it.
58718
58719 [BZ # 16365]
58720 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58721 NSS_STATUS_NOTFOUND.
58722
58723 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58724
58725 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58727
58728 2014-01-01 Allan McRae <allan@archlinux.org>
58729
58730 * scripts/update-copyrights: Update configure input file suffix.
58731
58732 * NEWS: Update copyright year.
58733 * catgets/gencat.c: Likewise.
58734 * csu/version.c: Likewise.
58735 * debug/catchsegv.sh: Likewise.
58736 * debug/pcprofiledump.c: Likewise.
58737 * debug/xtrace.sh: Likewise.
58738 * elf/ldconfig.c: Likewise.
58739 * elf/ldd.bash.in: Likewise.
58740 * elf/pldd.c: Likewise.
58741 * elf/sotruss.ksh: Likewise.
58742 * elf/sprof.c: Likewise.
58743 * iconv/iconv_prog.c: Likewise.
58744 * iconv/iconvconfig.c: Likewise.
58745 * locale/programs/locale.c: Likewise.
58746 * locale/programs/localedef.c: Likewise.
58747 * login/programs/pt_chown.c: Likewise.
58748 * malloc/memusage.sh: Likewise.
58749 * malloc/memusagestat.c: Likewise.
58750 * malloc/mtrace.pl: Likewise.
58751 * manual/libc.texinfo: Likewise.
58752 * nscd/nscd.c: Likewise.
58753 * nss/getent.c: Likewise.
58754 * nss/makedb.c: Likewise.
58755 * posix/getconf.c: Likewise.
58756 * scripts/test-installation.pl: Likewise.
58757
58758 * All files with FSF copyright notices: Update copyright dates
58759 using scripts/update-copyrights.
58760 * intl/plural.c: Regenerated.
58761 * locale/programs/charmap-kw.h: Likewise.
58762 * locale/programs/locfile-kw.h: Likewise.
58763
58764 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58765
58766 * sysdeps/unix/sysv/linux/configure: Regenerated.
58767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58768 the linux/fanotify.h header.
58769 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58770 HAVE_LINUX_FANOTIFY_H is defined.
58771
58772 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58773
58774 * benchtests/cos-inputs: New inputs.
58775 * benchtests/sin-inputs: Likewise.
58776
58777 * benchtests/atan-inputs: New inputs. Fix name of multiple
58778 precision fallback inputs.
58779
58780 * benchtests/atanh-inputs: New inputs.
58781 * benchtests/tanh-inputs: Likewise.
58782
58783 * benchtests/acosh-inputs: New inputs.
58784 * benchtests/asinh-inputs: Likewise.
58785
58786 * benchtests/cosh-inputs: New inputs.
58787 * benchtests/sinh-inputs: Likewise.
58788
58789 * benchtests/acos-inputs: Add more inputs.
58790 * benchtests/asin-inputs: Likewise.
58791
58792 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58793
58794 [BZ #16375]
58795 * manual/arith.texi: Fix spelling.
58796 * manual/charset.texi: Likewise.
58797 * manual/errno.texi: Likewise.
58798 * manual/filesys.texi: Likewise.
58799 * manual/lang.texi: Likewise.
58800 * manual/llio.texi: Likewise.
58801 * manual/locale.texi: Likewise.
58802 * manual/message.texi: Likewise.
58803 * manual/resource.texi: Likewise.
58804 * manual/search.texi: Likewise.
58805 * manual/setjmp.texi: Likewise.
58806 * manual/stdio.texi: Likewise.
58807 * manual/string.texi: Likewise.
58808 * manual/sysinfo.texi: Likewise.
58809 * manual/time.texi: Likewise.
58810
58811 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58812
58813 * po/sl.po: New file.
58814
58815 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58816
58817 * .gitignore: Add core/.gdbinit/.gdb_history.
58818
58819 2013-12-27 Allan McRae <allan@archlinux.org>
58820
58821 [BZ #16369]
58822 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58823 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58824
58825 2013-12-24 Brooks Moses <bmoses@google.com>
58826
58827 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58828 all compilers that claim C++98 compliance, not just GCC.
58829 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58830 Likewise.
58831
58832 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58833
58834 * NEWS: Restore accidentally deleted bug-fix entries.
58835
58836 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58837 Ondřej Bílka <neleai@seznam.cz>
58838
58839 [BZ #15073]
58840 * malloc/malloc.c (_int_free): Perform sanity check only if we
58841 have_lock.
58842
58843 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58844
58845 [BZ #12986]
58846 * manual/stdio.texi (String Input Conversions): Clarify that character
58847 classes are not supported.
58848
58849 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58850
58851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58852
58853 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58854
58855 [BZ #16337]
58856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58857 Calculate results for small negative arguments directly rather
58858 than using reflection formula with special underflow handling.
58859
58860 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58861 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58862 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58863 (fchflags): Likewise.
58864 (revoke): Likewise.
58865 (setlogin): Likewise.
58866 (sigaltstack): Likewise.
58867 (wait4): Likewise.
58868 (sigblock): Remove.
58869 (sigsetmask): Likewise.
58870 (wait3): Likewise.
58871 (waitpid): Likewise.
58872 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58873 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58874 file.
58875 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58876 * sysdeps/unix/bsd/Makefile: ... here.
58877 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58878 * sysdeps/unix/bsd/Versions: ... here.
58879 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58880 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58881 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58882 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58883 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58884 * sysdeps/unix/bsd/sigblock.c: ... here.
58885 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58886 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58887 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58888 * sysdeps/unix/bsd/sigvec.c: ... here.
58889 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58890 * sysdeps/unix/bsd/tcdrain.c: ... here.
58891 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58892 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58893 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58894 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58895 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58896 * sysdeps/unix/bsd/wait.c: ... here.
58897 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58898 * sysdeps/unix/bsd/wait3.c: ... here.
58899 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58900 * sysdeps/unix/bsd/waitpid.c: ... here.
58901
58902 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58903
58904 [BZ #16356]
58905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58906 round-to-nearest for [!USE_AS_EXPM1L].
58907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58908 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58909 more tests of exp and exp10. Expect some exp10 tests to miss
58910 exceptions or fail in directed rounding modes.
58911 * math/auto-libm-test-out: Regenerated.
58912 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58913 (exp10_test_tonearest): New function.
58914 (exp10_towardzero_test_data): New array.
58915 (exp10_test_towardzero): New function.
58916 (exp10_downward_test_data): New array.
58917 (exp10_test_downward): New function.
58918 (exp10_upward_test_data): New array.
58919 (exp10_test_upward): New function.
58920 (main): Call the new functions.
58921 * sysdeps/i386/fpu/libm-test-ulps: Update.
58922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58923
58924 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58925
58926 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58927 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58928 * math/auto-libm-test-out: Regenerated.
58929 * math/libm-test.inc (acosh_test_data): Add more tests.
58930 (atanh_test_data): Likewise.
58931 (ceil_test_data): Likewise.
58932 (copysign_test_data): Likewise.
58933 * sysdeps/i386/fpu/libm-test-ulps: Update.
58934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58935
58936 * timezone/checktab.awk: Update from tzcode 2013i.
58937 * timezone/private.h: Likewise.
58938 * timezone/scheck.c: Likewise.
58939 * timezone/tzfile.h: Likewise.
58940 * timezone/tzselect.ksh: Likewise.
58941 * timezone/zdump.c: Likewise.
58942 * timezone/zic.c: Likewise.
58943
58944 * math/auto-libm-test-in: Add tests of cpow.
58945 * math/auto-libm-test-out: Regenerated.
58946 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58948 mpc_cc_c.
58949 (func_calc_desc): Add mpc_cc_c union field.
58950 (test_functions): Add cpow.
58951 (special_fill_2pi): New function.
58952 (special_real_inputs): Add 2pi.
58953 (calc_generic_results): Handle mpc_cc_c.
58954 * sysdeps/i386/fpu/libm-test-ulps: Update.
58955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58956
58957 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58958 csqrt, ctan and ctanh.
58959 * math/auto-libm-test-out: Regenerated.
58960 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58961 (TEST_COND_x86): Likewise.
58962 (ccos_test_data): Use AUTO_TESTS_c_c.
58963 (ccosh_test_data): Likewise.
58964 (cexp_test_data): Likewise.
58965 (clog_test_data): Likewise.
58966 (csqrt_test_data): Likewise.
58967 (ctan_test_data): Likewise.
58968 (ctan_tonearest_test_data): Likewise.
58969 (ctan_towardzero_test_data): Likewise.
58970 (ctan_downward_test_data): Likewise.
58971 (ctan_upward_test_data): Likewise.
58972 (ctanh_test_data): Likewise.
58973 (ctanh_tonearest_test_data): Likewise.
58974 (ctanh_towardzero_test_data): Likewise.
58975 (ctanh_downward_test_data): Likewise.
58976 (ctanh_upward_test_data): Likewise.
58977 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58978 mpc_c_c.
58979 (func_calc_desc): Add mpc_c_c union field.
58980 (FUNC_mpc_c_c): New macro.
58981 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58982 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58983 ctanh.
58984 (special_fill_min_subnorm_p120): New function.
58985 (special_real_inputs): Add min_subnorm_p120.
58986 (calc_generic_results): Handle mpc_c_c.
58987 * sysdeps/i386/fpu/libm-test-ulps: Update.
58988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58989
58990 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58991
58992 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58993 (do_sin_slow): New functions.
58994 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58995 (cslow2, csloww1, csloww2): Use the new functions.
58996
58997 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58998 Use M to change sign of result instead of X. Assume X is
58999 positive.
59000 (csloww1): Likewise.
59001 (__sin): Adjust.
59002 (__cos): Adjust.
59003
59004 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
59005 arguments A and DA.
59006 (__sin): Adjust.
59007 (__cos): Likewise.
59008
59009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
59010 (__cos): Likewise.
59011 (sloww1): Don't adjust sign of DX.
59012 (csloww1): Likewise.
59013 (sloww2): Use X directly and don't adjust sign of DX.
59014 (csloww2): Likewise.
59015
59016 2013-12-19 Joseph Myers <joseph@codesourcery.com>
59017
59018 * math/auto-libm-test-in: Add tests of cabs and carg.
59019 * math/auto-libm-test-out: Regenerated.
59020 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
59021 (carg_test_data): Likewise.
59022 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59023 mpc_c_f.
59024 (func_calc_desc): Add mpc_c_f union field.
59025 (test_functions): Add cabs and carg.
59026 (calc_generic_results): Handle mpc_c_f.
59027
59028 * sysdeps/powerpc/powerpc32/libgcc-compat.S
59029 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
59030 as a macro and a compat symbol.
59031 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
59032 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
59033 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
59034 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
59035 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
59036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
59037 not use .hidden.
59038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
59039 Likewise.
59040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
59041 Likewise.
59042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
59043 Likewise.
59044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
59045 Likewise.
59046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
59047 Likewise.
59048 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
59049 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
59050 from GLIBC_2.3.2.
59051
59052 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59053
59054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59055
59056 2013-12-19 Joseph Myers <joseph@codesourcery.com>
59057
59058 * manual/texinfo.tex: Update to version 2013-11-26.10 with
59059 trailing whitespace removed.
59060 * scripts/config.guess: Update to version 2013-11-29.
59061 * scripts/config.sub: Update to version 2013-10-01.
59062
59063 * math/auto-libm-test-in: Add tests of sincos.
59064 * math/auto-libm-test-out: Regenerated.
59065 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
59066 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59067 mpfr_f_11.
59068 (func_calc_desc): Add mpfr_f_11 union field.
59069 (test_functions): Add sincos.
59070 (calc_generic_results): Handle mpfr_f_11.
59071 * sysdeps/i386/fpu/libm-test-ulps: Update.
59072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59073
59074 2013-12-19 Andreas Schwab <schwab@suse.de>
59075
59076 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
59077 CALL_MCOUNT.
59078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59079 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
59080 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
59081
59082 2013-12-19 Joseph Myers <joseph@codesourcery.com>
59083
59084 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
59085 * sysdeps/i386/fpu/libm-test-ulps: Update.
59086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59087
59088 [BZ #16293]
59089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
59090 round-to-nearest mode when using frndint.
59091 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
59092 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59093 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
59094 Likewise.
59095 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
59096 sinh test to fail.
59097 * math/auto-libm-test-out: Regenerated.
59098 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
59099 (TEST_COND_x86): Likewise.
59100 (expm1_tonearest_test_data): New array.
59101 (expm1_test_tonearest): New function.
59102 (expm1_towardzero_test_data): New array.
59103 (expm1_test_towardzero): New function.
59104 (expm1_downward_test_data): New array.
59105 (expm1_test_downward): New function.
59106 (expm1_upward_test_data): New array.
59107 (expm1_test_upward): New function.
59108 (main): Run the new test functions.
59109 * sysdeps/i386/fpu/libm-test-ulps: Update.
59110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59111
59112 * include/features.h: Update comment documenting feature test
59113 macros. Mention _DEFAULT_SOURCE in comment.
59114 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
59115 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
59116 _BSD_SOURCE and _SVID_SOURCE.
59117 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
59118 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
59119 !_SVID_SOURCE]: Likewise.
59120 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59121 (__USE_POSIX_IMPLICITLY): Define.
59122 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59123 (_POSIX_SOURCE): Undefine and redefine.
59124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59125 (_POSIX_C_SOURCE): Likewise.
59126 * manual/creature.texi (_DEFAULT_SOURCE): Document.
59127 (Feature Test Macros): Update documentation of default features.
59128
59129 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
59130
59131 * benchtests/Makefile: Add bench-strtok.
59132 * benchtests/bench-strtok.c: New file: strtok benchtest.
59133
59134 2013-12-19 Allan McRae <allan@archlinux.org>
59135
59136 * manual/install.texi: Suppress menu for plain text output.
59137 * INSTALL: Regenerated.
59138
59139 2013-12-18 Brooks Moses <bmoses@google.com>
59140
59141 [BZ #15846]
59142 * misc/getauxval.c: Include errno.h.
59143 (__getauxval): Set errno to ENOENT if the requested type is not
59144 found.
59145 * misc/sys/auxv.h (getauxval): Document that it may set errno;
59146 don't declare with __attribute_const__.
59147 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59148 * manual/startup.texi: Document that getauxval sets errno.
59149
59150 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59151
59152 * math/auto-libm-test-in: Add tests of jn and yn.
59153 * math/auto-libm-test-out: Regenerated.
59154 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59155 (yn_test_data): Likewise.
59156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59157 mpfr_if_f.
59158 (func_calc_desc): Add mpfr_if_f union field.
59159 (FUNC_mpfr_if_f): New macro.
59160 (test_functions): Add jn and yn.
59161 (calc_generic_results): Assert type of second input for
59162 mpfr_ff_f. Handle mpfr_if_f.
59163 (output_for_one_input_case): Disable all checking for arguments
59164 fitting floating-point types in case of an integer argument.
59165 * sysdeps/i386/fpu/libm-test-ulps: Update.
59166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59167
59168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59169 Don't expect fegetround reference in libm.so.
59170
59171 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59172
59173 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59174 $(config-cflags-nofma).
59175
59176 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59177
59178 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59179 * math/auto-libm-test-out: Regenerated.
59180
59181 [BZ #16338]
59182 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59183 to determine exponent and adjust argument to have exponent of -1.
59184 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59185 log2.
59186 * math/auto-libm-test-out: Regenerated.
59187 * sysdeps/i386/fpu/libm-test-ulps: Update.
59188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59189
59190 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
59191
59192 * manual/probes.texi: Remove cases when per-thread arenas are
59193 disabled.
59194
59195 2013-12-18 Andreas Schwab <schwab@suse.de>
59196
59197 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59198 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59199 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59200 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59201 * sysdeps/i386/i686/multiarch/Makefile: Update.
59202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59203
59204 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59205
59206 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59207 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59208
59209 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
59210
59211 [BZ #15968]
59212 Support TZ transition times < 00:00:00.
59213 This is needed for version-3 tz-format files; it supports time
59214 stamps past 2037 for America/Godthab (the only entry in the tz
59215 database for which this change is relevant).
59216 * manual/time.texi (TZ Variable): Document transition times
59217 from -167:59:59 through -00:00:01.
59218 * time/tzset.c (tz_rule): Time of day is now signed.
59219 (__tzset_parse_tz): Parse negative time of day.
59220
59221 Document TZ transition times >= 25:00:00.
59222 * manual/time.texi (TZ Variable): Document transition times from
59223 25:00:00 through 167:59:59. These are already supported, and this
59224 support will help with version-3 tz-format files.
59225
59226 * manual/time.texi (TZ Variable): Modernize North America example
59227 to reflect current (i.e., 2007-and-later) daylight saving rules.
59228
59229 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59230
59231 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59232
59233 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59234 * sysdeps/unix/bsd/bits/stat.h: Likewise.
59235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59237 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59238 * sysdeps/unix/bsd/bsdstat.h: Likewise.
59239 * sysdeps/unix/bsd/clock.c: Likewise.
59240 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59241 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59242 * sysdeps/unix/bsd/init-posix.c: Likewise.
59243 * sysdeps/unix/bsd/poll.c: Likewise.
59244 * sysdeps/unix/bsd/ptsname.c: Likewise.
59245 * sysdeps/unix/bsd/seekdir.c: Likewise.
59246 * sysdeps/unix/bsd/setegid.c: Likewise.
59247 * sysdeps/unix/bsd/seteuid.c: Likewise.
59248 * sysdeps/unix/bsd/setgid.c: Likewise.
59249 * sysdeps/unix/bsd/setrgid.c: Likewise.
59250 * sysdeps/unix/bsd/setruid.c: Likewise.
59251 * sysdeps/unix/bsd/setsid.c: Likewise.
59252 * sysdeps/unix/bsd/setuid.c: Likewise.
59253 * sysdeps/unix/bsd/sigaction.c: Likewise.
59254 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59255 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59256 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59257 * sysdeps/unix/bsd/telldir.c: Likewise.
59258 * sysdeps/unix/bsd/times.c: Likewise.
59259 * sysdeps/unix/bsd/usleep.c: Likewise.
59260
59261 * misc/Makefile (install-lib): Remove libbsd-compat.a.
59262 ($(objpfx)libbsd-compat.a): Remove rule.
59263
59264 * include/features.h (__FAVOR_BSD): Do not define.
59265 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59266 features conflicting with POSIX.
59267 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59268 (_BSD_SOURCE): Remove description of not being a subset of other
59269 feature test macros.
59270 * manual/job.texi (getpgrp): Do not document BSD version.
59271 (getpgid): Do not document by reference to BSD getpgrp.
59272 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59273 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59274 * signal/signal.h [__FAVOR_BSD]: Likewise.
59275 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59276 instead of making contents conditional on [__FAVOR_BSD].
59277 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59278
59279 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59280
59281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59282
59283 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59284
59285 [BZ #16314]
59286 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59287 values below 2**-450, not 2**-500.
59288 * math/auto-libm-test-in: Don't allow spurious underflow from
59289 hypot.
59290 * math/auto-libm-test-out: Regenerated.
59291
59292 [BZ #16316]
59293 [BZ #16330]
59294 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59295 values of ha and hb and sort them after adjusting subnormal
59296 arguments.
59297 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59298 Likewise.
59299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59300 values of ea and eb and sort them after adjusting subnormal
59301 arguments.
59302 * math/auto-libm-test-in: Do not expect some hypot tests of
59303 subnormals to fail. Add more hypot tests.
59304 * math/auto-libm-test-out: Regenerated.
59305
59306 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59307
59308 [BZ #13304]
59309 * sysdeps/sh/s_fma.c: New file.
59310 * sysdeps/sh/s_fmaf.c: New file.
59311 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
59312 version.
59313 * sysdeps/sh/Implies: Add sh/soft-fp.
59314
59315 2013-12-16 Roland McGrath <roland@hack.frob.com>
59316
59317 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
59318 level of indirection to members `objname', `errstring', `malloced'.
59319 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59320 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
59321 it as the __longjmp argument (just pass 1 instead).
59322 (_dl_catch_error): Initialize C with argument pointers and address of
59323 volatile local ERRCODE rather than copying values out of C at return.
59324
59325 2013-12-16 Joseph Myers <joseph@codesourcery.com>
59326
59327 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59328 * math/auto-libm-test-out: Regenerated.
59329 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59330 (hypot_test_data): Likewise.
59331 (pow_test_data): Likewise.
59332 (pow_tonearest_test_data): Likewise.
59333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59334 mpfr_ff_f.
59335 (func_calc_desc): Add mpfr_ff_f union field.
59336 (FUNC_mpfr_ff_f): New macro.
59337 (test_functions): Add atan2, hypot and pow.
59338 (special_fill_min): New function.
59339 (special_fill_minus_min): Likewise.
59340 (special_fill_min_subnorm): Likewise.
59341 (special_fill_minus_min_subnorm): Likewise.
59342 (special_real_inputs): Add min, -min, min_subnorm and
59343 -min_subnorm.
59344 (calc_generic_results): Handle mpfr_ff_f.
59345 * sysdeps/i386/fpu/libm-test-ulps: Update.
59346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59347
59348 2013-12-16 Will Newton <will.newton@linaro.org>
59349
59350 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59351 (Aligned Memory Blocks): Add documentation for aligned_alloc
59352 and suggest it as an alternative to posix_memalign.
59353 (Hooks for Malloc): Document __memalign_hook is also called
59354 for aligned_alloc. (Summary of Malloc): Add summary for
59355 aligned alloc. Document __memalign_hook is also called
59356 for aligned_alloc.
59357
59358 2013-12-16 Will Newton <will.newton@linaro.org>
59359
59360 * manual/memory.texi (Malloc Examples): Clarify default
59361 alignment documentation. Suggest posix_memalign rather
59362 than memalign or valloc.
59363 (Aligned Memory Blocks): Remove suggestion to use memalign
59364 or valloc. Remove obsolete comment about BSD.
59365 Document memalign errno values and mark the function obsolete.
59366 Document posix_memalign returned error codes. Mark valloc
59367 as obsolete. (Hooks for Malloc): __memalign_hook is also
59368 called for posix_memalign and valloc.
59369 (Summary of Malloc): Add posix_memalign to function summary.
59370 __memalign_hook is also called for posix_memalign and valloc.
59371
59372 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59373
59374 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59375 TAYLOR_SIN.
59376 (__sin): Adjust.
59377 (__cos): Likewise.
59378 (sloww): Use mynumber union. Expand ternary operator into
59379 if-else statements.
59380 (cslow): use mynumber union.
59381
59382 2013-12-16 Allan McRae <allan@archlinux.org>
59383
59384 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59385 * configure: Regenerated.
59386
59387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59388
59389 [BZ #14120]
59390 * configure.ac: Added --enable-maintainer-mode. Check for
59391 autoconf when enabled.
59392 * configure: Regenerated.
59393
59394 * nscd/nscd.service: New file.
59395 * nscd/nscd.tmpfiles: New file.
59396
59397 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
59398
59399 [BZ #12100]
59400 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59401 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59402 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59403 (strstr): Add __strstr_sse2_unaligned ifunc.
59404 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59405 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59406 (strcasestr): Remove __strcasestr_sse42 ifunc.
59407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59410
59411 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59412
59413 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59414 * sysdeps/sh/bits/fenv.h: ... here.
59415 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59416
59417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59418
59419 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59420
59421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59422 hypotf multiarch implementations.
59423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59426 multiarch hypot for PPC64.
59427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59430 multiarch hypotf for PPC64.
59431
59432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59433 modff multiarch implementations.
59434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59437 multiarch modf for PPC64.
59438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59441 multiarch modff for PPC64.
59442
59443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59444 and logl multiarch implementations.
59445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59448 multiarch logb for PPC64.
59449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59452 multiarch logb for PPC64.
59453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59456 multiarch logb for PPC64.
59457
59458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59459 isinff multiarch implementation.
59460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59461 file.
59462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59464 multiarch isinf for PPC64.
59465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59466 file.
59467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59468 multiarch isinff for PPC64.
59469
59470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59471 finitef multiarch implementation.
59472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59473 file.
59474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59476 multiarch finite for PPC64.
59477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59478 file.
59479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59480 multiarch finitef for PPC64.
59481
59482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59483 lrint multiarch implementation.
59484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59485 file.
59486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59488 multiarch llrint for PPC64.
59489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59490 multiarch lrint for PPC64.
59491
59492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59493 copysignf multiarch implementation.
59494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59495 file.
59496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59497 file.
59498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59499 multiarch copysign for PPC64.
59500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59501 multiarch copysignf for PPC64.
59502
59503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59504 multiarch implementation.
59505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59506 file.
59507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59508 file.
59509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59510 file.
59511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59512 file.
59513 multiarch llround for PPC64.
59514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59515 multiarch trunc for PPC64.
59516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59517 multiarch truncf for PPC64.
59518
59519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59520 multiarch implementation.
59521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59522 file.
59523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59524 file.
59525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59526 file.
59527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59528 file.
59529 multiarch llround for PPC64.
59530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59531 multiarch round for PPC64.
59532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59533 multiarch roundf for PPC64.
59534
59535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59536 multiarch implementation.
59537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59538 file.
59539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59540 file.
59541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59542 file.
59543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59544 file.
59545 multiarch llround for PPC64.
59546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59547 multiarch floor for PPC64.
59548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59549 multiarch floorf for PPC64.
59550
59551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59552 multiarch implementation.
59553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59554 file.
59555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59556 file.
59557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59558 file.
59559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59560 file.
59561 multiarch llround for PPC64.
59562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59563 multiarch ceil for PPC64.
59564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59565 multiarch ceilf for PPC64.
59566
59567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59568 multiarch implementation.
59569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59570 file.
59571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59572 file.
59573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59574 file.
59575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59576 multiarch llround for PPC64.
59577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59578 multiarch lround for PPC64.
59579
59580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59581 multiarch implementation.
59582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59585 file.
59586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59589 multiarch isnan for PPC64.
59590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59591 multiarch isnanf for PPC64.
59592
59593 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59594 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59595 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59596 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59597 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59599
59600 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59604
59605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59606 multiarch implementations.
59607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59608 (__libc_ifunc_impl_list): Likewise.
59609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59610 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59612 multiarch stpcpy for PPC64.
59613
59614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59615 multiarch implementations.
59616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59617 (__libc_ifunc_impl_list): Likewise.
59618 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59619 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59620 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59621 multiarch strcpy for PPC64.
59622
59623 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59624 redefine function name.
59625 (_wordcopy_fwd_dest_aligned): Likewise.
59626 (_wordcopy_bwd_aligned): Likewise.
59627 (_wordcopy_bwd_dest_aligned): Likewise.
59628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59629 multiarch implementations.
59630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59631 (__libc_ifunc_impl_list): Likewise.
59632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59636 multiarch wcscpy for PPC64.
59637
59638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59639 multiarch implementations.
59640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59641 (__libc_ifunc_impl_list): Likewise.
59642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59644 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59646 multiarch wcscpy for PPC64.
59647
59648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59649 multiarch implementations.
59650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59651 (__libc_ifunc_impl_list): Likewise.
59652 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59653 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59654 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59655 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59656 multiarch wcsrchr for PPC64.
59657
59658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59659 multiarch implementations.
59660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59661 (__libc_ifunc_impl_list): Likewise.
59662 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59663 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59664 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59666 multiarch wcschr for PPC64.
59667
59668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59669 multiarch implementations.
59670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59671 (__libc_ifunc_impl_list): Likewise.
59672 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59673 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59674 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59675 multiarch strchrnul for PPC64.
59676
59677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59678 implementations.
59679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59680 (__libc_ifunc_impl_list): Likewise.
59681 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59682 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59683 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59684 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59685 strchr for PPC64.
59686
59687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59688 implementations.
59689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59690 (__libc_ifunc_impl_list): Likewise.
59691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59693 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59694 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59695 strncmp for PPC64.
59696
59697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59698 multiarch implementations.
59699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59700 (__libc_ifunc_impl_list): Likewise.
59701 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59702 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59703 strncasecmp for PPC64.
59704 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59705 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59706 multiarch strncasecmp_l for PPC64.
59707
59708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59709 multiarch implementations.
59710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59711 (__libc_ifunc_impl_list): Likewise.
59712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59714 multiarch strcasecmp for PPC64.
59715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59716 file.
59717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59718 multiarch strcasecmp_l for PPC64.
59719
59720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59721 implementations.
59722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59723 (__libc_ifunc_impl_list): Likewise.
59724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59725 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59726 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59727 strnlen for PPC64.
59728
59729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59730 implementations.
59731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59732 (__libc_ifunc_impl_list): Likewise.
59733 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59734 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59735 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59736 strlen for PPC64.
59737
59738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59739 implementations.
59740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59741 (__libc_ifunc_impl_list): Likewise.
59742 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59743 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59744 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59745 rawmemrchr for PPC64.
59746
59747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59748 implementation.
59749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59750 (__libc_ifunc_impl_list): Likewise.
59751 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59752 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59753 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59754 memrchr for PPC64.
59755
59756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59757 implementation.
59758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59759 (__libc_ifunc_impl_list): Likewise.
59760 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59761 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59762 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59763 memchr for PPC64.
59764
59765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59766 implementation.
59767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59768 (__libc_ifunc_impl_list): Likewise.
59769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59770 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59771 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59772 mempcpy for PPC64.
59773
59774 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59775 avoid cretion of __bzero symbol.
59776 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59777 Likewise.
59778 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59779 Likewise.
59780 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59781 Likewise.
59782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59783 multiarch implementations.
59784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59785 (__libc_ifunc_impl_list): Likewise.
59786 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59787 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59788 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59789 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59790 bzero for PPC32.
59791 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59792 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59793 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59795 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59796 memset for PPC64.
59797 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59798
59799 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59801 implementations.
59802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59803 (__libc_ifunc_impl_list): Likewise.
59804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59805 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59806 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59807 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59808 memcmp for PPC64.
59809
59810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59811 multiarch for POWER/PPC64.
59812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59813 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59820 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59821 memcpy for PPC64.
59822
59823 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59824 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59825 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59827 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59828 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59830 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59831 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59832 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59833 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59834 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59835 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59836 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59837 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59845
59846 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59847
59848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59849
59850 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59851
59852 * benchtests/Makefile (bench): Add exp2 and log2.
59853 (LDLIBS-bench-exp2): Add -lm.
59854 (LDLIBS-bench-log2): Likewise.
59855 * benchtests/exp2-inputs: New inputs file.
59856 * benchtests/log2-inputs: New inputs file.
59857 * benchtests/log-inputs: Add new inputs.
59858 * benchtests/tan-inputs: Likewise.
59859
59860 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59861
59862 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59863 definition...
59864 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59865 (csloww2): ... from here.
59866
59867 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59868 instead of structures.
59869 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59870 (POLYNOMIAL): Likewise.
59871 (TAYLOR_SLOW): Likewise.
59872 (__sin): Likewise.
59873 (__cos): Likewise.
59874 (slow1): Likewise.
59875 (slow2): Likewise.
59876 (sloww): Likewise.
59877 (sloww1); Likewise.
59878 (sloww2): Likewise.
59879 (bsloww1): Likewise.
59880 (bsloww2): Likewise.
59881 (cslow2): Likewise.
59882 (csloww): Likewise.
59883 (csloww1): Likewise.
59884 (csloww2): Likewise.
59885
59886 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59887
59888 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59889 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59890 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59891 * malloc/hooks.c (realloc_check): Likewise.
59892
59893 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59894 * malloc/arena.c: Remove PER_THREAD conditional.
59895 [!PER_THREAD]: Remove code.
59896 (ptmalloc_unlock_all2): Likewise.
59897 (ptmalloc_init): Likewise.
59898 (_int_new_arena): Likewise.
59899 (arena_get2): Likewise.
59900 * malloc/hooks.c (__malloc_get_state): Likewise.
59901 (__malloc_set_state): Likewise.
59902 * malloc/malloc.c: Likewise.
59903 (struct malloc_state): Likewise.
59904 (struct malloc_par): Likewise.
59905 (__libc_realloc): Likewise.
59906 (__libc_mallopt): Likewise.
59907
59908 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59909
59910 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59911
59912 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59913
59914 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59915 macro to a function. Check for zero perturb_byte.
59916 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59917
59918 * malloc/malloc.c: (force_reg): Remove.
59919 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59920 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59921 force_reg by atomic_forced_read.
59922 * malloc/arena.c (ptmalloc_init): Likewise.
59923 * malloc/hooks.c (top_check): Likewise.
59924
59925 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59926
59927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59928
59929 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59930
59931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59932
59933 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59934
59935 * math/auto-libm-test-in: Add tests of lgamma.
59936 * math/auto-libm-test-out: Regenerated.
59937 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59938 (M_LOG_2_SQRT_PIl): Likewise.
59939 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59941 mpfr_f_f1.
59942 (func_calc_desc): Add mpfr_f_f1 union field.
59943 (ARGS1): New macro.
59944 (ARGS2): Likewise.
59945 (ARGS3): Likewise.
59946 (ARGS4): Likewise.
59947 (RET1): Likewise.
59948 (RET2): Likewise.
59949 (CALC): Likewise.
59950 (FUNC): Likewise.
59951 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59952 (test_functions): Add lgamma.
59953 (calc_generic_results): Handle mpfr_f_f1.
59954 * sysdeps/i386/fpu/libm-test-ulps: Update.
59955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59956
59957 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59958
59959 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59960 __mpn_add_n for PowerPC64/POWER7.
59961 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59962 __mpn_sub_n for PowerPC64/POWER7.
59963
59964 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59965 __mpn_addmul_1 for PowerPC64.
59966 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59967 __mpn_submul_1 for PowerPC64.
59968 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59969 for PowerPC64.
59970 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59971 for PowerPC64.
59972
59973 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59974
59975 [BZ #15089]
59976 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59977
59978 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59979
59980 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59981
59982 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59983 add multiarch folders.
59984 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59985 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59986 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59987 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59988 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59989 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59990 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59991 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59992 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59993 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59994 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
60000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
60001
60002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60003 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
60004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
60005 New file.
60006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
60007 New file.
60008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
60009 multiarch __ieee754_hypot for PowerPC32.
60010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
60011 New file.
60012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
60013 New file.
60014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
60015 multiarch __ieee754_hypotf for PowerPC32.
60016
60017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
60018 long_double_symbol only if __logbl is defined.
60019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
60020 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
60021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
60022 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
60023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
60024 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
60025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
60026 path for implementation.
60027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
60028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
60029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
60030 logb, and logbl multiarch implementations for PowerPC32.
60031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
60032 file.
60033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
60034 file.
60035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
60036 multiarch logb for PowerPC32.
60037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
60038 file.
60039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
60040 file.
60041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
60042 multiarch logbf for PowerPC32.
60043 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
60044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
60045 file.
60046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
60047 multiarch logbl implementation for PowerPC32.
60048
60049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
60050 and modff multiarch implementations.
60051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
60052 New file.
60053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
60054 New file.
60055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
60056 multiarch modf for PowerPC32.
60057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
60058 New file.
60059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
60060 New file.
60061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
60062 multiarch modff for PowerPC32.
60063
60064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
60065 and lrintf multiarch implementations.
60066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
60067 New file.
60068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
60069 New file.
60070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
60071 multiarch lrint for PowerPC32.
60072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
60073 file: multiarch lrintf for PowerPC32.
60074
60075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
60076 and lroundf multiarch implementations.
60077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
60078 New file.
60079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
60080 New file.
60081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
60082 New file.
60083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
60084 multiarch lround for PowerPC32.
60085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
60086 file: multiarch lroundf for PowerPC32.
60087
60088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60089 copysign and copysignf multiarch implementations.
60090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
60091 New file.
60092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
60093 New file.
60094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
60095 file: multiarch copysign for PowerPC32.
60096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
60097 file: multiarch copysignf for PowerPC32.
60098
60099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
60100 and truncf multiarch implementations.
60101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
60102 New file.
60103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
60104 file.
60105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
60106 multiarch trunc for PowerPC32.
60107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
60108 New file.
60109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
60110 New file.
60111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
60112 multiarch truncf for PowerPC32.
60113
60114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
60115 and roundf multiarch implementations.
60116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
60117 New file.
60118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
60119 file.
60120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
60121 multiarch round for PowerPC32.
60122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
60123 New file.
60124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
60125 New file.
60126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
60127 multiarch roundf for PowerPC32.
60128
60129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
60130 and floorf multiarch implementations.
60131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
60132 New file.
60133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
60134 file.
60135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
60136 multiarch floor for PowerPC32.
60137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
60138 New file.
60139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60140 New file.
60141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60142 multiarch floorf for PowerPC32.
60143
60144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60145 and ceilf multiarch implementations.
60146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60147 New file.
60148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60149 file.
60150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60151 multiarch ceil for PowerPC32.
60152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60153 New file.
60154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60155 file.
60156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60157 multiarch ceilf for PowerPC32.
60158
60159 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60160 is defined.
60161 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60162 FINITEF is defined.
60163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60164 and finitef multiarch implementations.
60165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60166 New file.
60167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60168 file.
60169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60170 multiarch finite for PowerPC32.
60171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60172 New file.
60173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60174 file: multiarch finitef for PowerPC32.
60175
60176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60177 and isinff multiarch implementations.
60178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60179 file.
60180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60181 file.
60182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60183 multiarch isinf for PowerPC32.
60184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60185 New file.
60186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60187 multiarch isinff for PowerPC32.
60188
60189 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60190 alias when __isnan is defined.
60191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60192 and isnanf multiarch implementations.
60193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60194 file.
60195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60196 file.
60197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60198 file.
60199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60200 file.
60201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60202 multiarch isnan for PowerPC32.
60203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60204 New file.
60205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60206 New file.
60207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60208 multiarch isnanf for PowerPC32.
60209
60210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60211 and sqrtf multiarch implementations.
60212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60213 file.
60214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60215 file.
60216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60217 multiarch sqrt for PowerPC32.
60218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60219 file.
60220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60221 file.
60222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60223 multiarch sqrtf for PowerPC32.
60224
60225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60226 and llroundf multiarch implementations.
60227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60228 New file.
60229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60230 New file.
60231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60232 New file.
60233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60234 file: multiarch llround for PowerPC32.
60235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60236 file: multiarch llroundf for PowerPC32.
60237
60238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60239 multiarch PowerPC32 fpu implementations.
60240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60241 New file.
60242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60243 New file.
60244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60245 multiarch llrint for PowerPC32.
60246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60247 New file.
60248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60249 New file.
60250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60251 file.
60252
60253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60254
60255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60256 file.
60257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60258 file.
60259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60260 file.
60261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60262 multiarch wordcopy for PPC32.
60263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60264 wordcopy objects.
60265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60266 (__libc_ifunc_impl_list): Likewise.
60267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60268 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60269 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60270 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60272 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60273
60274 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60276 file.
60277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60278 file.
60279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60280 file.
60281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60282 multiarch wcscpy for PPC32.
60283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60284 multiarch objects.
60285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60286 (__libc_ifunc_impl_list): Likewise.
60287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60288 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60289 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60290 sysdeps/powerpc/power6/wcscpy.c.
60291
60292 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60294 file.
60295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60296 file.
60297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60298 file.
60299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60300 multiarch wcsrchr for PPC32.
60301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60302 multiarch objects.
60303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60304 (__libc_ifunc_impl_list): Likewise.
60305 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60306 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60307 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60308 sysdeps/powerpc/power6/wcsrchr.c.
60309
60310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60311 file.
60312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60313 file.
60314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60316 multiarch wcschr for PPc32.
60317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60318 multiarch objects.
60319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60320 (__libc_ifunc_impl_list): Likewise.
60321 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60322 * sysdeps/powerpc/power6/wcschr.c: ... to here.
60323 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60324 sysdeps/powerpc/power6/wcschr.c.
60325
60326 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60328 file.
60329 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60330 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60331 file: multiarch strchr for PPC32.
60332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60333 multiarch objects.
60334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60335 (__libc_ifunc_impl_list): Likewise.
60336
60337 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60338 name.
60339 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60340 file.
60341 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60342 file.
60343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60344 multiarch strchrnul for PPC32.
60345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60346 multiarch objects.
60347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60348 (__libc_ifunc_impl_list): Likewise.
60349
60350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60351 file.
60352 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60353 multiarch strncasecmp for PPC32.
60354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60355 file.
60356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60357 multiarch strncasecmp_l for PPC32.
60358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60359 strncasecmp multiarch objects.
60360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60361 (__libc_ifunc_impl_list): Likewise.
60362
60363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60364 file.
60365 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60366 multiarch strncasecmp for PPC32.
60367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60368 New file.
60369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60370 multiarch strcasecmp_l for PPC32.
60371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60372 multiarch objects.
60373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60374 (__libc_ifunc_impl_list): Likewise.
60375
60376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60377 file.
60378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60379 file.
60380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60381 multiarch strncmp for PPC32.
60382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60383 multiarch objects.
60384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60385 (__libc_ifunc_impl_list): Likewise.
60386
60387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60388 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60389 file.
60390 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60391 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60393 multiarch objects.
60394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60395 (__libc_ifunc_impl_list): Likewise.
60396
60397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60398 file.
60399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60400 file.
60401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60403 multiarch objects.
60404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60405 (__libc_ifunc_impl_list): Likewise.
60406
60407 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60408 file.
60409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60410 file.
60411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60412 multiarch rawmemchr for PPC32.
60413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60414 multiarch objects.
60415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60416 (__libc_ifunc_impl_list): Likewise.
60417
60418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60419 file.
60420 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60421 file.
60422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60423 file: memrchr multiarch for PPC32.
60424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60425 multiarch objects.
60426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60427 (__libc_ifunc_impl_list): Likewise.
60428
60429 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60431 file.
60432 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60434 multiarch memchr for PPC32.
60435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60436 multiarch objects.
60437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60438 (__libc_ifunc_impl_list): Likewise.
60439
60440 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60441 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60442 file.
60443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60444 file.
60445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60446 file: multiarch mempcpy for PPC32.
60447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60448 multiarch objects.
60449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60450 (__libc_ifunc_impl_list): Likewise.
60451
60452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60453 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60454 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60456 multiarch bzero for PPC32.
60457 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60458 file.
60459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60460 file.
60461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60462 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60463 file: multiarch memset for PPC32.
60464 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60466 memset multiarch objects.
60467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60468 (__libc_ifunc_impl_list): Likewise.
60469
60470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60471 file.
60472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60474 memcmp for PPC32.
60475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60477 multiarch objects.
60478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60479 (__libc_ifunc_impl_list): Likewise.
60480
60481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60484 file.
60485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60486 file.
60487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60488 file.
60489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60490 multiarch memcpy for PPC32.
60491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60492 multiarch objects.
60493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60494 (__libc_ifunc_impl_list): Likewise.
60495
60496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60497 support multiarch for POWER/PPC32.
60498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60499 Likewise.
60500 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60502 Implies file to make multiarch folder appers before the fpu and
60503 default folder for power4 configuration.
60504
60505 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60506
60507 * scripts/bench.pl: Append volatile keyword to type.
60508
60509 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60510
60511 * sysdeps/sh/sotruss-lib.c: New file.
60512 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60513
60514 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60515
60516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60517
60518 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60519
60520 [BZ #6810]
60521 * math/w_tgamma.c: Include <errno.h>.
60522 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60523 * math/w_tgammaf.c: Include <errno.h>.
60524 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60525 * math/w_tgammal.c: Include <errno.h>.
60526 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60527 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60528 underflow. Add more tgamma tests.
60529 * math/auto-libm-test-out: Regenerated.
60530 * sysdeps/i386/fpu/libm-test-ulps: Update.
60531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60532
60533 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60534 sin, sinh, tan, tanh, tgamma, y0 and y1.
60535 * math/auto-libm-test-out: Regenerated.
60536 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60537 (TEST_COND_x86): Likewise.
60538 (M_E2l): Remove macro.
60539 (M_E3l): Likewise.
60540 (M_2_SQRT_PIl): Likewise.
60541 (M_SQRT_PIl): Likewise.
60542 (M_1_DIV_El): Likewise.
60543 (log_test_data): Use AUTO_TESTS_f_f.
60544 (log10_test_data): Likewise.
60545 (log1p_test_data): Likewise.
60546 (log2_test_data): Likewise.
60547 (sin_test_data): Likewise.
60548 (sin_tonearest_test_data): Likewise.
60549 (sin_towardzero_test_data): Likewise.
60550 (sin_downward_test_data): Likewise.
60551 (sin_upward_test_data): Likewise.
60552 (sinh_test_data): Likewise.
60553 (sinh_tonearest_test_data): Likewise.
60554 (sinh_towardzero_test_data): Likewise.
60555 (sinh_downward_test_data): Likewise.
60556 (sinh_upward_test_data): Likewise.
60557 (tan_test_data): Likewise.
60558 (tan_tonearest_test_data): Likewise.
60559 (tan_towardzero_test_data): Likewise.
60560 (tan_downward_test_data): Likewise.
60561 (tan_upward_test_data): Likewise.
60562 (tanh_test_data): Likewise.
60563 (tgamma_test_data): Likewise.
60564 (y0_test_data): Likewise.
60565 (y1_test_data): Likewise.
60566 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60567 (special_real_inputs): Add pi/4.
60568 * sysdeps/i386/fpu/libm-test-ulps: Update.
60569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60570
60571 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60572
60573 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60574 "longjmp_target" static probes.
60575 (__longjmp): Rename to __longjmp_symbol.
60576 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60577 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60578 on which longjmp to generate.
60579 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60581 probe.
60582 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60583 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60584 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60586 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60587 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60589 __longjmp_symbol based on which __longjmp to generate.
60590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60591 probe.
60592 (setjmp): Rename to setjmp_symbol.
60593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60594 (_setjmp): Rename to _setjmp_symbol.
60595 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60596 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60597 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60598 which setjmp to generate.
60599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60600 "longjmp_target" static probes.
60601
60602 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60603
60604 * benchtests/README: Add note about output arguments.
60605 * benchtests/bench-sincos.c: Remove file.
60606 * benchtests/sincos-inputs: New file.
60607 * scripts/bench.pl: Identify output arguments and define
60608 static variables for them.
60609
60610 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60611
60612 [BZ #15941]
60613 * Makefile (INSTALL): Add install-plain.texi as the primary
60614 dependency.
60615 * manual/install-plain.texi: New file.
60616 * manual/install.texi: Include node directive only for
60617 non-plaintext output.
60618
60619 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60620
60621 * stdlib/longlong.h: Update from GCC.
60622
60623 [BZ #6807]
60624 [BZ #15901]
60625 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60626 * math/w_j0f.c (y0f): Likewise.
60627 * math/w_j0l.c (__y0l): Likewise.
60628 * math/w_j1.c (y1): Likewise.
60629 * math/w_j1f.c (y1f): Likewise.
60630 * math/w_j1l.c (__y1l): Likewise.
60631 * math/w_jn.c (yn): Likewise.
60632 * math/w_jnf.c (ynf): Likewise.
60633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60634 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60635 value for Bessel function domain errors outside _SVID_ mode.
60636 Adjust sign of return value for yn (negative integer, 0).
60637 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60638 by zero in return for negative x and set sign appropriately for
60639 negative n.
60640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60642 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60643 expectations in error cases.
60644 (y1_test_data): Likewise.
60645 (yn_test_data): Likewise.
60646 * sysdeps/i386/fpu/libm-test-ulps: Update.
60647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60648
60649 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60650
60651 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60652 "64" to "64-v1". Add "64-v2".
60653 (abi-64-options): Rename to ...
60654 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60655 (abi-64-condition): Rename to ...
60656 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60657 (abi-64-ld-soname): Rename to ...
60658 (abi-64-v1-ld-soname): ... this.
60659 (abi-64-v2-options): Define.
60660 (abi-64-v2-condition): Likewise.
60661 (abi-64-v2-ld-soname): Likewise.
60662 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60663 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60667
60668 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60669 Alan Modra <amodra@gmail.com>
60670
60671 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60672 New versions for use with the ELFv2 ABI.
60673 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60674 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60675 declaration.
60676 (struct La_ppc64v2_retval): Likewise.
60677 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60678 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60679 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60680 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60681 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60683 Do not save or restore CR.
60684 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60685 (_dl_profile_resolve): Do no save or restore CR. Support extended
60686 return values for ELFv2 ABI. Fix location of FPR return registers.
60687 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60688 updated values for _CALL_ELF == 2.
60689 (La_regs, La_retval, int_retval): Likewise.
60690
60691 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60692
60693 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60694 (FRAME_MIN_SIZE_PARM): Likewise.
60695 (FRAME_BACKCHAIN): Likewise.
60696 (FRAME_CR_SAVE): Likewise.
60697 (FRAME_LR_SAVE): Likewise.
60698 (FRAME_TOC_SAVE): Likewise.
60699 (FRAME_PARM_SAVE): Likewise.
60700 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60701 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60702 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60703 (call_mcount_parm_offset): New macro.
60704 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60705 (PROF): Use symbolic stack frame offsets.
60706 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60708 Redefine in terms of FRAME_MIN_SIZE.
60709 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60710 (_dl_profile_resolve): Likewise. Update comment.
60711 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60712 symbols stack frame offsets.
60713 (__sigsetjmp): Likewise.
60714 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60715 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60716 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60717 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60718
60719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60720 (FRAME_BACKCHAIN): Remove.
60721 (FRAME_CR_SAVE): Likewise.
60722 (FRAME_LR_SAVE): Likewise.
60723 (FRAME_COMPILER_DW): Likewise.
60724 (FRAME_LINKER_DW): Likewise.
60725 (FRAME_TOC_SAVE): Likewise.
60726 (FRAME_PARM_SAVE): Likewise.
60727 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60728 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60729 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60731 (CHECK_SP): Use symbolic stack frame offsets.
60732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60733 zone" instead of caller's parameter save area for temp storage.
60734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60735 Likewise. Also, use symbolic stack frame offsets.
60736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60737 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60738 our own stack frame instead of the caller's.
60739 (__socket): Use symbolic stack frame offsets.
60740
60741 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60742 Alan Modra <amodra@gmail.com>
60743
60744 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60745 Define.
60746 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60747 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60748 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60749 New function.
60750 (elf_machine_fixup_plt): Call it.
60751 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60752 reloc arguments.
60753 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60755 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60756 r2 before calling target.
60757
60758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60759 Alan Modra <amodra@gmail.com>
60760
60761 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60762 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60763 versions of macros to support ELFv2 ABI.
60764 (LOCALENTRY): New macro.
60765 (ENTRY, EALIGN): Use it.
60766 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60767 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60768 fall through into ENTRY entry point.
60769 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60770 Only define if _CALL_ELF != 2.
60771
60772 (elf_machine_matches_host): Verify ABI version matches.
60773 (RTLD_START): Use LOCALENTRY.
60774 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60775 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60776 (PLT_ENTRY_WORDS): New macro.
60777 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60778 (elf_machine_runtime_setup): Support ELFv2 ABI.
60779 (elf_machine_fixup_plt): Likewise.
60780 (elf_machine_plt_conflict): Likewise.
60781 (resolve_ifunc): Likewise.
60782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60784 Likewise.
60785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60786 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60788 (makecontext): Support ELFv2 ABI.
60789 * elf/elf.h (EF_PPC64_ABI): Define.
60790
60791 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60792
60793 * sysdeps/powerpc/powerpc64/sysdep.h
60794 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60795 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60796 (ENTRY) [ASSEMBLER]: ... but instead here ...
60797 (EALIGN) [ASSEMBLER]: ... and here.
60798 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60799 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60800 (ENTRY_2) [!ASSEMBLER]: Use it.
60801 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60802 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60804 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60805 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60807 Use PPC64_LOAD_FUNCPTR.
60808
60809 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60810
60811 2013-12-04 Alan Modra <amodra@gmail.com>
60812
60813 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60814 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60815 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60816 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60817
60818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60819 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60820 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60821 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60822 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60823 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60824
60825 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60826
60827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60828 (__makecontext): Fix incorrect CFI when backtracing out of
60829 context created via makecontext.
60830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60831 (__setcontext): Fix incorrect CFI during switch to new context.
60832 (__novec_setcontext): Likewise.
60833
60834 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60835
60836 [BZ #4772]
60837 * time/strptime_l.c (__strptime_internal): Allow modifiers
60838 in strptime.
60839 * time/tst-strptime.c (day_tests): Add testcase.
60840
60841 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60842
60843 * scripts/bench.pl: Skip over blank lines.
60844
60845 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60846
60847 [BZ #926]
60848 * manual/time.texi (Calendar Time): Clarify what timezone functions
60849 use.
60850
60851 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60852
60853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60854
60855 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60856
60857 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60858 implementation.
60859 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60860 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60861 * debug/memset_chk.c (__memset_chk): Likewise.
60862 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60863 * debug/strncpy_chk.c: Likewise.
60864
60865 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60866
60867 [BZ #15268]
60868 [BZ #15425]
60869 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60870 (__ieee754_exp): For possibly underflowing results, check size of
60871 result and force underflow exception if required.
60872 * math/auto-libm-test-in: Add more tests of exp.
60873 * math/auto-libm-test-out: Regenerated.
60874 * sysdeps/i386/fpu/libm-test-ulps: Update.
60875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60876
60877 [BZ #16283]
60878 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60879 * math/w_exp2f.c (__exp2f): Likewise.
60880 * math/w_exp2l.c (__exp2l): Likewise.
60881 * math/auto-libm-test-in: Do not allow missing errno on exp2
60882 underflow.
60883 * math/auto-libm-test-out: Regenerated.
60884
60885 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60886
60887 [BZ #16274]
60888 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60889 handle filename validation.
60890 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60891 (do_open): Delete.
60892
60893 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60894
60895 [BZ #6786]
60896 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60897 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60898 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60899 <float.h>.
60900 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60902 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60904 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60906 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60907 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60908 Add more erfc tests.
60909 * math/auto-libm-test-out: Regenerated.
60910 * sysdeps/i386/fpu/libm-test-ulps: Update.
60911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60912
60913 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60914 exp2, expm1, j0 and j1.
60915 * math/auto-libm-test-out: Regenerated.
60916 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60917 (erfc_test_data): Likewise.
60918 (exp_test_data): Likewise.
60919 (exp_tonearest_test_data): Likewise.
60920 (exp_towardzero_test_data): Likewise.
60921 (exp_downward_test_data): Likewise.
60922 (exp_upward_test_data): Likewise.
60923 (exp10_test_data): Likewise.
60924 (exp2_test_data): Likewise.
60925 (expm1_test_data): Likewise.
60926 (j0_test_data): Likewise.
60927 (j1_test_data): Likewise.
60928 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60929 (input_flag_type): Add flag_xfail_rounding.
60930 (input_flags): Add xfail-rounding.
60931 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60932 (output_for_one_input_case): Handle flag_xfail_rounding.
60933 * sysdeps/i386/fpu/libm-test-ulps: Update.
60934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60935
60936 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60937
60938 [BZ #16289]
60939 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60940 division by 0.
60941
60942 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60943
60944 [BZ #16195]
60945 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60946 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60947 (STAP_PROBE0): New macro.
60948 (STAP_PROBE1): Likewise.
60949 (STAP_PROBE2): Likewise.
60950 (STAP_PROBE3): Likewise.
60951 (STAP_PROBE4): Likewise.
60952
60953 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60954
60955 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60956
60957 2013-12-02 Steve Ellcey <sellcey@mips.com>
60958
60959 * benchtests/Makefile (bench): Add sqrt.
60960 (LDLIBS-bench-sqrt): New.
60961 * benchtests/sqrt-input: New.
60962
60963 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60964
60965 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60966 (GAIH_EAI): Likewise.
60967 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60968 (gaih_inet): Likewise.
60969 (getaddrinfo): Don't use GAIH_EAI.
60970
60971 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60972 (struct gaih): Remove definition.
60973
60974 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60975
60976 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60977 Use HERRNOP directly.
60978
60979 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60980
60981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60982
60983 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60984
60985 * math/gen-auto-libm-tests.c (test_functions): Add more
60986 single-argument functions.
60987 (special_fill_pi_2): New function.
60988 (special_fill_minus_pi_2): Likewise.
60989 (special_fill_pi_6): Likewise.
60990 (special_fill_minus_pi_6): Likewise.
60991 (special_fill_pi_3): Likewise.
60992 (special_fill_2pi_3): Likewise.
60993 (special_fill_e): Likewise.
60994 (special_fill_1_e): Likewise.
60995 (special_fill_e_minus_1): Likewise.
60996 (special_real_inputs): Add more special inputs.
60997 (output_for_one_input_case): Do not require ERANGE on underflow to
60998 zero if round-to-nearest result does not underflow to zero, unless
60999 exact results required.
61000 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
61001 atan, atanh, cbrt, cos and cosh.
61002 * math/auto-libm-test-out: Regenerated.
61003 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
61004 (acos_tonearest_test_data): Likewise.
61005 (acos_towardzero_test_data): Likewise.
61006 (acos_downward_test_data): Likewise.
61007 (acos_upward_test_data): Likewise.
61008 (acosh_test_data): Likewise.
61009 (asin_test_data): Likewise.
61010 (asin_tonearest_test_data): Likewise.
61011 (asin_towardzero_test_data): Likewise.
61012 (asin_upward_test_data): Likewise.
61013 (asinh_test_data): Likewise.
61014 (atan_test_data): Likewise.
61015 (atanh_test_data): Likewise.
61016 (cbrt_test_data): Likewise.
61017 (cos_test_data): Likewise.
61018 (cos_tonearest_test_data): Likewise.
61019 (cos_towardzero_test_data): Likewise.
61020 (cos_downward_test_data): Likewise.
61021 (cos_upward_test_data): Likewise.
61022 (cosh_test_data): Likewise.
61023 (cosh_tonearest_test_data): Likewise.
61024 (cosh_towardzero_test_data): Likewise.
61025 (cosh_downward_test_data): Likewise.
61026 (cosh_upward_test_data): Likewise.
61027 * sysdeps/i386/fpu/libm-test-ulps: Update.
61028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61029
61030 2013-11-29 Joseph Myers <joseph@codesourcery.com>
61031
61032 [BZ #6787]
61033 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
61034 * math/w_exp10f.c (__exp10f): Likewise.
61035 * math/w_exp10l.c (__exp10l): Likewise.
61036 * math/libm-test.inc (exp10_test_data): Add more tests and expect
61037 errno settings in existing tests.
61038
61039 [BZ #14032]
61040 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
61041 precision control set to double precision.
61042 * sysdeps/i386/fpu/w_sqrt.c: New file.
61043 * math/auto-libm-test-in: Add more tests.
61044 * math/auto-libm-test-out: Update.
61045
61046 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
61047 (sqrt_test_tonearest): New function.
61048 (sqrt_towardzero_test_data): New variable.
61049 (sqrt_test_towardzero): New function.
61050 (sqrt_downward_test_data): New variable.
61051 (sqrt_test_downward): New function.
61052 (sqrt_upward_test_data): New variable.
61053 (sqrt_test_upward): New function.
61054 (main): Call the new functions.
61055
61056 * math/gen-auto-libm-tests.c: New file.
61057 * math/auto-libm-test-in: Likewise.
61058 * math/auto-libm-test-out: New generated file.
61059 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
61060 variables.
61061 (%beautify): Add generated representations of zero.
61062 (top level): Set $auto_input and call parse_auto_input.
61063 (beautify): Remove trailing "f" from hex float constants.
61064 (parse_args): Handle XFAIL_TEST.
61065 (convert_condition): New function.
61066 (or_value): Likewise.
61067 (or_cond_value): Likewise.
61068 (generate_testfile): Handle AUTO_TESTS_* lines.
61069 (parse_auto_input): New function.
61070 * math/libm-test.inc (XFAIL_TEST): New macro.
61071 (ERRNO_UNCHANGED): Update value.
61072 (ERRNO_EDOM): Likewise.
61073 (ERRNO_ERANGE): Likewise.
61074 (IGNORE_RESULT): Likewise.
61075 (TEST_COND_flt_32): New macro.
61076 (TEST_COND_dbl_64): Likewise.
61077 (TEST_COND_ldbl_96_intel): Likewise.
61078 (TEST_COND_ldbl_96_m68k): Likewise.
61079 (TEST_COND_ldbl_128): Likewise.
61080 (TEST_COND_ldbl_128ibm): Likewise.
61081 (TEST_COND_long32): Likewise.
61082 (TEST_COND_long64): Likewise.
61083 (TEST_COND_before_rounding): Likewise.
61084 (TEST_COND_after_rounding): Likewise.
61085 (enable_test): Handle XFAIL_TEST flag.
61086 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
61087 with finite results.
61088 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
61089 auto-libm-test-out.
61090
61091 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61093
61094 [BZ #16214]
61095 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
61096 __tls_get_addr_internal instead of __tls_get_offset in order to
61097 avoid GOT pointer dependency. Make rtld export
61098 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
61099 __tls_get_addr since we are a __tls_get_offset platform.
61100 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
61101 GOT pointer being set up before.
61102 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
61103
61104 2013-11-28 Joseph Myers <joseph@codesourcery.com>
61105
61106 * manual/math.texi (Errors in Math Functions): Document accuracy
61107 goals.
61108
61109 [BZ #15004]
61110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
61111 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
61112 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61114 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61115 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61116 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61117 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61120 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61121 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61122 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61125 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61126
61127 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
61128 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
61129 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
61130 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
61131 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
61132 Likewise.
61133 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
61134 Likewise.
61135 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
61136 Likewise.
61137 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
61138 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61139 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61140 atomic-feupdateenv and flt-rounds.
61141 * sysdeps/powerpc/nofpu/Versions (libc): Add
61142 __atomic_feholdexcept, __atomic_feclearexcept,
61143 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61144 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61145 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61146 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61147 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61148 here.
61149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61150 Update.
61151
61152 * manual/arith.texi (FP Exceptions): Document that exceptions may
61153 not be raised when matherr is used.
61154 (Math Error Reporting): Document overflow in directed rounding
61155 modes. Document that errno may not be set when finite values are
61156 returned on overflow. Document intent to set errno on underflow
61157 only for underflow to zero.
61158
61159 [BZ #16271]
61160 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61161 round-to-nearest then adjust result for other rounding modes.
61162 * include/fenv.h (fegetround): Use libm_hidden_proto.
61163 * math/fegetround.c (fegetround): Use libm_hidden_def.
61164 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61165 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61166 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61168 Likewise.
61169 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61170 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61171 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61172 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61173
61174 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61175
61176 [BZ #16077]
61177 * nss/Versions (libnss_files): Add
61178 _nss_files_gethostbyname3_r.
61179 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61180 New function.
61181 (HOST_DB_LOOKUP): Remove macro.
61182 (_nss_files_gethostbyname_r): Implement function without the
61183 HOST_DB_LOOKUP macro.
61184 (_nss_files_gethostbyname2_r): Likewise.
61185
61186 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
61187
61188 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61189
61190 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
61191
61192 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61193 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61194 warning.
61195
61196 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61197
61198 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61199 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61200 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61201 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61202 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61203 __fe_nomask_env_priv and attribute_hidden.
61204 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61205 (libc_feupdateenv_test_ppc): Likewise.
61206 (libc_feresetround_ppc): Likewise.
61207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61208 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61209 compat_symbol macro.
61210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61211 (__fe_nomask_env): Likewise.
61212 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61213
61214 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61215
61216 * string/Makefile: Remove ifunc tests.
61217 * string/test-string.h: Define TEST_IFUNC.
61218 * string/test-bcopy-ifunc.c: Remove.
61219 * string/test-bzero-ifunc.c: Likewise.
61220 * string/test-memccpy-ifunc.c: Likewise.
61221 * string/test-memchr-ifunc.c: Likewise.
61222 * string/test-memcmp-ifunc.c: Likewise.
61223 * string/test-memcpy-ifunc.c: Likewise.
61224 * string/test-memmem-ifunc.c: Likewise.
61225 * string/test-memmove-ifunc.c: Likewise.
61226 * string/test-mempcpy-ifunc.c: Likewise.
61227 * string/test-memrchr-ifunc.c: Likewise.
61228 * string/test-memset-ifunc.c: Likewise.
61229 * string/test-rawmemchr-ifunc.c: Likewise.
61230 * string/test-stpcpy-ifunc.c: Likewise.
61231 * string/test-stpncpy-ifunc.c: Likewise.
61232 * string/test-strcasecmp-ifunc.c: Likewise.
61233 * string/test-strcasestr-ifunc.c: Likewise.
61234 * string/test-strcat-ifunc.c: Likewise.
61235 * string/test-strchr-ifunc.c: Likewise.
61236 * string/test-strchrnul-ifunc.c: Likewise.
61237 * string/test-strcmp-ifunc.c: Likewise.
61238 * string/test-strcpy-ifunc.c: Likewise.
61239 * string/test-strcspn-ifunc.c: Likewise.
61240 * string/test-strlen-ifunc.c: Likewise.
61241 * string/test-strncasecmp-ifunc.c: Likewise.
61242 * string/test-strncat-ifunc.c: Likewise.
61243 * string/test-strncmp-ifunc.c: Likewise.
61244 * string/test-strncpy-ifunc.c: Likewise.
61245 * string/test-strnlen-ifunc.c: Likewise.
61246 * string/test-strpbrk-ifunc.c: Likewise.
61247 * string/test-strrchr-ifunc.c: Likewise.
61248 * string/test-strspn-ifunc.c: Likewise.
61249 * string/test-strstr-ifunc.c: Likewise.
61250
61251 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61252
61253 * benchtests/Makefile: Remove ifunc tests.
61254 * benchtests/bench-string.h: Define TEST_IFUNC.
61255 * benchtests/bench-bcopy-ifunc.c: Remove.
61256 * benchtests/bench-bzero-ifunc.c: Likewise.
61257 * benchtests/bench-memccpy-ifunc.c: Likewise.
61258 * benchtests/bench-memchr-ifunc.c: Likewise.
61259 * benchtests/bench-memcmp-ifunc.c: Likewise.
61260 * benchtests/bench-memcpy-ifunc.c: Likewise.
61261 * benchtests/bench-memmem-ifunc.c: Likewise.
61262 * benchtests/bench-memmove-ifunc.c: Likewise.
61263 * benchtests/bench-mempcpy-ifunc.c: Likewise.
61264 * benchtests/bench-memrchr-ifunc.c: Likewise.
61265 * benchtests/bench-memset-ifunc.c: Likewise.
61266 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61267 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61268 * benchtests/bench-stpcpy-ifunc.c: Likewise.
61269 * benchtests/bench-stpncpy-ifunc.c: Likewise.
61270 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61271 * benchtests/bench-strcasestr-ifunc.c: Likewise.
61272 * benchtests/bench-strcat-ifunc.c: Likewise.
61273 * benchtests/bench-strchr-ifunc.c: Likewise.
61274 * benchtests/bench-strchrnul-ifunc.c: Likewise.
61275 * benchtests/bench-strcmp-ifunc.c: Likewise.
61276 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61277 * benchtests/bench-strcpy-ifunc.c: Likewise.
61278 * benchtests/bench-strcspn-ifunc.c: Likewise.
61279 * benchtests/bench-strlen-ifunc.c: Likewise.
61280 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61281 * benchtests/bench-strncat-ifunc.c: Likewise.
61282 * benchtests/bench-strncmp-ifunc.c: Likewise.
61283 * benchtests/bench-strncpy-ifunc.c: Likewise.
61284 * benchtests/bench-strnlen-ifunc.c: Likewise.
61285 * benchtests/bench-strpbrk-ifunc.c: Likewise.
61286 * benchtests/bench-strrchr-ifunc.c: Likewise.
61287 * benchtests/bench-strsep-ifunc.c: Likewise.
61288 * benchtests/bench-strspn-ifunc.c: Likewise.
61289 * benchtests/bench-strstr-ifunc.c: Likewise.
61290
61291 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61292
61293 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61294
61295 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61296
61297 * resolv/netdb.h: Use __glibc_reserved instead __unused.
61298 * rt/aio.h: Likewise.
61299 * sysdeps/gnu/bits/utmp.h: Likewise.
61300 * sysdeps/gnu/bits/utmpx.h: Likewise.
61301 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61302 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61303 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61304 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61305 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61306 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61307 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61308 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61309 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61310 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61311 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61312 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61313 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61315 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61316 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61317 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61318 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61319 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61320 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61321 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61322 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61323 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61324 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61325 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61327 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61328 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61329 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61330 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61331 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61332 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61333 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61334 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61335 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61336 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61338 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61340 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61341 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61342 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61343
61344 2013-11-25 Carlos O'Donell <carlos@redhat.com>
61345
61346 [BZ #16245]
61347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61348 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61349
61350 2013-11-25 Joseph Myers <joseph@codesourcery.com>
61351
61352 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61353 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61354 Likewise.
61355
61356 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61357
61358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61359 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61360 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61361 (__fesetround): Remove define.
61362 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61363 rounding and exceptions handling.
61364 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61365 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61366 (__fe_nomask_env): Likewise.
61367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61368 __fegetround instead of fegetround.
61369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61371
61372 2013-11-21 Roland McGrath <roland@hack.frob.com>
61373
61374 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61375 it's there.
61376
61377 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61378
61379 2013-11-21 Meador Inge <meadori@codesourcery.com>
61380
61381 [BZ #11157]
61382 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61383 (encrypt_r): Likewise.
61384 * malloc/obstack.h (obstack_free): Likewise.
61385 * posix/unistd.h (encrypt): Likewise.
61386
61387 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61388
61389 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61390 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61391 DL_CALL_DT_FINI() that call the functions directly.
61392 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61393 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61394 * elf/dl-fini.c: Likewise.
61395
61396 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
61397
61398 * malloc/hooks.c (memalign_check): Add alignment rounding.
61399 * malloc/malloc.c (_mid_memalign): New function.
61400 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61401 Implement by calling _mid_memalign.
61402 * manual/probes.texi (Memory Allocation Probes): Remove
61403 memory_valloc_retry and memory_pvalloc_retry.
61404
61405 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61406
61407 * locale/programs/locarchive.c (open_archive): Add const
61408 qualifier to ARCHIVEFNAME and copy default fname to
61409 DEFAULT_FNAME.
61410
61411 [BZ #15601]
61412 * libio/tst-widetext.input: Rename Oriya to Odia.
61413 * locale/iso-639.def: Likewise.
61414
61415 * manual/probes.texi (Mathematical Function Probes): Add
61416 documentation for sin, cos, asin and acos probes.
61417 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61418 (__sin32): Add slowasin probe.
61419 (__cos32): Add slowacos probe.
61420 (__mpsin): Add slowsin probe.
61421 (__mpcos): Add slowcos probe.
61422
61423 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61424
61425 [BZ #15483]
61426 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61427 thread-local __sim_exceptions_thread and global
61428 __sim_exceptions_global.
61429 (__sim_disabled_exceptions): Change to thread-local
61430 __sim_disabled_exceptions_thread and global
61431 __sim_disabled_exceptions_global.
61432 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61433 and global __sim_round_mode_global.
61434 (__simulate_exceptions): Use thread-local floating-point state and
61435 set global state from it as needed.
61436 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61437 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61438 __sim_round_mode_thread.
61439 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61440 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61441 and global __sim_exceptions_global.
61442 (__sim_disabled_exceptions): Change to thread-local
61443 __sim_disabled_exceptions_thread and global
61444 __sim_disabled_exceptions_global.
61445 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61446 and global __sim_round_mode_global.
61447 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61448 (SIM_SET_GLOBAL): Likewise.
61449 * sysdeps/powerpc/soft-fp/sfp-machine.h
61450 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61451 __sim_round_mode_thread.
61452 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61453 __sim_disabled_exceptions_thread.
61454 (__sim_exceptions): Change to __sim_exceptions_thread.
61455 (__sim_disabled_exceptions): Change to
61456 __sim_disabled_exceptions_thread.
61457 (__sim_round_mode): Change to __sim_round_mode_thread.
61458 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61459 thread-local floating-point state and set global state from it as
61460 needed.
61461 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61462 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61463 (__sim_disabled_exceptions): Remove extern declaration.
61464 (feenableexcept): Use thread-local floating-point state and set
61465 global state from it as needed.
61466 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61467 extern declaration.
61468 (__sim_disabled_exceptions): Likewise.
61469 (__sim_round_mode): Likewise.
61470 (__fegetenv): Use thread-local floating-point state.
61471 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61472 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61473 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61474 floating-point state and set global state from it as needed.
61475 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61476 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61477 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61478 Likewise.
61479 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61480 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61481 Likewise.
61482 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61483 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61484 Use __sim_round_mode_thread.
61485 * math/test-fenv-tls.c: New file.
61486 * math/Makefile (tests): Add test-fenv-tls.
61487 ($(objpfx)test-fenv-tls): Depend on
61488 $(common-objpfx)nptl/libpthread.so.
61489
61490 2013-11-19 Andreas Schwab <schwab@suse.de>
61491
61492 * locale/programs/locale.c (show_info): Decode wordarray elements.
61493 * locale/categories.def (LC_MONETARY): Add element for
61494 _NL_MONETARY_CRNCYSTR.
61495 * locale/C-monetary.c (conversion_rate): New variable.
61496 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61497 element.
61498
61499 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61500
61501 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61502 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61503
61504 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61505
61506 * elf/Makefile (tst-auxv): New test.
61507 * elf/tst-auxv.c: New
61508 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61509
61510 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61511
61512 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61513 (hidden_proto): Caller changed.
61514 (hidden_tls_proto): New macro.
61515 (libc_hidden_tls_proto): Likewise.
61516 (rtld_hidden_tls_proto): Likewise.
61517 (libm_hidden_tls_proto): Likewise.
61518 (libresolv_hidden_tls_proto): Likewise.
61519 (librt_hidden_tls_proto): Likewise.
61520 (libdl_hidden_tls_proto): Likewise.
61521 (libnss_files_hidden_tls_proto): Likewise.
61522 (libnsl_hidden_tls_proto): Likewise.
61523 (libnss_nisplus_hidden_tls_proto): Likewise.
61524 (libutil_hidden_tls_proto): Likewise.
61525
61526 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
61527
61528 [BZ #10253]
61529 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61530 (decompose_rpath): Defer expansion to fillin_rpath.
61531 (_dl_init_paths): Pass linkmap to fillin_rpath.
61532
61533 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61534
61535 * benchtests/Makefile: Add strsep.
61536 * benchtests/bench-strsep.c: New file: strsep benchtest.
61537 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61538
61539 2013-11-18 Andreas Schwab <schwab@suse.de>
61540
61541 * locale/programs/locale.c (show_info) [case byte]: Check for
61542 '\377' instead of '\177'.
61543 * locale/C-monetary.c (not_available): Always use "\377".
61544 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61545 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61546 detect unavailable sign_posn locale elements.
61547 * locale/localeconv.c (__localeconv): For grouping and
61548 mon_grouping handle "\177" and "\377" like no grouping.
61549 (INT_ELEM): New macro. Use it to set all numeric members.
61550 * locale/programs/ld-monetary.c (monetary_read)
61551 <tok_mon_grouping>: Normalize single -1 to the empty string.
61552 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61553 Likewise.
61554
61555 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61556
61557 [BZ #16055]
61558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61559 when we match (nil).
61560 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61561
61562 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61563
61564 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61565 (NO_TEST_INLINE): Update value.
61566 (ERRNO_UNCHANGED): Likewise.
61567 (ERRNO_EDOM): Likewise.
61568 (ERRNO_ERANGE): Likewise.
61569 (IGNORE_RESULT): Likewise.
61570 (check_float_internal): Check signs of NaN results if
61571 TEST_NAN_SIGN used.
61572 (check_complex): Pass TEST_NAN_SIGN flag through to second
61573 check_float_internal call.
61574 (copysign_test_data): Add tests with quiet NaNs as second
61575 argument. Use TEST_NAN_SIGN.
61576 (fabs_test_data): Add test of negative quiet NaN argument. Use
61577 TEST_NAN_SIGN.
61578 (signbit_test_data): Add tests of quiet NaN argument.
61579 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61580
61581 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61582 $ignore_result.
61583 (parse_args): Handle function results specified as IGNORE.
61584 * math/libm-test.inc (IGNORE_RESULT): New macro.
61585 (check_float_internal): Do not check numerical result if flag
61586 IGNORE_RESULT set.
61587 (check_complex): Pass through IGNORE_RESULT to second
61588 check_float_internal call.
61589 (check_int): Do not check numerical result if flag IGNORE_RESULT
61590 set.
61591 (check_long): Likewise.
61592 (check_bool): Likewise.
61593 (check_longlong): Likewise.
61594 (lrint_test_data): Add tests of infinite and NaN arguments.
61595 (lrint_tonearest_test_data): Likewise.
61596 (lrint_towardzero_test_data): Likewise.
61597 (lrint_downward_test_data): Likewise.
61598 (lrint_upward_test_data): Likewise.
61599 (llrint_test_data): Likewise.
61600 (llrint_tonearest_test_data): Likewise.
61601 (llrint_towardzero_test_data): Likewise.
61602 (llrint_downward_test_data): Likewise.
61603 (llrint_upward_test_data): Likewise.
61604 (lround_test_data): Likewise.
61605 (llround_test_data): Likewise.
61606
61607 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61608 (ERRNO_UNCHANGED): Update value.
61609 (ERRNO_EDOM): Likewise.
61610 (ERRNO_ERANGE): Likewise.
61611 (NO_TEST_INLINE_FLOAT): New macro.
61612 (NO_TEST_INLINE_DOUBLE): Likewise.
61613 (enable_test): New function.
61614 (RUN_TEST_f_f): Check enable_test before running test.
61615 (RUN_TEST_2_f): Likewise.
61616 (RUN_TEST_fff_f): Likewise.
61617 (RUN_TEST_c_f): Likewise.
61618 (RUN_TEST_f_f1): Likewise.
61619 (RUN_TEST_fF_f1): Likewise.
61620 (RUN_TEST_fI_f1): Likewise.
61621 (RUN_TEST_ffI_f1): Likewise.
61622 (RUN_TEST_c_c): Likewise.
61623 (RUN_TEST_cc_c): Likewise.
61624 (RUN_TEST_f_i): Likewise.
61625 (RUN_TEST_f_i_tg): Likewise.
61626 (RUN_TEST_ff_i_tg): Likewise.
61627 (RUN_TEST_f_b): Likewise.
61628 (RUN_TEST_f_b_tg): Likewise.
61629 (RUN_TEST_f_l): Likewise.
61630 (RUN_TEST_f_L): Likewise.
61631 (RUN_TEST_fFF_11): Likewise.
61632 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61633 conditionals.
61634 (cosh_test_data): Likewise.
61635 (exp_test_data): Likewise.
61636 (expm1_test_data): Likewise.
61637 (hypot_test_data): Likewise.
61638 (pow_test_data): Likewise.
61639 (sinh_test_data): Likewise.
61640 (tanh_test_data): Likewise.
61641 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61642 flags argument.
61643
61644 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61645 tests with quiet NaN input and output.
61646 (acosh_test_data): Likewise.
61647 (asin_test_data): Likewise.
61648 (asinh_test_data): Likewise.
61649 (atan_test_data): Likewise.
61650 (atanh_test_data): Likewise.
61651 (atan2_test_data): Likewise.
61652 (cbrt_test_data): Likewise.
61653 (cos_test_data): Likewise.
61654 (cosh_test_data): Likewise.
61655 (erf_test_data): Likewise.
61656 (erfc_test_data): Likewise.
61657 (exp_test_data): Likewise.
61658 (exp10_test_data): Likewise.
61659 (exp2_test_data): Likewise.
61660 (expm1_test_data): Likewise.
61661 (hypot_test_data): Likewise.
61662 (j0_test_data): Likewise.
61663 (j1_test_data): Likewise.
61664 (jn_test_data): Likewise.
61665 (lgamma_test_data): Likewise.
61666 (log_test_data): Likewise.
61667 (log10_test_data): Likewise.
61668 (log1p_test_data): Likewise.
61669 (log2_test_data): Likewise.
61670 (pow_test_data): Likewise.
61671 (scalb_test_data): Likewise.
61672 (sin_test_data): Likewise.
61673 (sincos_test_data): Likewise.
61674 (sinh_test_data): Likewise.
61675 (tan_test_data): Likewise.
61676 (tanh_test_data): Likewise.
61677 (tgamma_test_data): Likewise.
61678 (y0_test_data): Likewise.
61679 (y1_test_data): Likewise.
61680 (yn_test_data): Likewise.
61681
61682 [BZ #16167]
61683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61684 argument being NaN and avoid computations with second argument in
61685 that case.
61686 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61687 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61689
61690 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61691
61692 * locale/iso-639.def: Add Chitwani Tharu (the).
61693
61694 2013-11-14 Andreas Schwab <schwab@suse.de>
61695
61696 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61697 word instead of empty string.
61698
61699 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61700
61701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61702 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61704 (__fe_nomask_env): Likewise.
61705
61706 2013-11-13 Steve Ellcey <sellcey@mips.com>
61707
61708 * benchtests/bench-timing.h: Include time.h.
61709
61710 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61711
61712 [BZ #15997]
61713 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61714 to 3.4.0 for x32.
61715 * sysdeps/unix/sysv/linux/configure: Regenerated.
61716
61717 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61718
61719 [BZ #16151]
61720 * stdlib/strtod_l.c (round_and_return): Do not consider
61721 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61722 exponent one less than half the least subnormal exponent.
61723 * stdlib/test-strtod-round-data: Add more tests.
61724 * stdlib/tst-strtod-round.c (tests): Regenerated.
61725
61726 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61727
61728 [BZ #14143]
61729 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61730 (__fe_mask_env): Likewise.
61731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61732 libm_hidden_proto and add function prototype.
61733 (__fe_mask_env): Add function prototype.
61734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61735 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61737 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61739 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61740
61741 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61742
61743 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61744 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61745
61746 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61747
61748 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61749 of htab_find_slot().
61750
61751 2013-11-11 David S. Miller <davem@davemloft.net>
61752
61753 [BZ #16150]
61754 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61755 symbol in the non-vis3 case in static builds.
61756 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61757 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61758 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61759 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61760
61761 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61762
61763 [BZ #387]
61764 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61765 it is empty.
61766
61767 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61768
61769 * benchtests/Makefile: Add bench-strtod.
61770 * benchtests/bench-strtod.c: New file: strtod benchtest
61771
61772 2013-11-11 Andreas Schwab <schwab@suse.de>
61773
61774 [BZ #16153]
61775 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61776 terminating NUL in key length.
61777
61778 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61779
61780 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61781 Add artificial ODP entry for vDSO symbol for PPC64.
61782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61783 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61784
61785 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61786
61787 [BZ #15374]
61788 * nss/getent.c (services_keys): Recognize services starting with digit.
61789
61790 2013-11-06 David S. Miller <davem@davemloft.net>
61791
61792 [BZ #15985]
61793 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61794 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61795
61796 2013-11-06 Will Newton <will.newton@linaro.org>
61797
61798 * manual/memory.texi (Malloc Examples): Remove register
61799 keyword from examples.
61800
61801 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61802
61803 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61804
61805 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61806
61807 [BZ #6981]
61808 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61809 depending on [__GCC_IEC_559 > 0].
61810 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61811 depending on [__GCC_IEC_559_COMPLEX > 0].
61812
61813 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61814
61815 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61816 to iso-639.def.
61817
61818 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
61819
61820 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61821
61822 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
61823
61824 [BZ #16112]
61825 * malloc/malloc (malloc_info): Do not handle first bin as
61826 special case.
61827
61828 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61829
61830 * locale/iso-639.def: Add Central Nahuatl (nhn).
61831
61832 2013-11-01 Bruno Haible <bruno@clisp.org>
61833
61834 [BZ #7003]
61835 * manual/math.texi (BSD Random): Specify range upper bound as
61836 in POSIX.
61837
61838 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61839
61840 * locale/iso-639.def: Add Meadow Mari (mhr).
61841
61842 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61843
61844 [BZ #14752], [BZ #15763]
61845 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61846 Validate name.
61847 * rt/tst_shm.c: Add test for escaping directory.
61848
61849 2013-10-31 Andreas Schwab <schwab@suse.de>
61850
61851 [BZ #15917]
61852 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61853 followed by 'x' as part of digit sequence.
61854 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61855
61856 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61857
61858 [BZ #16037]
61859 * configure.ac: allow GNU Make 4.0 and greater.
61860 * configure: Regenerated.
61861
61862 2013-10-30 Will Newton <will.newton@linaro.org>
61863
61864 [BZ #16038]
61865 * malloc/hooks.c (memalign_check): Limit alignment to the
61866 maximum representable power of two.
61867 * malloc/malloc.c (__libc_memalign): Likewise.
61868 * malloc/tst-memalign.c (do_test): Add test for very
61869 large alignment values.
61870 * malloc/tst-posix_memalign.c (do_test): Likewise.
61871
61872 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61873
61874 [BZ #11087]
61875 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61876 (munmap_chunk): Likewise.
61877 (mremap_chunk): Likewise.
61878
61879 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61880
61881 [BZ #15799]
61882 * stdlib/div.c (div): Remove obsolete code.
61883 * stdlib/ldiv.c (ldiv): Likewise.
61884 * stdlib/lldiv.c (lldiv): Likewise.
61885
61886 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61887
61888 [BZ #16071]
61889 * nss/nss_files/files-XXX.c (get_contents_ret): New
61890 enumerator.
61891 (get_contents): New function.
61892 (internal_getent): Use it. Expand size of LINEBUFLEN.
61893
61894 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61895
61896 * configure.in: Moved to ...
61897 * configure.ac: ... here. Change reference to configure.in
61898 to configure.ac.
61899 * sysdeps/arm/preconfigure.ac: ... here.
61900 configure.in to configure.ac.
61901 * sysdeps/gnu/configure.in: Moved to ...
61902 * sysdeps/gnu/configure.ac: ... here.
61903 * sysdeps/i386/configure.in: Moved to ...
61904 * sysdeps/i386/configure.ac: ... here.
61905 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61906 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61907 * sysdeps/mach/configure.in: Moved to ...
61908 * sysdeps/mach/configure.ac: ... here.
61909 * sysdeps/mach/hurd/configure.in: Moved to ...
61910 * sysdeps/mach/hurd/configure.ac: ... here.
61911 * sysdeps/powerpc/configure.in: Moved to ...
61912 * sysdeps/powerpc/configure.ac: ... here.
61913 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61914 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61915 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61916 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61917 * sysdeps/s390/s390-32/configure.in: Moved to ...
61918 * sysdeps/s390/s390-32/configure.ac: ... here.
61919 * sysdeps/s390/s390-64/configure.in: Moved to ...
61920 * sysdeps/s390/s390-64/configure.ac: ... here.
61921 * sysdeps/sh/configure.in: Moved to ...
61922 * sysdeps/sh/configure.ac: ... here.
61923 * sysdeps/sparc/configure.in: Moved to ...
61924 * sysdeps/sparc/configure.ac: ... here.
61925 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61926 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61927 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61928 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61929 * sysdeps/x86_64/configure.in: Moved to ...
61930 * sysdeps/x86_64/configure.ac: ... here.
61931 * sysdeps/x86_64/preconfigure.in: Moved to ...
61932 * sysdeps/x86_64/preconfigure.ac: ... here.
61933 * aclocal.m4: Change reference to configure.in to configure.ac.
61934 * config.h.in: Likewise.
61935 * manual/install.texi: Likewise.
61936 * manual/maint.texi: Likewise.
61937 * Makefile: Likewise.
61938 * malloc/Makefile: Likewise.
61939 * nscd/Makefile: Likewise.
61940 * Makeconfig: Change reference to configure.in and
61941 preconfigure.in to configure.ac and preconfigure.ac
61942 respectively.
61943 * INSTALL: Regenerated.
61944 * configure: Likewise.
61945 * sysdeps/gnu/configure: Likewise.
61946 * sysdeps/i386/configure: Likewise.
61947 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61948 * sysdeps/mach/configure: Likewise.
61949 * sysdeps/mach/hurd/configure: Likewise.
61950 * sysdeps/powerpc/configure: Likewise.
61951 * sysdeps/powerpc/powerpc32/configure: Likewise.
61952 * sysdeps/powerpc/powerpc64/configure: Likewise.
61953 * sysdeps/s390/s390-32/configure: Likewise.
61954 * sysdeps/s390/s390-64/configure: Likewise.
61955 * sysdeps/sh/configure: Likewise.
61956 * sysdeps/sparc/configure: Likewise.
61957 * sysdeps/unix/sysv/linux/configure: Likewise.
61958 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61959 * sysdeps/x86_64/configure: Likewise.
61960 * sysdeps/x86_64/preconfigure: Likewise.
61961
61962 2013-10-29 Andreas Schwab <schwab@suse.de>
61963
61964 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61965
61966 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61967
61968 * benchtests/pow-inputs: Add new inputs.
61969
61970 * benchtests/exp-inputs: Add new inputs.
61971
61972 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61973 conditional check for return value.
61974 (__cos32): Likewise.
61975
61976 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61977
61978 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61979 to provide a boost for large inputs with word alignment.
61980 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61981 implementation based on optimized PPC64 strcpy.
61982 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61983 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61984 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61985 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61986
61987 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61988
61989 [BZ #2801]
61990 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61991
61992 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61993
61994 [BZ #14876]
61995 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61996 * time/tst-strptime.c (day_tests): Add testcase.
61997
61998 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61999
62000 [BZ #14029]
62001 * manual/pattern.texi: Acknowledge that fnmatch can fail.
62002
62003 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
62004
62005 [BZ #16074]
62006 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
62007 MAP_FAILED on error.
62008
62009 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
62010
62011 [BZ #16072]
62012 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
62013 heap for large requests.
62014
62015 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
62016
62017 [BZ #9954]
62018 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
62019 result if the result has no associated interface.
62020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
62021 interface for all 127.X.Y.Z addresses.
62022
62023 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
62024
62025 * locale/iso-639.def: Add Ligurian (lij)
62026
62027 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
62028
62029 [BZ #15825]
62030 * sunrpc/rpc_main.c: Document rpcgen -5.
62031
62032 2013-10-19 Michael Stahl <mstahl@redhat.com>
62033
62034 * elf/rtld.c (do_preload): Print the reason why preloading failed.
62035
62036 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
62037
62038 [BZ #10278]
62039 * posix/glob.c: Match only directories when trailing slash is present.
62040 * posix/tst-gnuglob.c (my_opendir): Do not open files.
62041 (main): Add testcase.
62042
62043 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
62044
62045 [BZ #15670]
62046 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
62047
62048 2013-10-18 Carlos O'Donell <carlos@redhat.com>
62049
62050 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
62051 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
62052 AUTH_DES and cindex for FIPS 140-2.
62053 (DES Encryption): Add cindex FIPS 46-3.
62054
62055 * locale/locarchive.h (struct locarhandle): Add fname.
62056 * locale/programs/localedef.c (main): Pass ARGV[remaining]
62057 if an optional argument was specified to --list-archive,
62058 otherwise NULL.
62059 * locale/programs/locarchive.c (show_archive_content): Take new
62060 argument fname and pass it via ah.fname to open_archive.
62061 * locale/programs/localedef.h: Update decl.
62062 (open_archive): If AH->fname is non-null, open that file
62063 rather than the default file name, and don't ignore ENOENT.
62064 (create_archive): Set AH.fname to NULL.
62065 (delete_locales_from_archive): Likewise.
62066 (add_locales_to_archive): Likewise.
62067 * locale/programs/locfile.c (write_all_categories): Likewise.
62068
62069 2013-10-18 Joseph Myers <joseph@codesourcery.com>
62070 Aldy Hernandez <aldyh@redhat.com>
62071
62072 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
62073 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
62074 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
62075 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
62076 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
62077 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
62078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
62079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
62080 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
62081 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
62082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
62083 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
62084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
62085 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
62086 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
62087 Likewise.
62088 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
62089 Likewise.
62090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
62091 Likewise.
62092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
62093 Likewise.
62094 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
62095 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
62096 Likewise.
62097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
62098 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
62099 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
62100 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
62101 Likewise.
62102 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
62103 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
62104 * sysdeps/powerpc/preconfigure: Likewise.
62105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
62106 Likewise.
62107 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
62108 Replace contents of file by #include of <fenv_libc.h>.
62109 * sysdeps/powerpc/soft-fp/sfp-machine.h
62110 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
62111 and <sys/prctl.h>.
62112 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
62113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
62114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
62115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
62116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
62117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
62118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
62119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
62120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
62121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
62122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
62123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
62124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
62125 Allow copysignl PLT reference to be missing.
62126
62127 2013-10-18 Richard Sandiford <richard@codesourcery.com>
62128 Joseph Myers <joseph@codesourcery.com
62129
62130 [BZ #15948]
62131 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
62132 single character.
62133 (add_to_tablewc): Assert sequence of wide characters is nonempty.
62134
62135 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62136
62137 * elf/tst-tls-dlinfo.c: Don't include tls.h.
62138 * elf/tst-tls1.c: Likewise.
62139 * elf/tst-tls10.h: Likewise.
62140 * elf/tst-tls14.c: Likewise.
62141 * elf/tst-tls2.c: Likewise.
62142 * elf/tst-tls3.c: Likewise.
62143 * elf/tst-tls4.c: Likewise.
62144 * elf/tst-tls5.c: Likewise.
62145 * elf/tst-tls6.c: Likewise.
62146 * elf/tst-tls7.c: Likewise.
62147 * elf/tst-tls8.c: Likewise.
62148 * elf/tst-tls9.c: Likewise.
62149 * elf/tst-tlsmod1.c: Likewise.
62150 * elf/tst-tlsmod13.c: Likewise.
62151 * elf/tst-tlsmod13a.c: Likewise.
62152 * elf/tst-tlsmod14a.c: Likewise.
62153 * elf/tst-tlsmod16a.c: Likewise.
62154 * elf/tst-tlsmod16b.c: Likewise.
62155 * elf/tst-tlsmod2.c: Likewise.
62156 * elf/tst-tlsmod3.c: Likewise.
62157 * elf/tst-tlsmod4.c: Likewise.
62158 * elf/tst-tlsmod5.c: Likewise.
62159 * elf/tst-tlsmod6.c: Likewise.
62160
62161 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
62162
62163 [BZ #12486]
62164 * malloc/malloc.c: remove checks for statistics.
62165
62166 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
62167
62168 [BZ #15277]
62169 * inet/inet_net.c (inet_network): Detect additional invalid strings.
62170 * inet/tst-network.c: Add testcase.
62171
62172 2013-10-17 Andreas Schwab <schwab@suse.de>
62173
62174 [BZ #15218]
62175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62176 to determine canonical name.
62177
62178 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
62179
62180 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62181 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62186 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62188 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62190 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62198 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62203 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62204 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62205 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62206 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62207 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62209 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62210 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62212 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62217 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62218 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62220 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62221 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62223 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62224 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62228 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62230 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62238
62239 2013-10-17 Joseph Myers <joseph@codesourcery.com>
62240
62241 [BZ #16041]
62242 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62243 make result into a quiet NaN.
62244
62245 2013-10-16 Joseph Myers <joseph@codesourcery.com>
62246
62247 * soft-fp/adddf3.c: Fix horizontal whitespace.
62248 * soft-fp/addsf3.c: Likewise.
62249 * soft-fp/addtf3.c: Likewise.
62250 * soft-fp/divdf3.c: Likewise.
62251 * soft-fp/divsf3.c: Likewise.
62252 * soft-fp/divtf3.c: Likewise.
62253 * soft-fp/double.h: Likewise.
62254 * soft-fp/eqdf2.c: Likewise.
62255 * soft-fp/eqsf2.c: Likewise.
62256 * soft-fp/eqtf2.c: Likewise.
62257 * soft-fp/extenddftf2.c: Likewise.
62258 * soft-fp/extended.h: Likewise.
62259 * soft-fp/extendsfdf2.c: Likewise.
62260 * soft-fp/extendsftf2.c: Likewise.
62261 * soft-fp/extendxftf2.c: Likewise.
62262 * soft-fp/fixdfdi.c: Likewise.
62263 * soft-fp/fixdfsi.c: Likewise.
62264 * soft-fp/fixdfti.c: Likewise.
62265 * soft-fp/fixsfdi.c: Likewise.
62266 * soft-fp/fixsfsi.c: Likewise.
62267 * soft-fp/fixsfti.c: Likewise.
62268 * soft-fp/fixtfdi.c: Likewise.
62269 * soft-fp/fixtfsi.c: Likewise.
62270 * soft-fp/fixtfti.c: Likewise.
62271 * soft-fp/fixunsdfdi.c: Likewise.
62272 * soft-fp/fixunsdfsi.c: Likewise.
62273 * soft-fp/fixunsdfti.c: Likewise.
62274 * soft-fp/fixunssfdi.c: Likewise.
62275 * soft-fp/fixunssfsi.c: Likewise.
62276 * soft-fp/fixunssfti.c: Likewise.
62277 * soft-fp/fixunstfdi.c: Likewise.
62278 * soft-fp/fixunstfsi.c: Likewise.
62279 * soft-fp/fixunstfti.c: Likewise.
62280 * soft-fp/floatdidf.c: Likewise.
62281 * soft-fp/floatdisf.c: Likewise.
62282 * soft-fp/floatditf.c: Likewise.
62283 * soft-fp/floatsidf.c: Likewise.
62284 * soft-fp/floatsisf.c: Likewise.
62285 * soft-fp/floatsitf.c: Likewise.
62286 * soft-fp/floattidf.c: Likewise.
62287 * soft-fp/floattisf.c: Likewise.
62288 * soft-fp/floattitf.c: Likewise.
62289 * soft-fp/floatundidf.c: Likewise.
62290 * soft-fp/floatundisf.c: Likewise.
62291 * soft-fp/floatunditf.c: Likewise.
62292 * soft-fp/floatunsidf.c: Likewise.
62293 * soft-fp/floatunsisf.c: Likewise.
62294 * soft-fp/floatunsitf.c: Likewise.
62295 * soft-fp/floatuntidf.c: Likewise.
62296 * soft-fp/floatuntisf.c: Likewise.
62297 * soft-fp/floatuntitf.c: Likewise.
62298 * soft-fp/fmadf4.c: Likewise.
62299 * soft-fp/fmasf4.c: Likewise.
62300 * soft-fp/fmatf4.c: Likewise.
62301 * soft-fp/gedf2.c: Likewise.
62302 * soft-fp/gesf2.c: Likewise.
62303 * soft-fp/getf2.c: Likewise.
62304 * soft-fp/ledf2.c: Likewise.
62305 * soft-fp/lesf2.c: Likewise.
62306 * soft-fp/letf2.c: Likewise.
62307 * soft-fp/muldf3.c: Likewise.
62308 * soft-fp/mulsf3.c: Likewise.
62309 * soft-fp/multf3.c: Likewise.
62310 * soft-fp/negdf2.c: Likewise.
62311 * soft-fp/negsf2.c: Likewise.
62312 * soft-fp/negtf2.c: Likewise.
62313 * soft-fp/op-1.h: Likewise.
62314 * soft-fp/op-2.h: Likewise.
62315 * soft-fp/op-4.h: Likewise.
62316 * soft-fp/op-8.h: Likewise.
62317 * soft-fp/op-common.h: Likewise.
62318 * soft-fp/quad.h: Likewise.
62319 * soft-fp/single.h: Likewise.
62320 * soft-fp/soft-fp.h: Likewise.
62321 * soft-fp/sqrtdf2.c: Likewise.
62322 * soft-fp/sqrtsf2.c: Likewise.
62323 * soft-fp/sqrttf2.c: Likewise.
62324 * soft-fp/subdf3.c: Likewise.
62325 * soft-fp/subsf3.c: Likewise.
62326 * soft-fp/subtf3.c: Likewise.
62327 * soft-fp/truncdfsf2.c: Likewise.
62328 * soft-fp/trunctfdf2.c: Likewise.
62329 * soft-fp/trunctfsf2.c: Likewise.
62330 * soft-fp/trunctfxf2.c: Likewise.
62331 * soft-fp/unorddf2.c: Likewise.
62332 * soft-fp/unordsf2.c: Likewise.
62333 * soft-fp/unordtf2.c: Likewise.
62334
62335 2013-10-15 Joseph Myers <joseph@codesourcery.com>
62336
62337 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62338 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62339
62340 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
62341
62342 * elf/dl-libc.c: Clear initfini list after freeing.
62343
62344 2013-10-14 Joseph Myers <joseph@codesourcery.com>
62345
62346 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62347 * soft-fp/addsf3.c: Likewise.
62348 * soft-fp/addtf3.c: Likewise.
62349 * soft-fp/divdf3.c: Likewise.
62350 * soft-fp/divsf3.c: Likewise.
62351 * soft-fp/divtf3.c: Likewise.
62352 * soft-fp/double.h: Likewise.
62353 * soft-fp/eqdf2.c: Likewise.
62354 * soft-fp/eqsf2.c: Likewise.
62355 * soft-fp/eqtf2.c: Likewise.
62356 * soft-fp/extenddftf2.c: Likewise.
62357 * soft-fp/extended.h: Likewise.
62358 * soft-fp/extendsfdf2.c: Likewise.
62359 * soft-fp/extendsftf2.c: Likewise.
62360 * soft-fp/extendxftf2.c: Likewise.
62361 * soft-fp/fixdfdi.c: Likewise.
62362 * soft-fp/fixdfsi.c: Likewise.
62363 * soft-fp/fixdfti.c: Likewise.
62364 * soft-fp/fixsfdi.c: Likewise.
62365 * soft-fp/fixsfsi.c: Likewise.
62366 * soft-fp/fixsfti.c: Likewise.
62367 * soft-fp/fixtfdi.c: Likewise.
62368 * soft-fp/fixtfsi.c: Likewise.
62369 * soft-fp/fixtfti.c: Likewise.
62370 * soft-fp/fixunsdfdi.c: Likewise.
62371 * soft-fp/fixunsdfsi.c: Likewise.
62372 * soft-fp/fixunsdfti.c: Likewise.
62373 * soft-fp/fixunssfdi.c: Likewise.
62374 * soft-fp/fixunssfsi.c: Likewise.
62375 * soft-fp/fixunssfti.c: Likewise.
62376 * soft-fp/fixunstfdi.c: Likewise.
62377 * soft-fp/fixunstfsi.c: Likewise.
62378 * soft-fp/fixunstfti.c: Likewise.
62379 * soft-fp/floatdidf.c: Likewise.
62380 * soft-fp/floatdisf.c: Likewise.
62381 * soft-fp/floatditf.c: Likewise.
62382 * soft-fp/floatsidf.c: Likewise.
62383 * soft-fp/floatsisf.c: Likewise.
62384 * soft-fp/floatsitf.c: Likewise.
62385 * soft-fp/floattidf.c: Likewise.
62386 * soft-fp/floattisf.c: Likewise.
62387 * soft-fp/floattitf.c: Likewise.
62388 * soft-fp/floatundidf.c: Likewise.
62389 * soft-fp/floatundisf.c: Likewise.
62390 * soft-fp/floatunsidf.c: Likewise.
62391 * soft-fp/floatunsisf.c: Likewise.
62392 * soft-fp/floatuntidf.c: Likewise.
62393 * soft-fp/floatuntisf.c: Likewise.
62394 * soft-fp/floatuntitf.c: Likewise.
62395 * soft-fp/fmadf4.c: Likewise.
62396 * soft-fp/fmasf4.c: Likewise.
62397 * soft-fp/fmatf4.c: Likewise.
62398 * soft-fp/gedf2.c: Likewise.
62399 * soft-fp/gesf2.c: Likewise.
62400 * soft-fp/getf2.c: Likewise.
62401 * soft-fp/ledf2.c: Likewise.
62402 * soft-fp/lesf2.c: Likewise.
62403 * soft-fp/letf2.c: Likewise.
62404 * soft-fp/muldf3.c: Likewise.
62405 * soft-fp/mulsf3.c: Likewise.
62406 * soft-fp/multf3.c: Likewise.
62407 * soft-fp/negdf2.c: Likewise.
62408 * soft-fp/negsf2.c: Likewise.
62409 * soft-fp/negtf2.c: Likewise.
62410 * soft-fp/op-1.h: Likewise.
62411 * soft-fp/op-2.h: Likewise.
62412 * soft-fp/op-4.h: Likewise.
62413 * soft-fp/op-8.h: Likewise.
62414 * soft-fp/op-common.h: Likewise.
62415 * soft-fp/quad.h: Likewise.
62416 * soft-fp/single.h: Likewise.
62417 * soft-fp/soft-fp.h: Likewise.
62418 * soft-fp/sqrtdf2.c: Likewise.
62419 * soft-fp/sqrtsf2.c: Likewise.
62420 * soft-fp/sqrttf2.c: Likewise.
62421 * soft-fp/subdf3.c: Likewise.
62422 * soft-fp/subsf3.c: Likewise.
62423 * soft-fp/subtf3.c: Likewise.
62424 * soft-fp/truncdfsf2.c: Likewise.
62425 * soft-fp/trunctfdf2.c: Likewise.
62426 * soft-fp/trunctfsf2.c: Likewise.
62427 * soft-fp/trunctfxf2.c: Likewise.
62428 * soft-fp/unorddf2.c: Likewise.
62429 * soft-fp/unordsf2.c: Likewise.
62430 * soft-fp/unordtf2.c: Likewise.
62431
62432 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
62433
62434 [BZ #15672]
62435 * misc/error.c (error_tail): Fix possible buffer overflow.
62436
62437 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62438
62439 [BZ #13028]
62440 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62441 address.
62442
62443 2013-10-14 P. J. McDermott <pj@pehjota.net>
62444
62445 [BZ #832]
62446 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62447 testing pipefail option.
62448
62449 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62450
62451 * soft-fp/double.h: Indent preprocessor directives inside #if.
62452 * soft-fp/extended.h: Likewise.
62453 * soft-fp/op-2.h: Likewise.
62454 * soft-fp/op-4.h: Likewise.
62455 * soft-fp/op-common.h: Likewise.
62456 * soft-fp/quad.h: Likewise.
62457 * soft-fp/single.h: Likewise.
62458 * soft-fp/soft-fp.h: Likewise.
62459
62460 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62461
62462 * iconv/iconv_prog.c: Fix typos.
62463 * stdio-common/psiginfo-data.h: Likewise.
62464
62465 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62466
62467 [BZ #15764]
62468 * locale/setlocale.c: Fix typo.
62469
62470 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62471
62472 [BZ #16036]
62473 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62474 signaling NaN arguments.
62475 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62476 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62477
62478 [BZ #14910]
62479 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62480 unordered operands.
62481 * soft-fp/gesf2.c (__gesf2): Likewise.
62482 * soft-fp/getf2.c (__getf2): Likewise.
62483 * soft-fp/ledf2.c (__ledf2): Likewise.
62484 * soft-fp/lesf2.c (__lesf2): Likewise.
62485 * soft-fp/letf2.c (__letf2): Likewise.
62486
62487 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62488 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62489 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62490 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62491 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62492 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62493 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62494 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62495 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62496 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62497 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62498 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62499 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62500 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62501 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62502 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62503 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62504 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62505 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62506 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62507 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62508 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62509 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62510 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62511 * soft-fp/floattidf.c (__floattidf): Likewise.
62512 * soft-fp/floattisf.c (__floattisf): Likewise.
62513 * soft-fp/floattitf.c (__floattitf): Likewise.
62514 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62515 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62516 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62517 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62518 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62519 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62520 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62521 * soft-fp/gesf2.c (__gesf2): Likewise.
62522 * soft-fp/getf2.c (__getf2): Likewise.
62523 * soft-fp/ledf2.c (__ledf2): Likewise.
62524 * soft-fp/lesf2.c (__lesf2): Likewise.
62525 * soft-fp/letf2.c (__letf2): Likewise.
62526
62527 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62528 Undefine and redefine.
62529 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62530 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62531 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62532 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62533 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62534 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62535 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62536 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62537 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62538 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62539 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62540 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62541 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62542 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62543 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62544
62545 [BZ #16032]
62546 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62547 without decrementing exponent if mantissa >= that for the
62548 denominator, not >.
62549 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62550 denominator, not >. Decrement exponent in < case instead of
62551 incrementing in >= case.
62552 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62553 without decrementing exponent if mantissa >= that for the
62554 denominator, not >.
62555
62556 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62557 computing saturated result for unsigned overflow.
62558
62559 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62560 Jeff Law <law@redhat.com>
62561
62562 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62563 (atan2Mp): Add systemtap probe marker.
62564 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62565 (__ieee754_log): Add systemtap probe marker.
62566 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62567 (atanMp): Add systemtap probe marker.
62568 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62569 (tanMp): Add systemtap probe marker.
62570 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62571 (__slowexp): Add systemtap probe marker.
62572 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62573 (__slowpow): Add systemtap probe marker.
62574 * manual/probes.texi: Document probes.
62575
62576 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62577
62578 [BZ #15362]
62579 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62580 written.
62581 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62582 written.
62583 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62584 written to buffer but not flushed.
62585 * libio/iofwrite_u.c: Likewise.
62586 * libio/iopadn.c: Return bytes returned even if EOF was
62587 encountered.
62588 * libio/iowpadn.c: Likewise.
62589 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62590 if _IO_padn does not write the whole buffer.
62591 [!COMPILE_WPRINTF] (PAD): Likewise.
62592
62593 2013-10-10 David S. Miller <davem@davemloft.net>
62594
62595 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62596 directory block.
62597
62598 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62599
62600 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62601 instead of FSF address.
62602 * soft-fp/fixdfti.c: Likewise.
62603 * soft-fp/fixsfti.c: Likewise.
62604 * soft-fp/fixtfti.c: Likewise.
62605 * soft-fp/fixunsdfti.c: Likewise.
62606 * soft-fp/fixunssfti.c: Likewise.
62607 * soft-fp/fixunstfti.c: Likewise.
62608 * soft-fp/floattidf.c: Likewise.
62609 * soft-fp/floattisf.c: Likewise.
62610 * soft-fp/floattitf.c: Likewise.
62611 * soft-fp/floatuntidf.c: Likewise.
62612 * soft-fp/floatuntisf.c: Likewise.
62613 * soft-fp/floatuntitf.c: Likewise.
62614 * soft-fp/trunctfxf2.c: Likewise.
62615
62616 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62617 * soft-fp/fixdfti.c: Likewise.
62618 * soft-fp/fixsfti.c: Likewise.
62619 * soft-fp/fixtfti.c: Likewise.
62620 * soft-fp/fixunsdfti.c: Likewise.
62621 * soft-fp/fixunssfti.c: Likewise.
62622 * soft-fp/fixunstfti.c: Likewise.
62623 * soft-fp/floattidf.c: Likewise.
62624 * soft-fp/floattisf.c: Likewise.
62625 * soft-fp/floattitf.c: Likewise.
62626 * soft-fp/floatuntidf.c: Likewise.
62627 * soft-fp/floatuntisf.c: Likewise.
62628 * soft-fp/floatuntitf.c: Likewise.
62629 * soft-fp/trunctfxf2.c: Likewise.
62630
62631 2013-10-10 David S. Miller <davem@davemloft.net>
62632
62633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62634
62635 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62636
62637 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62638 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62639 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62640 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62641 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62642 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62643 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62644
62645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62646 for NaNs before doing comparisons on argument.
62647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62648 Likewise.
62649
62650 2013-10-10 Will Newton <will.newton@linaro.org>
62651
62652 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62653 passed to _int_memalign does not overflow.
62654
62655 2013-10-10 Torvald Riegel <triegel@redhat.com>
62656
62657 * scripts/bench.pl: Add include-sources directive.
62658 * benchtests/README: Update documentation.
62659
62660 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62661
62662 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62663 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62664 instead of FP_INIT_ROUNDMODE.
62665 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62666 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62667
62668 [BZ #16034]
62669 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62670 copy class of input value.
62671 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62672 not handle exceptions.
62673 * soft-fp/negsf2.c (__negsf2): Likewise.
62674 * soft-fp/negtf2.c (__negtf2): Likewise.
62675 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62676
62677 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62678
62679 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62680 semicolon. From Linux kernel.
62681
62682 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62683
62684 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62685
62686 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62687
62688 [BZ #156]
62689 * manual/socket.texi: Added statement about buffer
62690 for gethostbyname2_r.
62691
62692 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
62693
62694 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62695 Use .p2align directive instead, throughout.
62696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62697 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62698 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62701 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62702 * sysdeps/x86_64/strchr.S: Likewise.
62703 * sysdeps/x86_64/strrchr.S: Likewise.
62704
62705 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62706
62707 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62708
62709 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62710
62711 * sysdeps/generic/math_private.h (__mpsin1): Remove
62712 declaration.
62713 (__mpcos1): Likewise.
62714 (__mpsin): New argument __range_reduce.
62715 (__mpcos): Likewise.
62716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62717 (slow): Use __mpsin and __mpcos.
62718 (slow1): Likewise.
62719 (slow2): Likewise.
62720 (sloww): Likewise.
62721 (sloww1): Likewise.
62722 (sloww2): Likewise.
62723 (bsloww): Likewise.
62724 (bsloww1): Likewise.
62725 (bsloww2): Likewise.
62726 (cslow2): Likewise.
62727 (csloww): Likewise.
62728 (csloww1): Likewise.
62729 (csloww2): Likewise.
62730 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62731 range_reduce. Merge in __mpsin1.
62732 (__mpcos): Likewise.
62733 (__mpsin1): Remove.
62734 (__mpcos1): Likewise.
62735
62736 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62737
62738 * locale/loadlocale.c (_nl_intern_locale_data): Use
62739 LOCFILE_ALIGNED_P.
62740 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62741 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62742 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62743 obstack data is appropriately aligned.
62744 (obstack_int32_grow_fast): Likewise.
62745 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62746 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62747 (add_locale_uint32_array): Likewise.
62748
62749 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62750
62751 * benchtests/Makefile: Remove ARGLIST and RET variables.
62752 ($(objpfx)bench-%.c): Pass only function name to the script.
62753 * benchtests/README: Update documentation.
62754 * benchtests/acos-inputs: Add new directives.
62755 * benchtests/acosh-inputs: Likewise.
62756 * benchtests/asin-inputs: Likewise.
62757 * benchtests/asinh-inputs: Likewise.
62758 * benchtests/atan-inputs: Likewise.
62759 * benchtests/atanh-inputs: Likewise.
62760 * benchtests/cos-inputs: Likewise.
62761 * benchtests/cosh-inputs: Likewise.
62762 * benchtests/exp-inputs: Likewise.
62763 * benchtests/log-inputs: Likewise.
62764 * benchtests/pow-inputs: Likewise.
62765 * benchtests/rint-inputs: Likewise.
62766 * benchtests/sin-inputs: Likewise.
62767 * benchtests/sinh-inputs: Likewise.
62768 * benchtests/tan-inputs: Likewise.
62769 * benchtests/tanh-inputs: Likewise.
62770 * scripts/bench.pl: Add support for new directives.
62771
62772 2013-10-07 Alan Modra <amodra@gmail.com>
62773
62774 * README: Fix careless merge.
62775
62776 2013-10-05 Alan Modra <amodra@gmail.com>
62777
62778 * NEWS: Mention powerpc64le support and bugs fixed.
62779 * README: Both big-endian and little-endian powerpc64 supported.
62780
62781 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62782
62783 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62784 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62785 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62786 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62787
62788 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62789
62790 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62791 match prototype.
62792
62793 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62794
62795 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62796 Move -mhard-float appending from
62797 ports/sysdeps/powerpc/powerpc32/Makefile.
62798 [$(with-fp) = yes] (ASFLAGS): Likewise.
62799 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62800 * sysdeps/powerpc/nofpu: Move directory from
62801 ports/sysdeps/powerpc/nofpu.
62802 * sysdeps/powerpc/soft-fp: Move directory from
62803 ports/sysdeps/powerpc/soft-fp.
62804 * sysdeps/powerpc/powerpc32/405: Move directory from
62805 ports/sysdeps/powerpc/powerpc32/405.
62806 * sysdeps/powerpc/powerpc32/440: Move directory from
62807 ports/sysdeps/powerpc/powerpc32/440.
62808 * sysdeps/powerpc/powerpc32/464: Move directory from
62809 ports/sysdeps/powerpc/powerpc32/464.
62810 * sysdeps/powerpc/powerpc32/476: Move directory from
62811 ports/sysdeps/powerpc/powerpc32/476.
62812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62815 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62822 * README: Update for powerpc-*-linux-gnu software floating point
62823 support in libc.
62824
62825 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62826 case to powerpc/powerpc32*.
62827 * sysdeps/unix/sysv/linux/configure: Regenerated.
62828
62829 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62830 (_FPU_MASK_OM): Define as 0x04.
62831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62833 0x00c10080.
62834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62835 0x0000003c.
62836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62837
62838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62839 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62840 getcontext_e500.
62841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62842 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62843 setcontext_e500.
62844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62845 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62846 and setcontext_e500.
62847
62848 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62849
62850 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62851
62852 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62853
62854 * manual/threads.texi (Default Thread Attributes): Fix typo.
62855
62856 2013-10-04 Will Newton <will.newton@linaro.org>
62857
62858 * malloc/Makefile: Add tst-memalign.
62859 * malloc/tst-memalign.c: New file.
62860
62861 * malloc/tst-posix_memalign.c: Add comments.
62862 (do_test): Add comments and call free on all potentially
62863 allocated pointers. Add space after cast.
62864
62865 * malloc/tst-pvalloc.c: Add comments.
62866 (do_test): Add comments and call free on all potentially
62867 allocated pointers. Remove duplicate check for NULL pointer.
62868 Add space after cast.
62869
62870 * malloc/tst-valloc.c: Add comments.
62871 (do_test): Add comments and call free on all potentially
62872 allocated pointers. Remove duplicate check for NULL pointer.
62873 Add space after cast.
62874
62875 2013-10-04 Alan Modra <amodra@gmail.com>
62876
62877 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62878 Use stdint types in rather than __attribute__((mode())).
62879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62880
62881 2013-10-04 Alan Modra <amodra@gmail.com>
62882
62883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62884 Correct handling of unaligned relocs for little-endian.
62885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62886
62887 2013-10-04 Alan Modra <amodra@gmail.com>
62888
62889 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62890 * configure: Regenerate.
62891 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62892 * shlib-versions: Likewise.
62893
62894 2013-10-04 Alan Modra <amodra@gmail.com>
62895
62896 * string/tester.c (test_memrchr): Increment reported test cycle.
62897
62898 2013-10-04 Alan Modra <amodra@gmail.com>
62899
62900 * string/test-memcpy.c (do_one_test): When reporting errors, print
62901 string address and don't overrun end of string.
62902
62903 2013-10-04 Alan Modra <amodra@gmail.com>
62904
62905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62906 insrdi. Make better use of reg selection to speed exit slightly.
62907 Schedule entry path a little better. Remove useless "are we done"
62908 checks on entry to main loop. Handle wrapping around zero address.
62909 Correct main loop count. Handle single left-over word from main
62910 loop inline rather than by using loop_small. Remove extra word
62911 case in loop_small caused by wrong loop count. Add little-endian
62912 support.
62913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62915 cache hint.
62916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62918 support. Avoid rlwimi.
62919 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62920
62921 2013-10-04 Alan Modra <amodra@gmail.com>
62922
62923 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62924 insrdi. Formatting.
62925 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62926 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62927 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62928 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62929 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62930 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62931
62932 2013-10-04 Alan Modra <amodra@gmail.com>
62933
62934 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62937 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62938 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62939 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62943 use of regs. Use power7 mtocrf. Tidy function tails.
62944
62945 2013-10-04 Alan Modra <amodra@gmail.com>
62946
62947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62948 Formatting. Consistently use rXXX register defines or rN defines.
62949 Use early exit labels that avoid restoring unused non-volatile regs.
62950 Make cr field use more consistent with rWORDn compares. Rename
62951 regs used as shift registers for unaligned loop, using rN defines
62952 for short lifetime/multiple use regs.
62953 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62954 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62955 addi 1,1,64 to pop stack frame. Simplify return value code.
62956 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62957
62958 2013-10-04 Alan Modra <amodra@gmail.com>
62959
62960 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62961 support. Correct typos, formatting. Optimize tail. Use insrdi
62962 rather than rlwimi.
62963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62964 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62965 little-endian support. Correct typos.
62966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62967 rather than rlwimi.
62968 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62969 in loop and entry code to keep "and." results.
62970 (strchr): Add little-endian support. Comment. Move cntlzd
62971 earlier in tail.
62972 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62973
62974 2013-10-04 Alan Modra <amodra@gmail.com>
62975
62976 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62977 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62978 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62979 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62980
62981 2013-10-04 Alan Modra <amodra@gmail.com>
62982
62983 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62984 (rTMP): Define as r11.
62985 (strcmp): Add little-endian support. Optimise tail.
62986 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62987 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62988 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62990 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62993
62994 2013-10-04 Alan Modra <amodra@gmail.com>
62995
62996 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62997 little-endian support. Remove unnecessary "are we done" tests.
62998 Handle "s" wrapping around zero and extremely large "size".
62999 Correct main loop count. Handle single left-over word from main
63000 loop inline rather than by using small_loop. Correct comments.
63001 Delete "zero" tail, use "end_max" instead.
63002 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
63003
63004 2013-10-04 Alan Modra <amodra@gmail.com>
63005
63006 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
63007 support. Don't branch over align.
63008 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
63009 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
63010 support. Rearrange tmp reg use to suit. Comment.
63011 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
63012
63013 2013-10-04 Alan Modra <amodra@gmail.com>
63014
63015 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
63016
63017 2013-10-04 Alan Modra <amodra@gmail.com>
63018
63019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
63020 conditional form of branch and link when obtaining pc.
63021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
63022
63023 2013-10-04 Alan Modra <amodra@gmail.com>
63024
63025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
63026 HIWORD/LOWORD.
63027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
63028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
63029
63030 2013-10-04 Alan Modra <amodra@gmail.com>
63031
63032 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
63033 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
63034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
63035 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
63036 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
63037 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63038 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
63039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63040 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
63041 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
63042
63043 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63044 Alistair Popple <alistair@ozlabs.au.ibm.com>
63045 Alan Modra <amodra@gmail.com>
63046
63047 [BZ #15723]
63048 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
63049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
63050 _dl_hwcap access for little-endian.
63051 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
63052 destroy vmx regs when saving unaligned.
63053 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
63054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
63055 destroy vmx regs when saving unaligned.
63056
63057 2013-10-04 Alan Modra <amodra@gmail.com>
63058
63059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
63060 Don't use a union to pack hi/low value.
63061
63062 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63063
63064 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
63065 for little-endian.
63066 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
63068 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63069 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63070 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63071
63072 2013-10-04 Alan Modra <amodra@gmail.com>
63073
63074 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
63075 constants to usual value for .cst8 section, and remove redundant
63076 high address load.
63077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
63078 constant for 0x1p52. Load little-endian words of double from
63079 correct stack offsets.
63080
63081 2013-10-04 Alan Modra <amodra@gmail.com>
63082
63083 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
63084 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
63085 words of double from correct stack offsets.
63086 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
63087 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
63088 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63093 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
63094 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
63095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63098 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63099 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63101 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
63102 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
63103
63104 2013-10-04 Alan Modra <amodra@gmail.com>
63105
63106 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
63107 64-bit int/double union.
63108 (_FPU_SETCW): Likewise.
63109 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
63110 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
63111
63112 2013-10-04 Alan Modra <amodra@gmail.com>
63113
63114 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
63115 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
63116
63117 2013-10-04 Alan Modra <amodra@gmail.com>
63118
63119 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
63120 use vector int constants.
63121 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
63122
63123 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63124
63125 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
63126 array with long long.
63127 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
63128 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
63129 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
63130 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
63131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
63132 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
63133 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63134 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
63135 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
63136 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
63137 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
63138 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63139 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63140
63141 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63142
63143 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63144 (__signbit): Likewise. Correct for little-endian.
63145 (__signbitl): Call __signbit.
63146 (lrint): Correct for little-endian.
63147 (lrintf): Call lrint.
63148
63149 2013-10-04 Alan Modra <amodra@gmail.com>
63150
63151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63152 union 32-bit int array member with 64-bit int array.
63153 (t515, tm256): Double rather than long double.
63154 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63155
63156 2013-10-04 Alan Modra <amodra@gmail.com>
63157
63158 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63159 Delete.
63160 (IEEE854_LONG_DOUBLE_BIAS): Delete.
63161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63162 version of math_ldbl.h.
63163
63164 2013-10-04 Alan Modra <amodra@gmail.com>
63165
63166 [BZ #15734], [BZ #15735]
63167 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63168 all uses of ieee875 long double macros and unions. Simplify test
63169 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
63170 ldbl_extract_mantissa value for ix,iy exponents. Properly
63171 normalize after ldbl_extract_mantissa, and don't add hidden bit
63172 already handled. Don't treat low word of ieee854 mantissa like
63173 low word of IBM long double and mask off bit when testing for
63174 zero.
63175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63176 all uses of ieee875 long double macros and unions. Simplify tests
63177 for 0.0L and inf. Correct double adjustment of k. Delete dead code
63178 adjusting ha,hb. Simplify code setting kld. Delete two600 and
63179 two1022, instead use their values. Recognise that tests for large
63180 "a" and small "b" are mutually exclusive. Rename vars. Comment.
63181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63182 Rewrite all uses of ieee875 long double macros and unions. Simplify
63183 test for 0.0L and nan. Correct negation.
63184 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63185 ieee875 long double macros and unions. Correct output for large
63186 magnitude x. Correct absolute value calculation.
63187 (__erfcl): Likewise.
63188 * math/libm-test.inc: Add tests for errors discovered in IBM long
63189 double versions of fmodl, remainderl, erfl and erfcl.
63190
63191 2013-10-04 Alan Modra <amodra@gmail.com>
63192
63193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63194 all uses of ieee854 long double macros and unions. Simplify tests
63195 for long doubles that are fully specified by the high double.
63196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63197 Likewise.
63198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63199 Remove dead code too.
63200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63201 (__ieee754_ynl): Likewise.
63202 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63205 Remove dead code too.
63206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63208 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63210 Simplify.
63211 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63212 Simplify.
63213 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63215 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63216 Comment on variable precision.
63217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63219 Likewise.
63220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63224 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63225
63226 2013-10-04 Alan Modra <amodra@gmail.com>
63227
63228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63230 all uses of ieee854 long double macros and unions.
63231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63237 Likewise.
63238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63244 Simplify sign and nan test too.
63245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63249 Likewise.
63250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63252 Likewise.
63253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63254 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63255 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63256 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63257 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63259
63260 2013-10-04 Alan Modra <amodra@gmail.com>
63261
63262 * stdio-common/printf_size.c (__printf_size): Don't use
63263 union ieee854_long_double in fpnum union.
63264 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
63265 signbit macro to retrieve sign from long double.
63266 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63267 retrieve sign from long double.
63268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63269 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63270 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63271 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63272 * math/test-misc.c (main): Don't use union ieee854_long_double.
63273
63274 2013-10-04 Alan Modra <amodra@gmail.com>
63275
63276 [BZ #15680]
63277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63279 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63280 calculation. Remove unnecessary test for denormal exponent.
63281 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63282 Correct handling of denormals. Avoid undefined shift behaviour.
63283 Correct normalisation of low mantissa when low double is denormal.
63284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63285 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
63286 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63287 Correct normalisation of low mantissa. Test for overflow of high
63288 mantissa and normalise.
63289 (ldbl_nearbyint): Use more readable constant for two52.
63290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63291 (__mpn_construct_long_double): Fix test for overflow of high
63292 mantissa and correct normalisation. Avoid undefined shift.
63293
63294 2013-10-04 Alan Modra <amodra@gmail.com>
63295
63296 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63297 (union ibm_extended_long_double): Define as an array of ieee754_double.
63298 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63300 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63301 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63305 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63307 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63308 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63309
63310 2013-10-03 Joseph Myers <joseph@codesourcery.com>
63311
63312 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63313 page size instead of calling getpagesize.
63314
63315 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63316 (LOCFILE_ALIGN_MASK): Likewise.
63317 (LOCFILE_ALIGN_UP): Likewise.
63318 (LOCFILE_ALIGNED_P): Likewise.
63319 * locale/programs/ld-collate.c (collate_output): Use the new
63320 macros instead of __alignof__ (int32_t).
63321 * locale/weight.h (findidx): Likewise.
63322
63323 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
63324
63325 [BZ #431]
63326 * manual/string.texi: Fix strncat and wcsncat.
63327
63328 2013-10-03 Brooks Moses <bmoses@google.com>
63329
63330 [BZ #15915]
63331 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63332 * Makerules: ...here, and adjust associated comments.
63333
63334 2013-10-02 Will Newton <will.newton@linaro.org>
63335
63336 * malloc/Makefile: Add tst-pvalloc.
63337 * malloc/tst-pvalloc.c: New file.
63338
63339 2013-10-02 Will Newton <will.newton@linaro.org>
63340
63341 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63342 improve test coverage.
63343
63344 2013-10-02 Will Newton <will.newton@linaro.org>
63345
63346 * malloc/Makefile: Add tst-posix_memalign.
63347 * malloc/tst-posix_memalign.c: New file.
63348
63349 2013-10-01 Eric Blake <eblake@redhat.com>
63350
63351 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63352 Use __THROWNL rather than __THROW on static functions.
63353
63354 2013-09-30 Petr Machata <pmachata@redhat.com>
63355
63356 * elf/elf.h (R_AARCH64_ABS16): New macro.
63357 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63358 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63359 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63360 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63361 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63362 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63363 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63364 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63365 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63366 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63367 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63368 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63369 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63370 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63371 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63372 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63373 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63374 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63375 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63376 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63377 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63378 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63379 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63380 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63381 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63382 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63383 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63384 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63385 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63386 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63387 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63388 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63389 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63390 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63391 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63392 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63393 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63394 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63395 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63396 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63397 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63398 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63399 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63400 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63401 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63402 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63403 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63404 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63405 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63406 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63407 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63408 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63409 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63410 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63411 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63412 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63413 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63414 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63415 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63416 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63417 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63418 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63419 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63420 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63421 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63422 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63423 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63424 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63425 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63426 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63427 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63428 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63429 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63430 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63431 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63432 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63433 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63434 (R_AARCH64_TLSDESC_LDR): Likewise.
63435 (R_AARCH64_TLSDESC_ADD): Likewise.
63436 (R_AARCH64_TLSDESC_CALL): Likewise.
63437
63438 2013-09-30 Andreas Schwab <schwab@suse.de>
63439
63440 [BZ #15048]
63441 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63442 the nss database lookup.
63443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63445
63446 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63447
63448 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63449
63450 2013-09-28 P. J. McDermott <pj@pehjota.net>
63451
63452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63453 ${Bash-specific parameter/pattern/string} parameter expansion.
63454 * sysdeps/unix/make-syscalls.sh: Likewise.
63455
63456 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63457
63458 * sysdeps/sh/stackguard-macros.h: New file.
63459
63460 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
63461
63462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63464 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63465 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63467 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63468
63469 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63470
63471 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63472 Fix thread ID register.
63473
63474 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63475
63476 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63477 [POSIX || UNIX98]: Require rather than permitting all symbols from
63478 <time.h>.
63479 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63480 element of struct sched_param.
63481 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63482 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63483 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63484 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63485 constant.
63486
63487 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63488
63489 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63490 argument calculation.
63491
63492 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63493
63494 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63495 Expect macro.
63496 [POSIX] (pthread_attr_t): Do not require type.
63497 [POSIX] (pthread_cond_t): Likewise.
63498 [POSIX] (pthread_condattr_t): Likewise.
63499 [POSIX] (pthread_key_t): Likewise.
63500 [POSIX] (pthread_mutex_t): Likewise.
63501 [POSIX] (pthread_mutexattr_t): Likewise.
63502 [POSIX] (pthread_once_t): Likewise.
63503 [POSIX] (pthread_t): Likewise.
63504 [POSIX-based standards] (pthread_atfork): Expect function.
63505
63506 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63507 Richard Sandiford <richard@codesourcery.com>
63508
63509 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63510 (swap_endianness_p): New extern variable.
63511 (set_big_endian): New inline function.
63512 (maybe_swap_uint32): Likewise.
63513 (maybe_swap_uint32_array): Likewise.
63514 (maybe_swap_uint32_obstack): Likewise.
63515 * locale/programs/locfile.c: Include <stdbool.h>.
63516 (swap_endianness_p): New variable.
63517 (add_locale_uint32): Call maybe_swap_uint32.
63518 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63519 (write_locale_data): Call maybe_swap_uint32_array.
63520 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63521 maybe_swap_uint32.
63522 (obstack_int32_grow_fast): Likewise.
63523 (output_weightwc): Call maybe_swap_uint32_obstack.
63524 (collate_output): Likewise.
63525 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63526 (OPT_LITTLE_ENDIAN): Likewise.
63527 (options): Add --little-endian and --big-endian options.
63528 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63529 * locale/programs/locarchive.c: Include "locfile.h".
63530 (GET): New macro.
63531 (SET): Likewise.
63532 (INC): Likewise.
63533 (create_archive): Use the new macros to access fields of
63534 structures directly mapped from or written to locale archives.
63535 (oldlocrecentcmp): Likewise.
63536 (enlarge_archive): Likewise.
63537 (insert_name): Likewise.
63538 (add_alias): Likewise.
63539 (add_locale): Likewise.
63540 (delete_locales_from_archive): Likewise.
63541 (show_archive_content): Likewise.
63542 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63543 locale data.
63544
63545 2013-09-24 Roland McGrath <roland@hack.frob.com>
63546
63547 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63548 http://www.gnu.org/doc/freemanuals.texi.
63549 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63550
63551 2013-09-24 Will Newton <will.newton@linaro.org>
63552
63553 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63554 macro.
63555
63556 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63557
63558 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63559 unsigned char.
63560
63561 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63562
63563 * manual/threads.texi (POSIX Threads): Fix a typo.
63564
63565 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63566
63567 [BZ #14547]
63568 * string/tst-strcoll-overflow.c: New test case.
63569 * string/Makefile (xtests): Add tst-strcoll-overflow.
63570 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63571 cache if string sizes may cause integer overflow.
63572
63573 [BZ #14547]
63574 * string/strcoll_l.c (coll_seq): New members rule, idx,
63575 save_idx and back_us.
63576 (get_next_seq_nocache): New function.
63577 (do_compare_nocache): New function.
63578 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63579 when malloc fails.
63580
63581 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63582
63583 [BZ #15754]
63584 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63585 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63586 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63587
63588 [BZ #15754]
63589 * elf/Makefile (tests): Add tst-ptrguard1.
63590 (tests-static): Add tst-ptrguard1-static.
63591 (tst-ptrguard1-ARGS): Define.
63592 (tst-ptrguard1-static-ARGS): Define.
63593 * elf/tst-ptrguard1.c: New file.
63594 * elf/tst-ptrguard1-static.c: New file.
63595 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63596 * sysdeps/i386/stackguard-macros.h: Likewise.
63597 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63598 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63600 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63601 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63602 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63603
63604 2013-09-23 Hector Marco <hecmargi@upv.es>
63605 Ismael Ripoll <iripoll@disca.upv.es>
63606 Carlos O'Donell <carlos@redhat.com>
63607
63608 [BZ #15754]
63609 * sysdeps/generic/stackguard-macros.h: Define
63610 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63611 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63612 Define __pointer_chk_guard_local.
63613 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63614 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63615
63616 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63617
63618 [BZ #15859]
63619 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63620
63621 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63622
63623 * include/string.h (__ffs): Declare as hidden.
63624 * string/ffs.c (__ffs): Define as hidden.
63625 * sysdeps/i386/ffs.c (__ffs): Likewise.
63626 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63627 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63628 * sysdeps/s390/ffs.c (__ffs): Likewise.
63629 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63630
63631 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63632
63633 * NEWS: Mention malloc probes.
63634
63635 * malloc/arena.c (new_heap): New memory_heap_new probe.
63636 (grow_heap): New memory_heap_more probe.
63637 (shrink_heap): New memory_heap_less probe.
63638 (heap_trim): New memory_heap_free probe.
63639 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63640 (systrim): New memory_sbrk_less probe.
63641 * manual/probes.texi: Document them.
63642
63643 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63644 * manual/probes.texi: Document it.
63645
63646 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63647 (__libc_realloc): Add memory_realloc_retry probe.
63648 (__libc_memalign): Add memory_memalign_retry probe.
63649 (__libc_valloc): Add memory_valloc_retry probe.
63650 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63651 (__libc_calloc): Add memory_calloc_retry probe.
63652 * manual/probes.texi: Document them.
63653
63654 * malloc/arena.c (get_free_list): Add probe
63655 memory_arena_reuse_free_list.
63656 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63657 and memory_arena_reuse.
63658 (arena_get2) [!PER_THREAD]: Likewise.
63659 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63660 memory_arena_reuse_realloc.
63661 * manual/probes.texi: Document them.
63662
63663 * malloc/malloc.c (__libc_free): Add
63664 memory_mallopt_free_dyn_thresholds probe.
63665 (__libc_mallopt): Add multiple memory_mallopt probes.
63666 * manual/probes.texi: Document them.
63667
63668 * malloc/malloc.c: Include stap-probe.h.
63669 (__libc_mallopt): Add memory_mallopt probe.
63670 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63671 * manual/probes.texi: New.
63672 * manual/Makefile (chapters): Add probes.
63673 * manual/threads.texi: Set next node.
63674
63675 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63676
63677 [BZ #15963, #13985]
63678 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63679 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63680 Add `Chinese' to `nan' entry name.
63681
63682 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63683
63684 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63685 (POLYNOMIAL): Likewise.
63686 (TAYLOR_SINCOS): Likewise.
63687 (TAYLOR_SLOW): Likewise.
63688 (__sin): Use TAYLOR_SINCOS.
63689 (__cos): Likewise.
63690 (slow): Use TAYLOR_SLOW.
63691 (sloww): Likewise.
63692 (bsloww): Likewise.
63693 (csloww): Likewise.
63694
63695 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63696
63697 * stdlib/strtod_l.c: Fix buffer overrun.
63698
63699 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63700
63701 * benchtests/Makefile (bench): Add sincos.
63702 * benchtests/bench-sincos.c: New file.
63703
63704 * math/libm-test.inc (cos_test_data): New test inputs.
63705 (sin_test_data): Likewise.
63706
63707 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63708 macro.
63709 (__sin): Use it.
63710 (__cos): Likewise.
63711 (slow1): Likewise.
63712 (slow2): Likewise.
63713 (sloww1): Likewise.
63714 (sloww2): Likewise.
63715 (bsloww1): Likewise.
63716 (bsloww2): Likewise.
63717 (cslow2): Likewise.
63718 (csloww1): Likewise.
63719 (csloww2): Likewise.
63720
63721 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63722 function.
63723 (__sin): Use it.
63724 (__cos): Likewise.
63725
63726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63727 gotos.
63728 (__cos): Likewise.
63729
63730 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63731
63732 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63733 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63734 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63735 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63736 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63737 * elf/cache.c (print_entry): Handle the new cache flags.
63738
63739 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63740 Aldy Hernandez <aldyh@redhat.com>
63741
63742 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63743 Change condition to [_SOFT_FLOAT].
63744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63756 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63759 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63760 declaration.
63761
63762 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63763
63764 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63765 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63766 (__longjmp): Use LOAD_GP to load saved GPRs.
63767 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63768 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63769 (__sigsetjmp): Use SAVE_GP to save GPRs.
63770
63771 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63772 Do not append -msoft-float.
63773 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63774
63775 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63776
63777 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63778
63779 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63780
63781 [BZ #15966]
63782 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63783 (_FPU_GETCW): Use initial "__" on variable and field names but not
63784 on macro parameter name.
63785 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63786 parentheses around reference to macro parameter.
63787
63788 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63789
63790 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63791 prototype.
63792 (ctype_startup): Use uint32_t in cast and sizeof for
63793 ctype->charnames.
63794
63795 2013-09-11 Jia Liu <proljc@gmail.com>
63796
63797 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63798 __daddr_t_defined.
63799 [__FreeBSD__]: Likewise.
63800
63801 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
63802
63803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63804 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63805 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63806 (strchr): Remove __strchr_sse42 ifunc selection.
63807 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63808 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63809
63810 2013-09-11 Will Newton <will.newton@linaro.org>
63811
63812 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63813 parameter to RES. Remove hardcoded 1000 value.
63814 * benchtests/bench-skeleton.c (main): Pass RES parameter
63815 to TIMING_INIT and multiply result by 1000.
63816
63817 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63818
63819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63820
63821 2013-09-11 Andreas Schwab <schwab@suse.de>
63822
63823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63824 if not defined.
63825 (O_TMPFILE) [__USE_GNU]: Define.
63826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63827 Define.
63828
63829 2013-09-11 Will Newton <will.newton@linaro.org>
63830
63831 [BZ #15857]
63832 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63833 does not overflow.
63834
63835 2013-09-11 Will Newton <will.newton@linaro.org>
63836
63837 [BZ #15856]
63838 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63839 does not overflow.
63840
63841 2013-09-11 Will Newton <will.newton@linaro.org>
63842
63843 [BZ #15855]
63844 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63845 does not overflow.
63846
63847 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63848
63849 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63852 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63854
63855 2013-09-10 Allan McRae <allan@archlinux.org>
63856
63857 [BZ #15748]
63858 * manual/arith.texi (Parsing of Floats): Clarify
63859 cross-reference.
63860
63861 [BZ #15849]
63862 * manual/install.texi (Running make install): Mention
63863 --enable-pt-chown.
63864 * INSTALL: Regenerated.
63865
63866 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63867
63868 * csu/init-first.c (_init): Remove the !SHARED condition around
63869 FPU control word initialization.
63870 * elf/dl-support.c (_dl_fpu_control): New variable.
63871 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63872 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63873 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63874 * math/test-fpucw-static.c: New file.
63875 * math/test-fpucw-ieee.c: New file.
63876 * math/test-fpucw-ieee-static.c: New file.
63877 * math/Makefile (tests): Add `test-fpucw-ieee' and
63878 `$(tests-static)'.
63879 (tests-static): New variable.
63880 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63881 dependency to...
63882 [($(build-shared),yes)]
63883 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63884 ... this.
63885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63886 New dependency.
63887
63888 2013-09-09 Allan McRae <allan@archlinux.org>
63889
63890 [BZ #15939]
63891 * manual/string.texi (Collation Functions): Fix typo in
63892 strcoll example.
63893 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63894
63895 [BZ #15893]
63896 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63897
63898 [BZ #15892]
63899 * libio/memstream.c (open_memstream): Fix memory leak.
63900 * libio/wmemstream.c (open_wmemstream): Likewise.
63901
63902 [BZ #15895]
63903 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63904
63905 2013-09-09 Will Newton <will.newton@linaro.org>
63906
63907 * malloc/Makefile: Add tst-realloc to tests.
63908 * malloc/tst-realloc.c: New file.
63909
63910 2013-09-09 Allan McRae <allan@archlinux.org>
63911
63912 [BZ #15844]
63913 * COPYING: Update from GNU website to fix FSF address.
63914 * COPYING.LIB: Likewise.
63915
63916 2013-09-06 David S. Miller <davem@davemloft.net>
63917
63918 * po/zh_TW.po: Update Chinese (traditional) translation from
63919 translation project.
63920
63921 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63922 Joseph Myers <joseph@codesourcery.com>
63923
63924 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63925 "localeinfo.h".
63926 (obstack_chunk_alloc): New macro.
63927 (obstack_chunk_free): Likewise.
63928 (record_offset): New function.
63929 (init_locale_data): Likewise.
63930 (align_locale_data): Likewise.
63931 (add_locale_empty): Likewise.
63932 (add_locale_raw_data): Likewise.
63933 (add_locale_raw_obstack): Likewise.
63934 (add_locale_string): Likewise.
63935 (add_locale_wstring): Likewise.
63936 (add_locale_uint32): Likewise.
63937 (add_locale_uint32_array): Likewise.
63938 (add_locale_char): Likewise.
63939 (start_locale_structure): Likewise.
63940 (end_locale_structure): Likewise.
63941 (start_locale_prelude): Likewise.
63942 (end_locale_prelude): Likewise.
63943 (write_locale_data): Take locale_file structure rather than an
63944 iovec.
63945 * locale/programs/locfile.h: Include "obstack.h".
63946 (struct locale_file): Change to store locale file contents instead
63947 of header.
63948 (init_locale_data): New prototype.
63949 (align_locale_data): Likewise.
63950 (add_locale_empty): Likewise.
63951 (add_locale_raw_data): Likewise.
63952 (add_locale_raw_obstack): Likewise.
63953 (add_locale_string): Likewise.
63954 (add_locale_wstring): Likewise.
63955 (add_locale_uint32): Likewise.
63956 (add_locale_uint32_array): Likewise.
63957 (add_locale_char): Likewise.
63958 (start_locale_structure): Likewise.
63959 (end_locale_structure): Likewise.
63960 (start_locale_prelude): Likewise.
63961 (end_locale_prelude): Likewise.
63962 (write_locale_data): Update prototype.
63963 * locale/programs/3level.h (struct TABLE): Remove result field.
63964 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63965 Use new locale_file interface.
63966 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63967 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63968 * locale/programs/ld-address.c (address_output): Use new
63969 locale_file interface.
63970 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63971 NO_ADD_LOCALE.
63972 (collate_finish): Don't call collseq_table_finalize.
63973 (collate_output): Use new locale_file interface.
63974 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63975 in file.
63976 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63977 (TABLE): Move defines earlier in file.
63978 (ELEMENT): Likewise.
63979 (DEFAULT): Likewise.
63980 (wctrans_table_add): Move macro and inline function earlier in
63981 file.
63982 (struct wctype_table): Move type earlier in file.
63983 (add_locale_wctype_table): New static prototype.
63984 (struct locale_ctype_t): Use logical types instead of struct iovec
63985 pointers for members.
63986 (ctype_output): Use new locale_file interface.
63987 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63988 new locale_file interface.
63989 (allocate_arrays): Update for use of new locale_file interface.
63990 * locale/programs/ld-identification.c (identification_output): Use
63991 new locale_file interface.
63992 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63993 * locale/programs/ld-messages.c (messages_output): Likewise.
63994 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63995 * locale/programs/ld-name.c (name_output): Likewise.
63996 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63997 * locale/programs/ld-paper.c (paper_output): Likewise.
63998 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63999 * locale/programs/ld-time.c (time_output): Likewise.
64000
64001 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64002
64003 * benchtests/Makefile: Add memrchr benchmark.
64004 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
64005 benchmark as memrchr.
64006 * benchtests/bench-memrchr-ifunc.c: New file.
64007 * benchtests/bench-memrchr.c: New file.
64008
64009 2013-09-06 Will Newton <will.newton@linaro.org>
64010
64011 * benchtests/Makefile (string-bench): Add memcpy.
64012
64013 2013-09-05 Carlos O'Donell <carlos@redhat.com>
64014 Cong Wang <amwang@redhat.com>
64015
64016 [BZ #15850]
64017 * sysdeps/unix/sysv/linux/bits/in.h
64018 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
64019 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
64020 before __USE_KERNEL_IPV6_DEFS uses.
64021 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
64022 IPPROTO_BEETPH.
64023 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
64024 sockaddr_in6, or ipv6_mreq.
64025
64026 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64027
64028 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
64029 memory access for final bytes in some large inputs.
64030 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
64031
64032 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64033
64034 * string/test-memrchr.c: New file.
64035 * string/test-memrchr-ifunc.c: New file.
64036 * string/Makefile: Add new memrchr testcase.
64037
64038 2013-09-05 Mike Frysinger <vapier@gentoo.org>
64039
64040 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
64041 fanotify_init returns EPERM.
64042
64043 2013-09-04 Joseph Myers <joseph@codesourcery.com>
64044
64045 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
64046 errors.
64047 (top level): Treat second token from macro or constant entries for
64048 allowed headers as allowed.
64049 * include/complex.h: Condition internal declarations on
64050 [!_ISOMAC].
64051 * include/fenv.h: Condition include of <stdbool.h> and internal
64052 declarations on [!_ISOMAC].
64053
64054 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
64055
64056 [BZ #15923]
64057 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
64058
64059 2013-09-04 Joseph Myers <joseph@codesourcery.com>
64060
64061 * configure.in (--enable-versioning): Remove configure option.
64062 (libc_cv_asm_symver_directive): Remove configure test.
64063 (libc_cv_ld_version_script_option): Likewise.
64064 (VERSIONING): Remove variable and AC_SUBST.
64065 (DO_VERSIONING): Remove AC_DEFINE.
64066 * configure: Regenerated.
64067 * config.h.in (DO_VERSIONING): Remove macro.
64068 * Makerules [$(versioning) = yes]: Change conditionals to
64069 [$(build-shared) = yes].
64070 * config.make.in (versioning): Remove variable.
64071 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
64072 [$(build-shared) = yes].
64073 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
64074 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
64075 * elf/Makefile [$(versioning) = yes]: Change conditionals to
64076 [$(build-shared) = yes].
64077 * extra-lib.mk [$(versioning) = yes]: Likewise.
64078 * hurd/Makefile [$(versioning) = yes]: Likewise.
64079 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
64080 [SHARED].
64081 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
64082 [SHARED].
64083 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64084 [SHARED && !NO_HIDDEN].
64085 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
64086 [SHARED].
64087 [SHARED && DO_VERSIONING]: Likewise..
64088 * libio/Makefile [$(versioning) = yes]: Change conditionals to
64089 [$(build-shared) = yes].
64090 * manual/install.texi (--disable-versioning): Remove
64091 documentation.
64092 * INSTALL: Regenerated.
64093 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
64094 to [SHARED].
64095 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
64096 [$(build-shared) = yes].
64097 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
64098 * sysdeps/i386/i686/multiarch/strstr-c.c
64099 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64100 [SHARED && !NO_HIDDEN].
64101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
64102 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
64103 * sysdeps/powerpc/powerpc32/dl-machine.c
64104 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
64105 * sysdeps/powerpc/powerpc32/sysdep.h
64106 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
64107 to [SHARED && PIC && !NO_HIDDEN].
64108 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
64109 conditional to [SHARED].
64110
64111 2013-09-04 Will Newton <will.newton@linaro.org>
64112
64113 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
64114 * benchtests/bench-string.h: Include bench-timing.h instead
64115 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
64116 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
64117 call to HP_TIMING_DIFF_INIT.
64118 * benchtests/bench-memccpy.c: Use bench-timing.h macros
64119 instead of hp-timing.h macros.
64120 * benchtests/bench-memchr.c: Likewise.
64121 * benchtests/bench-memcmp.c: Likewise.
64122 * benchtests/bench-memcpy.c: Likewise.
64123 * benchtests/bench-memmem.c: Likewise.
64124 * benchtests/bench-memmove.c: Likewise.
64125 * benchtests/bench-memset.c: Likewise.
64126 * benchtests/bench-rawmemchr.c: Likewise.
64127 * benchtests/bench-strcasecmp.c: Likewise.
64128 * benchtests/bench-strcasestr.c: Likewise.
64129 * benchtests/bench-strcat.c: Likewise.
64130 * benchtests/bench-strchr.c: Likewise.
64131 * benchtests/bench-strcmp.c: Likewise.
64132 * benchtests/bench-strcpy.c: Likewise.
64133 * benchtests/bench-strcpy_chk.c: Likewise.
64134 * benchtests/bench-strlen.c: Likewise.
64135 * benchtests/bench-strncasecmp.c: Likewise.
64136 * benchtests/bench-strncat.c: Likewise.
64137 * benchtests/bench-strncmp.c: Likewise.
64138 * benchtests/bench-strncpy.c: Likewise.
64139 * benchtests/bench-strnlen.c: Likewise.
64140 * benchtests/bench-strpbrk.c: Likewise.
64141 * benchtests/bench-strrchr.c: Likewise.
64142 * benchtests/bench-strspn.c: Likewise.
64143 * benchtests/bench-strstr.c: Likewise.
64144
64145 2013-09-04 Will Newton <will.newton@linaro.org>
64146
64147 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64148
64149 2013-09-03 Joseph Myers <joseph@codesourcery.com>
64150
64151 [BZ #15427]
64152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64153 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64154 * math/libm-test.inc (lgamma_test_data): Add more tests.
64155 * sysdeps/i386/fpu/libm-test-ulps: Update.
64156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64157
64158 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
64159
64160 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64162 Add ifunc.
64163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64164 Add strcmp-sse2-unaligned
64165 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64166
64167 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64168
64169 * Versions.def (libc): Add GLIBC_2.19.
64170
64171 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64172
64173 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64174 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64175
64176 2013-09-02 Joseph Myers <joseph@codesourcery.com>
64177
64178 [BZ #14155]
64179 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64180 intermediate calculations in recurrence.
64181 (__ieee754_ynf): Likewise.
64182 * math/libm-test.inc (jn_test_data): Do not allow spurious
64183 underflow exception. Add more tests.
64184 (yn_test_data): Add more tests.
64185 * sysdeps/i386/fpu/libm-test-ulps: Update.
64186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64187
64188 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
64189
64190 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64191
64192 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
64193
64194 * csu/init-first.c: Fix then/than typos.
64195 * locale/programs/ld-collate.c: Likewise.
64196 * locale/programs/linereader.h: Likewise.
64197 * manual/charset.texi: Likewise.
64198 * manual/filesys.texi: Likewise.
64199 * manual/stdio.texi: Likewise.
64200 * manual/string.texi: Likewise.
64201 * stdlib/fmtmsg.c: Likewise.
64202 * sysdeps/i386/stpncpy.S: Likewise.
64203 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64204 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64205 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64206 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64207
64208 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
64209
64210 * elf/dl-open.c: Fix typos.
64211 * iconvdata/gbbig5.c: Likewise.
64212 * iconvdata/iso-2022-jp.c: Likewise.
64213 * iconv/gconv_int.h: Likewise.
64214 * iconv/loop.c: Likewise.
64215 * nis/rpcsvc/nis.h: Likewise.
64216 * resolv/ns_name.c: Likewise.
64217 * stdio-common/vfscanf.c: Likewise.
64218 * streams/stropts.h: Likewise.
64219 * sunrpc/rpc_thread.c: Likewise.
64220 * sysdeps/i386/strpbrk.S: Likewise.
64221 * sysdeps/ieee754/k_standard.c: Likewise.
64222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64224 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64225 * sysdeps/mach/hurd/profil.c: Likewise.
64226 * sysdeps/s390/dl-procinfo.h: Likewise.
64227 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64228 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64229 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64230 * sysdeps/x86_64/dl-trampoline.S: Likewise.
64231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64232
64233 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
64234
64235 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64237
64238 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
64239
64240 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64241 aix specific files.
64242 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64243 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64245 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64246 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64247 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64248 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64249 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64250
64251 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64252 Roland McGrath <roland@hack.frob.com>
64253
64254 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64255 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64256
64257 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
64258
64259 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64260 __executable_start symbol instead of _start.
64261
64262 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64263
64264 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64265 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64266 Move macros to...
64267 * sysdeps/gnu/ldsodefs.h: ... this new file.
64268
64269 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64270 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64271 instead of ELFOSABI_LINUX.
64272
64273 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64274 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64275 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64276 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64277 Likewise.
64278 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64279 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64280 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64281 Likewise.
64282 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64283 (ibm_extended_long_double): Add ieee_nan member.
64284 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64285 (do_test): New function.
64286
64287 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64288 TEST_TRUNC.
64289 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64290 functions, renamed from truncdfsf_test, trunctfsf_test,
64291 trunctfdf_test.
64292 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64293 functions.
64294 (do_test): Run all these.
64295
64296 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
64297
64298 * argp/argp-help.c: Fix typos.
64299 * argp/argp-parse.c: Likewise.
64300 * debug/backtracesyms.c: Likewise.
64301 * elf/elf.h: Likewise.
64302 * malloc/malloc.c: Likewise.
64303 * nis/nis_print.c: Likewise.
64304 * resolv/res_comp.c: Likewise.
64305 * stdlib/stdlib.h: Likewise.
64306 * sunrpc/clnt_tcp.c: Likewise.
64307 * sunrpc/clnt_udp.c: Likewise.
64308 * sunrpc/clnt_unix.c: Likewise.
64309 * sysdeps/unix/bsd/ptsname.c: Likewise.
64310 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64313 Likewise.
64314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64315 Likewise.
64316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64317 Likewise.
64318 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64319
64320 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64321
64322 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64324
64325 2013-08-27 Mike Frysinger <vapier@gentoo.org>
64326
64327 [BZ #15897]
64328 * dlfcn/Makefile (tests): Add bug-dl-leaf.
64329 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64330 ($(objpfx)bug-dl-leaf): New rule.
64331 ($(objpfx)bug-dl-leaf.so): Likewise.
64332 ($(objpfx)bug-dl-leaf.out): Likewise.
64333 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64334 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64335 * dlfcn/bug-dl-leaf.c: New test.
64336 * dlfcn/bug-dl-leaf-lib.c: Likewise.
64337 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64338 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64339 (dlclose): Likewise.
64340 (dlmopen): Likewise.
64341
64342 2013-08-27 Roland McGrath <roland@hack.frob.com>
64343
64344 * include/netdb.h [!_ISOMAC]:
64345 Don't include <tls.h>.
64346 (h_errno, __libc_h_errno): Move declaration and macros out of
64347 [_LIBC_REENTRANT].
64348
64349 * include/resolv.h [_RESOLV_H_]:
64350 Don't include <tls.h>.
64351 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64352 * resolv/res_libc.c: Don't include <tls.h>.
64353 (_res): Use __attribute__ ((nocommon)) in place of
64354 __attribute__ ((section (".bss"))).
64355
64356 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64357 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64358
64359 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64360
64361 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64362 only under [SIOCGIFCONF && SIOCGIFNETMASK].
64363
64364 * resolv/res_mkquery.c: Include <sys/time.h>.
64365
64366 * inet/ifreq.c: Moved to ...
64367 * sysdeps/unix/ifreq.c: ... here.
64368 * inet/ifreq.c: New file, true stub version.
64369
64370 * socket/sa_len.c: New file.
64371 * socket/Makefile (aux): Add it.
64372 * sysdeps/unix/sysv/linux/Makefile
64373 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64374 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64375 and #include <socket/sa_len.c>.
64376 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64377 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64378
64379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64380 * bits/socket.h: ... here.
64381
64382 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64383 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64384 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64385
64386 2013-08-27 Andreas Schwab <schwab@suse.de>
64387
64388 [BZ #15736]
64389 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64390 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64391 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64392 * string/test-strcasecmp.c (test_main): Run tests in several
64393 locales.
64394 * string/test-strncasecmp.c (test_main): Likewise.
64395
64396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64397 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64398 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64400 (__strncasecmp_ssse3) [PIC]: Likewise.
64401
64402 2013-08-26 Roland McGrath <roland@hack.frob.com>
64403
64404 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64405
64406 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64407 instead of explicitly declaring xdecrypt.
64408 * nis/nss_nis/nis-publickey.c: Likewise.
64409
64410 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64411
64412 [BZ #15890]
64413 * nscd/aicache.c: Include res_hconf.h.
64414 (addhstaiX): Initialize res_hconf.
64415
64416 2013-08-26 Andreas Schwab <schwab@suse.de>
64417
64418 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64419 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64420
64421 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64422
64423 * nscd/aicache.c (addhstaiX): Fix indentation.
64424
64425 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64426
64427 * configure.ac: Quote $build_pt_chown test.
64428 * configure: Regenerated.
64429
64430 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64431
64432 [BZ #15532]
64433 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64434 * math/s_cexpf.c (__cexpf): Likewise.
64435 * math/s_cexpl.c (__cexpl): Likewise.
64436 * math/libm-test.inc (cexp_test_data): Correct expected return
64437 value for NaN + i0. Add another test.
64438
64439 2013-08-22 David S. Miller <davem@davemloft.net>
64440
64441 * po/ca.po: Update Catalan translation from translation project.
64442 * po/uk.po: Add Ukrainian translations from translation project.
64443
64444 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64445
64446 [BZ #15797]
64447 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64448 is infinite, not alongside NaN test.
64449 * math/s_fdimf.c (__fdimf): Likewise.
64450 * math/s_fdiml.c (__fdiml): Likewise.
64451 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64452 errno is unchanged.
64453
64454 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
64455
64456 * argp/argp-help.c: Fix typos.
64457 * crypt/speeds.c: Likewise.
64458 * csu/check_fds.c: Likewise.
64459 * elf/dl-load.c: Likewise.
64460 * elf/dl-open.c: Likewise.
64461 * elf/reldep3.c: Likewise.
64462 * elf/reldep.c: Likewise.
64463 * elf/sprof.c: Likewise.
64464 * iconv/iconv_charmap.c: Likewise.
64465 * iconv/skeleton.c: Likewise.
64466 * iconv/strtab.c: Likewise.
64467 * io/lockf64.c: Likewise.
64468 * libio/libioP.h: Likewise.
64469 * resolv/gai_notify.c: Likewise.
64470 * resolv/ns_name.c: Likewise.
64471 * resolv/ns_samedomain.c: Likewise.
64472 * resolv/res_send.c: Likewise.
64473 * stdlib/random.c: Likewise.
64474 * sunrpc/rpc/xdr.h: Likewise.
64475 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64477 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64478 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64483 * sysdeps/mach/hurd/check_fds.c: Likewise.
64484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64485 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64488 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64490 * sysdeps/pthread/aio_notify.c: Likewise.
64491 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64492 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64495 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64496
64497 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64498
64499 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64500 version if bit_Slow_SSE4_2 is set.
64501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64503
64504 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64505
64506 [BZ #15867]
64507 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64508 trampoline stack frame information.
64509 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64510 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64511 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64512 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64513 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64514 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64515 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64516 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64517 sa_flags value.
64518 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64519 interrupting a syscall and set with option SA_SIGINFO.
64520
64521 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64522
64523 [BZ #15531]
64524 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64525 argument is infinite.
64526 * math/s_cprojf.c (__cprojf): Likewise.
64527 * math/s_cprojl.c (__cprojl): Likewise.
64528 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64529 * math/libm-test.inc (cproj_test_data): Add more tests.
64530
64531 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64532
64533 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64534 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64535 size. Use __ffs to determine corresponding shift.
64536
64537 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64538 Roland McGrath <roland@hack.frob.com>
64539
64540 * Makefile (INSTALL): Remove trailing blank lines from output of
64541 makeinfo.
64542
64543 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64544
64545 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64546 Align 32 bit compat elf_greg to 8 bytes.
64547
64548 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64549
64550 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64551
64552 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64553
64554 * string/strcoll_l.c (coll_seq): New structure.
64555 (get_next_seq_cached): New function.
64556 (get_next_seq): New function.
64557 (do_compare): New function.
64558 (STRCOLL): Use GNU style definition. Simplify implementation
64559 by using get_next_seq, get_next_seq_cached and do_compare.
64560
64561 2013-08-16 Florian Weimer <fweimer@redhat.com>
64562
64563 [BZ #14699]
64564 CVE-2013-4237
64565 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64566 member.
64567 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64568 member.
64569 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64570 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64571 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64572 conditional.
64573 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64574 GETDENTS_64BIT_ALIGNED.
64575 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64576 * manual/filesys.texi (Reading/Closing Directory): Document
64577 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64578 strongly.
64579 * manual/conf.texi (Limits for Files): Add portability note to
64580 NAME_MAX, PATH_MAX.
64581 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64582
64583 2013-08-13 Andreas Schwab <schwab@suse.de>
64584
64585 [BZ #15749]
64586 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64587 of fabs.
64588 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64589 LDBL_MAX_EXP >= 16384]: Add tests for it.
64590
64591 2013-08-12 David S. Miller <davem@davemloft.net>
64592
64593 * version.h (RELEASE): Set to "development".
64594 (VERSION): Set to "2.18.90".
64595 * NEWS: Add 2.19 section.
64596
64597 2013-08-03 David S. Miller <davem@davemloft.net>
64598
64599 * po/ko.po: Update Korean translation from translation project.
64600
64601 2013-08-01 David S. Miller <davem@davemloft.net>
64602
64603 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64604 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64605 Bilka.
64606
64607 2013-07-30 David S. Miller <davem@davemloft.net>
64608
64609 * po/fr.po: Update French translation from translation project.
64610
64611 2013-07-28 David S. Miller <davem@davemloft.net>
64612
64613 * po/cs.po: Update Czech translation from translation project.
64614
64615 * po/sv.po: Update Swedish translation from translation project.
64616
64617 2013-07-27 David S. Miller <davem@davemloft.net>
64618
64619 * po/eo.po: Update Esperanto translation from translation project.
64620
64621 * po/vi.po: Update Vietnamese translation from translation project.
64622
64623 * po/de.po: Update German translation from translation project.
64624
64625 2013-07-26 David S. Miller <davem@davemloft.net>
64626
64627 * po/bg.po: Update Bulgarian translation from translation project.
64628
64629 * po/nl.po: Update Dutch translation from translation project.
64630 * po/pl.po: Update Polish translation from translation project.
64631 * po/ru.po: Update Russian translation from translation project.
64632
64633 2013-07-24 David S. Miller <davem@davemloft.net>
64634
64635 * po/libc.pot: Update.
64636
64637 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64638
64639 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64640 variable page size.
64641 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64642 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64644
64645 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64646
64647 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64648
64649 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64650 Andreas Schwab <schwab@suse.de>
64651 Roland McGrath <roland@hack.frob.com>
64652 Joseph Myers <joseph@codesourcery.com>
64653 Carlos O'Donell <carlos@redhat.com>
64654
64655 [BZ #15755]
64656 * config.h.in: Define HAVE_PT_CHOWN.
64657 * config.make.in (build-pt-chown): New variable.
64658 * configure.in (--enable-pt_chown): New configure option.
64659 * configure: Regenerate.
64660 * login/Makefile: Include Makeconfig. Build pt_chown only if
64661 build-pt-chown is enabled.
64662 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64663 pt_chown to fix pty ownership.
64664 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64665 CLOSE_ALL_FDS.
64666 * manual/install.texi (Configuring and compiling): Mention
64667 --enable-pt_chown. Add @findex for grantpt.
64668 * INSTALL: Regenerate.
64669
64670 2013-07-20 David S. Miller <davem@davemloft.net>
64671
64672 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64673 difference between 32-bit and 64-bit.
64674
64675 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64676
64677 [BZ #15711]
64678 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64679 Avoid system header dependency with -ffreestanding.
64680 ($(objpfx)bits/syscall%d): Likewise.
64681
64682 2013-07-13 David S. Miller <davem@davemloft.net>
64683
64684 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64685 underflows from atanl/atan2l due to bug 15319.
64686 (casinh_test_data): Likewise.
64687
64688 2013-07-07 David S. Miller <davem@davemloft.net>
64689
64690 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64691
64692 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64693
64694 * sysdeps/i386/fpu/libm-test-ulps: Update.
64695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64696
64697 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64698
64699 * configure.in (--enable-lock-elision): Fix message text.
64700 * INSTALL: Regenerate.
64701 * configure: Regenerate.
64702
64703 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64704
64705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64706
64707 2013-07-03 Andreas Jaeger <aj@suse.de>
64708
64709 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64710 define.
64711 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64712 (ptrace_peeksiginfo_args): Add.
64713 (__ptrace_peeksiginfo_flags): Add.
64714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64717
64718 2013-07-03 Allan McRae <allan@archlinux.org>
64719
64720 * sysdeps/i386/fpu/libm-test-ulps: Update.
64721
64722 2013-07-02 David S. Miller <davem@davemloft.net>
64723
64724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64725
64726 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64727
64728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64729
64730 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64731
64732 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64734
64735 2013-07-02 Andi Kleen <ak@linux.intel.com>
64736
64737 * config.h.in (ENABLE_LOCK_ELISION): Add.
64738 * configure.in (--enable-lock-elision): Add option.
64739 * manual/install.texi: Document --enable lock elision.
64740 * configure: Regenerate
64741 * INSTALL: Regenerate.
64742
64743 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64744
64745 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64746 SSE4.2 strcasecmp for libc.a.
64747 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64748
64749 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64750
64751 [BZ #13304]
64752 * soft-fp/op-common.h (_FP_FMA): New macro.
64753 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64754 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64755 (_FP_MUL_MEAT_1_imm): ... here.
64756 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64757 (_FP_MUL_MEAT_1_wide): ... here.
64758 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64759 (_FP_MUL_MEAT_1_hard): ... here.
64760 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64761 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64762 (_FP_MUL_MEAT_2_wide): ... here.
64763 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64764 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64765 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64766 (_FP_MUL_MEAT_2_gmp): ... here.
64767 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64768 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64769 (_FP_MUL_MEAT_4_wide): ... here.
64770 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64771 (_FP_MUL_MEAT_4_gmp): ... here.
64772 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64773 (_FP_WFRACBITS_DW_S): Likewise.
64774 (_FP_WFRACXBITS_DW_S): Likewise.
64775 (_FP_HIGHBIT_DW_S): Likewise.
64776 (FP_FMA_S): Likewise.
64777 (_FP_FRAC_HIGH_DW_S): Likewise.
64778 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64779 (_FP_WFRACBITS_DW_D): Likewise.
64780 (_FP_WFRACXBITS_DW_D): Likewise.
64781 (_FP_HIGHBIT_DW_D): Likewise.
64782 (FP_FMA_D): Likewise.
64783 (_FP_FRAC_HIGH_DW_D): Likewise.
64784 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64785 (_FP_WFRACBITS_DW_E): Likewise.
64786 (_FP_WFRACXBITS_DW_E): Likewise.
64787 (_FP_HIGHBIT_DW_E): Likewise.
64788 (FP_FMA_E): Likewise.
64789 (_FP_FRAC_HIGH_DW_E): Likewise.
64790 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64791 (_FP_WFRACBITS_DW_Q): Likewise.
64792 (_FP_WFRACXBITS_DW_Q): Likewise.
64793 (_FP_HIGHBIT_DW_Q): Likewise.
64794 (FP_FMA_Q): Likewise.
64795 (_FP_FRAC_HIGH_DW_Q): Likewise.
64796 * soft-fp/fmasf4.c: New file.
64797 * soft-fp/fmadf4.c: Likewise.
64798 * soft-fp/fmatf4.c: Likewise.
64799
64800 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64801
64802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64803 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64804 Silvermont.
64805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64806 macro.
64807 (index_Slow_SSE4_2): Likewise.
64808 (index_Prefer_PMINUB_for_stringop): Likewise.
64809 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64810 bit_Slow_SSE4_2 is set.
64811 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64813
64814 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64815
64816 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64817 rtld_global._dl_hwcap2.
64818 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64819 POWER8.
64820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64821 POWER8 feature descriptions defined in _dl_hwcap2.
64822 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64823 string handling for POWER8 feature bits.
64824 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64825 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64826 _dl_powerpc_cap_flags.
64827 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64828 * sysdeps/powerpc/rtld-global-offsets.sym
64829 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64830 _dl_hwcap2 in the rtld_global_ro structure.
64831
64832 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64833
64834 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64835 hardware capabilities in support of AT_HWCAP2.
64836 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64837 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64838 GLRO(dl_hwcap2).
64839 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64840 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64841 explicitly the unknown a_type display mechanism is used.
64842 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64843 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64844 struct member.
64845 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64846 to macro prototype for AT_HWCAP2 support.
64847 * sysdeps/i386/dl-procinfo.h: Likewise.
64848 * sysdeps/s390/dl-procinfo.h: Likewise.
64849 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64850 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64851 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64852 return -1 for unknown a_type display fallback.
64853 * sysdeps/sparc/dl-procinfo.h: Likewise.
64854 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64855 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64856
64857 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64858
64859 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64860 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64861
64862 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64863
64864 [BZ #12492]
64865 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64866 mprotect making __stack_prot writable.
64867
64868 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64869 Joseph Myers <joseph@codesourcery.com>
64870
64871 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64872 as being properly aligned.
64873
64874 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64875
64876 * dlfcn/modstatic5.c: New file.
64877 * dlfcn/tststatic5.c: New file.
64878 * dlfcn/Makefile (tests): Add tststatic5.
64879 (tests-static): Likewise.
64880 (modules-names): Add modstatic5.
64881 (tststatic5-ENV): New variable.
64882 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64883
64884 [BZ #15022]
64885 * elf/dl-support.c (_dl_main_map): New variable.
64886 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64887 (_dl_nns, _dl_load_adds): Set to 1.
64888 (_dl_initial_searchlist): Refer to _dl_main_map.
64889 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64890 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64891 call to _dl_get_origin.
64892 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64893 around call_map.
64894 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64895 * dlfcn/modstatic3.c: New file.
64896 * dlfcn/tststatic3.c: New file.
64897 * dlfcn/tststatic4.c: New file.
64898 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64899 (tests-static): Likewise.
64900 (modules-names): Add modstatic3.
64901 (tststatic3-ENV, tststatic4-ENV): New variables.
64902 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64903 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64904
64905 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64906
64907 * configure.in (CC): Require GCC version 4.4 or later.
64908 * configure: Regenerated.
64909 * manual/install.texi (Tools for Compilation): Update GCC version
64910 requirement.
64911 * INSTALL: Regenerated.
64912
64913 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64914
64915 [BZ #15674]
64916 * string/test-memcmp.c (check2): New.
64917 (main): Call check2.
64918
64919 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64920
64921 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64922
64923 [BZ #15022]
64924 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64925 over to...
64926 (dl_open_worker) [!SHARED]: ... here.
64927
64928 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64929
64930 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64931
64932 2013-06-25 Richard Henderson <rth@redhat.com>
64933
64934 * locale/programs/locarchive.c: Include <libc-internal.h>
64935
64936 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64937
64938 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64939 trailing whitespace removed.
64940
64941 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64942
64943 [BZ #10283]
64944 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64945 * locale/programs/locarchive.c: Include libc-mmap.h.
64946 (prepare_address_space): Take two new outputs (the mmap base and len).
64947 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64948 values.
64949 (create_archive): Declare new mmap base and len values for
64950 prepare_address_space, and store the result in ah.
64951 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64952 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64953 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64954 Declare new mmap base and len values for
64955 prepare_address_space, and store the result in new_ah.
64956 (open_archive): Declare new mmap base and len values for
64957 prepare_address_space, and store the result in ah.
64958 (close_archive): If ah->mmap_base is not NULL, use that and
64959 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64960 * sysdeps/generic/libc-mmap.h: New file.
64961
64962 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64963
64964 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64965 (ALIGN_UP): Likewise.
64966 (PTR_ALIGN_DOWN): Likewise.
64967 (PTR_ALIGN_UP): Likewise.
64968
64969 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64970
64971 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64972 entry mapped to PPC_PLATFORM_POWER8.
64973 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64974 POWER8.
64975 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64976 (_dl_string_platform): Add case for exporting platform position for
64977 POWER8.
64978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64979 search path to sysdeps/powerpc/powerpc32/power8 directory.
64980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64981 search path to sysdeps/powerpc/powerpc64/power8 directory.
64982 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64983 power7 directories.
64984 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64985 power7 directories.
64986
64987 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64988
64989 * INSTALL: Regenerate.
64990
64991 * nscd/connections.c (nscd_init): Fix comment.
64992
64993 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64994
64995 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64996
64997 [BZ #15667]
64998 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64999 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
65000
65001 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
65002
65003 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
65004 DL_DST_REQ_STATIC.
65005 (DL_DST_REQ_STATIC): Remove macro.
65006
65007 2013-06-21 Joseph Myers <joseph@codesourcery.com>
65008
65009 [BZ #7006]
65010 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
65011 with a shift of 0 bits.
65012
65013 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
65014
65015 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
65016 $(tststatic-ENV).
65017
65018 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
65019
65020 [BZ #15655]
65021 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
65022
65023 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65024
65025 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
65026 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
65027 accepts -fno-tree-loop-distribute-patterns.
65028 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
65029 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
65030 recursive call.
65031 * string/memset.c (memset): Likewise.
65032 * string/test-memmove.c (simple_memmove): Disable loop transformation
65033 to library calls.
65034 * string/test-memset.c (simple_memset): Likewise.
65035 * benchtests/bench-memmove.c (simple_memmove): Likewise.
65036 * benchtests/bench-memset.c (simple_memset): Likewise.
65037 * configure: Regenerated.
65038
65039 2013-06-20 Joseph Myers <joseph@codesourcery.com>
65040
65041 * math/test-misc.c (main): Ignore fesetround failure when failures
65042 of subsequent rounding tests would be ignored.
65043
65044 [BZ #15654]
65045 * math/fedisblxcpt.c (fedisableexcept): Return 0.
65046 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
65047 * math/fegetenv.c (__fegetenv): Return 0.
65048 * math/fegetexcept.c (fegetexcept): Return 0.
65049 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
65050 FE_TONEAREST.
65051 * math/feholdexcpt.c (feholdexcept): Return 0.
65052 * math/fesetenv.c (__fesetenv): Return 0.
65053 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
65054 argument FE_TONEAREST.
65055 * math/feupdateenv.c (__feupdateenv): Return 0.
65056 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
65057
65058 2013-06-18 Roland McGrath <roland@hack.frob.com>
65059
65060 * elf/rtld-Rules (rtld-compile-command.S): New variable.
65061 (rtld-compile-command.s, rtld-compile-command.c): New variables.
65062 ($(objpfx)rtld-%.os rules): Use them.
65063
65064 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65065
65066 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
65067 fields.
65068
65069 2013-06-17 Roland McGrath <roland@hack.frob.com>
65070
65071 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
65072 length of target pattern, then descending length of dependency pattern.
65073 * configure.in (AWK): Require gawk 3.1.2 or newer.
65074 * manual/install.texi (Tools for Compilation): Say that we do.
65075 * configure: Regenerated.
65076
65077 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
65078 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
65079 * scripts/sysd-rules.awk: ... this new script.
65080 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
65081 than a glob-style pattern.
65082
65083 2013-06-17 Joseph Myers <joseph@codesourcery.com>
65084
65085 * math/test-misc.c (main): Do not treat incorrectly rounded
65086 conversions as failure unless ROUNDING_TESTS passes.
65087
65088 2013-06-15 Joseph Myers <joseph@codesourcery.com>
65089
65090 [BZ #15631]
65091 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
65092 restore exception state around main square root computation, then
65093 check for inexactness explicitly.
65094
65095 * math/libm-test.inc (fma_test_data): Add another test.
65096
65097 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65098
65099 * manual/threads.texi (Non-POSIX Extensions): New document
65100 node. Document pthread_getattr_default_np and
65101 pthread_setattr_default_np.
65102
65103 * Versions.def (libpthread): Add GLIBC_2.18.
65104 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
65105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65106 Likewise.
65107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65108 Likewise.
65109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65110 Likewise.
65111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65112 Likewise.
65113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
65114 Likewise.
65115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65116 Likewise.
65117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65118 Likewise.
65119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65120 Likewise.
65121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65122 Likewise.
65123
65124 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
65125
65126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65127 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
65128
65129 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
65130 H.J. Lu <hjl.tools@gmail.com>
65131
65132 [BZ #15627]
65133 * sysdeps/x86_64/rtld-memset.c: Remove file.
65134 * sysdeps/x86_64/rtld-memset.S: New file.
65135
65136 2013-06-14 Joseph Myers <joseph@codesourcery.com>
65137
65138 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65139 (test_in_one_mode): Take arguments for whether the rounding mode
65140 is supported for each floating-point type.
65141 (do_test): Pass new arguments to test_in_one_mode using
65142 ROUNDING_TESTS.
65143
65144 2013-06-13 Roland McGrath <roland@hack.frob.com>
65145
65146 * posix/tst-waitid.c (do_test): Distinguish different instances of
65147 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
65148 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65149 before entering the kernel for waitpid.
65150
65151 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65152
65153 * NEWS: Fix note on clock function precision. Text by Roland
65154 McGrath.
65155
65156 2013-06-13 Roland McGrath <roland@hack.frob.com>
65157
65158 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65159 it into place only when and if the sanity check passes.
65160
65161 2013-06-13 Joseph Myers <joseph@codesourcery.com>
65162
65163 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65164 output for whether conversion result is exact. Take argument
65165 indicating whether type is IBM long double.
65166 (round_for_all): Change need_exact field to ibm_ld.
65167 * stdlib/tst-strtod-round.c (struct exactness): New type.
65168 (struct test): Change bool ld_ok field to struct exactness exact.
65169 (TEST): Update all definitions for change to field.
65170 (tests): Regenerate array contents.
65171 (test_in_one_mode): Take pointer to new field instead of old ld_ok
65172 field value. Check for IBM long double here.
65173 (do_test): Update calls to test_in_one_mode.
65174
65175 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65176
65177 [BZ #12515]
65178 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65179 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65180
65181 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65182
65183 [BZ #15605]
65184 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65185 generated by the compiler on loop optimizations.
65186 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65187 general definitions.
65188
65189 2013-06-12 Joseph Myers <joseph@codesourcery.com>
65190
65191 * math/bug-nextafter.c: Include <math-tests.h>.
65192 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65193 the relevant type.
65194 * math/bug-nexttoward.c: Include <math-tests.h>.
65195 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65196 the relevant type.
65197 * math/test-misc.c: Include <math-tests.h>.
65198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65199 the relevant type.
65200
65201 2013-06-12 Andreas Jaeger <aj@suse.de>
65202
65203 * po/ia.po: Update Interlingua translation from translation
65204 project.
65205
65206 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
65207
65208 * include/fenv.h: Include stdbool.h.
65209 (struct rm_ctx): New structure.
65210 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65211 Define macro.
65212 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65213 (SET_RESTORE_ROUNDF): Likewise.
65214 (SET_RESTORE_ROUNDL): Likewise.
65215 (SET_RESTORE_ROUND_NOEX): Likewise.
65216 (SET_RESTORE_ROUND_NOEXF): Likewise.
65217 (SET_RESTORE_ROUND_NOEXL): Likewise.
65218 (SET_RESTORE_ROUND_53BIT): Likewise.
65219 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65220 (libc_feresetround_noexf_ctx): Likewise.
65221 (libc_feresetround_noexl_ctx): Likewise.
65222 (libc_feholdsetround_53bit_ctx): Likewise.
65223 (libc_feresetround_53bit_ctx): Likewise.
65224 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65225 (libc_feholdexcept_setround_sse_ctx): New function.
65226 (libc_fesetenv_sse_ctx): Likewise.
65227 (libc_feupdateenv_sse_ctx): Likewise.
65228 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65229 (libc_feholdexcept_setround_387_ctx): Likewise.
65230 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65231 (libc_feholdsetround_387_prec_ctx): Likewise.
65232 (libc_feholdsetround_387_ctx): Likewise.
65233 (libc_feholdsetround_387_53bit_ctx): Likewise.
65234 (libc_feholdsetround_sse_ctx): Likewise.
65235 (libc_feresetround_sse_ctx): Likewise.
65236 (libc_feresetround_387_ctx): Likewise.
65237 (libc_feupdateenv_387_ctx): Likewise.
65238 (libc_feholdexcept_setroundf_ctx): Define macro.
65239 (libc_fesetenvf_ctx): Likewise.
65240 (libc_feupdateenvf_ctx): Likewise.
65241 (libc_feholdsetroundf_ctx): Likewise.
65242 (libc_feresetroundf_ctx): Likewise.
65243 (libc_feholdexcept_setround_ctx): Likewise.
65244 (libc_fesetenv_ctx): Likewise.
65245 (libc_feupdateenv_ctx): Likewise.
65246 (libc_feholdsetround_ctx): Likewise.
65247 (libc_feresetround_ctx): Likewise.
65248 (libc_feholdexcept_setroundl_ctx): Likewise.
65249 (libc_feupdateenvl_ctx): Likewise.
65250 (libc_feholdsetroundl_ctx): Likewise.
65251 (libc_feresetroundl_ctx): Likewise.
65252 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65253 (libc_feresetround_53bit_ctx): Likewise.
65254
65255 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65256
65257 * locale/iso-639.def: Convert to UTF-8.
65258
65259 2013-06-11 Joseph Myers <joseph@codesourcery.com>
65260
65261 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65262 (EXCEPTION_TESTS_double): Likewise.
65263 (EXCEPTION_TESTS_long_double): Likewise.
65264 (EXCEPTION_TESTS): Likewise.
65265 * math/libm-test.inc (test_exceptions): Only test exceptions if
65266 EXCEPTION_TESTS (FLOAT).
65267
65268 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65269
65270 * benchtests/Makefile (string-bench): Add strcpy_chk and
65271 stpcpy_chk.
65272 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65273 * benchtests/bench-stpcpy_chk.c: New file.
65274 * benchtests/bench-strcpy_chk-ifunc.c: New file.
65275 * benchtests/bench-strcpy_chk.c: New file.
65276 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65277 code.
65278 (do_test): Likewise.
65279
65280 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65281
65282 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65283 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65284 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65285 with tabs where appropriate.
65286 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65287 dl-procinfo.h.
65288 [PPC_PLATFORM_PPC440]: Likewise.
65289 [PPC_PLATFORM_PPC464]: Likewise.
65290 [PPC_PLATFORM_PPC476]: Likewise.
65291 (_dl_string_platform): Add support for detecting ppc405, ppc440,
65292 ppc464, and ppc476 platform strings merging from ports/
65293 dl-procinfo.h.
65294
65295 2013-06-11 Andreas Schwab <schwab@suse.de>
65296
65297 [BZ #14991]
65298 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65299 (from_ucs4_idx): Regenerate.
65300 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65301 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65302 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65303 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65304 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65305 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65306 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65307 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65308 from FROM_LOOP and TO_LOOP specific macros.
65309 (BODY): Handle combining characters.
65310 * iconvdata/BIG5HKSCS.irreversible: Update.
65311 * iconvdata/BIG5HKSCS.precomposed: New file.
65312 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65313 characters.
65314 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65315
65316 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65317
65318 * include/sys/time.h: Fix indentation and add copyright header.
65319
65320 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65321 (do_test): Likewise.
65322 * string/test-memchr.c (do_one_test): Likewise.
65323 (do_test): Likewise.
65324 * string/test-memcmp.c (do_one_test): Likewise.
65325 (do_test): Likewise.
65326 * string/test-memcpy.c (do_one_test): Likewise.
65327 (do_test): Likewise.
65328 * string/test-memmem.c (do_one_test): Likewise.
65329 (do_test): Likewise.
65330 (do_random_tests): Likewise.
65331 * string/test-memmove.c (do_one_test): Likewise.
65332 (do_test): Likewise.
65333 * string/test-memset.c (do_one_test): Likewise.
65334 (do_test): Likewise.
65335 * string/test-rawmemchr.c (do_one_test): Likewise.
65336 (do_test): Likewise.
65337 * string/test-strcasecmp.c (do_one_test): Likewise.
65338 (do_test): Likewise.
65339 * string/test-strcasestr.c (do_one_test): Likewise.
65340 (do_test): Likewise.
65341 * string/test-strcat.c (do_one_test): Likewise.
65342 (do_test): Likewise.
65343 * string/test-strchr.c (do_one_test): Likewise.
65344 (do_test): Likewise.
65345 * string/test-strcmp.c (do_one_test): Likewise.
65346 (do_test): Likewise.
65347 * string/test-strcpy.c (do_one_test): Likewise.
65348 (do_test): Likewise.
65349 * string/test-string.h: Likewise.
65350 (test_init): Likewise.
65351 * string/test-strlen.c (do_one_test): Likewise.
65352 (do_test): Likewise.
65353 * string/test-strncasecmp.c (do_one_test): Likewise.
65354 (do_test): Likewise.
65355 * string/test-strncat.c (do_one_test): Likewise.
65356 (do_test): Likewise.
65357 * string/test-strncmp.c (do_one_test): Likewise.
65358 (do_test_limit): Likewise.
65359 (do_test): Likewise.
65360 * string/test-strncpy.c (do_one_test): Likewise.
65361 (do_test): Likewise.
65362 * string/test-strnlen.c (do_one_test): Likewise.
65363 (do_test): Likewise.
65364 * string/test-strpbrk.c (do_one_test): Likewise.
65365 (do_test): Likewise.
65366 * string/test-strrchr.c (do_one_test): Likewise.
65367 (do_test): Likewise.
65368 * string/test-strspn.c (do_one_test): Likewise.
65369 (do_test): Likewise.
65370 * string/test-strstr.c (do_one_test): Likewise.
65371 (do_test): Likewise.
65372
65373 * benchtests/Makefile (string-bench): Add string benchmarks.
65374 * benchtests/bench-bcopy-ifunc.c: New file.
65375 * benchtests/bench-bcopy.c: New file.
65376 * benchtests/bench-bzero-ifunc.c: New file.
65377 * benchtests/bench-bzero.c: New file.
65378 * benchtests/bench-memccpy-ifunc.c: New file.
65379 * benchtests/bench-memccpy.c: New file.
65380 * benchtests/bench-memchr-ifunc.c: New file.
65381 * benchtests/bench-memchr.c: New file.
65382 * benchtests/bench-memcmp-ifunc.c: New file.
65383 * benchtests/bench-memcmp.c: New file.
65384 * benchtests/bench-memmem-ifunc.c: New file.
65385 * benchtests/bench-memmem.c: New file.
65386 * benchtests/bench-memmove-ifunc.c: New file.
65387 * benchtests/bench-memmove.c: New file.
65388 * benchtests/bench-mempcpy-ifunc.c: New file.
65389 * benchtests/bench-mempcpy.c: New file.
65390 * benchtests/bench-memset-ifunc.c: New file.
65391 * benchtests/bench-memset.c: New file.
65392 * benchtests/bench-rawmemchr-ifunc.c: New file.
65393 * benchtests/bench-rawmemchr.c: New file.
65394 * benchtests/bench-stpcpy-ifunc.c: New file.
65395 * benchtests/bench-stpcpy.c: New file.
65396 * benchtests/bench-stpncpy-ifunc.c: New file.
65397 * benchtests/bench-stpncpy.c: New file.
65398 * benchtests/bench-strcasecmp-ifunc.c: New file.
65399 * benchtests/bench-strcasecmp.c: New file.
65400 * benchtests/bench-strcasestr-ifunc.c: New file.
65401 * benchtests/bench-strcasestr.c: New file.
65402 * benchtests/bench-strcat-ifunc.c: New file.
65403 * benchtests/bench-strcat.c: New file.
65404 * benchtests/bench-strchr-ifunc.c: New file.
65405 * benchtests/bench-strchr.c: New file.
65406 * benchtests/bench-strchrnul-ifunc.c: New file.
65407 * benchtests/bench-strchrnul.c: New file.
65408 * benchtests/bench-strcmp-ifunc.c: New file.
65409 * benchtests/bench-strcmp.c: New file.
65410 * benchtests/bench-strcpy-ifunc.c: New file.
65411 * benchtests/bench-strcpy.c: New file.
65412 * benchtests/bench-strcspn-ifunc.c: New file.
65413 * benchtests/bench-strcspn.c: New file.
65414 * benchtests/bench-strlen-ifunc.c: New file.
65415 * benchtests/bench-strlen.c: New file.
65416 * benchtests/bench-strncasecmp-ifunc.c: New file.
65417 * benchtests/bench-strncasecmp.c: New file.
65418 * benchtests/bench-strncat-ifunc.c: New file.
65419 * benchtests/bench-strncat.c: New file.
65420 * benchtests/bench-strncmp-ifunc.c: New file.
65421 * benchtests/bench-strncmp.c: New file.
65422 * benchtests/bench-strncpy-ifunc.c: New file.
65423 * benchtests/bench-strncpy.c: New file.
65424 * benchtests/bench-strnlen-ifunc.c: New file.
65425 * benchtests/bench-strnlen.c: New file.
65426 * benchtests/bench-strpbrk-ifunc.c: New file.
65427 * benchtests/bench-strpbrk.c: New file.
65428 * benchtests/bench-strrchr-ifunc.c: New file.
65429 * benchtests/bench-strrchr.c: New file.
65430 * benchtests/bench-strspn-ifunc.c: New file.
65431 * benchtests/bench-strspn.c: New file.
65432 * benchtests/bench-strstr-ifunc.c: New file.
65433 * benchtests/bench-strstr.c: New file.
65434
65435 * benchtests/Makefile: Disable parallel execution of targets.
65436 (string-bench): Add memcpy.
65437 (benchset): New variable to store a list of benchmark sets.
65438 (bench-func): Renamed from bench.
65439 (bench-set): New target.
65440 (bench): Depend on bench-func and bench-set.
65441 * benchtests/README: Add section on benchmark sets.
65442 * benchtests/bench-memcpy-ifunc.c: New file.
65443 * benchtests/bench-memcpy.c: New file.
65444 * benchtests/bench-string.h: New file.
65445
65446 2013-06-11 Andreas Schwab <schwab@suse.de>
65447
65448 [BZ #15577]
65449 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65450 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65451 values in the triple.
65452 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65453 terminator in the group key.
65454
65455 2013-06-11 Andreas Jaeger <aj@suse.de>
65456
65457 * po/zh_TW.po: Update Chinese (traditional) translation from
65458 translation project.
65459
65460 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65461
65462 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65463 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65464 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65466 (clock_getcpuclockid): Likewise.
65467 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65468 Add weak_alias and libc_hidden_def.
65469 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65470 * rt/clock_gettime.c (clock_gettime): Rename to
65471 __clock_gettime. Add weak_alias and libc_hidden_def.
65472 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65473 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65474 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65475 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65476 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65477 Likewise.
65478 * rt/clock_settime.c (clock_settime): Rename to
65479 __clock_settime. Add weak_alias and libc_hidden_def.
65480 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65481
65482 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65483
65484 * mach/err_boot.sub: Remove trailing whitespace.
65485 * mach/err_ipc.sub: Likewise.
65486 * mach/err_mach.sub: Likewise.
65487
65488 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65489 (ROUNDING_TESTS_double): Likewise.
65490 (ROUNDING_TESTS_long_double): Likewise.
65491 (ROUNDING_TESTS): Likewise.
65492 * math/libm-test.inc: Include <math-tests.h>.
65493 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65494 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65495 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65496 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65497
65498 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65499
65500 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65501 of assigning.
65502
65503 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65504
65505 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65506 otherwise empty TRANS lines.
65507 * sysdeps/gnu/errlist.c: Regenerated.
65508
65509 * catgets/gencat.c (error_print): Use (void) in function
65510 definition.
65511 * crypt/crypt_util.c (__init_des): Likewise.
65512 * crypt/speeds.c (Stop): Likewise.
65513 (main): Likewise.
65514 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65515 * inet/ruserpass.c (token): Likewise.
65516 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65517 * intl/localealias.c (extend_alias_table): Likewise.
65518 * intl/plural-exp.c (init_germanic_plural): Likewise.
65519 * libio/fcloseall.c (__fcloseall): Likewise.
65520 * libio/genops.c (_IO_flush_all): Likewise.
65521 (_IO_flush_all_linebuffered): Likewise.
65522 (_IO_cleanup): Likewise.
65523 (_IO_iter_begin): Likewise.
65524 (_IO_iter_end): Likewise.
65525 (_IO_list_lock): Likewise.
65526 (_IO_list_unlock): Likewise.
65527 (_IO_list_resetlock): Likewise.
65528 * libio/getchar.c (getchar): Likewise.
65529 * libio/getchar_u.c (getchar_unlocked): Likewise.
65530 * libio/getwchar.c (getwchar): Likewise.
65531 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65532 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65533 * login/getpt.c (__getpt): Likewise.
65534 * login/tst-utmp.c (main): Likewise.
65535 * malloc/hooks.c (__malloc_check_init): Likewise.
65536 * malloc/malloc.c (__malloc_stats): Likewise.
65537 * malloc/mtrace.c (tr_break): Likewise.
65538 (mtrace): Likewise.
65539 (muntrace): Likewise.
65540 * misc/fstab.c (endfsent): Likewise.
65541 * misc/getclktck.c (__getclktck): Likewise.
65542 * misc/getdtsz.c (__getdtablesize): Likewise.
65543 * misc/gethostid.c (gethostid): Likewise.
65544 * misc/getpagesize.c (__getpagesize): Likewise.
65545 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65546 (__get_nprocs): Likewise.
65547 (__get_phys_pages): Likewise.
65548 (__get_avphys_pages): Likewise.
65549 * misc/getttyent.c (getttyent): Likewise.
65550 (setttyent): Likewise.
65551 (endttyent): Likewise.
65552 * misc/getusershell.c (getusershell): Likewise.
65553 (endusershell): Likewise.
65554 (setusershell): Likewise.
65555 (initshells): Likewise.
65556 * misc/hsearch.c (__hdestroy): Likewise.
65557 * misc/sync.c (sync): Likewise.
65558 * misc/syslog.c (closelog_internal): Likewise.
65559 (closelog): Likewise.
65560 * misc/ttyslot.c (ttyslot): Likewise.
65561 * misc/vhangup.c (vhangup): Likewise.
65562 * posix/fork.c (__fork): Likewise.
65563 * posix/getegid.c (__getegid): Likewise.
65564 * posix/geteuid.c (__geteuid): Likewise.
65565 * posix/getgid.c (__getgid): Likewise.
65566 * posix/getpid.c (__getpid): Likewise.
65567 * posix/getppid.c (__getppid): Likewise.
65568 * posix/getuid.c (__getuid): Likewise.
65569 * posix/pause.c (pause): Likewise.
65570 * posix/setpgrp.c (setpgrp): Likewise.
65571 * posix/setsid.c (__setsid): Likewise.
65572 * posix/test-vfork.c (noop): Likewise.
65573 * resolv/gethnamaddr.c (_endhtent): Likewise.
65574 (_gethtent): Likewise.
65575 (ht_endhostent): Likewise.
65576 (gethostent): Likewise.
65577 (dns_service): Likewise.
65578 * stdlib/drand48.c (drand48): Likewise.
65579 * stdlib/lrand48.c (lrand48): Likewise.
65580 * stdlib/mrand48.c (mrand48): Likewise.
65581 * stdlib/rand.c (rand): Likewise.
65582 * stdlib/random.c (__random): Likewise.
65583 * stdlib/setenv.c (clearenv): Likewise.
65584 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65585 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65586 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65587 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65588 (__get_nprocs): Likewise.
65589 (__get_phys_pages): Likewise.
65590 (__get_avphys_pages): Likewise.
65591 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65592 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65593 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65594 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65595 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65596 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65597 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65598 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65599 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65600 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65601 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65602 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65603 * sysdeps/posix/clock.c (clock): Likewise.
65604 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65605 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65606 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65607 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65608 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65610 (__get_nprocs_conf): Likewise.
65611 (__get_phys_pages): Likewise.
65612 (__get_avphys_pages): Likewise.
65613 * time/clock.c (clock): Likewise.
65614 * time/tzset.c (__tzname_max): Likewise.
65615
65616 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65617
65618 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65619 (__bswap_32): Do not use "register".
65620 * crypt/crypt.c (_ufc_doit_r): Likewise.
65621 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65622 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65623 * gmon/gmon.c (__monstartup): Likewise.
65624 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65625 * hurd/hurdmalloc.c (more_memory): Likewise.
65626 (malloc): Likewise.
65627 (free): Likewise.
65628 (realloc): Likewise.
65629 (malloc_fork_prepare): Likewise.
65630 (malloc_fork_parent): Likewise.
65631 (malloc_fork_child): Likewise.
65632 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65633 (_svcauth_des): Likewise.
65634 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65635 * inet/inet_net.c (inet_network): Likewise.
65636 * inet/inet_netof.c (inet_netof): Likewise.
65637 * inet/rcmd.c (__validuser2_sa): Likewise.
65638 * io/fts.c (fts_open): Likewise.
65639 (fts_load): Likewise.
65640 (fts_close): Likewise.
65641 (fts_read): Likewise.
65642 (fts_children): Likewise.
65643 (fts_build): Likewise.
65644 (fts_stat): Likewise.
65645 (fts_sort): Likewise.
65646 (fts_alloc): Likewise.
65647 (fts_lfree): Likewise.
65648 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65649 (_IO_file_xsgetn): Likewise.
65650 (_IO_file_xsgetn_mmap): Likewise.
65651 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65652 (_IO_cookie_write): Likewise.
65653 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65654 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65655 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65656 * malloc/obstack.c (_obstack_begin): Likewise.
65657 (_obstack_begin_1): Likewise.
65658 (_obstack_newchunk): Likewise.
65659 (_obstack_allocated_p): Likewise.
65660 (obstack_free): Likewise.
65661 (_obstack_memory_used): Likewise.
65662 * misc/getttyent.c (getttynam): Likewise.
65663 (getttyent): Likewise.
65664 (skip): Likewise.
65665 (value): Likewise.
65666 * misc/getusershell.c (initshells): Likewise.
65667 * misc/syslog.c (__vsyslog_chk): Likewise.
65668 * misc/ttyslot.c (ttyslot): Likewise.
65669 * nis/nis_hash.c (__nis_hash): Likewise.
65670 * posix/fnmatch_loop.c (FCT): Likewise.
65671 * posix/getconf.c (print_all): Likewise.
65672 (main): Likewise.
65673 * posix/getopt.c (exchange): Likewise.
65674 * posix/glob.c (globfree): Likewise.
65675 (prefix_array): Likewise.
65676 (__glob_pattern_type): Likewise.
65677 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65678 (NS_GET32): Likewise.
65679 (NS_PUT16): Likewise.
65680 (NS_PUT32): Likewise.
65681 * resolv/gethnamaddr.c (getanswer): Likewise.
65682 (gethostbyname2): Likewise.
65683 (gethostbyaddr): Likewise.
65684 (_gethtent): Likewise.
65685 (_gethtbyname2): Likewise.
65686 (_gethtbyaddr): Likewise.
65687 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65688 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65689 * resolv/res_init.c (__res_vinit): Likewise.
65690 (net_mask): Likewise.
65691 * resolv/res_mkquery.c (outchar): Likewise.
65692 (PRINT): Likewise.
65693 * stdio-common/printf_fp.c (outchar): Likewise.
65694 (PRINT): Likewise.
65695 * stdio-common/printf_fphex.c (outchar): Likewise.
65696 (PRINT): Likewise.
65697 * stdio-common/printf_size.c (outchar): Likewise.
65698 (PRINT): Likewise.
65699 * stdio-common/test_rdwr.c (main): Likewise.
65700 * stdio-common/tfformat.c (matches): Likewise.
65701 * stdio-common/vfprintf.c (outchar): Likewise.
65702 (printf_unknown): Likewise.
65703 (buffered_vfprintf): Likewise.
65704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65705 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65706 (ReadFile): Likewise.
65707 * stdlib/qsort.c (SWAP): Likewise.
65708 (_quicksort): Likewise.
65709 * stdlib/setenv.c (__add_to_environ): Likewise.
65710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65711 * stdlib/strtol_l.c (__strtol_l): Likewise.
65712 * stdlib/tst-strtod.c (main): Likewise.
65713 * stdlib/tst-strtol.c (main): Likewise.
65714 * stdlib/tst-strtoll.c (main): Likewise.
65715 * string/bits/string2.h (__strcmp_cc): Likewise.
65716 (__strcmp_cg): Likewise.
65717 (__strcspn_c1): Likewise.
65718 (__strcspn_c2): Likewise.
65719 (__strcspn_c3): Likewise.
65720 (__strspn_c1): Likewise.
65721 (__strspn_c2): Likewise.
65722 (__strspn_c3): Likewise.
65723 (__strsep_1c): Likewise.
65724 (__strsep_2c): Likewise.
65725 (__strsep_3c): Likewise.
65726 * string/memccpy.c (__memccpy): Likewise.
65727 * string/stpcpy.c (__stpcpy): Likewise.
65728 * string/strcmp.c (strcmp): Likewise.
65729 * string/strrchr.c (strrchr): Likewise.
65730 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65731 Likewise.
65732 * sysdeps/mach/hurd/getcwd.c
65733 (_hurd_canonicalize_directory_name_internal): Likewise.
65734 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65735 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65736 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65737 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65738 Likewise, in both definitions.
65739 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65740 definitions.
65741 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65742 64] (__bswap_64): Likewise.
65743 * time/test_time.c (main): Likewise.
65744 * time/tzfile.c (__tzfile_read): Likewise.
65745 (__tzfile_compute): Likewise.
65746 * time/tzset.c (__tzset_parse_tz): Likewise.
65747 (tzset_internal): Likewise.
65748 (compute_change): Likewise.
65749 * wcsmbs/wcscat.c (__wcscat): Likewise.
65750 * wcsmbs/wcschr.c (wcschr): Likewise.
65751 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65752 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65753 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65754 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65755 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65756 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65757 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65758 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65759 * wcsmbs/wmemset.c (wmemset): Likewise.
65760
65761 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65762
65763 * scripts/config.guess: Update to version 2013-05-16.
65764 * scripts/config.sub: Update to version 2013-04-24.
65765 * scripts/install-sh: Update to version 2011-11-20.07.
65766 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65767 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65768
65769 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
65770
65771 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65772 * elf/sln.c: Likewise.
65773 * hurd/hurd/ioctl.h: Likewise.
65774 * hurd/hurdmalloc.c: Likewise.
65775 * hurd/xattr.c: Likewise.
65776 * include/shlib-compat.h: Likewise.
65777 * inet/ruserpass.c: Likewise.
65778 * libio/iofgets_u.c: Likewise.
65779 * libio/iofgetws_u.c: Likewise.
65780 * locale/programs/ld-identification.c: Likewise.
65781 * locale/programs/ld-time.c: Likewise.
65782 * mach/msg-destroy.c: Likewise.
65783 * nss/nss_files/files-netgrp.c: Likewise.
65784 * resolv/res_data.c: Likewise.
65785 * soft-fp/op-1.h: Likewise.
65786 * soft-fp/op-2.h: Likewise.
65787 * soft-fp/op-4.h: Likewise.
65788 * soft-fp/op-common.h: Likewise.
65789 * stdio-common/printf_fphex.c: Likewise.
65790 * stdlib/strtod_l.c: Likewise.
65791 * sunrpc/rpc/clnt.h: Likewise.
65792 * sysdeps/generic/framestate.c: Likewise.
65793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65794 * sysdeps/i386/bsd-setjmp.S: Likewise.
65795 * sysdeps/i386/__longjmp.S: Likewise.
65796 * sysdeps/i386/setjmp.S: Likewise.
65797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65798 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65810 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65811 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65814 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65815 * sysdeps/ieee754/support.c: Likewise.
65816 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65817 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65818 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65819 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65820 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65821 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65822 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65823 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65824 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65825 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65826 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65827 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65831 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65834
65835 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65836
65837 * posix/transbug.c: Remove executable mode.
65838
65839 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65840
65841 * crypt/speeds.c: Remove trailing whitespace.
65842 * dlfcn/default.c: Likewise.
65843 * elf/ifuncdep2.c: Likewise.
65844 * elf/ifuncmain1.c: Likewise.
65845 * elf/ifuncmain1vis.c: Likewise.
65846 * elf/testobj.h: Likewise.
65847 * elf/tst-stackguard1.c: Likewise.
65848 * gmon/sys/gmon.h: Likewise.
65849 * hurd/hurdmsg.c: Likewise.
65850 * hurd/new-fd.c: Likewise.
65851 * hurd/ports-get.c: Likewise.
65852 * iconvdata/ibm1008_420.c: Likewise.
65853 * inet/tst-getni1.c: Likewise.
65854 * inet/tst-getni2.c: Likewise.
65855 * libio/ioungetc.c: Likewise.
65856 * libio/wfiledoalloc.c: Likewise.
65857 * manual/libm-err-tab.pl: Likewise.
65858 * math/w_dremf.c: Likewise.
65859 * misc/ftruncate.c: Likewise.
65860 * posix/bug-glob2.c: Likewise.
65861 * posix/tst-pcre.c: Likewise.
65862 * posix/wait4.c: Likewise.
65863 * resolv/README: Likewise.
65864 * resolv/res_debug.h: Likewise.
65865 * resolv/tst-inet_ntop.c: Likewise.
65866 * setjmp/bug269-setjmp.c: Likewise.
65867 * soft-fp/extended.h: Likewise.
65868 * soft-fp/op-1.h: Likewise.
65869 * soft-fp/op-2.h: Likewise.
65870 * soft-fp/op-4.h: Likewise.
65871 * soft-fp/op-8.h: Likewise.
65872 * soft-fp/testit.c: Likewise.
65873 * stdio-common/bug16.c: Likewise.
65874 * stdlib/random.c: Likewise.
65875 * sunrpc/rpcsvc/rquota.x: Likewise.
65876 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65889 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65891 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65898 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65905 * sysdeps/ieee754/s_lib_version.c: Likewise.
65906 * sysdeps/mach/hurd/check_fds.c: Likewise.
65907 * sysdeps/mach/hurd/getsockname.c: Likewise.
65908 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65909 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65910 * sysdeps/powerpc/bits/link.h: Likewise.
65911 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65912 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65913 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65914 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65915 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65917 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65918 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65919 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65920 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65921 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65922 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65923 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65924 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65925 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65926 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65930 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65932 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65934 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65935 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65945 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65946 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65947 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65948 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65949 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65950 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65951 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65952 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65953 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65954 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65955 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65956 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65957 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65959 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65960 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65966 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65967 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65973 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65974 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65975 * sysdeps/powerpc/sysdep.h: Likewise.
65976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65977 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65978 * sysdeps/sh/dl-trampoline.S: Likewise.
65979 * sysdeps/sh/memset.S: Likewise.
65980 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65981 * sysdeps/sh/strlen.S: Likewise.
65982 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65983 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65984 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65985 * sysdeps/sparc/sparc32/rem.S: Likewise.
65986 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65987 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65988 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65989 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65990 * sysdeps/sparc/sparc32/urem.S: Likewise.
65991 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65993 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65994 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65996 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65997 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65998 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65999 * sysdeps/unix/bsd/times.c: Likewise.
66000 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
66001 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
66002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
66003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
66004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
66005 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
66006 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
66007 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
66008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
66009 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
66010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
66011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66012 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
66013 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66015 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
66016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66017 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
66018 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
66019 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
66020 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
66021 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
66022 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66023 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
66024 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
66025 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
66026 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
66027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66028 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
66029 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
66030 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
66031 * sysdeps/x86_64/strcspn.S: Likewise.
66032
66033 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66034
66035 * locale/C-translit.h: Revert #include <stdint.h> because this is a
66036 generated file. Regenerate properly from gen-translit.pl.
66037 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
66038 locale/C-translit.h.
66039
66040 2013-06-05 Andreas Schwab <schwab@suse.de>
66041
66042 [BZ #15100]
66043 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
66044 week as 6 instead of -1.
66045 * time/tst-strptime.c (day_tests): Add test case.
66046
66047 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66048
66049 * sysdeps/generic/math_private.h
66050 (libc_feholdexcept_setround_53bit): Replace with
66051 libc_feholdsetround_53bit.
66052 (libc_feupdateenv_53bit): Replace with
66053 libc_feresetround_53bit.
66054 (SET_RESTORE_ROUND_53BIT): Adjust.
66055
66056 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
66057
66058 * string/test-strchrnul.c: Add copyright header.
66059
66060 * posix/tst-getaddrinfo4.c: Increase test timeout.
66061
66062 2013-06-03 Carlos O'Donell <carlos@redhat.com>
66063
66064 [BZ #15536]
66065 * math/libm-test.inc (MAX_EXP): Remove
66066 (MIN_EXP): Define.
66067 (ulp): Use MIN_EXP - MANT_DIG.
66068 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
66069
66070 2013-05-31 Carlos O'Donell <carlos@redhat.com>
66071
66072 * po/be.po: Revert last change.
66073 * po/zh_CN.po: Likewise.
66074 * po/header.pot: Likewise.
66075
66076 2013-05-31 Joseph Myers <joseph@codesourcery.com>
66077
66078 * Makefile ($(common-objpfx)linkobj/libc.so): Define
66079 link-libc-deps to empty as target-specific variable.
66080 * Makerules (link-libc-args): New variable.
66081 (libc-for-link): Likewise.
66082 (link-libc-deps): Likewise.
66083 (lib%.so): Depend on $(link-libc-deps). Link with
66084 $(link-libc-args).
66085 (build-module): Link with $(link-libc-args).
66086 (build-module-asneeded): Likewise.
66087 (build-module-helper-objlist): Filter out $(link-libc-deps) from
66088 list of objects.
66089 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
66090 target-specific variable.
66091 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
66092 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
66093 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
66094 libc.
66095 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
66096 libc and ld.so.
66097 ($(objpfx)libpcprofile.so): Likewise.
66098 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
66099 libc_nonshared.a.
66100 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
66101 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
66102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
66103 $(link-libc-deps).
66104 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
66105 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
66106 * login/Makefile ($(objpfx)libutil.so): Likewise.
66107 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
66108 * math/Makefile ($(objpfx)libm.so): Likewise.
66109 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
66110 $(objpfx)libnsl.so): Define libc-for-link as target-specific
66111 variable instead of depending directly on libc.
66112 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
66113 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
66114 $(link-libc-deps).
66115 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
66116 libc.
66117 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
66118 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
66119 ($(objpfx)libanl.so): Likewise.
66120 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
66121 ld.so.
66122 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
66123 $(link-libc-deps).
66124 * sysdeps/i386/fpu/Makefile: Remove file.
66125 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
66126 ($(objpfx)libm.so): Remove dependency on ld.so.
66127
66128 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
66129
66130 [BZ # 15553]
66131 * nis/yp_xdr.c (XDRMAXNAME): Define.
66132 (XDRMAXRECORD): Define.
66133 (xdr_domainname): Use XDRMAXNAME.
66134 (xdr_mapname): Likewise.
66135 (xdr_peername): Likewise.
66136 (xdr_keydat): Use XDRMAXRECORD.
66137 (xdr_valdat): Likewise.
66138
66139 2013-05-30 Jeff Law <law@redhat.com>
66140
66141 [BZ #14256]
66142 * manual/errno.texi (ESTALE): Update to account for more than
66143 just NFS file systems.
66144 * sysdeps/gnu/errlist.c: Regenerated.
66145
66146 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66147
66148 [BZ #15465]
66149 * elf/Makefile (tests): Add tst-null-argv.
66150 (modules-names): Add tst-null-argv-lib.
66151 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66152 (tst-null-argv-ENV): Set environment for tst-null-argv.
66153 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66154 (RTLD_PROGNAME): New macro.
66155 * elf/tst-null-argv.c: New test case.
66156 * elf/tst-null-argv-lib.c: Library for test case.
66157 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66158 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66159 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66160 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66161 * elf/dl-init.c (call_init): Likewise.
66162 (_dl_init): Likewise.
66163 * elf/dl-load.c (print_search_path): Likewise.
66164 (_dl_map_object): Likewise.
66165 * elf/dl-lookup.c (do_lookup_x): Likewise.
66166 (add_dependency): Likewise.
66167 (_dl_lookup_symbol_x): Likewise.
66168 (_dl_debug_bindings): Likewise.
66169 * elf/dl-open.c (_dl_show_scope): Likewise.
66170 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66171 * elf/dl-version.c (match_symbol): Likewise.
66172 (_dl_check_map_versions): Likewise.
66173 * elf/rtld.c (dl_main): Likewise.
66174 (print_unresolved): Use RTLD_PROGNAME.
66175 (print_missing_version): Likewise.
66176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66177 (elf_machine_rela): Likewise.
66178 * sysdeps/powerpc/powerpc32/dl-machine.c
66179 (__process_machine_rela): Likewise.
66180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66181 Likewise.
66182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66183 Likewise.
66184 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66185 Likewise.
66186 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66188 Likewise.
66189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66190 Likewise.
66191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66192
66193 2013-05-28 Carlos O'Donell <carlos@redhat.com>
66194
66195 * po/be.po: Add descriptive title.
66196 * po/zh_CN.po: Likewise.
66197 * po/header.pot: Likewise.
66198
66199 2013-05-28 Mike Frysinger <vapier@gentoo.org>
66200
66201 * locale/programs/locarchive.c (create_archive): Inlucde fname in
66202 error message.
66203 (enlarge_archive): Likewise.
66204
66205 2013-05-28 Ben North <ben@redfrontdoor.org>
66206
66207 * manual/arith.texi (frexp): It is the magnitude of the return
66208 value which lies in [0.5, 1), not the return value itself.
66209
66210 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66211
66212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66213
66214 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
66215
66216 * stdio-common/bug26.c (main): Correct fscanf template.
66217
66218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66219 declare _dl_skip_args.
66220
66221 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66222 Don't declare.
66223
66224 * manual/platform.texi: Add missing @end deftypefun.
66225
66226 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66227
66228 [BZ #15529]
66229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66230 bit of mantissa of 2^16382.
66231 * math/libm-test.inc (hypot_test_data): Add more tests.
66232
66233 * math/libm-test.inc: Add drem and pow10 to list of tested
66234 functions.
66235 (pow10_test): New function.
66236 (drem_test): Likewise.
66237 (drem_test_tonearest): Likewise.
66238 (drem_test_towardzero): Likewise.
66239 (drem_test_downward): Likewise.
66240 (drem_test_upward): Likewise.
66241 (main): Call the new functions.
66242
66243 * math/libm-test.inc (finite_test_data): Remove.
66244 (finite_test): Run tests from isfinite_test_data.
66245 (gamma_test_data): Remove.
66246 (gamma_test): Run tests from lgamma_test_data.
66247 * sysdeps/i386/fpu/libm-test-ulps: Update.
66248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66249
66250 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66251
66252 * manual/platform.texi: Add PowerPC PPR function set documentation.
66253 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66254 implementation.
66255
66256 2013-05-24 Carlos O'Donell <carlos@redhat.com>
66257
66258 * math/libm-test.inc (MAX_EXP): Define.
66259 (ULPDIFF): Define.
66260 (ulp): New function.
66261 (check_float_internal): Use ULPDIFF.
66262 (cpow_test): Disable failing test.
66263 (check_ulp): Test ulp() implementation.
66264 (main): Call check_ulp before starting tests.
66265
66266 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66267
66268 * math/gen-libm-test.pl (generate_testfile): Do not handle
66269 START_DATA and END_DATA.
66270 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66271 END_DATA.
66272 (acos_tonearest_test_data): Likewise.
66273 (acos_towardzero_test_data): Likewise.
66274 (acos_downward_test_data): Likewise.
66275 (acos_upward_test_data): Likewise.
66276 (acosh_test_data): Likewise.
66277 (asin_test_data): Likewise.
66278 (asin_tonearest_test_data): Likewise.
66279 (asin_towardzero_test_data): Likewise.
66280 (asin_downward_test_data): Likewise.
66281 (asin_upward_test_data): Likewise.
66282 (asinh_test_data): Likewise.
66283 (atan_test_data): Likewise.
66284 (atanh_test_data): Likewise.
66285 (atan2_test_data): Likewise.
66286 (cabs_test_data): Likewise.
66287 (cacos_test_data): Likewise.
66288 (cacosh_test_data): Likewise.
66289 (carg_test_data): Likewise.
66290 (casin_test_data): Likewise.
66291 (casinh_test_data): Likewise.
66292 (catan_test_data): Likewise.
66293 (catanh_test_data): Likewise.
66294 (cbrt_test_data): Likewise.
66295 (ccos_test_data): Likewise.
66296 (ccosh_test_data): Likewise.
66297 (ceil_test_data): Likewise.
66298 (cexp_test_data): Likewise.
66299 (cimag_test_data): Likewise.
66300 (clog_test_data): Likewise.
66301 (clog10_test_data): Likewise.
66302 (conj_test_data): Likewise.
66303 (copysign_test_data): Likewise.
66304 (cos_test_data): Likewise.
66305 (cos_tonearest_test_data): Likewise.
66306 (cos_towardzero_test_data): Likewise.
66307 (cos_downward_test_data): Likewise.
66308 (cos_upward_test_data): Likewise.
66309 (cosh_test_data): Likewise.
66310 (cosh_tonearest_test_data): Likewise.
66311 (cosh_towardzero_test_data): Likewise.
66312 (cosh_downward_test_data): Likewise.
66313 (cosh_upward_test_data): Likewise.
66314 (cpow_test_data): Likewise.
66315 (cproj_test_data): Likewise.
66316 (creal_test_data): Likewise.
66317 (csin_test_data): Likewise.
66318 (csinh_test_data): Likewise.
66319 (csqrt_test_data): Likewise.
66320 (ctan_test_data): Likewise.
66321 (ctan_tonearest_test_data): Likewise.
66322 (ctan_towardzero_test_data): Likewise.
66323 (ctan_downward_test_data): Likewise.
66324 (ctan_upward_test_data): Likewise.
66325 (ctanh_test_data): Likewise.
66326 (ctanh_tonearest_test_data): Likewise.
66327 (ctanh_towardzero_test_data): Likewise.
66328 (ctanh_downward_test_data): Likewise.
66329 (ctanh_upward_test_data): Likewise.
66330 (erf_test_data): Likewise.
66331 (erfc_test_data): Likewise.
66332 (exp_test_data): Likewise.
66333 (exp_tonearest_test_data): Likewise.
66334 (exp_towardzero_test_data): Likewise.
66335 (exp_downward_test_data): Likewise.
66336 (exp_upward_test_data): Likewise.
66337 (exp10_test_data): Likewise.
66338 (exp2_test_data): Likewise.
66339 (expm1_test_data): Likewise.
66340 (fabs_test_data): Likewise.
66341 (fdim_test_data): Likewise.
66342 (finite_test_data): Likewise.
66343 (floor_test_data): Likewise.
66344 (fma_test_data): Likewise.
66345 (fma_towardzero_test_data): Likewise.
66346 (fma_downward_test_data): Likewise.
66347 (fma_upward_test_data): Likewise.
66348 (fmax_test_data): Likewise.
66349 (fmin_test_data): Likewise.
66350 (fmod_test_data): Likewise.
66351 (fpclassify_test_data): Likewise.
66352 (frexp_test_data): Likewise.
66353 (gamma_test_data): Likewise.
66354 (hypot_test_data): Likewise.
66355 (ilogb_test_data): Likewise.
66356 (isfinite_test_data): Likewise.
66357 (isgreater_test_data): Likewise.
66358 (isgreaterequal_test_data): Likewise.
66359 (isinf_test_data): Likewise.
66360 (isless_test_data): Likewise.
66361 (islessequal_test_data): Likewise.
66362 (islessgreater_test_data): Likewise.
66363 (isnan_test_data): Likewise.
66364 (isnormal_test_data): Likewise.
66365 (issignaling_test_data): Likewise.
66366 (isunordered_test_data): Likewise.
66367 (j0_test_data): Likewise.
66368 (j1_test_data): Likewise.
66369 (jn_test_data): Likewise.
66370 (ldexp_test_data): Likewise.
66371 (lgamma_test_data): Likewise.
66372 (lrint_test_data): Likewise.
66373 (lrint_tonearest_test_data): Likewise.
66374 (lrint_towardzero_test_data): Likewise.
66375 (lrint_downward_test_data): Likewise.
66376 (lrint_upward_test_data): Likewise.
66377 (llrint_test_data): Likewise.
66378 (llrint_tonearest_test_data): Likewise.
66379 (llrint_towardzero_test_data): Likewise.
66380 (llrint_downward_test_data): Likewise.
66381 (llrint_upward_test_data): Likewise.
66382 (log_test_data): Likewise.
66383 (log10_test_data): Likewise.
66384 (log1p_test_data): Likewise.
66385 (log2_test_data): Likewise.
66386 (logb_test_data): Likewise.
66387 (logb_downward_test_data): Likewise.
66388 (lround_test_data): Likewise.
66389 (llround_test_data): Likewise.
66390 (modf_test_data): Likewise.
66391 (nearbyint_test_data): Likewise.
66392 (nextafter_test_data): Likewise.
66393 (nexttoward_test_data): Likewise.
66394 (pow_test_data): Likewise.
66395 (pow_tonearest_test_data): Likewise.
66396 (pow_towardzero_test_data): Likewise.
66397 (pow_downward_test_data): Likewise.
66398 (pow_upward_test_data): Likewise.
66399 (remainder_test_data): Likewise.
66400 (remainder_tonearest_test_data): Likewise.
66401 (remainder_towardzero_test_data): Likewise.
66402 (remainder_downward_test_data): Likewise.
66403 (remainder_upward_test_data): Likewise.
66404 (remquo_test_data): Likewise.
66405 (rint_test_data): Likewise.
66406 (rint_tonearest_test_data): Likewise.
66407 (rint_towardzero_test_data): Likewise.
66408 (rint_downward_test_data): Likewise.
66409 (rint_upward_test_data): Likewise.
66410 (round_test_data): Likewise.
66411 (scalb_test_data): Likewise.
66412 (scalbn_test_data): Likewise.
66413 (scalbln_test_data): Likewise.
66414 (signbit_test_data): Likewise.
66415 (sin_test_data): Likewise.
66416 (sin_tonearest_test_data): Likewise.
66417 (sin_towardzero_test_data): Likewise.
66418 (sin_downward_test_data): Likewise.
66419 (sin_upward_test_data): Likewise.
66420 (sincos_test_data): Likewise.
66421 (sinh_test_data): Likewise.
66422 (sinh_tonearest_test_data): Likewise.
66423 (sinh_towardzero_test_data): Likewise.
66424 (sinh_downward_test_data): Likewise.
66425 (sinh_upward_test_data): Likewise.
66426 (sqrt_test_data): Likewise.
66427 (tan_test_data): Likewise.
66428 (tan_tonearest_test_data): Likewise.
66429 (tan_towardzero_test_data): Likewise.
66430 (tan_downward_test_data): Likewise.
66431 (tan_upward_test_data): Likewise.
66432 (tanh_test_data): Likewise.
66433 (tgamma_test_data): Likewise.
66434 (trunc_test_data): Likewise.
66435 (y0_test_data): Likewise.
66436 (y1_test_data): Likewise.
66437 (yn_test_data): Likewise.
66438 (significand_test_data): Likewise.
66439
66440 * math/gen-libm-test.pl (@functions): Remove variable.
66441 (generate_testfile): Don't handle START and END lines.
66442 * math/libm-test.inc (START): New macro.
66443 (END): Likewise.
66444 (END_COMPLEX): Likewise.
66445 (acos_test): Use END macro without arguments.
66446 (acos_test_tonearest): Likewise.
66447 (acos_test_towardzero): Likewise.
66448 (acos_test_downward): Likewise.
66449 (acos_test_upward): Likewise.
66450 (acosh_test): Likewise.
66451 (asin_test): Likewise.
66452 (asin_test_tonearest): Likewise.
66453 (asin_test_towardzero): Likewise.
66454 (asin_test_downward): Likewise.
66455 (asin_test_upward): Likewise.
66456 (asinh_test): Likewise.
66457 (atan_test): Likewise.
66458 (atanh_test): Likewise.
66459 (atan2_test): Likewise.
66460 (cabs_test): Likewise.
66461 (cacos_test): Use END_COMPLEX macro without arguments.
66462 (cacosh_test): Likewise.
66463 (carg_test): Use END macro without arguments.
66464 (casin_test): Use END_COMPLEX macro without arguments.
66465 (casinh_test): Likewise.
66466 (catan_test): Likewise.
66467 (catanh_test): Likewise.
66468 (cbrt_test): Use END macro without arguments.
66469 (ccos_test): Use END_COMPLEX macro without arguments.
66470 (ccosh_test): Likewise.
66471 (ceil_test): Use END macro without arguments.
66472 (cexp_test): Use END_COMPLEX macro without arguments.
66473 (cimag_test): Use END macro without arguments.
66474 (clog_test): Use END_COMPLEX macro without arguments.
66475 (clog10_test): Likewise.
66476 (conj_test): Likewise.
66477 (copysign_test): Use END macro without arguments.
66478 (cos_test): Likewise.
66479 (cos_test_tonearest): Likewise.
66480 (cos_test_towardzero): Likewise.
66481 (cos_test_downward): Likewise.
66482 (cos_test_upward): Likewise.
66483 (cosh_test): Likewise.
66484 (cosh_test_tonearest): Likewise.
66485 (cosh_test_towardzero): Likewise.
66486 (cosh_test_downward): Likewise.
66487 (cosh_test_upward): Likewise.
66488 (cpow_test): Use END_COMPLEX macro without arguments.
66489 (cproj_test): Likewise.
66490 (creal_test): Use END macro without arguments.
66491 (csin_test): Use END_COMPLEX macro without arguments.
66492 (csinh_test): Likewise.
66493 (csqrt_test): Likewise.
66494 (ctan_test): Likewise.
66495 (ctan_test_tonearest): Likewise.
66496 (ctan_test_towardzero): Likewise.
66497 (ctan_test_downward): Likewise.
66498 (ctan_test_upward): Likewise.
66499 (ctanh_test): Likewise.
66500 (ctanh_test_tonearest): Likewise.
66501 (ctanh_test_towardzero): Likewise.
66502 (ctanh_test_downward): Likewise.
66503 (ctanh_test_upward): Likewise.
66504 (erf_test): Use END macro without arguments.
66505 (erfc_test): Likewise.
66506 (exp_test): Likewise.
66507 (exp_test_tonearest): Likewise.
66508 (exp_test_towardzero): Likewise.
66509 (exp_test_downward): Likewise.
66510 (exp_test_upward): Likewise.
66511 (exp10_test): Likewise.
66512 (exp2_test): Likewise.
66513 (expm1_test): Likewise.
66514 (fabs_test): Likewise.
66515 (fdim_test): Likewise.
66516 (finite_test): Likewise.
66517 (floor_test): Likewise.
66518 (fma_test): Likewise.
66519 (fma_test_towardzero): Likewise.
66520 (fma_test_downward): Likewise.
66521 (fma_test_upward): Likewise.
66522 (fmax_test): Likewise.
66523 (fmin_test): Likewise.
66524 (fmod_test): Likewise.
66525 (fpclassify_test): Likewise.
66526 (frexp_test): Likewise.
66527 (gamma_test): Likewise.
66528 (hypot_test): Likewise.
66529 (ilogb_test): Likewise.
66530 (isfinite_test): Likewise.
66531 (isgreater_test): Likewise.
66532 (isgreaterequal_test): Likewise.
66533 (isinf_test): Likewise.
66534 (isless_test): Likewise.
66535 (islessequal_test): Likewise.
66536 (islessgreater_test): Likewise.
66537 (isnan_test): Likewise.
66538 (isnormal_test): Likewise.
66539 (issignaling_test): Likewise.
66540 (isunordered_test): Likewise.
66541 (j0_test): Likewise.
66542 (j1_test): Likewise.
66543 (jn_test): Likewise.
66544 (ldexp_test): Likewise.
66545 (lgamma_test): Likewise.
66546 (lrint_test): Likewise.
66547 (lrint_test_tonearest): Likewise.
66548 (lrint_test_towardzero): Likewise.
66549 (lrint_test_downward): Likewise.
66550 (lrint_test_upward): Likewise.
66551 (llrint_test): Likewise.
66552 (llrint_test_tonearest): Likewise.
66553 (llrint_test_towardzero): Likewise.
66554 (llrint_test_downward): Likewise.
66555 (llrint_test_upward): Likewise.
66556 (log_test): Likewise.
66557 (log10_test): Likewise.
66558 (log1p_test): Likewise.
66559 (log2_test): Likewise.
66560 (logb_test): Likewise.
66561 (logb_test_downward): Likewise.
66562 (lround_test): Likewise.
66563 (llround_test): Likewise.
66564 (modf_test): Likewise.
66565 (nearbyint_test): Likewise.
66566 (nextafter_test): Likewise.
66567 (nexttoward_test): Likewise.
66568 (pow_test): Likewise.
66569 (pow_test_tonearest): Likewise.
66570 (pow_test_towardzero): Likewise.
66571 (pow_test_downward): Likewise.
66572 (pow_test_upward): Likewise.
66573 (remainder_test): Likewise.
66574 (remainder_test_tonearest): Likewise.
66575 (remainder_test_towardzero): Likewise.
66576 (remainder_test_downward): Likewise.
66577 (remainder_test_upward): Likewise.
66578 (remquo_test): Likewise.
66579 (rint_test): Likewise.
66580 (rint_test_tonearest): Likewise.
66581 (rint_test_towardzero): Likewise.
66582 (rint_test_downward): Likewise.
66583 (rint_test_upward): Likewise.
66584 (round_test): Likewise.
66585 (scalb_test): Likewise.
66586 (scalbn_test): Likewise.
66587 (scalbln_test): Likewise.
66588 (signbit_test): Likewise.
66589 (sin_test): Likewise.
66590 (sin_test_tonearest): Likewise.
66591 (sin_test_towardzero): Likewise.
66592 (sin_test_downward): Likewise.
66593 (sin_test_upward): Likewise.
66594 (sincos_test): Likewise.
66595 (sinh_test): Likewise.
66596 (sinh_test_tonearest): Likewise.
66597 (sinh_test_towardzero): Likewise.
66598 (sinh_test_downward): Likewise.
66599 (sinh_test_upward): Likewise.
66600 (sqrt_test): Likewise.
66601 (tan_test): Likewise.
66602 (tan_test_tonearest): Likewise.
66603 (tan_test_towardzero): Likewise.
66604 (tan_test_downward): Likewise.
66605 (tan_test_upward): Likewise.
66606 (tanh_test): Likewise.
66607 (tgamma_test): Likewise.
66608 (trunc_test): Likewise.
66609 (y0_test): Likewise.
66610 (y1_test): Likewise.
66611 (yn_test): Likewise.
66612 (significand_test): Likewise.
66613
66614 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
66615
66616 [BZ #15381]
66617 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66618
66619 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66620
66621 [BZ #14894]
66622 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66623 __ppc_mdoio and __ppc_mdoom.
66624 * manual/platform.texi: Document new functions __ppc_yield,
66625 __ppc_mdoio and __ppc_mdoom.
66626
66627 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66628
66629 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66630 (main): Mention "tls" pseudo-hwcap is legacy.
66631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66632
66633 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66634
66635 * math/gen-libm-test.pl (parse_args): Output only string of
66636 arguments as text for test name, not full call or descriptions of
66637 tests for extra outputs.
66638 (generate_testfile): Do not pass function name to parse_args.
66639 Generate this_func variable from START.
66640 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66641 field to arg_str.
66642 (struct test_ff_f_data): Likewise.
66643 (test_ff_f_data_nexttoward): Likewise.
66644 (struct test_fi_f_data): Likewise.
66645 (struct test_fl_f_data): Likewise.
66646 (struct test_if_f_data): Likewise.
66647 (struct test_fff_f_data): Likewise.
66648 (struct test_c_f_data): Likewise.
66649 (struct test_f_f1_data): Likewise. Remove field extra_name.
66650 (struct test_fF_f1_data): Likewise.
66651 (struct test_ffI_f1_data): Likewise.
66652 (struct test_c_c_data): Rename test_name field to arg_str.
66653 (struct test_cc_c_data): Likewise.
66654 (struct test_f_i_data): Likewise.
66655 (struct test_ff_i_data): Likewise.
66656 (struct test_f_l_data): Likewise.
66657 (struct test_f_L_data): Likewise.
66658 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66659 and extra2_name.
66660 (COMMON_TEST_SETUP): New macro.
66661 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66662 (COMMON_TEST_CLEANUP): Likewise.
66663 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66664 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66665 macros.
66666 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66667 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66668 macros.
66669 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66670 (RUN_TEST_fff_f): Take argument string. Call new setup and
66671 cleanup macros.
66672 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66673 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66674 macros.
66675 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66676 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66677 macros.
66678 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66679 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66680 cleanup macros.
66681 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66682 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66683 cleanup macros.
66684 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66685 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66686 cleanup macros.
66687 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66688 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66689 macros.
66690 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66691 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66692 macros.
66693 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66694 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66695 macros.
66696 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66697 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66698 cleanup macros.
66699 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66700 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66701 cleanup macros.
66702 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66703 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66704 macros.
66705 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66706 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66707 cleanup macros.
66708 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66709 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66710 macros.
66711 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66712 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66713 macros.
66714 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66715 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66716 cleanup macros.
66717 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66718
66719 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66720
66721 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66722 to _sifields.sigfault.
66723 (si_addr_lsb): Define new macro.
66724 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66727
66728 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66729
66730 [BZ #15441]
66731 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66732 returns -1.
66733 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66734 null return -1.
66735 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66736 loading the domain.
66737
66738 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66739
66740 * math/gen-libm-test.pl (parse_args): Do not include expected
66741 result in test name.
66742 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66748
66749 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66750
66751 * benchtests/Makefile: Sort function entries.
66752
66753 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66754 tanh, asinh, acosh, atanh.
66755 * benchtests/acos-inputs: New file.
66756 * benchtests/acosh-inputs: New file.
66757 * benchtests/asin-inputs: New file.
66758 * benchtests/asinh-inputs: New file.
66759 * benchtests/atanh-inputs: New file.
66760 * benchtests/cosh-inputs: New file.
66761 * benchtests/log-inputs: New file.
66762 * benchtests/sinh-inputs: New file.
66763 * benchtests/tanh-inputs: New file.
66764
66765 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66766
66767 [BZ #15339]
66768 * posix/tst-getaddrinfo4.c: New test.
66769 * posix/Makefile (tests): Add it.
66770
66771 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66772
66773 [BZ #15339]
66774 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66775 when no services were used.
66776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66777 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66778
66779 2013-05-21 Andreas Schwab <schwab@suse.de>
66780
66781 [BZ #15014]
66782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66783 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66784 successful.
66785 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66786 redundant variable declarations and reallocation of buffer when
66787 parsing as IPv6 address. Always set NSS status when called from
66788 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66789 buffer too small. Correct computation of needed size.
66790 * nss/Makefile (tests): Add test-digits-dots.
66791 * nss/test-digits-dots.c: New test.
66792
66793 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66794
66795 * benchtests/Makefile: Remove instructions for adding
66796 benchmark tests.
66797 * benchtests/README: New file to explain how to execute and
66798 enhance the benchmark tests.
66799
66800 2013-05-21 Andreas Schwab <schwab@suse.de>
66801
66802 [BZ #15493]
66803 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66804 * setjmp/tst-sigsetjmp.c: New test.
66805
66806 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66807
66808 * sysdeps/x86_64/memset.S (memset): New implementation.
66809 (__bzero): Likewise.
66810 (__memset_tail): New function.
66811
66812 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66813
66814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66815 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66816 __memcpy_sse2_unaligned ifunc selection.
66817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66818 Add memcpy-sse2-unaligned.S.
66819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66820 Add: __memcpy_sse2_unaligned.
66821
66822 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66823
66824 [BZ #15490]
66825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66826 math_force_eval before restoring floating-point envrionment.
66827 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66829 Likewise.
66830 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66831 <math_private.h>.
66832 (__nearbyintl): Use math_force_eval before restoring
66833 floating-point environment.
66834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66835
66836 * math/gen-libm-test.pl (special_functions): Remove.
66837 (parse_args): Don't handle TEST_extra. Handle functions with no
66838 return value.
66839 * math/libm-test.inc (struct test_sincos_data): Replace with
66840 struct test_fFF_11_data.
66841 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66842 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66843 (sincos_test_data): Change element type to struct
66844 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66845 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66846 RUN_TEST_LOOP_sincos.
66847 * math/README.libm-test: Don't mention special handling of
66848 individual functions.
66849 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66855
66856 * math/gen-libm-test.pl (get_variable): Remove function.
66857 (parse_args): Don't show pointer parameters to call in test
66858 names. Use "extra output N" in test names for extra outputs
66859 rather than naming variables.
66860
66861 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66862
66863 [BZ #15488]
66864 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66865 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66866 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66867 double tests.
66868 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66869 disable.
66870 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66871 check_long_double.
66872
66873 * math/gen-libm-test.pl (@tests): Remove variable.
66874 ($count): Likewise.
66875 (new_test): Remove function.
66876 (show_exceptions): New function.
66877 (special_functions): Use show_exceptions instead of new_test.
66878 (parse_args): Likewise.
66879 (generate_testfile): Pass only function name in generated call to
66880 print_max_error or print_complex_max_error.
66881 (get_ulps): Do not handle complex tests specially.
66882 (output_test): Rename to ...
66883 (get_all_ulps_for_test): ... this. Return a string rather than
66884 printing to a file. Require ulps to be present.
66885 (output_ulps): Generate arrays rather than #defines.
66886 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66887 (struct ulp_data): New type.
66888 (BUILD_COMPLEX_ULP): Remove macro.
66889 (compare_ulp_data): New function.
66890 (find_ulps): Likewise.
66891 (find_test_ulps): Likewise.
66892 (find_function_ulps): Likewise.
66893 (find_complex_function_ulps): Likewise.
66894 (print_max_error): Determine allowed ulps using
66895 find_function_ulps.
66896 (print_complex_max_error): Determine allowed ulps using
66897 find_complex_function_ulps.
66898 (check_float_internal): Determine max ulps using find_test_ulps.
66899 (check_float): Do not take max_ulp parameter. Update call to
66900 check_float_internal.
66901 (check_complex): Likewise.
66902 (check_int): Do not take max_ulp parameter.
66903 (check_long): Likewise.
66904 (check_bool): Likewise.
66905 (check_longlong): Likewise.
66906 (struct test_f_f_data): Remove max_ulp field.
66907 (struct test_ff_f_data): Likewise.
66908 (struct test_ff_f_data_nexttoward): Likewise.
66909 (struct test_fi_f_data): Likewise.
66910 (struct test_fl_f_data): Likewise.
66911 (struct test_if_f_data): Likewise.
66912 (struct test_fff_f_data): Likewise.
66913 (struct test_c_f_data): Likewise.
66914 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66915 (struct test_fF_f1_data): Likewise.
66916 (struct test_ffI_f1_data): Likewise.
66917 (struct test_c_c_data): Remove max_ulp field.
66918 (struct test_cc_c_data): Likewise.
66919 (struct test_f_i_data): Likewise.
66920 (struct test_ff_i_data): Likewise.
66921 (struct test_f_l_data): Likewise.
66922 (struct test_f_L_data): Likewise.
66923 (struct test_sincos_data): Likewise.
66924 (RUN_TEST_f_f): Do not handle ulps.
66925 (RUN_TEST_LOOP_f_f): Likewise.
66926 (RUN_TEST_2_f): Likewise.
66927 (RUN_TEST_LOOP_2_f): Likewise.
66928 (RUN_TEST_fff_f): Likewise.
66929 (RUN_TEST_LOOP_fff_f): Likewise.
66930 (RUN_TEST_c_f): Likewise.
66931 (RUN_TEST_LOOP_c_f): Likewise.
66932 (RUN_TEST_f_f1): Likewise.
66933 (RUN_TEST_LOOP_f_f1): Likewise.
66934 (RUN_TEST_fF_f1): Likewise.
66935 (RUN_TEST_LOOP_fF_f1): Likewise.
66936 (RUN_TEST_fI_f1): Likewise.
66937 (RUN_TEST_LOOP_fI_f1): Likewise.
66938 (RUN_TEST_ffI_f1): Likewise.
66939 (RUN_TEST_LOOP_ffI_f1): Likewise.
66940 (RUN_TEST_c_c): Likewise.
66941 (RUN_TEST_LOOP_c_c): Likewise.
66942 (RUN_TEST_cc_c): Likewise.
66943 (RUN_TEST_LOOP_cc_c): Likewise.
66944 (RUN_TEST_f_i): Likewise.
66945 (RUN_TEST_LOOP_f_i): Likewise.
66946 (RUN_TEST_f_i_tg): Likewise.
66947 (RUN_TEST_LOOP_f_i_tg): Likewise.
66948 (RUN_TEST_ff_i_tg): Likewise.
66949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66950 (RUN_TEST_f_b): Likewise.
66951 (RUN_TEST_LOOP_f_b): Likewise.
66952 (RUN_TEST_f_b_tg): Likewise.
66953 (RUN_TEST_LOOP_f_b_tg): Likewise.
66954 (RUN_TEST_f_l): Likewise.
66955 (RUN_TEST_LOOP_f_l): Likewise.
66956 (RUN_TEST_f_L): Likewise.
66957 (RUN_TEST_LOOP_f_L): Likewise.
66958 (RUN_TEST_sincos): Likewise.
66959 (RUN_TEST_LOOP_sincos): Likewise.
66960
66961 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66962
66963 [BZ #15480]
66964 [BZ #15485]
66965 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66966 main case of finite arguments, set rounding mode to FE_TONEAREST
66967 and discard exceptions.
66968 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66969 exceptions.
66970 (remainder_tonearest_test_data): New variable.
66971 (remainder_test_tonearest): New function.
66972 (remainder_towardzero_test_data): New variable.
66973 (remainder_test_towardzero): New function.
66974 (remainder_downward_test_data): New variable.
66975 (remainder_test_downward): New function.
66976 (remainder_upward_test_data): New variable.
66977 (remainder_test_upward): New function.
66978 (main): Call the new test functions.
66979
66980 * math/libm-test.inc (struct test_f_f1_data): Remove field
66981 extra_init.
66982 (struct test_fF_f1_data): Likewise.
66983 (struct test_ffI_f1_data): Likewise.
66984 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66985 based on value of EXTRA_EXPECTED.
66986 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66987 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66988 EXTRA_VAR based on value of EXTRA_EXPECTED.
66989 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66990 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66991 EXTRA_VAR based on value of EXTRA_EXPECTED.
66992 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66993 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66994 EXTRA_VAR based on value of EXTRA_EXPECTED.
66995 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66996 * math/gen-libm-test.pl (parse_args): Don't output initializers
66997 for extra output values.
66998
66999 * math/libm-test.inc (check_int): Expect result to be exactly
67000 equal to expected value and do not handle ulps.
67001 (check_long): Likewise.
67002 (check_longlong): Likewise.
67003
67004 * math/libm-test.inc (ceil_test_data): Test for "inexact"
67005 exceptions.
67006 (cimag_test_data): Likewise.
67007 (conj_test_data): Likewise.
67008 (copysign_test_data): Likewise.
67009 (cproj_test_data): Likewise.
67010 (creal_test_data): Likewise.
67011 (fabs_test_data): Likewise.
67012 (fdim_test_data): Likewise.
67013 (finite_test_data): Likewise.
67014 (floor_test_data): Likewise.
67015 (fmax_test_data): Likewise.
67016 (fmin_test_data): Likewise.
67017 (fmod_test_data): Likewise.
67018 (fpclassify_test_data): Likewise.
67019 (frexp_test_data): Likewise.
67020 (ilogb_test_data): Likewise.
67021 (isfinite_test_data): Likewise.
67022 (isgreater_test_data): Likewise.
67023 (isgreaterequal_test_data): Likewise.
67024 (isinf_test_data): Likewise.
67025 (isless_test_data): Likewise.
67026 (islessequal_test_data): Likewise.
67027 (islessgreater_test_data): Likewise.
67028 (isnan_test_data): Likewise.
67029 (isnormal_test_data): Likewise.
67030 (issignaling_test_data): Likewise.
67031 (isunordered_test_data): Likewise.
67032 (ldexp_test_data): Likewise.
67033 (lrint_test_data): Likewise.
67034 (lrint_test_data) [TEST_FLOAT]: Disable one test.
67035 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
67036 (lrint_tonearest_test_data): Test for "inexact" exceptions.
67037 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67038 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
67039 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67040 test input.
67041 (lrint_towardzero_test_data): Test for "inexact" exceptions.
67042 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67043 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
67044 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
67045 that test input.
67046 (lrint_downward_test_data): Test for "inexact" exceptions.
67047 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67048 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
67049 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67050 test input.
67051 (lrint_upward_test_data): Test for "inexact" exceptions.
67052 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
67053 test input.
67054 (llrint_test_data): Test for "inexact" exceptions.
67055 (llrint_test_data) [TEST_FLOAT]: Disable one test.
67056 (llrint_tonearest_test_data): Test for "inexact" exceptions.
67057 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67058 (llrint_towardzero_test_data): Test for "inexact" exceptions.
67059 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67060 (llrint_downward_test_data): Test for "inexact" exceptions.
67061 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67062 (llrint_upward_test_data): Test for "inexact" exceptions.
67063 (logb_test_data): Likewise.
67064 (logb_downward_test_data): Likewise.
67065 (nextafter_test_data): Likewise.
67066 (nexttoward_test_data): Likewise.
67067 (remainder_test_data): Likewise.
67068 (remquo_test_data): Likewise.
67069 (scalbn_test_data): Likewise.
67070 (scalbln_test_data): Likewise.
67071 (signbit_test_data): Likewise.
67072 (sqrt_test_data): Likewise.
67073 (significand_test_data): Likewise.
67074
67075 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
67076
67077 [BZ #15424]
67078 * benchtests/bench-modf.c (struct args): Mark arg0 as
67079 volatile.
67080 * scripts/bench.pl: Mark members of struct args as volatile.
67081
67082 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67083
67084 [BZ # 15497]
67085 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
67086 negative infinity on POWER6 or lower.
67087 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
67088
67089 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
67090
67091 [BZ #15442]
67092 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
67093 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
67094 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
67095 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
67096 (_FP_SETQNAN): New macro.
67097 (_FP_SETQNAN_SEMIRAW): Likewise.
67098 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
67099 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
67100 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
67101 (FP_EXTEND): Use _FP_FRAC_SNANP.
67102 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
67103 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
67104 into account.
67105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67106 New macro.
67107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67108 Likewise.
67109
67110 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67111
67112 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
67113 with DIVIDE_BY_ZERO_EXCEPTION.
67114 (gamma_test_data): Likewise.
67115 (lgamma_test_data): Likewise.
67116 (log_test_data): Likewise.
67117 (log10_test_data): Likewise.
67118 (log2_test_data): Likewise.
67119 (tgamma_test_data): Likewise.
67120
67121 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
67122 (acos_test_tonearest): Likewise.
67123 (acos_test_towardzero): Likewise.
67124 (acos_test_downward): Likewise.
67125 (acos_test_upward): Likewise.
67126 (acosh_test): Likewise.
67127 (asin_test): Likewise.
67128 (asin_test_tonearest): Likewise.
67129 (asin_test_towardzero): Likewise.
67130 (asin_test_downward): Likewise.
67131 (asin_test_upward): Likewise.
67132 (asinh_test): Likewise.
67133 (atan_test): Likewise.
67134 (atanh_test): Likewise.
67135 (atan2_test): Likewise.
67136 (cabs_test): Likewise.
67137 (cacos_test): Likewise.
67138 (cacosh_test): Likewise.
67139 (casin_test): Likewise.
67140 (casinh_test): Likewise.
67141 (catan_test): Likewise.
67142 (catanh_test): Likewise.
67143 (cbrt_test): Likewise.
67144 (ccos_test): Likewise.
67145 (ccosh_test): Likewise.
67146 (cexp_test): Likewise.
67147 (clog_test): Likewise.
67148 (clog10_test): Likewise.
67149 (cos_test): Likewise.
67150 (cos_test_tonearest): Likewise.
67151 (cos_test_towardzero): Likewise.
67152 (cos_test_downward): Likewise.
67153 (cos_test_upward): Likewise.
67154 (cosh_test): Likewise.
67155 (cosh_test_tonearest): Likewise.
67156 (cosh_test_towardzero): Likewise.
67157 (cosh_test_downward): Likewise.
67158 (cosh_test_upward): Likewise.
67159 (cpow_test): Likewise.
67160 (csin_test): Likewise.
67161 (csinh_test): Likewise.
67162 (csqrt_test): Likewise.
67163 (ctan_test): Likewise.
67164 (ctan_test_tonearest): Likewise.
67165 (ctan_test_towardzero): Likewise.
67166 (ctan_test_downward): Likewise.
67167 (ctan_test_upward): Likewise.
67168 (ctanh_test): Likewise.
67169 (ctanh_test_tonearest): Likewise.
67170 (ctanh_test_towardzero): Likewise.
67171 (ctanh_test_downward): Likewise.
67172 (ctanh_test_upward): Likewise.
67173 (erf_test): Likewise.
67174 (erfc_test): Likewise.
67175 (exp_test): Likewise.
67176 (exp_test_tonearest): Likewise.
67177 (exp_test_towardzero): Likewise.
67178 (exp_test_downward): Likewise.
67179 (exp_test_upward): Likewise.
67180 (exp10_test): Likewise.
67181 (exp2_test): Likewise.
67182 (expm1_test): Likewise.
67183 (fmod_test): Likewise.
67184 (gamma_test): Likewise.
67185 (hypot_test): Likewise.
67186 (j0_test): Likewise.
67187 (j1_test): Likewise.
67188 (jn_test): Likewise.
67189 (lgamma_test): Likewise.
67190 (log_test): Likewise.
67191 (log10_test): Likewise.
67192 (log1p_test): Likewise.
67193 (log2_test): Likewise.
67194 (logb_test_downward): Likewise.
67195 (pow_test): Likewise.
67196 (pow_test_tonearest): Likewise.
67197 (pow_test_towardzero): Likewise.
67198 (pow_test_downward): Likewise.
67199 (pow_test_upward): Likewise.
67200 (remainder_test): Likewise.
67201 (remquo_test): Likewise.
67202 (sin_test): Likewise.
67203 (sin_test_tonearest): Likewise.
67204 (sin_test_towardzero): Likewise.
67205 (sin_test_downward): Likewise.
67206 (sin_test_upward): Likewise.
67207 (sincos_test): Likewise.
67208 (sinh_test): Likewise.
67209 (sinh_test_tonearest): Likewise.
67210 (sinh_test_towardzero): Likewise.
67211 (sinh_test_downward): Likewise.
67212 (sinh_test_upward): Likewise.
67213 (sqrt_test): Likewise.
67214 (tan_test): Likewise.
67215 (tan_test_tonearest): Likewise.
67216 (tan_test_towardzero): Likewise.
67217 (tan_test_downward): Likewise.
67218 (tan_test_upward): Likewise.
67219 (tanh_test): Likewise.
67220 (tgamma_test): Likewise.
67221 (y0_test): Likewise.
67222 (y1_test): Likewise.
67223 (yn_test): Likewise.
67224
67225 * math/gen-libm-test.pl (adjust_arg): Remove function.
67226 (special_function): Remove argument $in_func. Only handle
67227 generating output for tables of tests, not inside functions.
67228 (parse_args): Likewise.
67229 (generate_testfile): Remove variable $in_func. Update call to
67230 parse_args.
67231 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67232 (MINUS_ZERO_INIT): Rename macro to minus_zero.
67233 (PLUS_INFTY_INIT): Rename macro to plus_infty.
67234 (MINUS_INFTY_INIT): Rename macro to minus_infty.
67235 (QNAN_VALUE_INIT): Rename macro to qnan_value.
67236 (MAX_VALUE_INIT): Rename macro to max_value.
67237 (MIN_VALUE_INIT): Rename macro to min_value.
67238 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67239 (plus_zero): Remove variable.
67240 (minus_zero): Likewise.
67241 (plus_infty): Likewise.
67242 (minus_infty): Likewise.
67243 (qnan_value): Likewise.
67244 (max_value): Likewise.
67245 (min_value): Likewise.
67246 (min_subnorm_value): Likewise.
67247
67248 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
67249
67250 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67251 uint64_t or uint32_t usage.
67252 * crypt/sha256-block.c: Likewise.
67253 * crypt/sha256-crypt.c: Likewise.
67254 * crypt/sha256.c: Likewise.
67255 * crypt/sha512-block.c: Likewise.
67256 * crypt/sha512-crypt.c: Likewise.
67257 * crypt/sha512.c: Likewise.
67258 * debug/backtrace-tst.c: Likewise.
67259 * debug/pcprofiledump.c: Likewise.
67260 * elf/cache.c: Likewise.
67261 * elf/dl-cache.c: Likewise.
67262 * elf/dl-misc.c: Likewise.
67263 * elf/dl-profile.c: Likewise.
67264 * elf/dl-support.c: Likewise.
67265 * elf/ldconfig.c: Likewise.
67266 * elf/sprof.c: Likewise.
67267 * iconv/dummy-repertoire.c: Likewise.
67268 * iconv/iconv_charmap.c: Likewise.
67269 * iconv/skeleton.c: Likewise.
67270 * iconvdata/8bit-generic.c: Likewise.
67271 * iconvdata/cp737.h: Likewise.
67272 * iconvdata/cp775.h: Likewise.
67273 * iconvdata/ibm1008.h: Likewise.
67274 * iconvdata/ibm1025.h: Likewise.
67275 * iconvdata/ibm1046.h: Likewise.
67276 * iconvdata/ibm1097.h: Likewise.
67277 * iconvdata/ibm1112.h: Likewise.
67278 * iconvdata/ibm1122.h: Likewise.
67279 * iconvdata/ibm1123.h: Likewise.
67280 * iconvdata/ibm1124.h: Likewise.
67281 * iconvdata/ibm1129.h: Likewise.
67282 * iconvdata/ibm1130.h: Likewise.
67283 * iconvdata/ibm1132.h: Likewise.
67284 * iconvdata/ibm1133.h: Likewise.
67285 * iconvdata/ibm1137.h: Likewise.
67286 * iconvdata/ibm1140.h: Likewise.
67287 * iconvdata/ibm1141.h: Likewise.
67288 * iconvdata/ibm1142.h: Likewise.
67289 * iconvdata/ibm1143.h: Likewise.
67290 * iconvdata/ibm1144.h: Likewise.
67291 * iconvdata/ibm1145.h: Likewise.
67292 * iconvdata/ibm1146.h: Likewise.
67293 * iconvdata/ibm1147.h: Likewise.
67294 * iconvdata/ibm1148.h: Likewise.
67295 * iconvdata/ibm1149.h: Likewise.
67296 * iconvdata/ibm1153.h: Likewise.
67297 * iconvdata/ibm1154.h: Likewise.
67298 * iconvdata/ibm1155.h: Likewise.
67299 * iconvdata/ibm1156.h: Likewise.
67300 * iconvdata/ibm1157.h: Likewise.
67301 * iconvdata/ibm1158.h: Likewise.
67302 * iconvdata/ibm1160.h: Likewise.
67303 * iconvdata/ibm1161.h: Likewise.
67304 * iconvdata/ibm1162.h: Likewise.
67305 * iconvdata/ibm1163.h: Likewise.
67306 * iconvdata/ibm1164.h: Likewise.
67307 * iconvdata/ibm1166.h: Likewise.
67308 * iconvdata/ibm1167.h: Likewise.
67309 * iconvdata/ibm12712.h: Likewise.
67310 * iconvdata/ibm1390.h: Likewise.
67311 * iconvdata/ibm1399.h: Likewise.
67312 * iconvdata/ibm16804.h: Likewise.
67313 * iconvdata/ibm4517.h: Likewise.
67314 * iconvdata/ibm4899.h: Likewise.
67315 * iconvdata/ibm4909.h: Likewise.
67316 * iconvdata/ibm4971.h: Likewise.
67317 * iconvdata/ibm5347.h: Likewise.
67318 * iconvdata/ibm803.h: Likewise.
67319 * iconvdata/ibm856.h: Likewise.
67320 * iconvdata/ibm901.h: Likewise.
67321 * iconvdata/ibm902.h: Likewise.
67322 * iconvdata/ibm9030.h: Likewise.
67323 * iconvdata/ibm9066.h: Likewise.
67324 * iconvdata/ibm921.h: Likewise.
67325 * iconvdata/ibm922.h: Likewise.
67326 * iconvdata/ibm9448.h: Likewise.
67327 * iconvdata/isiri-3342.h: Likewise.
67328 * iconvdata/jis0201.h: Likewise.
67329 * include/link.h: Likewise.
67330 * include/netdb.h: Likewise.
67331 * inet/check_native.c: Likewise.
67332 * inet/check_pf.c: Likewise.
67333 * inet/getipv4sourcefilter.c: Likewise.
67334 * inet/getnameinfo.c: Likewise.
67335 * inet/getsourcefilter.c: Likewise.
67336 * inet/htonl.c: Likewise.
67337 * inet/setipv4sourcefilter.c: Likewise.
67338 * inet/setsourcefilter.c: Likewise.
67339 * inet/test-inet6_opt.c: Likewise.
67340 * inet/tst-network.c: Likewise.
67341 * locale/C-collate.c: Likewise.
67342 * locale/C-ctype.c: Likewise.
67343 * locale/C-time.c: Likewise.
67344 * locale/C-translit.h: Likewise.
67345 * locale/loadarchive.c: Likewise.
67346 * locale/programs/3level.h: Likewise.
67347 * locale/programs/charmap.c: Likewise.
67348 * locale/programs/charmap.h: Likewise.
67349 * locale/programs/ld-address.c: Likewise.
67350 * locale/programs/ld-collate.c: Likewise.
67351 * locale/programs/ld-ctype.c: Likewise.
67352 * locale/programs/ld-identification.c: Likewise.
67353 * locale/programs/ld-measurement.c: Likewise.
67354 * locale/programs/ld-messages.c: Likewise.
67355 * locale/programs/ld-monetary.c: Likewise.
67356 * locale/programs/ld-name.c: Likewise.
67357 * locale/programs/ld-numeric.c: Likewise.
67358 * locale/programs/ld-paper.c: Likewise.
67359 * locale/programs/ld-telephone.c: Likewise.
67360 * locale/programs/ld-time.c: Likewise.
67361 * locale/programs/linereader.c: Likewise.
67362 * locale/programs/locale.c: Likewise.
67363 * locale/programs/locarchive.c: Likewise.
67364 * locale/programs/locfile.h: Likewise.
67365 * locale/programs/repertoire.c: Likewise.
67366 * locale/programs/simple-hash.c: Likewise.
67367 * locale/programs/simple-hash.h: Likewise.
67368 * malloc/memusage.c: Likewise.
67369 * malloc/memusagestat.c: Likewise.
67370 * nis/nis_defaults.c: Likewise.
67371 * nis/nis_hash.c: Likewise.
67372 * nis/nis_print.c: Likewise.
67373 * nis/nis_xdr.c: Likewise.
67374 * nscd/connections.c: Likewise.
67375 * nscd/hstcache.c: Likewise.
67376 * nscd/nscd_gethst_r.c: Likewise.
67377 * nscd/nscd_getserv_r.c: Likewise.
67378 * nscd/nscd_helper.c: Likewise.
67379 * nscd/servicescache.c: Likewise.
67380 * nss/makedb.c: Likewise.
67381 * nss/nss_db/db-XXX.c: Likewise.
67382 * nss/nss_db/db-initgroups.c: Likewise.
67383 * nss/nss_db/db-netgrp.c: Likewise.
67384 * nss/nss_files/files-network.c: Likewise.
67385 * nss/nss_files/files-parse.c: Likewise.
67386 * posix/bug-regex5.c: Likewise.
67387 * posix/fnmatch_loop.c: Likewise.
67388 * posix/regcomp.c: Likewise.
67389 * posix/regexec.c: Likewise.
67390 * posix/tst-rfc3484-2.c: Likewise.
67391 * posix/tst-rfc3484-3.c: Likewise.
67392 * posix/tst-rfc3484.c: Likewise.
67393 * resolv/nss_dns/dns-canon.c: Likewise.
67394 * resolv/nss_dns/dns-network.c: Likewise.
67395 * resolv/res_init.c: Likewise.
67396 * resolv/res_mkquery.c: Likewise.
67397 * resolv/tst-aton.c: Likewise.
67398 * stdlib/cxa_atexit.c: Likewise.
67399 * stdlib/cxa_finalize.c: Likewise.
67400 * stdlib/gen-fpioconst.c: Likewise.
67401 * stdlib/strtol_l.c: Likewise.
67402 * string/tst-endian.c: Likewise.
67403 * sunrpc/auth_des.c: Likewise.
67404 * sunrpc/clnt_udp.c: Likewise.
67405 * sunrpc/rtime.c: Likewise.
67406 * sunrpc/svcauth_des.c: Likewise.
67407 * sunrpc/xdr.c: Likewise.
67408 * sunrpc/xdr_intXX_t.c: Likewise.
67409 * sunrpc/xdr_rec.c: Likewise.
67410 * sysdeps/generic/ldconfig.h: Likewise.
67411 * sysdeps/generic/ldsodefs.h: Likewise.
67412 * sysdeps/generic/memusage.h: Likewise.
67413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67423 * sysdeps/posix/getaddrinfo.c: Likewise.
67424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67428 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67429 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67430 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67431 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67432 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67433 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67434 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67436 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67437 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67438 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67439 * sysdeps/x86_64/dl-tls.h: Likewise.
67440 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67441 * time/alt_digit.c: Likewise.
67442 * time/era.c: Likewise.
67443 * wcsmbs/tst-c16c32-1.c: Likewise.
67444
67445 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67446
67447 * math/libm-test.inc (struct test_sincos_data): New type.
67448 (RUN_TEST_LOOP_sincos): New macro.
67449 (sincos_test_data): New variable.
67450 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67451
67452 2013-05-16 Richard Henderson <rth@redhat.com>
67453
67454 * math/atest-exp2.c (LIMB64): New macro.
67455 (CONSTSZ): New macro.
67456 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67457 (hexdig): Move ...
67458 (print_mpn_fp): ... to function scope.
67459 (read_mpn_hex): Remove.
67460 (get_log2): Remove.
67461 (exp2_mpn): Use mp_log2.
67462 (main): Use mp_exp1.
67463
67464 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67465
67466 * math/libm-test.inc: Remove comment about not testing "inexact"
67467 exceptions.
67468 (INEXACT_EXCEPTION): New macro.
67469 (NO_INEXACT_EXCEPTION): Likewise.
67470 (INVALID_EXCEPTION_OK): Update value.
67471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67472 (OVERFLOW_EXCEPTION_OK): Likewise.
67473 (UNDERFLOW_EXCEPTION_OK): Likewise.
67474 (IGNORE_ZERO_INF_SIGN): Likewise.
67475 (ERRNO_UNCHANGED): Likewise.
67476 (ERRNO_EDOM): Likewise.
67477 (ERRNO_ERANGE): Likewise.
67478 (test_exceptions): Handle testing "inexact" exceptions.
67479 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67480 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67481 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67482 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67483 INEXACT_EXCEPTION.
67484 (rint_towardzero_test_data): Likewise.
67485 (rint_downward_test_data): Likewise.
67486 (rint_upward_test_data): Likewise.
67487
67488 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67489 with OVERFLOW_EXCEPTION.
67490 (exp10_test_data): Likewise.
67491 (exp2_test_data): Likewise.
67492 (expm1_test_data): Likewise.
67493 (lgamma_test_data): Likewise.
67494 (pow_test_data): Likewise.
67495 (tgamma_test_data): Likewise.
67496 (yn_test_data): Remove duplicate test of overflow.
67497
67498 * math/libm-test.inc (struct test_cc_c_data): New type.
67499 (RUN_TEST_LOOP_cc_c): New macro.
67500 (cpow_test_data): New variable.
67501 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67502
67503 * math/libm-test.inc (struct test_f_L_data): New type.
67504 (RUN_TEST_LOOP_f_L): New macro.
67505 (llrint_test_data): New variable.
67506 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67507 (llrint_tonearest_test_data): New variable.
67508 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67509 (llrint_towardzero_test_data): New variable.
67510 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67511 (llrint_downward_test_data): New variable.
67512 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67513 (llrint_upward_test_data): New variable.
67514 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67515 (llround_test_data): New variable.
67516 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67517
67518 2013-05-13 Peter Collingbourne <pcc@google.com>
67519
67520 * math/atest-exp2.c (get_log2): Remove const attribute.
67521
67522 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67523
67524 * math/libm-test.inc (struct test_f_l_data): New type.
67525 (RUN_TEST_LOOP_f_l): New macro.
67526 (lrint_test_data): New variable.
67527 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67528 (lrint_tonearest_test_data): New variable.
67529 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67530 (lrint_towardzero_test_data): New variable.
67531 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67532 (lrint_downward_test_data): New variable.
67533 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67534 (lrint_upward_test_data): New variable.
67535 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67536 (lround_test_data): New variable.
67537 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67538
67539 2013-05-15 Peter Collingbourne <pcc@google.com>
67540
67541 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67542 (EXTRACT_WORDS64) Use where appropriate.
67543 (INSERT_WORDS64) Likewise.
67544
67545 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67546 constraints with x constraints.
67547 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67548
67549 * malloc/obstack.c (_obstack_compat): Add initializer.
67550
67551 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67552
67553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67554 si_trapno and add si_addr_lsb to _sifields.sigfault.
67555 (si_trapno): Remove macro.
67556 (si_addr_lsb): Define new macro.
67557 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67558
67559 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67560
67561 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67562 instead of TEST_f_l.
67563 (llrint_test_tonearest): Likewise.
67564 (llrint_test_towardzero): Likewise.
67565 (llrint_test_downward): Likewise.
67566 (llrint_test_upward): Likewise.
67567 (llround_test): Likewise.
67568
67569 * math/libm-test.inc (struct test_f_i_data): Add comment.
67570 (RUN_TEST_LOOP_f_b): New macro.
67571 (RUN_TEST_LOOP_f_b_tg): Likewise.
67572 (finite_test_data): New variable.
67573 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67574 (isfinite_test_data): New variable.
67575 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67576 (isinf_test_data): New variable.
67577 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67578 (isnan_test_data): New variable.
67579 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67580 (isnormal_test_data): New variable.
67581 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67582 (issignaling_test_data): New variable.
67583 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67584 (signbit_test_data): New variable.
67585 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67586
67587 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67588 with INVALID_EXCEPTION.
67589 (acosh_test_data): Likewise.
67590 (asin_test_data): Likewise.
67591 (atanh_test_data): Likewise.
67592 (fmod_test_data): Likewise.
67593 (log_test_data): Likewise.
67594 (log10_test_data): Likewise.
67595 (log2_test_data): Likewise.
67596 (pow_test_data): Likewise.
67597 (sqrt_test_data): Likewise.
67598 (y0_test_data): Likewise.
67599 (y1_test_data): Likewise.
67600 (yn_test_data): Likewise.
67601
67602 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67603 function contents.
67604
67605 * math/libm-test.inc (struct test_ff_i_data): New type.
67606 (RUN_TEST_LOOP_ff_i_tg): New macro.
67607 (isgreater_test_data): New variable.
67608 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67609 (isgreaterequal_test_data): New variable.
67610 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67611 (isless_test_data): New variable.
67612 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67613 (islessequal_test_data): New variable.
67614 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67615 (islessgreater_test_data): New variable.
67616 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67617 (isunordered_test_data): New variable.
67618 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67619
67620 2013-05-14 David S. Miller <davem@davemloft.net>
67621
67622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67623
67624 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67625
67626 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67627
67628 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67629 extra_test to int.
67630 (struct test_f_i_data): Change type of max_ulp to int.
67631
67632 * math/libm-test.inc (test_ffI_f1_data): New type.
67633 (RUN_TEST_LOOP_ffI_f1): New macro.
67634 (remquo_test_data): New variable.
67635 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67636
67637 * setjmp/tst-setjmp-fp.c: New file.
67638 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67639 (link-libm): New variable.
67640 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67641
67642 * math/libm-test.inc (struct test_f_i_data): New type.
67643 (RUN_TEST_LOOP_f_i): New macro.
67644 (RUN_TEST_LOOP_f_i_tg): Likewise.
67645 (fpclassify_test_data): New variable.
67646 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67647 (ilogb_test_data): New variable.
67648 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67649
67650 * math/libm-test.inc (scalbln_test): Correct function name in END
67651 call.
67652
67653 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67654 (RUN_TEST_LOOP_fI_f1): New macro.
67655 (frexp_test_data): New variable.
67656 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67657
67658 * math/libm-test.inc (struct test_fF_f1_data): New type.
67659 (RUN_TEST_LOOP_fF_f1): New macro.
67660 (modf_test_data): New variable.
67661 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67662
67663 * math/libm-test.inc (struct test_f_f1_data): New type.
67664 (RUN_TEST_LOOP_f_f1): New macro.
67665 (gamma_test_data): New variable.
67666 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67667 (lgamma_test_data): New variable.
67668 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67669
67670 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67671
67672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67673 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67674 (main): Comment "tls" pseudo-hwcap.
67675
67676 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67677
67678 * math/libm-test.inc (struct test_fl_f_data): New type.
67679 (RUN_TEST_LOOP_fl_f): New variable.
67680 (scalbln_test_data): New variable.
67681 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67682
67683 * math/libm-test.inc (struct test_fi_f_data): New type.
67684 (RUN_TEST_LOOP_fi_f): New macro.
67685 (ldexp_test_data): New variable.
67686 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67687 (scalbn_test_data): New variable.
67688 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67689
67690 * math/libm-test.inc (struct test_c_f_data): New type.
67691 (RUN_TEST_LOOP_c_f): New macro.
67692 (cabs_test_data): New variable.
67693 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67694 (carg_test_data): New variable.
67695 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67696 (cimag_test_data): New variable.
67697 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67698 (creal_test_data): New variable.
67699 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67700
67701 * math/libm-test.inc (struct test_if_f_data): New type.
67702 (RUN_TEST_LOOP_if_f): New macro.
67703 (jn_test_data): New variable.
67704 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67705 (yn_test_data): New variable.
67706 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67707
67708 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67709
67710 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67711
67712 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67713 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67714
67715 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67716
67717 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67718 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67719 (bench-deps): Add bench-timing.h.
67720 * benchtests-bench-skeleton.c: Include bench-timing.h.
67721 (main): Use TIMING_* macros instead of clock_gettime.
67722 * benchtests/bench-timing.h: New file.
67723
67724 [BZ #14582]
67725 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67726 Renamed from _LIB_VERSION.
67727 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67728
67729 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67730
67731 * math/libm-test.inc (struct test_fff_f_data): New type.
67732 (RUN_TEST_LOOP_fff_f): New macro.
67733 (fma_test_data): New variable.
67734 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67735 (fma_towardzero_test_data): New variable.
67736 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67737 (fma_downward_test_data): New variable.
67738 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67739 (fma_upward_test_data): New variable.
67740 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67741
67742 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67743 (struct test_c_c_data): New type.
67744 (RUN_TEST_LOOP_c_c): New macro.
67745 (cacos_test_data): New variable.
67746 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67747 (cacosh_test_data): New variable.
67748 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67749 (casin_test_data): New variable.
67750 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67751 (casinh_test_data): New variable.
67752 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67753 (catan_test_data): New variable.
67754 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67755 (catanh_test_data): New variable.
67756 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67757 (ccos_test_data): New variable.
67758 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67759 (ccosh_test_data): New variable.
67760 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67761 (cexp_test_data): New variable.
67762 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67763 (clog_test_data): New variable.
67764 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67765 (clog10_test_data): New variable.
67766 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67767 (conj_test_data): New variable.
67768 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67769 (cproj_test_data): New variable.
67770 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67771 (csin_test_data): New variable.
67772 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67773 (csinh_test_data): New variable.
67774 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67775 (csqrt_test_data): New variable.
67776 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67777 (ctan_test_data): New variable.
67778 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67779 (ctan_tonearest_test_data): New variable.
67780 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67781 (ctan_towardzero_test_data): New variable.
67782 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67783 (ctan_downward_test_data): New variable.
67784 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67785 (ctan_upward_test_data): New variable.
67786 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67787 (ctanh_test_data): New variable.
67788 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67789 (ctanh_tonearest_test_data): New variable.
67790 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67791 (ctanh_towardzero_test_data): New variable.
67792 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67793 (ctanh_downward_test_data): New variable.
67794 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67795 (ctanh_upward_test_data): New variable.
67796 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67797 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67798 of BUILD_COMPLEX.
67799
67800 * math/libm-test.inc (struct test_ff_f_data): New type.
67801 (struct test_ff_f_data_nexttoward): Likewise.
67802 (RUN_TEST_LOOP_2_f): New macro.
67803 (RUN_TEST_LOOP_ff_f): Likewise.
67804 (atan2_test_data): New variable.
67805 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67806 (copysign_test_data): New variable.
67807 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67808 (fdim_test_data): New variable.
67809 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67810 (fmax_test_data): New variable.
67811 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67812 (fmin_test_data): New variable.
67813 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67814 (fmod_test_data): New variable.
67815 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67816 (hypot_test_data): New variable.
67817 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67818 (nextafter_test_data): New variable.
67819 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67820 (nexttoward_test_data): New variable.
67821 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67822 (pow_test_data): New variable.
67823 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67824 (pow_tonearest_test_data): New variable.
67825 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67826 (pow_towardzero_test_data): New variable.
67827 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67828 (pow_downward_test_data): New variable.
67829 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67830 (pow_upward_test_data): New variable.
67831 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67832 (remainder_test_data): New variable.
67833 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67834 (scalb_test_data): New variable.
67835 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67836 * sysdeps/i386/fpu/libm-test-ulps: Update.
67837
67838 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67839
67840 * math/libm-test.inc (fma_test): Use max_value instead of local
67841 variable fltmax.
67842 (nextafter_test): Likewise.
67843
67844 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67845 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67846 (acos_downward_test_data): New variable.
67847 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67848 (acos_upward_test_data): New variable.
67849 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67850 (acosh_test_data): New variable.
67851 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67852 (asin_test_data): New variable.
67853 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67854 (asin_tonearest_test_data): New variable.
67855 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67856 (asin_towardzero_test_data): New variable.
67857 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67858 (asin_downward_test_data): New variable.
67859 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67860 (asin_upward_test_data): New variable.
67861 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67862 (asinh_test_data): New variable.
67863 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67864 (atan_test_data): New variable.
67865 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67866 (atanh_test_data): New variable.
67867 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67868 (cbrt_test_data): New variable.
67869 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67870 (ceil_test_data): New variable.
67871 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67872 (cos_test_data): New variable.
67873 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67874 (cos_tonearest_test_data): New variable.
67875 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67876 (cos_towardzero_test_data): New variable.
67877 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67878 (cos_downward_test_data): New variable.
67879 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67880 (cos_upward_test_data): New variable.
67881 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67882 (cosh_test_data): New variable.
67883 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67884 (cosh_tonearest_test_data): New variable.
67885 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67886 (cosh_towardzero_test_data): New variable.
67887 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67888 (cosh_downward_test_data): New variable.
67889 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67890 (cosh_upward_test_data): New variable.
67891 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67892 (erf_test_data): New variable.
67893 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67894 (erfc_test_data): New variable.
67895 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67896 (exp_test_data): New variable.
67897 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67898 (exp_tonearest_test_data): New variable.
67899 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67900 (exp_towardzero_test_data): New variable.
67901 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67902 (exp_downward_test_data): New variable.
67903 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67904 (exp_upward_test_data): New variable.
67905 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67906 (exp10_test_data): New variable.
67907 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67908 (exp2_test_data): New variable.
67909 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67910 (expm1_test_data): New variable.
67911 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67912 (fabs_test_data): New variable.
67913 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67914 (floor_test_data): New variable.
67915 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67916 (j0_test_data): New variable.
67917 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67918 (j1_test_data): New variable.
67919 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67920 (log_test_data): New variable.
67921 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67922 (log10_test_data): New variable.
67923 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67924 (log1p_test_data): New variable.
67925 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67926 (log2_test_data): New variable.
67927 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67928 (logb_test_data): New variable.
67929 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67930 (logb_downward_test_data): New variable.
67931 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67932 (nearbyint_test_data): New variable.
67933 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67934 (rint_test_data): New variable.
67935 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67936 (rint_tonearest_test_data): New variable.
67937 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67938 (rint_towardzero_test_data): New variable.
67939 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67940 (rint_downward_test_data): New variable.
67941 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67942 (rint_upward_test_data): New variable.
67943 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67944 (round_test_data): New variable.
67945 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67946 (sin_test_data): New variable.
67947 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67948 (sin_tonearest_test_data): New variable.
67949 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67950 (sin_towardzero_test_data): New variable.
67951 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67952 (sin_downward_test_data): New variable.
67953 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67954 (sin_upward_test_data): New variable.
67955 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67956 (sinh_test_data): New variable.
67957 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67958 (sinh_tonearest_test_data): New variable.
67959 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67960 (sinh_towardzero_test_data): New variable.
67961 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67962 (sinh_downward_test_data): New variable.
67963 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67964 (sinh_upward_test_data): New variable.
67965 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67966 (sqrt_test_data): New variable.
67967 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67968 (tan_test_data): New variable.
67969 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67970 (tan_tonearest_test_data): New variable.
67971 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67972 (tan_towardzero_test_data): New variable.
67973 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67974 (tan_downward_test_data): New variable.
67975 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67976 (tan_upward_test_data): New variable.
67977 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67978 (tanh_test_data): New variable.
67979 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67980 (tgamma_test_data): New variable.
67981 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67982 (trunc_test_data): New variable.
67983 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67984 (y0_test_data): New variable.
67985 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67986 (y1_test_data): New variable.
67987 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67988 (significand_test_data): New variable.
67989 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67990
67991 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67992
67993 [BZ #12387]
67994 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67995
67996 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67997
67998 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67999
68000 2013-05-10 Andreas Jaeger <aj@suse.de>
68001
68002 [BZ #15448]
68003 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
68004 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
68005
68006 2013-05-10 Joseph Myers <joseph@codesourcery.com>
68007
68008 * math/gen-libm-test.pl (adjust_arg): New function.
68009 (special_functions): Handle generating output in both functions
68010 and arrays.
68011 (parse_args): Likewise.
68012 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
68013 $in_func argument to parse_args.
68014 * math/libm-test.inc (struct test_f_f_data): New type.
68015 (IF_ROUND_INIT_): New macro.
68016 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
68017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
68018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
68019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
68020 (ROUND_RESTORE_): Likewise.
68021 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
68022 (ROUND_RESTORE_FE_TONEAREST): Likewise.
68023 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
68024 (ROUND_RESTORE_FE_UPWARD): Likewise.
68025 (RUN_TEST_LOOP_f_f): New macro.
68026 (acos_test_data): New variable.
68027 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
68028 (acos_tonearest_test_data): New variable.
68029 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68030
68031 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68032
68033 * benchtests/bench-skeleton.c (startup): Fix coding style.
68034
68035 2013-05-10 Joseph Myers <joseph@codesourcery.com>
68036
68037 [BZ #6809]
68038 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
68039 negative infinity argument.
68040 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
68041 negative infinity argument.
68042 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
68043 negative infinity argument.
68044 * math/libm-test.inc (tgamma_test): Expect errno to be set for
68045 domain errors.
68046
68047 2013-05-10 Florian Weimer <fweimer@redhat.com>
68048
68049 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
68050 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
68051 * iconv/iconv_prog.c (main): Likewise.
68052 * locale/programs/charmap-dir.c (charmap_readdir)
68053 (fopen_uncompressed): Likewise.
68054 * locale/programs/locfile.c (siblings_uncached)
68055 (write_locale_data): Use lstat64 instead of lstat.
68056 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
68057 stat.
68058
68059 2013-05-10 Andreas Jaeger <aj@suse.de>
68060
68061 [BZ #15395]
68062 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
68063 localization.
68064 Include <locale.h>.
68065
68066 2013-05-09 Carlos O'Donell <carlos@redhat.com>
68067
68068 * elf/dl-close.c (_dl_close_worker): Add comments.
68069
68070 2013-05-09 Joseph Myers <joseph@codesourcery.com>
68071
68072 [BZ #15359]
68073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
68074 high part of pi/2.
68075 (__ieee754_rem_pio2l): Update comments.
68076
68077 [BZ #15429]
68078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
68079 high part of pi/2.
68080 (__ieee754_rem_pio2l): Update comments.
68081
68082 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
68083 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
68084
68085 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
68086 M_PI_4l.
68087
68088 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
68089 (M_PI_34_LOG10El): Likewise.
68090 (M_PI2_LOG10El): Likewise.
68091 (M_PI4_LOG10El): Likewise.
68092 (M_PI_LOG10El): Likewise.
68093
68094 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68095
68096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68097
68098 2013-05-08 Joseph Myers <joseph@codesourcery.com>
68099
68100 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
68101 (MINUS_ZERO_INIT): Likewise.
68102 (PLUS_INFTY_INIT): Likewise.
68103 (MINUS_INFTY_INIT): Likewise.
68104 (QNAN_VALUE_INIT): Likewise.
68105 (MAX_VALUE_INIT): Likewise.
68106 (MIN_VALUE_INIT): Likewise.
68107 (MIN_SUBNORM_VALUE_INIT): Likewise.
68108 (plus_zero): Initialize with PLUS_ZERO_INIT.
68109 (minus_zero): Initialize with MINUS_ZERO_INIT.
68110 (plus_infty): Initialize with PLUS_INFTY_INIT.
68111 (minus_infty): Initialize with MINUS_INFTY_INIT.
68112 (qnan_value): Initialize with QNAN_VALUE_INIT.
68113 (max_value): Initialize with MAX_VALUE_INIT.
68114 (min_value): Initialize with MIN_VALUE_INIT.
68115 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
68116
68117 * math/libm-test.inc (RUN_TEST_if_f): New macro.
68118 (jn_test): Use TEST_if_f instead of TEST_ff_f.
68119 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
68120 (yn_test): Use TEST_if_f instead of TEST_ff_f.
68121
68122 * math/libm-test.inc (RUN_TEST_f_f): New macro.
68123 (RUN_TEST_2_f): Likewise.
68124 (RUN_TEST_ff_f): Likewise.
68125 (RUN_TEST_fi_f): Likewise.
68126 (RUN_TEST_fl_f): Likewise.
68127 (RUN_TEST_fff_f): Likewise.
68128 (RUN_TEST_c_f): Likewise.
68129 (RUN_TEST_f_f1): Likewise.
68130 (RUN_TEST_fF_f1): Likewise.
68131 (RUN_TEST_fI_f1): Likewise.
68132 (RUN_TEST_ffI_f1): Likewise.
68133 (RUN_TEST_c_c): Likewise.
68134 (RUN_TEST_cc_c): Likewise.
68135 (RUN_TEST_f_i): Likewise.
68136 (RUN_TEST_f_i_tg): Likewise.
68137 (RUN_TEST_ff_i_tg): Likewise.
68138 (RUN_TEST_f_b): Likewise.
68139 (RUN_TEST_f_b_tg): Likewise.
68140 (RUN_TEST_f_l): Likewise.
68141 (RUN_TEST_f_L): Likewise.
68142 (RUN_TEST_sincos): Likewise.
68143 * math/gen-libm-test.pl (new_test): Take new argument to indicate
68144 whether to show exceptions. Do not include ");\n" in return
68145 value.
68146 (special_functions): Output call to RUN_TEST_sincos instead of
68147 check_float calls. Update calls to new_test.
68148 (parse_args): Output call to single RUN_TEST_* macro instead of
68149 check_* calls and other assignments. Update calls to new_test.
68150
68151 [BZ #2546]
68152 [BZ #2560]
68153 [BZ #5159]
68154 [BZ #15426]
68155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68156 input to result for tgamma overflow.
68157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68158 (gamma_coeff): New variable.
68159 (NCOEFF): New macro.
68160 (gamma_positive): New function.
68161 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68162 underflow here. Use gamma_positive instead of exp (lgamma) for
68163 other arguments.
68164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68165 (gamma_coeff): New variable.
68166 (NCOEFF): New macro.
68167 (gammaf_positive): New function.
68168 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68169 underflow here. Use gamma_positive instead of exp (lgamma) for
68170 other arguments.
68171 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68172 (gamma_coeff): New variable.
68173 (NCOEFF): New macro.
68174 (gammal_positive): New function.
68175 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68176 underflow here. Use gamma_positive instead of exp (lgamma) for
68177 other arguments.
68178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68179 (gamma_coeff): New variable.
68180 (NCOEFF): New macro.
68181 (gammal_positive): New function.
68182 (__ieee754_gammal_r): Handle positive infinity, overflow and
68183 underflow here. Handle NaN the same as positive infinity. Remove
68184 check x < 0xffffffff for negative integers. Use gamma_positive
68185 instead of exp (lgamma) for other arguments.
68186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68187 (gamma_coeff): New variable.
68188 (NCOEFF): New macro.
68189 (gammal_positive): New function.
68190 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68191 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68192 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68193 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68194 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68195 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68196 * sysdeps/generic/math_private.h (__gamma_productf): New
68197 prototype.
68198 (__gamma_product): Likewise.
68199 (__gamma_productl): Likewise.
68200 * math/Makefile (libm-calls): Add gamma_product.
68201 * math/libm-test.inc (tgamma_test): Add more tests.
68202 * sysdeps/i386/fpu/libm-test-ulps: Update.
68203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68204
68205 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
68206
68207 * benchtests/bench-skeleton.c (main): Preheat CPU.
68208
68209 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
68210
68211 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68212
68213 2013-05-07 Roland McGrath <roland@hack.frob.com>
68214
68215 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68216 and _dl_skip_args_internal.
68217
68218 2013-05-07 Carlos O'Donell <carlos@redhat.com>
68219
68220 * manual/message.texi (Message Translation): Talk about users.
68221 Message to key mapping impacts design.
68222
68223 2013-05-06 Roland McGrath <roland@hack.frob.com>
68224
68225 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68226
68227 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68228
68229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68230 * sysdeps/wordsize-64/glob64.c: ... here.
68231
68232 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68233 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68234 New macros.
68235
68236 * debug/getlogin_r_chk.c: Moved to ...
68237 * login/getlogin_r_chk.c: ... here.
68238 * debug/Makefile (routines): Move getlogin_r_chk to ...
68239 * login/Makefile (routines): ... here.
68240 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68241 * login/Versions (libc: GLIBC_2.4): ... here.
68242
68243 * io/poll.c (__poll): Renamed from poll.
68244 Add libc_hidden_def.
68245 (poll): Define as weak alias.
68246
68247 * debug/ptsname_r_chk.c: Moved to ...
68248 * login/ptsname_r_chk.c: ... here.
68249 * debug/Makefile (routines): Move ptsname_r_chk to ...
68250 * login/Makefile (routines): ... here.
68251 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68252 * login/Versions (libc: GLIBC_2.4): ... here.
68253
68254 * posix/getlogin.c: Moved to ...
68255 * login/getlogin.c: ... here.
68256 * posix/getlogin_r.c: Moved to ...
68257 * login/getlogin_r.c: ... here.
68258 * posix/getlogin_r.c: Moved to ...
68259 * login/getlogin_r.c: ... here.
68260 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68261 * login/Makefile (routines): ... here.
68262 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68263 * login/Versions (libc: GLIBC_2.0): ... here.
68264
68265 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68266 (setrlimit): Define as weak alias.
68267
68268 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68269 Call __ names for open, ftruncate, and close.
68270 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68271 (truncate): Define as weak alias.
68272
68273 2013-05-06 Joseph Myers <joseph@codesourcery.com>
68274
68275 * math/gen-libm-test.pl (parse_args): Initialize x before each
68276 test of frexp, modf and remquo.
68277
68278 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68279 test signgam value.
68280
68281 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68282
68283 [BZ #15418]
68284 [BZ #15419]
68285 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68286 internal tests.
68287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68288
68289 2013-05-06 Roland McGrath <roland@hack.frob.com>
68290
68291 * elf/dl-writev.h: New file.
68292 * elf/dl-misc.c: Include it.
68293 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68294 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68295
68296 2013-05-04 Joseph Myers <joseph@codesourcery.com>
68297
68298 * math/libm-test.inc (noXFails): Remove variable.
68299 (noXPasses): Likewise.
68300 (BUILD_COMPLEX_INT): Remove macro.
68301 (print_screen): Remove xfail argument.
68302 (print_screen_max_error): Likewise.
68303 (update_stats): Likewise.
68304 (print_max_error): Likewise. Update calls to other affected
68305 functions.
68306 (print_complex_max_error): Likewise.
68307 (test_single_exception): Update calls to print_screen.
68308 (test_single_errno): Likewise.
68309 (check_float_internal): Remove xfail argument. Update calls to
68310 other affected functions.
68311 (check_float): Likewise.
68312 (check_complex): Likewise.
68313 (check_int): Likewise.
68314 (check_long): Likewise.
68315 (check_bool): Likewise.
68316 (check_longlong): Likewise.
68317 (main): Don't print noXFails and noXPasses.
68318 * math/gen-libm-test.pl (top level): Don't mention expected
68319 failure handling in comment.
68320 (new_test): Don't handle expected failures.
68321 (parse_args): Don't mention expected failure handling in comment.
68322 (generate_testfile): Don't handle expected failures.
68323 (parse_ulps): Likewise.
68324 (print_ulps_file): Likewise.
68325 (get_failure): Remove function.
68326 (output_test): Don't handle expected failures.
68327 * make/README.libm-test: Don't mention expected failure handling.
68328
68329 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68330 (minus_zero): Likewise.
68331 (plus_infty): Likewise.
68332 (minus_infty): Likewise.
68333 (qnan_value): Likewise.
68334 (max_value): Likewise.
68335 (min_value): Likewise.
68336 (min_subnorm_value): Likewise.
68337 (initialize): Do not initialize those variables dynamically.
68338
68339 2013-05-03 Roland McGrath <roland@hack.frob.com>
68340
68341 * io/open.c (__open_2): Moved to ...
68342 * io/open_2.c: ... this new file.
68343 * io/open64.c (__open64_2): Moved to ...
68344 * io/open64_2.c: ... this new file.
68345 * io/openat.c (__openat_2): Moved to ...
68346 * io/openat_2.c: ... this new file.
68347 * io/openat64.c (__openat64_2): Moved to ...
68348 * io/openat64_2.c: ... this new file.
68349 * io/Makefile (routines): Add them.
68350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68351 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68352 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68353 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68354 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68355 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68356 (__openat64): Add hidden_ver.
68357 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68358 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68359
68360 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68361 Separately conditionalize setting of GLRO(dl_sysinfo) so
68362 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68363 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68364
68365 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68366
68367 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68369 definition.
68370 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68371 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68372 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68373 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68374 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68375
68376 2013-05-03 Joseph Myers <joseph@codesourcery.com>
68377
68378 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68379 test signgam value.
68380
68381 * math/libm-test.inc (hypot_test): Do not use
68382 IGNORE_ZERO_INF_SIGN.
68383
68384 2013-05-03 Andreas Jaeger <aj@suse.de>
68385
68386 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68387 Linux 3.9.
68388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68389 (PF_MAX): Adjust for VSOCK change.
68390
68391 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68392
68393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68394
68395 2013-05-02 Carlos O'Donell <carlos@redhat.com>
68396
68397 [BZ #15264]
68398 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68399 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68400 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68401
68402 2013-05-02 David S. Miller <davem@davemloft.net>
68403
68404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68405
68406 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
68407
68408 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68409
68410 2013-05-01 Roland McGrath <roland@hack.frob.com>
68411
68412 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68413
68414 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68415
68416 [BZ #14952]
68417 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68418 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68419 Use __attribute__ ((__gnu_inline__)).
68420 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68421 Don't use __attribute__ ((__gnu_inline__)).
68422
68423 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68424
68425 [BZ #15423]
68426 * math/s_catan.c (__catan): Handle small real or imaginary part of
68427 input specially to avoid spurious underflow.
68428 * math/s_catanf.c (__catanf): Likewise.
68429 * math/s_catanh.c (__catanh): Likewise.
68430 * math/s_catanhf.c (__catanhf): Likewise.
68431 * math/s_catanhl.c (__catanhl): Likewise.
68432 * math/s_catanl.c (__catanl): Likewise.
68433 * math/libm-test.inc (catan_test): Add more tests.
68434 (catanh_test): Likewise.
68435 * sysdeps/i386/fpu/libm-test-ulps: Update.
68436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68437
68438 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68439
68440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68441
68442 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68443
68444 [BZ #15416]
68445 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68446 accurately for denominator in atan2.
68447 * math/s_catanf.c (__catanf): Likewise.
68448 * math/s_catanh.c (__catanh): Likewise.
68449 * math/s_catanhf.c (__catanhf): Likewise.
68450 * math/s_catanhl.c (__catanhl): Likewise.
68451 * math/s_catanl.c (__catanl): Likewise.
68452 * math/libm-test.inc (catan_test): Add more tests.
68453 (catanh_test): Likewise.
68454 * sysdeps/i386/fpu/libm-test-ulps: Update.
68455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68456
68457 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68458
68459 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68460
68461 * benchtests/Makefile (bench): Remove slow benchmarks.
68462 * benchtests/atan-inputs: Add slow benchmark inputs.
68463 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68464 (BENCH_FUNC): Accept variant offset.
68465 (VARIANT): Define.
68466 * benchtests/bench-skeleton.c (main): Run benchmark for each
68467 variant.
68468 * benchtests/cos-inputs: Add slow benchmark inputs.
68469 * benchtests/exp-inputs: Likewise.
68470 * benchtests/pow-inputs: Likewise.
68471 * benchtests/sin-inputs: Likewise.
68472 * benchtests/slowatan-inputs: Remove.
68473 * benchtests/slowatan.c: Remove.
68474 * benchtests/slowcos-inputs: Remove.
68475 * benchtests/slowcos.c: Remove.
68476 * benchtests/slowexp-inputs: Remove.
68477 * benchtests/slowexp.c: Remove.
68478 * benchtests/slowpow-inputs: Remove.
68479 * benchtests/slowpow.c: Remove.
68480 * benchtests/slowsin-inputs: Remove.
68481 * benchtests/slowsin.c: Remove.
68482 * benchtests/slowtan-inputs: Remove.
68483 * benchtests/slowtan.c: Remove.
68484 * benchtests/tan-inputs: Add slow benchmark inputs.
68485 * scripts/bench.pl: Parse comments and directives.
68486
68487 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68488 in CPPFLAGS.
68489 ($(objpfx)bench-%.c): Remove *-ITER.
68490 * benchtests/bench-modf.c: Remove definition of ITER.
68491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68492 (main): Loop for DURATION seconds instead of fixed number of
68493 iterations.
68494 * scripts/bench.pl: Don't expect iterations in parameters.
68495
68496 2013-04-29 Roland McGrath <roland@hack.frob.com>
68497
68498 * io/fchdir.c (__fchdir): Renamed from fchdir.
68499 (fchdir): Define as weak alias.
68500
68501 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68502
68503 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68504 (ERRNO_EDOM): Likewise.
68505 (ERRNO_ERANGE): Likewise.
68506 (noErrnoTests): New variable.
68507 (init_max_error): Set errno to 0.
68508 (test_single_errno): New function.
68509 (test_errno): Likewise.
68510 (check_float_internal): Call test_errno. Set errno to 0.
68511 (check_complex): Refer to errno tests in comment.
68512 (check_int): Call test_errno. Set errno to 0.
68513 (check_long): Likewise.
68514 (check_bool): Likewise.
68515 (check_longlong): Likewise.
68516 (cos_test): Use ERRNO_* flags for errno tests instead of
68517 check_int.
68518 (expm1_test): Likewise.
68519 (fmod_test): Likewise.
68520 (ilogb_test): Likewise.
68521 (lgamma_test): Likewise.
68522 (pow_test): Likewise.
68523 (remainder_test): Likewise.
68524 (sin_test): Likewise.
68525 (tan_test): Likewise.
68526 (yn_test): Likewise.
68527 (initialize): Set errno to 0.
68528 (main): Print number of errno tests.
68529 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68530
68531 2013-04-29 Andreas Jaeger <aj@suse.de>
68532
68533 [BZ #15084]
68534 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68535 and RES_USEVC.
68536
68537 [BZ #15085]
68538 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68539 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68540 unimplemented.
68541
68542 [BZ #15380]
68543 * stdlib/random.c (__initstate): Return NULL if
68544 __initstate fails.
68545
68546 [BZ #15086]
68547 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68548 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68549 RES_SNGLKUPREOP.
68550
68551 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68552
68553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68554
68555 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68556
68557 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68558 of individual tests.
68559 (casin_test): Likewise.
68560 (casinh_test): Likewise.
68561
68562 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68563
68564 [BZ #15409]
68565 * math/s_catan.c (__catan): Handle arguments with large real or
68566 imaginary part separately without squaring.
68567 * math/s_catanf.c (__catanf): Likewise.
68568 * math/s_catanh.c (__catanh): Likewise.
68569 * math/s_catanhf.c (__catanhf): Likewise.
68570 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68571 and redefine.
68572 (__catanhl): Handle arguments with large real or imaginary part
68573 separately without squaring.
68574 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68575 and redefine.
68576 (__catanl): Handle arguments with large real or imaginary part
68577 separately without squaring.
68578 * math/libm-test.inc (catan_test): Add more tests.
68579 (catanh_test): Likewise.
68580 * sysdeps/i386/fpu/libm-test-ulps: Update.
68581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68582
68583 2013-04-27 Andreas Jaeger <aj@suse.de>
68584
68585 [BZ #15007]
68586 * stdlib/stdlib.h: Update guards for qecvt.
68587 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68588 <stdlib.h>.
68589
68590 2013-04-27 Allan McRae <allan@archlinux.org>
68591
68592 * sysdeps/i386/fpu/libm-test-ulps: Update.
68593
68594 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68595
68596 [BZ #15406]
68597 * math/s_catan.c: Include <float.h>.
68598 (__catan): Ensure underflow exception occurs for underflowed
68599 result.
68600 * math/s_catanf.c: Include <float.h>.
68601 (__catanf): Ensure underflow exception occurs for underflowed
68602 result.
68603 * math/s_catanh.c: Include <float.h>.
68604 (__catanh): Ensure underflow exception occurs for underflowed
68605 result.
68606 * math/s_catanhf.c: Include <float.h>.
68607 (__catanhf): Ensure underflow exception occurs for underflowed
68608 result.
68609 * math/s_catanhl.c: Include <float.h>.
68610 (__catanhl): Ensure underflow exception occurs for underflowed
68611 result.
68612 * math/s_catanl.c: Include <float.h>.
68613 (__catanl): Ensure underflow exception occurs for underflowed
68614 result.
68615 * math/libm-test.inc (catan_test): Add more tests.
68616 (catanh_test): Likewise.
68617
68618 [BZ #15405]
68619 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68620 underflowed result.
68621 * math/s_ccoshf.c (__ccoshf): Likewise.
68622 * math/s_ccoshl.c (__ccoshl): Likewise.
68623 * math/s_csin.c (__csin): Likewise.
68624 * math/s_csinf.c (__csinf): Likewise.
68625 * math/s_csinh.c (__csinh): Likewise.
68626 * math/s_csinhf.c (__csinhf): Likewise.
68627 * math/s_csinhl.c (__csinhl): Likewise.
68628 * math/s_csinl.c (__csinl): Likewise.
68629 * math/libm-test.inc (ccos_test): Add more tests.
68630 (ccosh_test): Likewise.
68631 (csin_test): Likewise.
68632 (csinh_test): Likewise.
68633
68634 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68635
68636 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68637 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68638 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68639 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68640 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68641 powerpc/power5+/fpu folders.
68642 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68643
68644
68645 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68646
68647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68648
68649 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68650
68651 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68652 additions to variable.
68653 [$(config-machine) = x86_64] (modules-names): Likewise.
68654 ($(objpfx)tst-audit3): Remove dependency.
68655 ($(objpfx)tst-audit3.out): Likewise.
68656 ($(objpfx)tst-audit4): Likewise.
68657 ($(objpfx)tst-audit4.out): Likewise.
68658 ($(objpfx)tst-audit5): Likewise.
68659 ($(objpfx)tst-audit5.out): Likewise.
68660 ($(objpfx)tst-audit6): Likewise.
68661 ($(objpfx)tst-audit6.out): Likewise.
68662 ($(objpfx)tst-audit7): Likewise.
68663 ($(objpfx)tst-audit7.out): Likewise.
68664 (tst-audit3-ENV): Remove variable.
68665 (tst-audit4-ENV): Likewise.
68666 (tst-audit5-ENV): Likewise.
68667 (tst-audit6-ENV): Likewise.
68668 (tst-audit7-ENV): Likewise.
68669 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68670 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68671 addition to variable.
68672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68677 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68678 tst-audit3, tst-audit4 and tst-audit5.
68679 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68680 tst-audit6 and tst-audit7.
68681 [$(subdir) = elf] (modules-names): Add audit modules for those
68682 tests.
68683 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68684 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68685 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68686 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68687 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68688 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68689 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68690 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68691 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68692 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68693 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68694 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68695 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68696 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68697 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68698 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68699 Likewise.
68700 [$(subdir) = elf && $(config-cflags-avx) = yes]
68701 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68702 [$(subdir) = elf && $(config-cflags-avx) = yes]
68703 (CFLAGS-tst-auditmod4a.c): Likewise.
68704 [$(subdir) = elf && $(config-cflags-avx) = yes]
68705 (CFLAGS-tst-auditmod4b.c): Likewise.
68706 [$(subdir) = elf && $(config-cflags-avx) = yes]
68707 (CFLAGS-tst-auditmod6b.c): Likewise.
68708 [$(subdir) = elf && $(config-cflags-avx) = yes]
68709 (CFLAGS-tst-auditmod6c.c): Likewise.
68710 [$(subdir) = elf && $(config-cflags-avx) = yes]
68711 (CFLAGS-tst-auditmod7b.c): Likewise.
68712 * elf/tst-audit3.c: Move to ...
68713 * sysdeps/x86_64/tst-audit3.c: ... here.
68714 * elf/tst-audit4.c: Move to ...
68715 * sysdeps/x86_64/tst-audit4.c: ... here.
68716 * elf/tst-audit5.c: Move to ...
68717 * sysdeps/x86_64/tst-audit5.c: ... here.
68718 * elf/tst-audit6.c: Move to ...
68719 * sysdeps/x86_64/tst-audit6.c: ... here.
68720 * elf/tst-audit7.c: Move to ...
68721 * sysdeps/x86_64/tst-audit7.c: ... here.
68722 * elf/tst-auditmod3a.c: Move to ...
68723 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68724 * elf/tst-auditmod3b.c: Move to ...
68725 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68726 * elf/tst-auditmod4a.c: Move to ...
68727 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68728 * elf/tst-auditmod4b.c: Move to ...
68729 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68730 * elf/tst-auditmod5a.c: Move to ...
68731 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68732 * elf/tst-auditmod5b.c: Move to ...
68733 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68734 * elf/tst-auditmod6a.c: Move to ...
68735 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68736 * elf/tst-auditmod6b.c: Move to ...
68737 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68738 * elf/tst-auditmod6c.c: Move to ...
68739 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68740 * elf/tst-auditmod7a.c: Move to ...
68741 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68742 * elf/tst-auditmod7b.c: Move to ...
68743 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68744
68745 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68746
68747 [BZ #15366]
68748 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68749 define unconditionally.
68750 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68751 define unconditionally.
68752 (INT8_C, INT16_C, etc.): Likewise.
68753
68754 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68755
68756 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68757 __ehdr_start with hidden visibility.
68758
68759 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68760
68761 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68762
68763 * math/libm-test.inc (cos_test): Use accurate hex constants.
68764 (sincost_test): Likewise.
68765
68766 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68767
68768 * math/libm-test.inc (catan_test): Add more tests.
68769 (catanh_test): Likewise.
68770
68771 * math/s_catanf.c (__catanf): Use suffixed floating-point
68772 constants.
68773 * math/s_catanhf.c (__catanhf): Likewise.
68774 * math/s_catanhl.c (__catanhl): Likewise.
68775 * math/s_catanl.c (__catanl): Likewise.
68776
68777 [BZ #15394]
68778 * math/s_catan.c (__catan): Calculate imaginary part of result
68779 with log1p not log unless computing log of number close to 0.
68780 * math/s_catanf.c (__catanf): Likewise.
68781 * math/s_catanl.c (__catanl): Likewise.
68782 * math/s_catanh.c (__catanh): Calculate real part of result with
68783 log1p not log unless computing log of number close to 0.
68784 * math/s_catanhf.c (__catanhf): Likewise.
68785 * math/s_catanhl.c (__catanhl): Likewise.
68786 * math/libm-test.inc (catan_test): Add more tests.
68787 (catanh_test): Likewise.
68788 * sysdeps/i386/fpu/libm-test-ulps: Update.
68789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68790
68791 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68792
68793 * benchtests/Makefile: Mention files in which fast and slow
68794 paths of math functions are implemented.
68795
68796 2013-04-23 Roland McGrath <roland@hack.frob.com>
68797
68798 * sysdeps/posix/timespec_get.c: New file.
68799
68800 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68801
68802 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68803 POWER.
68804 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68805 for POWER.
68806 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68807 powerpc/power5/fpu folders.
68808 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68809 * benchtests/Makefile: Add modf testcase.
68810 * benchtests/bench-modf.c: New file: Benchmark test for mo
68811
68812 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68813
68814 [BZ #14888]
68815 * time/Makefile (tests): Add tst-strptime-whitespace.
68816 * time/strptime_l.c (get_number): Use ISSPACE.
68817 (__strptime_internal): Likewise.
68818 * time/tst-strptime-whitespace.c: New test case.
68819
68820 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68821
68822 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68823 member.
68824 (_nss_files_init): Set it here.
68825
68826 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68827
68828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68829 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68830 unsigned.
68831
68832 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68833
68834 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68835
68836 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68837
68838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68839 size just once.
68840
68841 2013-04-21 David S. Miller <davem@davemloft.net>
68842
68843 * po/ru.po: Update Russion translation from translation project.
68844
68845 2013-04-17 Adam Conrad <adconrad@0c3.net>
68846
68847 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68848 and setfsgid.
68849
68850 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68851
68852 * configure.in: Remove i386 configure warning. Remove i386 case.
68853 * configure: Regenerate.
68854 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68855 Add example to error message.
68856 * sysdeps/i386/configure: Regenerate.
68857
68858 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68859
68860 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68861 slowtan.
68862 * benchtests/cos-inputs: New file.
68863 * benchtests/slowcos-inputs: New file.
68864 * benchtests/slowcos.c: New file.
68865 * benchtests/slowtan-inputs: New file.
68866 * benchtests/slowtan.c: New file.
68867 * benchtests/tan-inputs: New file.
68868
68869 2013-04-16 Roland McGrath <roland@hack.frob.com>
68870
68871 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68872 considered kosher.
68873
68874 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68875
68876 * benchtests/Makefile: Include cppflags-iterator.mk to add
68877 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68878
68879 * Makefile.in (bench-clean): New target.
68880 * benchtests/Makefile (bench-clean): Likewise.
68881
68882 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68883
68884 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68885
68886 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68887
68888 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68889
68890 2013-04-15 Andreas Schwab <schwab@suse.de>
68891
68892 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68894 * nscd/pwdcache.c (cache_addpw): Likewise.
68895 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68896 more than recsize.
68897
68898 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68899
68900 * benchtests/Makefile (bench): Write all output to
68901 bench-out.tmp together.
68902
68903 2013-04-15 Andreas Schwab <schwab@suse.de>
68904
68905 * nscd/nscd.c (main): Don't fork again after closing files.
68906
68907 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68908
68909 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68910
68911 * benchtests/Rules (bench-deps): Collect dependencies into a
68912 single variable. Add Makefile to dependencies.
68913 ($(objpfx)bench-%.c): Depend on bench-deps.
68914
68915 2013-04-12 Roland McGrath <roland@hack.frob.com>
68916 Xavier Roche <roche+kml2@exalead.com>
68917
68918 [BZ #15361]
68919 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68920 just that it's a file descriptor.
68921 * manual/llio.texi (Synchronizing AIO Operations): Update description
68922 for EBADF error from aio_fsync.
68923
68924 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68925
68926 * Rules (bench): Move target definition...
68927 * benchtests/Makefile: ... here.
68928
68929 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68930
68931 * math/libm-test.inc (cos_test): Fix PI/2 test.
68932 (sincos_test): Likewise.
68933 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68934 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68935
68936 2013-04-11 Andreas Schwab <schwab@suse.de>
68937
68938 [BZ #13988]
68939 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68940 accept exponent character only when digits were seen.
68941 * stdio-common/Makefile (tests): Add bug26.
68942 * stdio-common/bug26.c: New file.
68943
68944 [BZ #14293]
68945 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68946 non-freeable.
68947
68948 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68949
68950 * Makeconfig (rtld-prefix): Define built linker prefix.
68951 * Rules (run-bench): Use it.
68952 * math/Makefile (run-regen-ulps): Likewise.
68953
68954 * Rules (bench): Remove eval.
68955
68956 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68957 Roland McGrath <roland@hack.frob.com>
68958 Ondrej Bilka <neleai@seznam.cz>
68959
68960 [BZ #15346]
68961 * time/getdate.c: Include ctype.h and alloca.h.
68962 (__getdate_r): Trim leading and trailing spaces of input.
68963 * time/tst-getdate.c (tests): Add tests with leading and
68964 trailing spaces.
68965
68966 2013-04-08 Roland McGrath <roland@hack.frob.com>
68967
68968 [BZ #14280]
68969 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68970 when computing value.
68971
68972 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68973
68974 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68975 Use testrun.sh to run libm tests.
68976
68977 [BZ #15309]
68978 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68979
68980 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68981
68982 [BZ #15264]
68983 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68984
68985 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68986
68987 * Makefile.in (regen-ulps): New target.
68988 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68989 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68990 [ifneq (no,$(PERL)] (regen-ulps): New target.
68991 [ifeq (no,$(PERL)] (regen-ulps): New target.
68992 * math/libm-test.inc (ulps_file_name): Define.
68993 (output_dir): New variable.
68994 (options): Add "output-dir" option.
68995 (parse_opt): Handle 'o' case.
68996 (main): If output_dir is non-NULL use it as a prefix
68997 otherwise use "".
68998 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68999
69000 2013-04-06 Carlos O'Donell <carlos@redhat.com>
69001
69002 [BZ #10060, #10062]
69003 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
69004 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
69005 fail configure if __sync_val_compare_and_swap is not inlined.
69006 * sysdeps/i386/configure: Regenerate.
69007 * configure.in: Build for i686 when configured for i386.
69008 * configure: Regenerate.
69009 * README: Remove i386 reference.
69010
69011 2013-04-06 Carlos O'Donell <carlos@redhat.com>
69012
69013 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
69014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69015
69016 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
69017
69018 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
69019 (lmsnanval): New variables.
69020 (F): Add conversion tests.
69021 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
69022 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
69023
69024 * stdio-common/tstdiomisc.c (F): Properly collect individual
69025 tests' results.
69026
69027 [BZ #14686, #15336]
69028 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
69029 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
69030 Instead, use input NaN values or generate a qNaN by arithmetic
69031 operation. Also fix bugs to comply with the standard.
69032 * math/libm-test.inc (remainder_test): Add more tests.
69033
69034 [BZ #15335, #15342]
69035 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
69036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
69037 input NaN values or generate a qNaN by arithmetic operation.
69038
69039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
69040 unreachable code.
69041
69042 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
69043 definitions.
69044
69045 2013-04-03 Joseph Myers <joseph@codesourcery.com>
69046
69047 [BZ #14478]
69048 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
69049 underflowed result.
69050 * math/s_cexpf.c (__cexpf): Likewise.
69051 * math/s_cexpl.c (__cexpl): Likewise.
69052 * math/libm-test.inc (cexp_test): Add more tests.
69053
69054 2013-04-03 Andreas Schwab <schwab@suse.de>
69055
69056 [BZ #15330]
69057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
69058 order arrays from heap if bigger than alloca cutoff.
69059
69060 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
69061
69062 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
69063 (SNAN_TESTS_double): Refer to GCC PR56831.
69064 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
69065 GCC PR56828.
69066
69067 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
69068
69069 * Rules (bench): Move bench.out after the run is complete.
69070
69071 * Rules (bench): Echo currently running benchmark.
69072
69073 * benchtests/Makefile (bench): Add atan and slowatan.
69074 * benchtests/atan-inputs: New file.
69075 * benchtests/slowatan-inputs: New file.
69076 * benchtests/slowatan.c: New file.
69077
69078 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
69079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
69080 its value.
69081
69082 [BZ #15305]
69083 * sysdeps/unix/sysv/linux/kernel-features.h
69084 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
69085 __ASSUME_XFS_RESTRICTED_CHOWN.
69086 * sysdeps/unix/sysv/linux/pathconf.c
69087 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
69088 Save and restore errno.
69089
69090 2013-04-02 Joseph Myers <joseph@codesourcery.com>
69091
69092 [BZ #15327]
69093 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
69094 arguments using __kernel_casinh.
69095 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
69096 arguments using __kernel_casinhf.
69097 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
69098 arguments using __kernel_casinhl.
69099 * math/libm-test.inc (cacosh_test): Add more tests.
69100 * sysdeps/i386/fpu/libm-test-ulps: Update.
69101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69102
69103 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
69104
69105 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
69106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
69107
69108 * bench/Makefile (bench): Add sin and slowsin.
69109 * benchtests/sin-inputs: New file.
69110 * benchtests/slowsin-inputs: New file.
69111 * benchtests/slowsin.c: New file.
69112
69113 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
69114 (bench): Add slowexp and slowpow.
69115 (exp-ITER): Increase iterations.
69116 (pow-ITER): Likewise.
69117 * benchtests/exp-inputs: Change input.
69118 * benchtests/pow-inputs: Likewise.
69119 * benchtests/slowexp-inputs: New file.
69120 * benchtests/slowexp.c: New file.
69121 * benchtests/slowpow-inputs: New file.
69122 * benchtests/slowpow.c: New file.
69123
69124 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69125
69126 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
69127 instructions.
69128 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69129 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
69130 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
69131 * benchtests/Makefile: Add rint benchtest.
69132 * benchtests/rint-inputs: Input for rint benchtest.
69133
69134 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
69135
69136 * Versions.def (libm): Add GLIBC_2.18.
69137 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
69138 hidden libm prototypes.
69139 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69140 * math/Makefile (libm-calls): Add s_issignaling.
69141 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69142 __issignalingf, __issignalingl. Adjust all libm.abilist files.
69143 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69144 declaration.
69145 * math/math.h [__USE_GNU] (issignaling): New macro.
69146 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69147 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69148 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69149 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69150 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69151 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69152 * manual/arith.texi (issignaling): New section.
69153 * manual/libm-err-tab.pl (@all_functions): Update comment.
69154 * math/gen-libm-test.pl (parse_args): Apply special handling for
69155 issignaling.
69156 * math/libm-test.inc (print_float, issignaling_test): New
69157 functions.
69158 (check_float_internal): Add issignaling checks.
69159 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69160 default definition.
69161 * sysdeps/powerpc/math-tests.h: New file.
69162 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69163 tests.
69164 * math/test-snan.c (TEST_FUNC): Likewise.
69165
69166 2013-03-30 David S. Miller <davem@davemloft.net>
69167
69168 * po/de.po: Update from translation team.
69169
69170 2013-03-30 Joseph Myers <joseph@codesourcery.com>
69171
69172 [BZ #10357]
69173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69174 imaginary part less than 1.0 and real part less than 0.5
69175 specially.
69176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69178 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69179 (cacos_test): Add more tests.
69180 (casin_test): Likewise.
69181 (casinh_test): Likewise.
69182 * sysdeps/i386/fpu/libm-test-ulps: Update.
69183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69184
69185 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
69186
69187 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69188 ONE with its value.
69189
69190 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69191 (__pow_mp): Replace ONE and MONE with their values.
69192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69194 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69195 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69196 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69198
69199 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69200
69201 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69202 (__pow_mp): Replace ZERO and MZERO with their values.
69203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69208 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69209 (__sqr): Likewise.
69210
69211 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69212
69213 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69214
69215 2013-03-28 Roland McGrath <roland@hack.frob.com>
69216
69217 * include/stdlib.h [!SHARED] (__call_tls_dtors):
69218 Declare with __attribute__ ((weak)).
69219 * stdlib/exit.c (__libc_atexit) [!SHARED]:
69220 Call __call_tls_dtors only if it's not NULL.
69221
69222 2013-03-28 Roland McGrath <roland@hack.frob.com>
69223
69224 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69225 didn't do it already, then set _dl_phdr and _dl_phnum based on the
69226 magic __ehdr_start linker symbol if it's defined.
69227 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69228 them up here if it was already done.
69229
69230 * elf/dl-support.c (_dl_phdr): Make pointer to const.
69231 (_dl_aux_init): Use const in cast when setting it.
69232 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69233 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69234 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69235
69236 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69237 Declare them here.
69238 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69239 * csu/libc-tls.c: Nor here.
69240 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69241
69242 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69243 (__libc_message): Never call vsyslog.
69244
69245 2013-03-28 Alan Modra <amodra@gmail.com>
69246
69247 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69248 Define as empty.
69249 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69250 Likewise.
69251
69252 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69253
69254 [BZ #15214]
69255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69256 underflow.
69257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69258
69259 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69260
69261 [BZ #15304]
69262 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69263 Don't add gid passed as argument.
69264
69265 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69266
69267 2013-03-27 Joseph Myers <joseph@codesourcery.com>
69268
69269 [BZ #15307]
69270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69271 imaginary part between 1.0 and 1.5 and real part less than 0.5
69272 specially.
69273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69275 * math/libm-test.inc (cacos_test): Add more tests.
69276 (casin_test): Likewise.
69277 (casinh_test): Likewise.
69278 * sysdeps/i386/fpu/libm-test-ulps: Update.
69279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69280
69281 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69282
69283 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69284 constants.
69285 (norm): Likewise.
69286 (denorm): Likewise.
69287 (__dbl_mp): Likewise.
69288 (add_magnitudes): Likewise.
69289 (sub_magnitudes): Likewise.
69290 (__add): Likewise.
69291 (__sub): Likewise.
69292 (__mul): Likewise.
69293 (__sqr): Likewise.
69294 (__inv): Likewise.
69295 (__dvd): Likewise.
69296
69297 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69298 commented code.
69299 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69300 (__dubcos): Likewise.
69301 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69302 (__ieee754_acos): Likewise.
69303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69304 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69305 (__exp1): Likewise.
69306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69308 (log1): Likewise.
69309 (my_log2): Likewise.
69310 (checkint): Likewise.
69311 * sysdeps/ieee754/dbl-64/e_remainder.c
69312 (__ieee754_remainder): Likewise.
69313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69315 (bsloww): Likewise.
69316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69317
69318 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69320 MANTISSA_STORE_T to store computations on mantissa. Use
69321 macros for rounding and division.
69322 (denorm): Likewise.
69323 (__dbl_mp): Likewise.
69324 (add_magnitudes): Likewise.
69325 (sub_magnitudes): Likewise.
69326 (__mul): Likewise.
69327 (__sqr): Likewise.
69328 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69329 powers of two in terms of TWOPOW macro.
69330 (mp_no): Make type of mantissa as MANTISSA_T.
69331 [!RADIXI]: Define RADIXI.
69332 [!TWO52]: Define TWO52.
69333 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69334
69335 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69336
69337 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69338 llroundl symbol when building for PPC32.
69339
69340 2013-03-24 Mark H Weaver <mhw@netris.org>
69341
69342 * manual/arith.texi (Normalization Functions): Fix prototypes for
69343 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69344
69345 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69346
69347 [BZ #13889]
69348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69349 high value to check if expl overflow.
69350 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69351 to check for underflow and overflow.
69352 * math/libm-test.inc: Add exp test.
69353
69354 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
69355
69356 [BZ #11120]
69357 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69358 with NOT_IN_libc.
69359
69360 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69361
69362 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69363 symbol.
69364
69365 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
69366
69367 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69368 wrap blocks consisting of several statements.
69369
69370 * sysdeps/generic/math-tests.h: New file.
69371 * sysdeps/i386/fpu/math-tests.h: Likewise.
69372 * math/test-snan.c: Include it.
69373 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69374
69375 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69376
69377 [BZ #15285]
69378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69379 (__ieee754_j0l): Do not improve calculations using cos of twice
69380 input for inputs above LDBL_MAX / 2.0L.
69381 (__ieee754_y0l): Likewise.
69382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69383 (__ieee754_j1l): Do not improve calculations using cos of twice
69384 input for inputs above LDBL_MAX / 2.0L.
69385 (__ieee754_y1l): Likewise.
69386 * math/libm-test.inc (j0_test): Add another test.
69387 (j1_test): Likewise.
69388 (y0_test): Likewise.
69389 (y1_test): Likewise.
69390 * sysdeps/i386/fpu/libm-test-ulps: Update.
69391
69392 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69393
69394 * Rules ($(objpfx)bench-%.c): Include code from a C source
69395 file.
69396
69397 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69398
69399 [BZ #15287]
69400 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69401 imaginary part 1.0 and real part less than 0.5 specially.
69402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69404 * math/libm-test.inc (cacos_test): Add more tests.
69405 (casin_test): Likewise.
69406 (casinh_test): Likewise.
69407 * sysdeps/i386/fpu/libm-test-ulps: Update.
69408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69409
69410 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69411
69412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69413 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69414
69415 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69416
69417 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69418 * config.make.in (config-cflags-sse4): Remove variable.
69419 (config-cflags-avx): Likewise.
69420 (config-cflags-sse2avx): Likewise.
69421 (config-cflags-novzeroupper): Likewise.
69422 (config-asflags-i686): Likewise.
69423 (have-mfma4): Likewise.
69424 (have-as-vis3): Likewise.
69425 (MIG): Likewise.
69426 * configure.in (MIG): Do not AC_SUBST.
69427 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69428 (libc_cv_cc_sse4): Do not AC_SUBST.
69429 (libc_cv_cc_avx): Likewise.
69430 (libc_cv_cc_sse2avx): Likewise.
69431 (libc_cv_cc_novzeroupper): Likewise.
69432 (libc_cv_cc_fma4): Likewise.
69433 (libc_cv_as_i686): Likewise.
69434 (libc_cv_sparc_as_vis3): Likewise.
69435 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69436 LIBC_CONFIG_VAR.
69437 (config-asflags-i686): Likewise.
69438 (config-cflags-avx): Likewise.
69439 (config-cflags-sse2avx): Likewise.
69440 (have-mfma4): Likewise.
69441 (config-cflags-novzeroupper): Likewise.
69442 * sysdeps/mach/configure.in (MIG): Likewise.
69443 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69444 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69445 LIBC_CONFIG_VAR.
69446 (config-cflags-avx): Likewise.
69447 (config-cflags-sse2avx): Likewise.
69448 (have-mfma4): Likewise.
69449 (config-cflags-novzeroupper): Likewise.
69450 * configure: Regenerated.
69451 * sysdeps/i386/configure: Likewise.
69452 * sysdeps/mach/configure: Likewise.
69453 * sysdeps/sparc/configure: Likewise.
69454 * sysdeps/x86_64/configure: Likewise.
69455
69456 2013-03-20 Roland McGrath <roland@hack.frob.com>
69457
69458 [BZ #14812]
69459 * locale/programs/localedef.c (options): Put N_ translation marker
69460 on argument names, not just descriptions.
69461
69462 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69463
69464 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69465
69466 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
69467
69468 [BZ #14176]
69469 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69470
69471 2013-03-19 Roland McGrath <roland@hack.frob.com>
69472
69473 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69474 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69475 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69476 [!BEFORE_ABORT] (before_abort): New function.
69477 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69478 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69479 (writev_for_fatal): New function.
69480 (WRITEV_FOR_FATAL): New macro; call that.
69481 (backtrace_and_maps): New function.
69482 (BEFORE_ABORT): New macro; call that.
69483 (struct str_list): Type removed.
69484 (__libc_message, __libc_fatal): Functions removed.
69485 Include <sysdeps/posix/libc_fatal.c> instead.
69486
69487 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69488
69489 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69490 constants.
69491 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69492 double constants.
69493
69494 2013-03-19 Andreas Schwab <schwab@suse.de>
69495
69496 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69497 * sysdeps/gnu/configure: Regenerate.
69498
69499 * configure.in: Substitute libc_cv_rtlddir.
69500 * configure: Regenerate.
69501 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69502 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69503 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69504 * elf/Makefile (install-others, CFLAGS-interp.c)
69505 (ldso_install, common-ldd-rewrite): Likewise.
69506 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69507 $(inst_slibdir)/$(rtld-installed-name).
69508 * scripts/rellns-sh: Add -p option.
69509 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69510 for source.
69511
69512 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69513
69514 * manual/nptl.texi: Renamed to ...
69515 * manual/threads.texi: ... this.
69516 * manual/Makefile (chapters): Update.
69517
69518 2013-03-18 Roland McGrath <roland@hack.frob.com>
69519
69520 [BZ #14812]
69521 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69522 on argument names, not just descriptions.
69523 * malloc/memusagestat.c (options): Likewise.
69524 * nss/getent.c (options): Likewise.
69525
69526 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69527
69528 [BZ #14812]
69529 * iconv/iconv_prog.c (options): Put N_ translation marker
69530 on argument names, not just descriptions.
69531 * iconv/iconvconfig.c (options): Likewise.
69532
69533 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69534
69535 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69536 implementation which is faster on all x86_64 architectures.
69537 Tested on AMD, Intel Nehalem, SNB, IVB.
69538 * sysdeps/x86_64/strnlen.S: Likewise.
69539
69540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69541 Remove all multiarch strlen and strnlen versions.
69542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69543 Remove strlen and strnlen related parts.
69544
69545 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69546 Inline strlen part.
69547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69548
69549 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69550 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69551 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69552 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69553 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69555
69556 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69557
69558 * manual/memory.texi (Malloc Tunable Parameters):
69559 Sort parameters alphabetically. Add comments for missing entries.
69560
69561 2013-03-17 David S. Miller <davem@davemloft.net>
69562
69563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69564
69565 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69566
69567 [BZ #15283]
69568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69569 for arguments at most half maximum finite value.
69570 * math/libm-test.inc (j0_test): Add more tests.
69571 (j1_test): Likewise.
69572 (y0_test): Likewise.
69573 (y1_test): Likewise.
69574 * sysdeps/i386/fpu/libm-test-ulps: Update.
69575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69576
69577 [BZ #14155]
69578 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69579 1 / x and functions P and Q for arguments above 0x1p256L.
69580 (__ieee754_y0l): Likewise.
69581 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69582 (__ieee754_y1l): Likewise.
69583 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69584 (j1_test): Likewise.
69585 (y0_test): Likewise.
69586 (y1_test): Likewise.
69587
69588 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69589
69590 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69591 variable.
69592
69593 2013-03-15 Roland McGrath <roland@hack.frob.com>
69594
69595 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69596 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69597 zero since it's initialized to EXEC_PAGESIZE.
69598
69599 * sysdeps/unix/sysv/linux/ldsodefs.h
69600 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69601 * sysdeps/generic/ldsodefs.h: ... here.
69602
69603 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69604
69605 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69606
69607 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69608 math/test-snan.c.
69609 * math/test-snan.c: Renamed from
69610 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69611 * math/Makefile (tests): Add test-snan.
69612 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69613 test-powerpc-snan.
69614
69615 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69616 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69617 functions.
69618 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69619 __builtin_nan family of functions.
69620 * math/libm-test.inc (initialize): Initialize qnan_value with
69621 __builtin_nan family of functions.
69622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69623 Remove variables.
69624 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69625 Remove functions.
69626 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69627 storage class. Initialize qNaN_var and sNaN_var with
69628 __builtin_nan and __builtin_nans families of functions,
69629 respectively.
69630
69631 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69632 (sqrt_test): Remove duplicate test with qNaN input.
69633 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69634 (round_test, signbit_test, significand_test): Note missing +/-Inf
69635 as well as qNaN tests.
69636
69637 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69638 qNaN_var. Fix a few strings, too.
69639 * math/libm-test.inc (nan_value): Rename to qnan_value.
69640 * math/gen-libm-test.pl (%beautify): Adjust to that.
69641 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69642 * math/test-misc.c (main): Likewise.
69643 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69644 to __qnan_bytes, and __qnan_union, respectively.
69645 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69646 Likewise.
69647 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69648 and lqnanval, respectively.
69649 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69650 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69652 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69653
69654 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69655 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69656 doubles.
69657
69658 * math/test-misc.c (main): Fix copy'n'pastos.
69659 * misc/tst-efgcvt.c (special): Likewise.
69660
69661 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69662 Remove declarations.
69663
69664 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69665
69666 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69667 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69668 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69670
69671 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69672
69673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69674 macro to return vdso values correctly in IFUNC implementations.
69675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69676 Optimization by using IFUNC.
69677
69678 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69679 Richard Henderson <rth@redhat.com>
69680 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69681
69682 * Makefile.in (bench): New target.
69683 * NEWS: Mention the benchmark framework.
69684 * Rules (bench): Likewise.
69685 (binaries-bench): Generate binaries for functions to
69686 benchmark.
69687 * benchtests/Makefile: New makefile for benchmark tests.
69688 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69689 programs.
69690 * benchtests/exp-inputs: New input file for EXP function.
69691 * benchtests/pow-inputs: New input file for POW function.
69692 * scripts/bench.pl: New script to generate source files for
69693 benchmark programs.
69694
69695 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69696
69697 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69699 computations on mantissa. Use macros for rounding and
69700 division.
69701 (denorm): Likewise.
69702 (__dbl_mp): Likewise.
69703 (add_magnitudes): Likewise.
69704 (sub_magnitudes): Likewise.
69705 (__mul): Likewise.
69706 (__sqr): Likewise.
69707 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69708 powers of two in terms of TWOPOW macro.
69709 (mp_no): Make type of mantissa as MANTISSA_T.
69710 [!RADIXI]: Define RADIXI.
69711 [!TWO52]: Define TWO52.
69712 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69713
69714 * manual/nptl.texi (cindex): Modify threads to pthreads.
69715
69716 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69717
69718 * sysdeps/x86_64/preconfigure: Regenerated.
69719
69720 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69721
69722 [BZ #14155]
69723 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69724 0x1p28 and above.
69725 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69726 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69727 0x1p28 and above.
69728 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69729 * math/libm-test.inc (j0_test): Do not allow one spurious
69730 underflow exception.
69731 (y1_test): Likewise.
69732
69733 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69734
69735 * manual/Makefile (chapters): Add nptl.
69736 * manual/debug.texi (Debugging Support): Add link to Threads
69737 chapter.
69738 * manual/nptl.texi: New file.
69739
69740 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69741
69742 2013-03-14 Petr Baudis <pasky@ucw.cz>
69743
69744 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69745 for non-NULL pointer before the memory validity test. Pointed
69746 out by Holger Brunck <holger.brunck@keymile.com>.
69747
69748 2013-03-13 Andreas Schwab <schwab@suse.de>
69749
69750 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69751 instead of .os.
69752
69753 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69754
69755 * timezone/zic.c: Update from tzcode 2013b.
69756
69757 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69758
69759 * manual/install.texi (Configuring and compiling):
69760 Mention i686 and i586.
69761 * INSTALL: Regenerate.
69762
69763 2013-03-12 Roland McGrath <roland@hack.frob.com>
69764
69765 * sysdeps/init_array/elf-init.c: New file.
69766 * csu/elf-init.c
69767 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69768 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69769
69770 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69771 __gmon_start__ as global, but as static with a .preinit_array pointer.
69772 * sysdeps/init_array/gmon-start.c: New file. Use that.
69773 * sysdeps/init_array/crti.S: New file, empty except for comments.
69774 * sysdeps/init_array/crtn.S: Likewise.
69775
69776 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
69777
69778 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69779 definining bcopy.
69780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69781 Remove Prefer_SSE_for_memop.
69782 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69783 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69784 HAS_PREFER_SSE_FOR_MEMOP.
69785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69786 memset-x86-64.
69787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69788 Remove bzero, memset ifunc support.
69789 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69790 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69791 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69792 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69793
69794 2013-03-11 Andreas Schwab <schwab@suse.de>
69795
69796 [BZ #15234]
69797 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69798 by SHLIB_COMPAT.
69799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69800 (GLIBC_2.16): Remove pthread_atfork.
69801
69802 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69803
69804 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69805 (ptestcases.h): Likewise.
69806
69807 2013-03-08 Roland McGrath <roland@hack.frob.com>
69808
69809 * Makeconfig ($(common-objpfx)config.status): Depend on
69810 sysdeps/*/preconfigure{,.in} too.
69811
69812 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69813
69814 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69815 (__free_hook): Use void * instead of __malloc_ptr_t.
69816 (__malloc_hook): Likewise.
69817 (__realloc_hook): Likewise.
69818 (__memalign_hook): Likewise.
69819 (__after_morecore_hook): Likewise.
69820 * malloc/arena.c (save_malloc_hook): Likewise.
69821 (save_free_hook): Likewise.
69822 * malloc/hooks.c (malloc_hook_ini): Likewise.
69823 (realloc_hook_ini): Likewise.
69824 (memalign_hook_ini): Likewise.
69825 * malloc/malloc.c (malloc_hook_ini): Likewise.
69826 (realloc_hook_ini): Likewise.
69827 (memalign_hook_ini): Likewise.
69828 (__free_hook): Likewise.
69829 (__malloc_hook): Likewise.
69830 (__realloc_hook): Likewise.
69831 (__memalign_hook): Likewise.
69832 (__libc_malloc): Likewise.
69833 (__libc_free): Likewise.
69834 (__libc_realloc): Likewise.
69835 (__libc_memalign): Likewise.
69836 (__libc_valloc): Likewise.
69837 (__libc_pvalloc): Likewise.
69838 (__libc_calloc): Likewise.
69839 (__posix_memalign): Likewise.
69840 * malloc/morecore.c (__sbrk): Likewise.
69841 (__default_morecore): Likewise.
69842
69843 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69844
69845 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69846 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69847 __malloc_ptrdiff_t.
69848
69849 * malloc/malloc.h (__malloc_size_t): Remove macro.
69850 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69851 __malloc_size_t.
69852 (old_memalign_hook): Likewise.
69853 (old_realloc_hook): Likewise.
69854 (struct hdr): Likewise.
69855 (flood): Likewise.
69856 (mallochook): Likewise.
69857 (memalignhook): Likewise.
69858 (reallochook): Likewise.
69859 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69860 (tr_old_realloc_hook): Likewise.
69861 (tr_old_memalign_hook): Likewise.
69862 (tr_mallochook): Likewise.
69863 (tr_reallochook): Likewise.
69864 (tr_memalignhook): Likewise.
69865
69866 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69867
69868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69869 default_ldbl_pack and using as default implementation.
69870 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69871 implementation.
69872 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69873 redundant definition.
69874 (ldbl_insert_mantissa): Likewise.
69875 (ldbl_canonicalize): Likewise.
69876 (ldbl_nearbyint): Likewise.
69877 (ldbl_pack): Rename to ldbl_pack_ppc.
69878 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69879 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69880 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69881
69882 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69883
69884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69885 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69887 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69890 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69891 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69892
69893 2013-03-07 Andreas Jaeger <aj@suse.de>
69894
69895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69896 bits/mman-linux.h.
69897
69898 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69899
69900 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69901 Include mpa.h and declare __MPEXP.
69902 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69904 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69905 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69907 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69909
69910 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69911 (__slowpow): Use long double EXPL and LOGL functions to
69912 compute POW.
69913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69914 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69917 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69919
69920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69921 intermediate variable to calculate exponent.
69922 (__sqr): Likewise.
69923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69924 Likewise.
69925 (__sqr): Likewise.
69926
69927 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69928 [!NO__SQR]: Define __sqr.
69929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69930 and NO__SQR. Remove all code except __mul and __sqr. Include
69931 sysdeps/ieee754/dbl-64/mpa.c.
69932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69933
69934 [BZ #12723]
69935 * posix/Makefile (tests): Add tst-pathconf.
69936 * posix/tst-pathconf.c: New test case.
69937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69938 _PC_PIPE_BUF.
69939 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69940
69941 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69942
69943 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69944
69945 2013-03-06 Andreas Jaeger <aj@suse.de>
69946
69947 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69948 definition via __MAP_ANONYMOUS.
69949
69950 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69951 it's not part of Linux headers.
69952
69953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69954 (MAP_HUGE_MASK): Define.
69955
69956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69957 Define.
69958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69960 Define.
69961 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69962 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69963 Define.
69964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69966 Define.
69967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69968
69969 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69970 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69971 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69972 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69973 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69975
69976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69977 Handle f2fs.
69978
69979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69980 Handle f2fs and efivarfs.
69981
69982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69983 f2fs.
69984
69985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69986 (EFIVARFS_MAGIC): Add.
69987 (F2FS_LINK_MAX): Add.
69988
69989 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69990
69991 * stdio-common/vfprintf.c: Replace __builtin_expect with
69992 __glibc_unlikely.
69993
69994 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69995
69996 [BZ #13550]
69997 * sysdeps/generic/bp-sym.h: Remove file.
69998 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
70000 <bp-sym.h> and <bp-asm.h>.
70001 (__longjmp): Don't use BP_SYM.
70002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
70003 and <bp-asm.h>.
70004 (memcpy): Don't use BP_SYM.
70005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
70006 <bp-sym.h> and <bp-asm.h>.
70007 (memcpy): Don't use BP_SYM.
70008 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
70009 <bp-asm.h>.
70010 (memcpy): Don't use BP_SYM.
70011 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
70012 <bp-asm.h>.
70013 (memset): Don't use BP_SYM.
70014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70016 (__bzero): Don't use BP_SYM.
70017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
70020 <bp-sym.h> and <bp-asm.h>.
70021 (memcmp): Don't use BP_SYM. Remove comment about bounded
70022 pointers.
70023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
70024 <bp-sym.h> and <bp-asm.h>.
70025 (memcpy): Don't use BP_SYM.
70026 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
70027 <bp-sym.h> and <bp-asm.h>.
70028 (memset): Don't use BP_SYM.
70029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70031 (__bzero): Don't use BP_SYM.
70032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70034 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
70035 <bp-sym.h> and <bp-asm.h>.
70036 (strncmp): Don't use BP_SYM. Remove comment about bounded
70037 pointers.
70038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
70039 <bp-sym.h> and <bp-asm.h>.
70040 (memcpy): Don't use BP_SYM.
70041 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
70042 <bp-sym.h> and <bp-asm.h>.
70043 (memset): Don't use BP_SYM.
70044 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70045 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70046 (__bzero): Don't use BP_SYM.
70047 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70048 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
70050 <bp-sym.h> and <bp-asm.h>.
70051 (__memchr): Don't use BP_SYM.
70052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
70053 <bp-sym.h> and <bp-asm.h>.
70054 (memcmp): Don't use BP_SYM. Remove comment about bounded
70055 pointers.
70056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
70057 <bp-sym.h> and <bp-asm.h>.
70058 (memcpy): Don't use BP_SYM.
70059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
70060 <bp-sym.h> and <bp-asm.h>.
70061 (__mempcpy): Don't use BP_SYM.
70062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
70063 <bp-sym.h> and <bp-asm.h>.
70064 (__memrchr): Don't use BP_SYM.
70065 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
70066 <bp-sym.h> and <bp-asm.h>.
70067 (memset): Don't use BP_SYM.
70068 (__bzero): Likewise.
70069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
70070 <bp-sym.h> and <bp-asm.h>.
70071 (__rawmemchr): Don't use BP_SYM.
70072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
70073 <bp-sym.h> and <bp-asm.h>.
70074 (__STRCMP): Don't use BP_SYM.
70075 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
70076 <bp-sym.h> and <bp-asm.h>.
70077 (strchr): Don't use BP_SYM.
70078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
70079 <bp-sym.h> and <bp-asm.h>.
70080 (__strchrnul): Don't use BP_SYM.
70081 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
70082 <bp-sym.h> and <bp-asm.h>.
70083 (strlen): Don't use BP_SYM.
70084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
70085 <bp-sym.h> and <bp-asm.h>.
70086 (strncmp): Don't use BP_SYM. Remove comment about bounded
70087 pointers.
70088 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
70089 <bp-sym.h> and <bp-asm.h>.
70090 (__strnlen): Don't use BP_SYM.
70091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
70092 <bp-sym.h> and <bp-asm.h>.
70093 (__GI__setjmp): Don't use BP_SYM.
70094 (_setjmp): Likewise.
70095 (__sigsetjmp): Likewise.
70096 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
70097 (L(start_addresses)): Don't use BP_SYM.
70098 (_start): Likewise.
70099 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
70100 <bp-asm.h>.
70101 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
70102 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
70103 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70104 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70105 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
70106 <bp-asm.h>.
70107 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
70108 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
70109 about bounded pointers.
70110 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70111 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70112 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
70113 <bp-asm.h>.
70114 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
70115 about bounded pointers. Remove GKM FIXME comments.
70116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70117 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
70118 <bp-asm.h>.
70119 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
70120 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
70121 Remove GKM FIXME comments.
70122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70124 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
70125 <bp-asm.h>.
70126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
70127 about bounded pointers. Remove GKM FIXME comment.
70128 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
70129 and <bp-asm.h>.
70130 (strncmp): Don't use BP_SYM. Remove comment about bounded
70131 pointers.
70132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
70133 <bp-sym.h> and <bp-asm.h>.
70134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
70136 <bp-sym.h> and <bp-asm.h>.
70137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70138 comment.
70139
70140 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70141
70142 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70143 call free(NULL).
70144
70145 2013-03-05 David S. Miller <davem@davemloft.net>
70146
70147 * po/es.po: Update from translation team.
70148
70149 2013-03-05 Andreas Jaeger <aj@suse.de>
70150
70151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70152 <bits/mman-linux.h>.
70153 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70154 is fine.
70155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70156 <bits/mman-linux.h> to end of file.
70157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70158 is fine.
70159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70160 <bits/mman-linux.h> to end of file.
70161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70162 is fine.
70163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70164 <bits/mman-linux.h> to end of file.
70165
70166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70167 (MCL_CURRENT, MCL_FUTURE): Define here.
70168
70169 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70170
70171 [BZ #15232]
70172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70173 attribute_hidden.
70174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70175
70176 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70177
70178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70179 fourth parameter needed for rt_sigprocmask syscall.
70180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70181 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70184 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70185 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70186
70187 2013-03-04 Joseph Myers <joseph@codesourcery.com>
70188
70189 [BZ #13550]
70190 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70191 comment about bounded pointers.
70192 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70193 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70194
70195 2013-03-04 Andreas Jaeger <aj@suse.de>
70196
70197 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70198 common definitions.
70199
70200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70201 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70206
70207 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70208
70209 [BZ #15055]
70210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70211 __ieee754_sqrl instead of __sqrl.
70212
70213 2013-03-01 Joseph Myers <joseph@codesourcery.com>
70214
70215 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70216 * sysdeps/powerpc/fpu_control.h: ... here.
70217 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70218 * sysdeps/powerpc/bits/fenvinline.h: ... here.
70219 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70220 * sysdeps/powerpc/bits/mathinline.h: ... here.
70221
70222 2013-03-01 Roland McGrath <roland@hack.frob.com>
70223
70224 * elf/dl-hwcaps.c (_dl_important_hwcaps):
70225 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70226 to just [NEED_DL_SYSINFO_DSO].
70227 * elf/dl-support.c: Likewise.
70228 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70229 * elf/rtld.c (dl_main): Likewise.
70230 * elf/setup-vdso.h (setup_vdso): Likewise.
70231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70232 * sysdeps/unix/sysv/linux/dl-sysdep.c
70233 (_dl_discover_osversion): Likewise.
70234
70235 2013-03-01 Carlos O'Donell <carlos@redhat.com>
70236
70237 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70238 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70239
70240 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
70241
70242 * NEWS: Mention libm performance improvements and non-x86 PI
70243 futex support.
70244
70245 * csu/libc-start.c (__pthread_initialize_minimal): Change
70246 function arguments.
70247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70248
70249 2013-02-28 Joseph Myers <joseph@codesourcery.com>
70250
70251 [BZ #13550]
70252 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70254 <bp-sym.h> and <bp-asm.h>.
70255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70257 and <bp-asm.h>.
70258 (memcpy): Don't use BP_SYM.
70259 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70260 <bp-asm.h>.
70261 (__mpn_add_n): Don't use BP_SYM.
70262 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70263 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70264 and <bp-asm.h>.
70265 (__mpn_addmul_1): Don't use BP_SYM.
70266 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70267 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70268 <bp-sym.h>.
70269 (_setjmp): Don't use BP_SYM.
70270 (__novmx_setjmp): Likewise.
70271 (__GI__setjmp): Likewise.
70272 (__vmx_setjmp): Likewise.
70273 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70274 <bp-sym.h>.
70275 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70276 (__bzero): Don't use BP_SYM.
70277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70279 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70280 <bp-sym.h> and <bp-asm.h>.
70281 (memcpy): Don't use BP_SYM.
70282 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70283 <bp-sym.h> and <bp-asm.h>.
70284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70286 <bp-sym.h> and <bp-asm.h>.
70287 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70288 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70289 <bp-asm.h>.
70290 (__mpn_lshift): Don't use BP_SYM.
70291 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70292 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70293 <bp-asm.h>.
70294 (memset): Don't use BP_SYM.
70295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70297 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70298 <bp-asm.h>.
70299 (__mpn_mul_1): Don't use BP_SYM.
70300 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70302 <bp-sym.h> and <bp-asm.h>.
70303 (memcmp): Don't use BP_SYM.
70304 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70305 <bp-sym.h> and <bp-asm.h>.
70306 (memcpy): Don't use BP_SYM.
70307 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70308 <bp-sym.h> and <bp-asm.h>.
70309 (memset): Don't use BP_SYM.
70310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70311 <bp-sym.h> and <bp-asm.h>.
70312 (strncmp): Don't use BP_SYM.
70313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70314 <bp-sym.h> and <bp-asm.h>.
70315 (memcpy): Don't use BP_SYM.
70316 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70317 <bp-sym.h> and <bp-asm.h>.
70318 (memset): Don't use BP_SYM.
70319 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70320 <bp-sym.h> and <bp-asm.h>.
70321 (__memchr): Don't use BP_SYM.
70322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70323 <bp-sym.h> and <bp-asm.h>.
70324 (memcmp): Don't use BP_SYM.
70325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70326 <bp-sym.h> and <bp-asm.h>.
70327 (memcpy): Don't use BP_SYM.
70328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70329 <bp-sym.h> and <bp-asm.h>.
70330 (__mempcpy): Don't use BP_SYM.
70331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70332 <bp-sym.h> and <bp-asm.h>.
70333 (__memrchr): Don't use BP_SYM.
70334 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70335 <bp-sym.h> and <bp-asm.h>.
70336 (memset): Don't use BP_SYM.
70337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70338 <bp-sym.h> and <bp-asm.h>.
70339 (__rawmemchr): Don't use BP_SYM.
70340 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70341 <bp-sym.h> and <bp-asm.h>.
70342 (__STRCMP): Don't use BP_SYM.
70343 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70344 <bp-sym.h> and <bp-asm.h>.
70345 (strchr): Don't use BP_SYM.
70346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70347 <bp-sym.h> and <bp-asm.h>.
70348 (__strchrnul): Don't use BP_SYM.
70349 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70350 <bp-sym.h> and <bp-asm.h>.
70351 (strlen): Don't use BP_SYM.
70352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70353 <bp-sym.h> and <bp-asm.h>.
70354 (strncmp): Don't use BP_SYM.
70355 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70356 <bp-sym.h> and <bp-asm.h>.
70357 (__strnlen): Don't use BP_SYM.
70358 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70359 <bp-asm.h>.
70360 (__mpn_rshift): Don't use BP_SYM.
70361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70362 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70363 <bp-sym.h> and <bp-asm.h>.
70364 (__sigsetjmp): Don't use BP_SYM.
70365 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70366 (L(start_addresses)): Don't use BP_SYM.
70367 (_start): Likewise.
70368 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70369 <bp-asm.h>.
70370 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70371 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70372 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70373 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70374 <bp-asm.h>.
70375 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70376 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70377 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70378 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70379 <bp-asm.h>.
70380 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70381 comments.
70382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70383 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70384 <bp-asm.h>.
70385 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70386 FIXME comments.
70387 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70388 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70389 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70390 <bp-asm.h>.
70391 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70392 comment.
70393 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70394 and <bp-asm.h>.
70395 (strncmp): Don't use BP_SYM,
70396 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70397 <bp-asm.h>.
70398 (__mpn_sub_n): Don't use BP_SYM.
70399 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70400 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70401 and <bp-asm.h>.
70402 (__mpn_submul_1): Don't use BP_SYM.
70403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70405 <bp-sym.h> and <bp-asm.h>.
70406 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70408 <bp-sym.h> and <bp-asm.h>.
70409 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70410 comment.
70411
70412 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70413
70414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70415 Use ZK to minimize writes to Z.
70416 (sub_magnitudes): Simplify code a bit.
70417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70418 Use ZK to minimize writes to Z.
70419 (sub_magnitudes): Simplify code a bit.
70420
70421 2013-02-27 Roland McGrath <roland@hack.frob.com>
70422
70423 * csu/gmon-start.c: Add special exception to license text.
70424
70425 2013-02-27 Richard Henderson <rth@redhat.com>
70426
70427 * scripts/config.guess: Update from config.git.
70428 * scripts/config.sub: Likewise.
70429
70430 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70431
70432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70433
70434 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70435
70436 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70437
70438 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70439
70440 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70441
70442 2013-02-26 Roland McGrath <roland@hack.frob.com>
70443
70444 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70445 [$(build-shared = yes].
70446
70447 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70448
70449 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70450 (__mul): Reduce iterations for calculating mantissa.
70451
70452 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70453 MPTWO.
70454 (__mpranred): Likewise.
70455
70456 [BZ #15160]
70457 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70458 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70459
70460 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70461
70462 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70463 Define __attribute__.
70464
70465 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70466
70467 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70468 unused.
70469 * posix/regex_internal.h (__attribute): Remove.
70470 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70471 (re_string_context_at): Likewise.
70472 (bitset_not): Use __attribute__ and mark function as possibly
70473 unused.
70474 (bitset_merge): Likewise.
70475 (bitset_mask): Likewise.
70476 (re_string_char_size_at): Likewise.
70477 (re_string_wchar_at): Likewise.
70478 (re_string_elem_size_at): Likewise.
70479
70480 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70481
70482 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70483 code.
70484 (cc32): Likewise.
70485
70486 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70487 (__acr): Likewise.
70488 (__cpy): Likewise.
70489 (norm): Likewise.
70490 (denorm): Likewise.
70491 (__dbl_mp): Likewise.
70492 (add_magnitudes): Likewise.
70493 (sub_magnitudes): Likewise.
70494 (__mul): Likewise.
70495 (__inv): Likewise.
70496
70497 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70498 style.
70499
70500 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70501 style.
70502
70503 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70504 code.
70505
70506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70507 up changes with default code.
70508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70509 Likewise.
70510
70511 2013-02-24 Allan McRae <allan@archlinux.org>
70512
70513 * manual/socket.texi (The Internet Namespace): Order menu items
70514 to match that in the file.
70515
70516 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70517 node listing of the info page menu.
70518
70519 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70520
70521 [BZ #13550]
70522 * sysdeps/i386/bp-asm.h: Remove file.
70523 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70524 (PARMS): Do not use macros from bp-asm.h.
70525 (S1): Likewise.
70526 (S2): Likewise.
70527 (SIZE): Likewise.
70528 (__mpn_add_n): Do not use BP_SYM
70529 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70530 "bp-asm.h".
70531 (PARMS): Do not use macros from bp-asm.h.
70532 (S1): Likewise.
70533 (SIZE): Likewise.
70534 (__mpn_addmul_1): Do not use BP_SYM
70535 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70536 "bp-asm.h".
70537 (PARMS): Do not use macros from bp-asm.h.
70538 (SIGMSK): Likewise.
70539 (_setjmp): Likewise. Do not use BP_SYM.
70540 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70541 "bp-asm.h".
70542 (PARMS): Do not use macros from bp-asm.h.
70543 (SIGMSK): Likewise.
70544 (setjmp): Likewise. Do not use BP_SYM.
70545 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70546 "bp-asm.h".
70547 (PARMS): Do not use macros from bp-asm.h.
70548 (__frexp): Do not use BP_SYM.
70549 (frexp): Likewise.
70550 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70551 "bp-asm.h".
70552 (PARMS): Do not use macros from bp-asm.h.
70553 (__frexpf): Do not use BP_SYM.
70554 (frexpf): Likewise.
70555 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70556 "bp-asm.h".
70557 (PARMS): Do not use macros from bp-asm.h.
70558 (__frexpl): Do not use BP_SYM.
70559 (frexpl): Likewise.
70560 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70561 "bp-asm.h".
70562 (PARMS): Do not use macros from bp-asm.h.
70563 (__remquo): Do not use BP_SYM.
70564 (remquo): Likewise.
70565 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70566 "bp-asm.h".
70567 (PARMS): Do not use macros from bp-asm.h.
70568 (__remquof): Do not use BP_SYM.
70569 (remquof): Likewise.
70570 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70571 "bp-asm.h".
70572 (PARMS): Do not use macros from bp-asm.h.
70573 (__remquol): Do not use BP_SYM.
70574 (remquol): Likewise.
70575 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70576 "bp-asm.h".
70577 (PARMS): Do not use macros from bp-asm.h.
70578 (DEST): Likewise.
70579 (SRC): Likewise.
70580 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70581 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70582 "bp-asm.h".
70583 (PARMS): Do not use macros from bp-asm.h.
70584 (strlen): Do not use BP_SYM.
70585 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70586 "bp-asm.h".
70587 (PARMS): Do not use macros from bp-asm.h.
70588 (S1): Likewise.
70589 (S2): Likewise.
70590 (SIZE): Likewise.
70591 (__mpn_add_n): Do not use BP_SYM.
70592 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70593 "bp-asm.h".
70594 (PARMS): Do not use macros from bp-asm.h.
70595 (S1): Likewise.
70596 (SIZE): Likewise.
70597 (__mpn_addmul_1): Do not use BP_SYM.
70598 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70599 weak_alias.
70600 (bzero): Likewise.
70601 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70602 "bp-asm.h".
70603 (PARMS): Do not use macros from bp-asm.h.
70604 (S): Likewise.
70605 (SIZE): Likewise.
70606 (__mpn_lshift): Do not use BP_SYM.
70607 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70608 "bp-asm.h".
70609 (PARMS): Do not use macros from bp-asm.h.
70610 (DEST): Likewise.
70611 (SRC): Likewise.
70612 (LEN): Likewise.
70613 (memcpy): Likewise. Do not use BP_SYM.
70614 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70615 libc_hidden_def and weak_alias.
70616 (mempcpy): Do not use BP_SYM in weak_alias.
70617 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70618 "bp-asm.h".
70619 (PARMS): Do not use macros from bp-asm.h.
70620 (DEST): Likewise.
70621 (LEN): Likewise.
70622 [!BZERO_P] (CHR): Likewise.
70623 (memset): Likewise. Do not use BP_SYM.
70624 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70625 "bp-asm.h".
70626 (PARMS): Do not use macros from bp-asm.h.
70627 (S1): Likewise.
70628 (SIZE): Likewise.
70629 (__mpn_mul_1): Do not use BP_SYM.
70630 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70631 "bp-asm.h".
70632 (PARMS): Do not use macros from bp-asm.h.
70633 (S): Likewise.
70634 (SIZE): Likewise.
70635 (__mpn_rshift): Do not use BP_SYM.
70636 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70637 "bp-asm.h".
70638 (PARMS): Do not use macros from bp-asm.h.
70639 (STR): Likewise.
70640 (CHR): Likewise.
70641 (strchr): Likewise. Do not use BP_SYM.
70642 (index): Do not use BP_SYM in weak_alias.
70643 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70644 "bp-asm.h".
70645 (PARMS): Do not use macros from bp-asm.h.
70646 (DEST): Likewise.
70647 (SRC): Likewise.
70648 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70649 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70650 "bp-asm.h".
70651 (PARMS): Do not use macros from bp-asm.h.
70652 (strlen): Do not use BP_SYM.
70653 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70654 "bp-asm.h".
70655 (PARMS): Do not use macros from bp-asm.h.
70656 (S1): Likewise.
70657 (S2): Likewise.
70658 (SIZE): Likewise.
70659 (__mpn_sub_n): Do not use BP_SYM.
70660 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70661 "bp-asm.h".
70662 (PARMS): Do not use macros from bp-asm.h.
70663 (S1): Likewise.
70664 (SIZE): Likewise.
70665 (__mpn_submul_1): Do not use BP_SYM.
70666 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70667 "bp-asm.h".
70668 (PARMS): Do not use macros from bp-asm.h.
70669 (S1): Likewise.
70670 (S2): Likewise.
70671 (SIZE): Likewise.
70672 (__mpn_add_n): Do not use BP_SYM.
70673 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70674 weak_alias.
70675 (bzero): Likewise.
70676 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70677 "bp-asm.h".
70678 (PARMS): Do not use macros from bp-asm.h.
70679 (BLK2): Likewise.
70680 (LEN): Likewise.
70681 (memcmp): Do not use BP_SYM.
70682 (bcmp): Do not use BP_SYM in weak_alias.
70683 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70684 "bp-asm.h".
70685 (PARMS): Do not use macros from bp-asm.h.
70686 (DEST): Likewise.
70687 (SRC): Likewise.
70688 (LEN): Likewise.
70689 (memcpy): Likewise. Do not use BP_SYM.
70690 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70691 "bp-asm.h".
70692 (PARMS): Do not use macros from bp-asm.h.
70693 (DEST): Likewise.
70694 (SRC): Likewise.
70695 (LEN): Likewise.
70696 (memmove): Likewise. Do not use BP_SYM.
70697 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70698 "bp-asm.h".
70699 (PARMS): Do not use macros from bp-asm.h.
70700 (DEST): Likewise.
70701 (SRC): Likewise.
70702 (LEN): Likewise.
70703 (__mempcpy): Likewise. Do not use BP_SYM.
70704 (mempcpy): Do not use BP_SYM in weak_alias.
70705 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70706 "bp-asm.h".
70707 (PARMS): Do not use macros from bp-asm.h.
70708 (DEST): Likewise.
70709 (LEN): Likewise.
70710 [!BZERO_P] (CHR): Likewise.
70711 (memset): Likewise. Do not use BP_SYM.
70712 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70713 "bp-asm.h".
70714 (PARMS): Do not use macros from bp-asm.h.
70715 (STR2): Likewise.
70716 (strcmp): Do not use BP_SYM.
70717 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70718 "bp-asm.h".
70719 (PARMS): Do not use macros from bp-asm.h.
70720 (STR): Likewise.
70721 (DELIM): Likewise.
70722 [USE_AS_STRTOK_R] (SAVE): Likewise.
70723 (FUNCTION): Likewise. Do not use BP_SYM.
70724 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70725 aliases.
70726 (strtok_r): Likewise.
70727 (__GI___strtok_r): Likewise.
70728 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70729 (PARMS): Do not use macros from bp-asm.h.
70730 (S): Likewise.
70731 (SIZE): Likewise.
70732 (__mpn_lshift): Do not use BP_SYM.
70733 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70734 (PARMS): Do not use macros from bp-asm.h.
70735 (STR): Likewise.
70736 (CHR): Likewise.
70737 (__memchr): Do not use BP_SYM.
70738 (memchr): Do not use BP_SYM in weak_alias.
70739 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70740 (PARMS): Do not use macros from bp-asm.h.
70741 (BLK2): Likewise.
70742 (LEN): Likewise.
70743 (memcmp): Do not use BP_SYM.
70744 (bcmp): Do not use BP_SYM in weak_alias.
70745 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70746 (PARMS): Do not use macros from bp-asm.h.
70747 (S1): Likewise.
70748 (SIZE): Likewise.
70749 (__mpn_mul_1): Do not use BP_SYM.
70750 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70751 "bp-asm.h".
70752 (PARMS): Do not use macros from bp-asm.h.
70753 (STR): Likewise.
70754 (CHR): Likewise.
70755 (__rawmemchr): Do not use BP_SYM.
70756 (rawmemchr): Do not use BP_SYM in weak_alias.
70757 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70758 (PARMS): Do not use macros from bp-asm.h.
70759 (S): Likewise.
70760 (SIZE): Likewise.
70761 (__mpn_rshift): Do not use BP_SYM.
70762 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70763 (PARMS): Do not use macros from bp-asm.h.
70764 (SIGMSK): Likewise.
70765 (__sigsetjmp): Likewise. Do not use BP_SYM.
70766 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70767 (_start): Do not use BP_SYM.
70768 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70769 (PARMS): Do not use macros from bp-asm.h.
70770 (DEST): Likewise.
70771 (SRC): Likewise.
70772 (__stpcpy): Likewise. Do not use BP_SYM.
70773 (stpcpy): Do not use BP_SYM in weak_alias.
70774 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70775 "bp-asm.h".
70776 (PARMS): Do not use macros from bp-asm.h.
70777 (DEST): Likewise.
70778 (SRC): Likewise.
70779 (LEN): Likewise.
70780 (__stpncpy): Likewise. Do not use BP_SYM.
70781 (stpncpy): Do not use BP_SYM in weak_alias.
70782 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70783 (PARMS): Do not use macros from bp-asm.h.
70784 (STR): Likewise.
70785 (CHR): Likewise.
70786 (strchr): Likewise. Do not use BP_SYM.
70787 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70788 "bp-asm.h".
70789 (PARMS): Do not use macros from bp-asm.h.
70790 (STR): Likewise.
70791 (CHR): Likewise.
70792 (__strchrnul): Likewise. Do not use BP_SYM.
70793 (strchrnul): Do not use BP_SYM in weak_alias.
70794 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70795 "bp-asm.h".
70796 (PARMS): Do not use macros from bp-asm.h.
70797 (STOP): Likewise.
70798 (strcspn): Do not use BP_SYM.
70799 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70800 "bp-asm.h".
70801 (PARMS): Do not use macros from bp-asm.h.
70802 (STR): Likewise.
70803 (STOP): Likewise.
70804 (strpbrk): Likewise. Do not use BP_SYM.
70805 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70806 "bp-asm.h".
70807 (PARMS): Do not use macros from bp-asm.h.
70808 (STR): Likewise.
70809 (CHR): Likewise.
70810 (strrchr): Likewise. Do not use BP_SYM.
70811 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70812 (PARMS): Do not use macros from bp-asm.h.
70813 (SKIP): Likewise.
70814 (strspn): Do not use BP_SYM.
70815 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70816 (PARMS): Do not use macros from bp-asm.h.
70817 (STR): Likewise.
70818 (DELIM): Likewise.
70819 (SAVE): Likewise.
70820 (FUNCTION): Likewise. Do not use BP_SYM.
70821 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70822 aliases.
70823 (strtok_r): Likewise.
70824 (__GI___strtok_r): Likewise.
70825 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70826 (PARMS): Do not use macros from bp-asm.h.
70827 (S1): Likewise.
70828 (S2): Likewise.
70829 (SIZE): Likewise.
70830 (__mpn_sub_n): Do not use BP_SYM.
70831 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70832 "bp-asm.h".
70833 (PARMS): Do not use macros from bp-asm.h.
70834 (S1): Likewise.
70835 (SIZE): Likewise.
70836 (__mpn_submul_1): Do not use BP_SYM.
70837 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70838 <bp-sym.h>.
70839 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70840 and <bp-asm.h>.
70841 (PARMS): Do not use macros from bp-asm.h.
70842 (FLAGS): Likewise.
70843 (PTID): Likewise.
70844 (TLS): Likewise.
70845 (CTID): Likewise.
70846 (__clone): Do not use BP_SYM.
70847 (clone): Do not use BP_SYM in weak_alias.
70848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70849 and <bp-asm.h>.
70850 (PARMS): Do not use macros from bp-asm.h.
70851 (LEN): Likewise.
70852 (__mmap64): Do not use BP_SYM.
70853 (mmap64): Do not use BP_SYM in weak_alias.
70854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70855 <bp-sym.h> and <bp-asm.h>.
70856 (PARMS): Do not use macros from bp-asm.h.
70857 (__posix_fadvise64_l64): Do not use BP_SYM.
70858 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70859 (PARMS): Do not use macros from bp-asm.h.
70860 (NSOPS): Likewise.
70861 (semtimedop): Do not use BP_SYM.
70862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70863 and <bp-asm.h>.
70864
70865 2013-02-21 Allan McRae <allan@archlinux.org>
70866
70867 * manual/message.texi (Charset conversion in gettext):
70868 Move @end statement to beginning of line.
70869
70870 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70871
70872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70873 static.
70874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70875 Likewise.
70876
70877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70878 (denorm): Likewise.
70879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70881
70882 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70883
70884 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70885 tail-call to the resolved function if pltexit isn't needed.
70886
70887 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70888
70889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70890 or Y being zero as being unlikely.
70891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70892 Likewise.
70893
70894 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70895
70896 * manual/nss.texi (System Databases and Name Service Switch):
70897 Remove frobnicate @pxref.
70898
70899 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70900
70901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70902 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70903
70904 2013-02-20 Petr Machata <pmachata@redhat.com>
70905
70906 * elf/elf.h (R_ARM_TARGET1): New macro.
70907 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70908 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70909 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70910 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70911 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70912 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70913 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70914 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70915 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70916 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70917 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70918 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70919 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70920 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70921 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70922 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70923 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70924 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70925 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70926 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70927 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70928 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70929 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70930 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70931 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70932 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70933 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70934 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70935 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70936 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70937 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70938 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70939 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70940 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70941 (R_ARM_THM_GOT_BREL12): Likewise.
70942 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70943 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70944 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70945 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70946 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70947 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70948 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70949 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70950 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70951
70952 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70953
70954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70955 __attribute_used__ to __attribute__ ((unused)).
70956
70957 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70958
70959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70960 powerpc mpa.c.
70961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70962 comment formatting.
70963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70964
70965 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70966
70967 [BZ #13550]
70968 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70969 Remove macro.
70970 (ENTER): Remove both macro definitions.
70971 (LEAVE): Likewise.
70972 (CHECK_BOUNDS_LOW): Likewise.
70973 (CHECK_BOUNDS_HIGH): Likewise.
70974 (CHECK_BOUNDS_BOTH): Likewise.
70975 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70976 (RETURN_BOUNDED_POINTER): Likewise.
70977 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70978 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70979 (POP_ERRNO_LOCATION_RETURN): Likewise.
70980 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70982 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70983 macros.
70984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70985 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70986 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70987 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70988 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70989 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70990 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70991 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70992 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70993 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70994 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70995 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70996 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70997 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70998 removed macros.
70999 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71000 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
71001 macros.
71002 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71003 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
71004 * sysdeps/i386/i586/memset.S (memset): Likewise.
71005 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
71006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71007 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
71008 macros.
71009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71010 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
71011 Change uses of L(2) to L(out).
71012 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
71013 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
71014 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
71015 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71016 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
71017 removed macros.
71018 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71019 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
71020 macros.
71021 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71022 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
71023 (RETURN): Do not use macro LEAVE.
71024 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
71025 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
71026 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
71027 * sysdeps/i386/i686/memset.S (memset): Likewise.
71028 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
71029 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
71030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
71031 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
71032 Likewise.
71033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71034 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
71035 L(1_2) and L(1_3) into L(1).
71036 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71037 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
71038 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71039 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
71040 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
71041 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
71042 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
71043 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71044 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
71045 macros.
71046 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
71047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71048 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
71049 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
71050 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
71051 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
71052 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
71053 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
71054 * sysdeps/i386/strcspn.S (strcspn): Likewise.
71055 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
71056 * sysdeps/i386/strrchr.S (strrchr): Likewise.
71057 * sysdeps/i386/strspn.S (strspn): Likewise.
71058 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
71059 conditional code.
71060 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71061 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
71062 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71063 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
71064 L(1_3) into L(1_1).
71065 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
71066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71067 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
71068 macros.
71069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71070
71071 2013-02-19 Jakub Jelinek <jakub@redhat.com>
71072
71073 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
71074 macro.
71075
71076 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
71077
71078 * math/atest-exp.c (exp_mpn): Remove ROUND.
71079 * math/atest-exp2.c (exp_mpn): Likewise.
71080 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
71081
71082 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
71083 * stdlib/tst-tls-atexit-lib.c: Likewise.
71084 * stdlib/tst-tls-atexit.c: Likewise.
71085
71086 2013-02-18 Mike Frysinger <vapier@gentoo.org>
71087
71088 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
71089 and __attribute_alloc_size__.
71090
71091 2013-02-18 Mike Frysinger <vapier@gentoo.org>
71092
71093 * include/programs/xmalloc.h: Change __attribute_alloc_size to
71094 __attribute_alloc_size__.
71095 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
71096 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
71097
71098 2013-02-18 Mike Frysinger <vapier@gentoo.org>
71099
71100 * include/programs/xmalloc.h: New file.
71101 * catgets/gencat.c: Include it.
71102 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
71103 * elf/pldd.c: Likewise.
71104 * iconv/iconv_charmap.c: Likewise.
71105 * iconv/iconvconfig.c: Likewise.
71106 * iconv/strtab.c: Likewise.
71107 * locale/programs/locale.c: Likewise.
71108 * locale/programs/localedef.h: Likewise.
71109 * locale/programs/simple-hash.c: Likewise.
71110 * nscd/nscd.h: Likewise.
71111 * nss/makedb.c: Likewise.
71112 * sysdeps/generic/ldconfig.h: Likewise.
71113
71114 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71115
71116 * Versions.def: Add GLIBC_2.18.
71117 * include/link.h (struct link_map): New member l_tls_dtor_count.
71118 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
71119 (__call_tls_dtors): Likewise.
71120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
71121 __cxa_thread_atexit_impl.
71122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71123 Likewise.
71124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71125 Likewise.
71126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
71127 Likewise.
71128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
71129 Likewise.
71130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
71132 Likewise.
71133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
71134 Likewise.
71135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71137 Likewise.
71138 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71139 (tests): Add test case tst-tls-atexit.
71140 (modules-names): Add shared library for tst-tls-atexit.
71141 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71142 (GLIBC_PRIVATE): Add __call_tls_dtors.
71143 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71144 for libstdc++.
71145 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71146 * stdlib/tst-tls-atexit.c: New test case.
71147 * stdlib/tst-tls-atexit-lib.c: New test case.
71148
71149 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71150
71151 * elf/Versions (ld): Add _dl_find_dso_for_object.
71152 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71153 * elf/dl-open.c (_dl_find_dso_for_object): New function.
71154 (dl_open_worker): Use _dl_find_dso_for_object.
71155 * elf/dl-sym.c (do_sym): Likewise.
71156 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71157
71158 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71159
71160 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71161 Syntactic changes only.
71162 (_dl_runtime_profile): Do a tail-call to the resolved function.
71163
71164 2013-02-17 Joseph Myers <joseph@codesourcery.com>
71165
71166 [BZ #13550]
71167 * sysdeps/x86_64/bp-asm.h: Remove file.
71168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71169 <bp-sym.h> and <bp-asm.h>.
71170 (__clone): Do not use BP_SYM.
71171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71172 <bp-sym.h> and <bp-asm.h>.
71173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
71174 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71175 "bp-asm.h".
71176 (_setjmp): Do not use BP_SYM.
71177 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71178 "bp-asm.h".
71179 (setjmp): Do not use BP_SYM.
71180 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71181 libc_hidden_def.
71182 (mempcpy): Do not use BP_SYM in weak_alias.
71183 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71184 "bp-asm.h".
71185 (strchr): Do not use BP_SYM.
71186 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71187 "bp-asm.h".
71188 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71189 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71190 (_start): Do not use BP_SYM.
71191 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71192 "bp-asm.h".
71193 (strcat): Do not use BP_SYM.
71194 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71195 "bp-asm.h".
71196 (STRCMP): Do not use BP_SYM.
71197 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71198 "bp-asm.h".
71199 (STRCPY): Do not use BP_SYM.
71200 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71201 "bp-asm.h".
71202 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71203 "bp-asm.h".
71204 (FUNCTION): Do not use BP_SYM.
71205 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71206 weak_alias.
71207 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71208
71209 2013-02-17 Andreas Jaeger <aj@suse.de>
71210
71211 * time/Versions: Sort entries.
71212 * string/Versions: Likewise.
71213 * resolv/Versions: Likewise.
71214 * posix/Versions: Likewise.
71215 * iconv/Versions: Likewise.
71216 * elf/Versions: Likewise.
71217 * wcsmbs/Versions: Likewise.
71218
71219 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
71220
71221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71222 loop termination condition.
71223
71224 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71225 variable to calculate EZ.
71226 (__sqr): Likewise.
71227
71228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71229 the lower precision input.
71230
71231 2013-02-15 Joseph Myers <joseph@codesourcery.com>
71232
71233 [BZ #13550]
71234 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71235 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71236 (run-via-rtld-prefix): Do not handle %-bp tests.
71237 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71238 (all-object-suffixes): Remove .ob.
71239 (bppfx): Remove variable.
71240 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71241 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71242 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71243 [$(build-bounded) = yes] (libtype.ob): Likewise.
71244 * Makerules (elide-routines.ob): Remove variable.
71245 (do-tests-clean): Do not handle *-bp.out.
71246 (common-mostlyclean): Do not handle *-bp and *-bp.out.
71247 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71248 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71249 (tests): Do not include $(tests-bp.out).
71250 (xtests): Do not include $(xtests-bp.out).
71251 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71252 [$(build-bounded) = yes] ($(addprefix
71253 $(objpfx),$(binaries-bounded))): Remove rule.
71254 ($(objpfx)%-bp.out): Remove rule.
71255 * config.make.in (build-bounded): Remove variable.
71256 * crypt/Makefile [$(build-bounded) = yes]
71257 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71258 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71259 append to variable.
71260 [$(build-bounded) = yes] (install-lib): Likewise.
71261 [$(build-bounded) = yes] (generated): Likewise.
71262 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71263 Remove rule.
71264 * intl/Makefile [$(build-bounded) = yes]
71265 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71266 * math/Makefile [$(build-bounded) = yes]
71267 ($(tests:%=$(objpfx)%-bp): Likewise.
71268 * misc/Makefile [$(build-bounded) = yes]
71269 ($(objpfx)tst-tsearch-bp): Likewise.
71270 * nptl/Makeconfig (bounded-thread-library): Remove variable.
71271 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71272 Remove dependency.
71273 * string/Makefile (o-objects.ob): Remove variable.
71274 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71275 (CFLAGS-.ob): Remove variable.
71276 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71278 both definitions of variable.
71279 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71280 (ASFLAGS-.ob): Remove variable.
71281
71282 2013-02-14 Joseph Myers <joseph@codesourcery.com>
71283
71284 [BZ #13550]
71285 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71286 Remove __BOUNDED_POINTERS__ from condition.
71287 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71288 * string/bits/string2.h [!__NO_STRING_INLINES &&
71289 !__BOUNDED_POINTERS__]: Likewise.
71290 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71291 Likewise.
71292 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71293 Remove conditional code.
71294 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71295 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71296 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71297 condition.
71298
71299 [BZ #13550]
71300 * csu/libc-start.c: Do not include <bp-sym.h>.
71301 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71302 * elf/dl-open.c: Do not include <bp-sym.h>.
71303 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71304 * math/fegetenv.c: Do not include <bp-sym.h>.
71305 (fegetenv): Do not use BP_SYM in versioned symbols.
71306 * nptl/sysdeps/pthread/bits/libc-lockP.h
71307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71308 <bp-sym.h>.
71309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71310 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71312 (__pthread_mutex_destroy): Likewise.
71313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71314 (__pthread_mutex_lock): Likewise.
71315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71316 (__pthread_mutex_trylock): Likewise.
71317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71318 (__pthread_mutex_unlock): Likewise.
71319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71320 (__pthread_mutexattr_init): Likewise.
71321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71322 (__pthread_mutexattr_destroy): Likewise.
71323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71324 (__pthread_mutexattr_settype): Likewise.
71325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71326 (__pthread_rwlock_init): Likewise.
71327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71328 (__pthread_rwlock_destroy): Likewise.
71329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71330 (__pthread_rwlock_rdlock): Likewise.
71331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71332 (__pthread_rwlock_tryrdlock): Likewise.
71333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71334 (__pthread_rwlock_wrlock): Likewise.
71335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71336 (__pthread_rwlock_trywrlock): Likewise.
71337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71338 (__pthread_rwlock_unlock): Likewise.
71339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71340 (__pthread_key_create): Likewise.
71341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71342 (__pthread_setspecific): Likewise.
71343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71344 (__pthread_getspecific): Likewise.
71345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71346 Likewise.
71347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71348 (_pthread_cleanup_push_defer): Likewise.
71349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71350 (_pthread_cleanup_pop_restore): Likewise.
71351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71352 (pthread_setcancelstate): Likewise.
71353 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71354 <bp-sym.h>.
71355 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71356 (memchr): Do not use BP_SYM in weak_alias.
71357 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71358 (fegetenv): Do not use BP_SYM in versioned symbols.
71359 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71360 (fesetenv): Do not use BP_SYM in versioned symbols.
71361 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71362 (feupdateenv): Do not use BP_SYM in versioned symbols.
71363 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71365 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71366 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71367 (open64): Do not use BP_SYM in weak_alias.
71368 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71369 (fegetenv): Do not use BP_SYM in versioned symbols.
71370 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71371 (fesetenv): Do not use BP_SYM in versioned symbols.
71372 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71373 (feupdateenv): Do not use BP_SYM in versioned symbols.
71374 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71375 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71376 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71377 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71378 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71379 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71381 <bp-sym.h>.
71382 (__libc_start_main): Do not use BP_SYM.
71383
71384 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71385
71386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71387 redundant return line.
71388 (norm): Likewise.
71389 (denorm): Likewise.
71390 (dbl_mp): Likewise.
71391 (sub_magnitudes): Likewise.
71392 (__add): Likewise.
71393 (__sub): Likewise.
71394 (__mul): Likewise.
71395 (__inv): Likewise.
71396 (__dvd): Likewise.
71397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71398 (norm): Likewise.
71399 (denorm): Likewise.
71400 (dbl_mp): Likewise.
71401 (sub_magnitudes): Likewise.
71402 (__add): Likewise.
71403 (__sub): Likewise.
71404 (__mul): Likewise.
71405 (__inv): Likewise.
71406 (__dvd): Likewise.
71407
71408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71409 instead of __mul.
71410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71411 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71412 (cc32): Likewise.
71413
71414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71415 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71417 of __mul for squares.
71418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71419 function
71420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71421 Likewise.
71422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71424
71425 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71426
71427 [BZ #13550]
71428 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71429 code.
71430 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71431 prototype or function definition. Rename ubp_* variables and
71432 parameters. Remove argv definitions conditional on
71433 [__BOUNDED_POINTERS__].
71434 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71435 * elf/dl-runtime.c (_dl_fixup): Likewise.
71436 * include/set-hooks.h (RUN_HOOK): Likewise.
71437 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71438 definition.
71439 * string/strcpy.c (strcpy): Do not use __unbounded.
71440 * sysdeps/generic/frame.h (struct layout): Likewise.
71441 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71442 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71443 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71444 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71445 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71446 (__backtrace): Likewise.
71447 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71448 use __ptrvalue.
71449 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71450 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71451 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71452 Likewise.
71453 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71454 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71456 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71457 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71458 Do not use __unbounded.
71459 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71460 Rename __unboundedrlimits parameter to rlimits in prototype.
71461 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71462 Do not use __unbounded.
71463 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71464 not use __ptrvalue.
71465 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71466 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71467 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71468 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71469 __ptrvalue or __unbounded.
71470 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71471 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71472 use __unbounded.
71473 (__new_msgctl): Do not use __ptrvalue.
71474 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71475 __unbounded.
71476 (__libc_msgrcv): Do not use __ptrvalue.
71477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71478 startup_info): Do not use __unbounded.
71479 (__libc_start_main): Likewise. Rename ubp_* variables and
71480 parameters. Remove argv definitions conditional on
71481 [__BOUNDED_POINTERS__].
71482 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71483 __ptrvalue.
71484 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71485 use __unbounded.
71486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71487 or __ptrvalue.
71488 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71489 use __unbounded.
71490 (__new_shmctl): Do not use __ptrvalue.
71491 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71492 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71493 Likewise.
71494 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71496 (__libc_sigaction): Likewise.
71497 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71499 Likewise.
71500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71501
71502 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
71503
71504 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71505
71506 * string/mempcpy.c: Implement by calling memcpy.
71507
71508 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71509
71510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71511
71512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71513 evaluation.
71514
71515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71516 values in the mantissa.
71517
71518 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71519 minimize writes to Z.
71520 (sub_magnitudes): Simplify code a bit.
71521
71522 2013-02-12 Roland McGrath <roland@hack.frob.com>
71523
71524 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71525 from the message. The linker prefixes all warnings with that already.
71526
71527 2013-02-12 Andreas Schwab <schwab@suse.de>
71528
71529 [BZ #15078]
71530 * posix/regexec.c (extend_buffers): Add parameter min_len.
71531 (check_matching): Pass minimum needed length.
71532 (clean_state_log_if_needed): Likewise.
71533 (get_subexp): Likewise.
71534 * posix/Makefile (tests): Add bug-regex34.
71535 (bug-regex34-ENV): Define.
71536 * posix/bug-regex34.c: New file.
71537
71538 [BZ #11561]
71539 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71540 elements compare against the byte sequence of it, not its name.
71541 * posix/Makefile (tests): Add bug-regex35.
71542 (bug-regex35-ENV): Define.
71543 * posix/bug-regex35.c: New file.
71544
71545 2013-02-11 Tom de Vries <tom@codesourcery.com>
71546
71547 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71548 comment.
71549 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71550 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71551 (CHECK_EOL): Add undef.
71552
71553 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
71554
71555 * bits/stdlib-bsearch.h: New file.
71556 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71557 * stdlib/stdlib.h: Likewise.
71558
71559 2013-02-11 Roland McGrath <roland@hack.frob.com>
71560
71561 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71562 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71563 declaration.
71564 * manual/search.texi (Array Search Function): Add missing const in
71565 lfind prototype.
71566 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71567 declaration to use rlim_t.
71568 (Basic Scheduling Functions): Remove erroneous const from
71569 sched_getparam prototype. Remove erroneous * from
71570 sched_get_priority_max and sched_get_priority_min prototypes.
71571 (Resource Usage): Fix summary @comment on vtimes to refer to
71572 sys/vtimes.h rather than vtimes.h.
71573 Add missing *s in vtimes prototype.
71574 (Limits on Resources): Fix ulimit prototype to return long int.
71575 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71576 prototypes to use long int rather than double.
71577 (BSD Random): Fix initstate and setstate to use char *, not void *.
71578 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71579 prototype to make second argument 'struct aiocb64 *const[]'.
71580 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71581 (Status of AIO Operations): Remove erroneous const in aio_return and
71582 aio_return64 prototypes.
71583 (Synchronizing I/O): Fix sync prototype to return void.
71584 * manual/startup.texi (Suboptions): Remove an erroneous const in
71585 getsubopt prototype.
71586 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71587 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71588 use size_t rather than int.
71589 (Scanning All Users): Likewise for getpwent_r.
71590 (Setting Groups): Add missing const to setgroups prototype.
71591 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71592 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71593 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71594 'const void *' rather than 'const char *'.
71595 (Host Address Functions): Likewise for inet_ntop.
71596 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71597 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71598 ssize_t for return value.
71599 (Sending Data): Likewise for send, sendto, sendmsg.
71600 (Socket Option Functions): Add a missing const in setsockopt prototype.
71601 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71602 use wchar_t for the argument.
71603 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71604 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71605 take no arguments.
71606 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71607 double/float/long double for second argument.
71608 Fix return types of significand, significandf, significandl.
71609 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71610 argument in fchmod prototype.
71611 (File Owner): Use uid_t and gid_t in fchown prototype.
71612 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71613 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71614 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71615 use 'const struct dirent **' as argument types to CMP function pointer
71616 argument.
71617 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71618 (File Times): Fix summary magic @comment for struct utimbuf and utime
71619 to refer to utime.h, not time.h.
71620 * manual/string.texi (Argz Functions): Add missing const in
71621 argz_extract and argz_next prototypes.
71622 (Finding Tokens in a String): Likewise for basename.
71623 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71624 (Copying and Concatenation): Fix typo in wmemmove prototype.
71625 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71626 (Signal Stack): Remove erroneous const in sigstack prototype.
71627 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71628 prototype.
71629 (Simple Calendar Time): Likewise for stime.
71630 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71631 prototype.
71632 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71633 say sys/sysctl.h instead.
71634 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71635 and vsyslog prototypes.
71636
71637 2013-02-11 Tom de Vries <tom@codesourcery.com>
71638
71639 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71640 Remove.
71641
71642 2013-02-11 Roland McGrath <roland@hack.frob.com>
71643
71644 * misc/sys/mman.h: Fix typo in mremap comment.
71645
71646 2013-02-08 Roland McGrath <roland@hack.frob.com>
71647
71648 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71649 the '\0' terminator.
71650
71651 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71652
71653 [BZ #13550]
71654 * debug/segfault.c: Don't include <bp-checks.h>.
71655 * sysdeps/generic/bp-checks.h: Remove file.
71656 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71657 (__GETDENTS): Don't use CHECK_N.
71658 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71659 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71660 (__getgroups): Don't use CHECK_N.
71661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71662 (setgroups): Don't use CHECK_N.
71663 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71664 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71665 (__libc_msgrcv): Don't use CHECK_N.
71666 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71667 (__libc_msgsnd): Don't use CHECK_N.
71668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71669 <bp-checks.h>.
71670 (__libc_pread): Don't use CHECK_N.
71671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71672 include <bp-checks.h>.
71673 (__libc_pread64): Don't use CHECK_N.
71674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71675 include <bp-checks.h>.
71676 (__libc_pwrite): Don't use CHECK_N.
71677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71678 include <bp-checks.h>.
71679 (__libc_pwrite64): Don't use CHECK_N.
71680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71681 <bp-checks.h>.
71682 (__libc_pread): Don't use CHECK_N.
71683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71684 include <bp-checks.h>.
71685 (__libc_pread64): Don't use CHECK_N.
71686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71687 include <bp-checks.h>.
71688 (__libc_pwrite): Don't use CHECK_N.
71689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71690 include <bp-checks.h>.
71691 (__libc_pwrite64): Don't use CHECK_N.
71692 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71693 (do_pread): Don't use CHECK_N.
71694 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71695 (do_pread64): Don't use CHECK_N.
71696 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71697 (do_pwrite): Don't use CHECK_N.
71698 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71699 (do_pwrite64): Don't use CHECK_N.
71700 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71701 (__libc_readv): Don't use CHECK_N.
71702 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71703 (semop): Don't use CHECK_N.
71704 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71705 <bp-checks.h>.
71706 (semtimedop): Don't use CHECK_N.
71707 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71708 (__libc_pread): Don't use CHECK_N.
71709 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71710 <bp-checks.h>.
71711 (__libc_pread64): Don't use CHECK_N.
71712 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71713 <bp-checks.h>.
71714 (__libc_pwrite): Don't use CHECK_N.
71715 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71716 <bp-checks.h>.
71717 (__libc_pwrite64): Don't use CHECK_N.
71718 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71719 <bp-checks.h>.
71720 (__libc_msgrcv): Don't use CHECK_N.
71721 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71722 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71723 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71724 (__libc_writev): Don't use CHECK_N.
71725
71726 2013-02-08 Roland McGrath <roland@hack.frob.com>
71727
71728 * string/strcpy.c: Removed unused variable.
71729
71730 * Makeconfig (+sysdep-includes): Define with := rather than =.
71731 Use an existing include/ subdir of each sysdeps dir before it.
71732
71733 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71734
71735 * nscd/connection.c (register_traced_file): Comment function.
71736 [HAVE_INOTIFY] (union __inev): Define.
71737 [HAVE_INOTIFY] (inotify_check_files): New function.
71738 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71739 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71740 clear_db_cache.
71741 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71742
71743 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71744
71745 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71746 loaded if not already and that a failure is permanent.
71747
71748 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71749
71750 [BZ #15006]
71751 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71752 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71753
71754 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71755
71756 [BZ #13550]
71757 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71758 (CHECK_1_NULL_OK): Likewise.
71759 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71760 (__fxstat): Do not use CHECK_1.
71761 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71762 <bp-checks.h>.
71763 (___fxstat64): Do not use CHECK_1.
71764 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71765 <bp-checks.h>.
71766 (__fxstatat): Do not use CHECK_1.
71767 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71768 <bp-checks.h>.
71769 (__fxstatat64): Do not use CHECK_1.
71770 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71771 <bp-checks.h>.
71772 (__fxstat): Do not use CHECK_1.
71773 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71774 <bp-checks.h>.
71775 (__fxstatat): Do not use CHECK_1.
71776 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71777 <bp-checks.h>.
71778 (__getresgid): Do not use CHECK_1.
71779 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71780 <bp-checks.h>.
71781 (__getresuid): Do not use CHECK_1.
71782 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71783 <bp-checks.h>.
71784 (__lxstat): Do not use CHECK_1.
71785 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71786 <bp-checks.h>.
71787 (__old_msgctl): Do not use CHECK_1.
71788 (__new_msgctl): Likewise.
71789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71790 <bp-checks.h>.
71791 (__new_setrlimit): Do not use CHECK_1.
71792 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71793 <bp-checks.h>.
71794 (__old_shmctl): Do not use CHECK_1.
71795 (__new_shmctl): Likewise.
71796 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71797 <bp-checks.h>.
71798 (__xstat): Do not use CHECK_1.
71799 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71800 (__lxstat): Do not use CHECK_1.
71801 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71802 <bp-checks.h>.
71803 (___lxstat64): Do not use CHECK_1.
71804 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71805 (__old_msgctl): Do not use CHECK_1.
71806 (__new_msgctl): Likewise.
71807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71808 <bp-checks.h>.
71809 (__gettimeofday): Do not use CHECK_1.
71810 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71811 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71812 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71813 <bp-checks.h>.
71814 (__gettimeofday): Do not use CHECK_1.
71815 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71816 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71817 (__new_shmctl): Do not use CHECK_1.
71818 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71819 <bp-checks.h>.
71820 (do_sigtimedwait): Do not use CHECK_1.
71821 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71822 <bp-checks.h>.
71823 (do_sigwaitinfo): Do not use CHECK_1.
71824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71825 <bp-checks.h>.
71826 (msgctl): Do not use CHECK_1.
71827 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71828 <bp-checks.h>.
71829 (shmctl): Do not use CHECK_1.
71830 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71831 (ustat): Do not use CHECK_1.
71832 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71833 <bp-checks.h>.
71834 (__fxstat): Do not use CHECK_1.
71835 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71836 <bp-checks.h>.
71837 (__fxstatat): Do not use CHECK_1.
71838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71839 <bp-checks.h>.
71840 (__lxstat): Do not use CHECK_1.
71841 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71842 <bp-checks.h>.
71843 (__xstat): Do not use CHECK_1.
71844 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71845 (__xstat): Do not use CHECK_1.
71846 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71847 (___xstat64): Do not use CHECK_1.
71848
71849 [BZ #13550]
71850 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71851 definitions.
71852 (CHECK_BOUNDS_HIGH): Likewise.
71853 * string/strcpy.c: Do not include <bp-checks.h>.
71854 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71855
71856 2013-02-07 Roland McGrath <roland@hack.frob.com>
71857
71858 * nscd/nscd-client.h (__nscd_drop_map_ref):
71859 Add __attribute__ ((unused)).
71860 * nis/nss-nisplus.h (niserr2nss): Likewise.
71861
71862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71863 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71864
71865 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71866 Remove inline keyword.
71867 * include/rounding-mode.h (round_away): Likewise.
71868 * libio/wfileops.c (adjust_wide_data): Likewise.
71869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71870 (__m128i_strloadu_tolower): Likewise.
71871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71872 (__m128i_strloadu_tolower): Likewise.
71873 * time/mktime.c (ydhms_diff): Likewise.
71874 * locale/elem-hash.h (elem_hash): Likewise.
71875 * locale/setlocale.c (setdata): Likewise.
71876 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71877 (re_string_wchar_at): Likewise.
71878 (bitset_not, bitset_merge, bitset_mask): Likewise.
71879 [!(__GNUC__ > 3)] (inline): Remove macro.
71880 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71881 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71882 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71883 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71884 * string/memcmp.c (memcmp_bytes): Likewise.
71885 * locale/programs/locarchive.c (compute_hashval): Likewise.
71886 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71888 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71889 * nss/getent.c (print_rpc, print_protocols): Likewise.
71890 (print_passwd, print_group, print_aliases): Likewise.
71891 * nis/nss-nisplus.h (niserr2nss): Likewise.
71892 * nscd/connections.c (restart_p): Likewise.
71893 Change return type to bool.
71894
71895 2013-02-05 Roland McGrath <roland@hack.frob.com>
71896
71897 * Makeconfig (all-Depend-files): Add existing
71898 $(sorted-subdirs:=/Depend) files.
71899 (all-subdirs): Remove nss.
71900 * sysdeps/unix/inet/Subdirs: Add it here instead.
71901 * hesiod/Depend: New file.
71902
71903 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71904 instead of calling alloca.
71905
71906 * io/lseek.c (__lseek): Rename to __libc_lseek.
71907 Define __lseek as an alias.
71908
71909 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71910
71911 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71912
71913 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71914 else clause and remove check for non-standard endianness.
71915
71916 2013-02-04 David S. Miller <davem@davemloft.net>
71917
71918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71919
71920 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71921
71922 [BZ #13550]
71923 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71924 (__ubp_memchr): Remove prototype.
71925 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71926 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71927 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71928 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71929 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71930 Remove alias.
71931 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71932 (__ubp_memchr): Likewise.
71933 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71934 (__ubp_memchr): Likewise.
71935 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71936 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71937 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71938 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71939 CHECK_STRING.
71940 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71941 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71942 (__getcwd): Do not use CHECK_STRING.
71943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71944 <bp-checks.h>.
71945 (__real_chown): Do not use CHECK_STRING.
71946 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71947 <bp-checks.h>.
71948 (fchownat): Do not use CHECK_STRING.
71949 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71950 CHECK_STRING.
71951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71952 <bp-checks.h>.
71953 (__lchown): Do not use CHECK_STRING.
71954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71955 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71957 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71959 include <bp-checks.h>.
71960 (truncate64): Do not use CHECK_STRING.
71961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71962 <bp-checks.h>.
71963 (__real_chown): Do not use CHECK_STRING.
71964 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71965 <bp-checks.h>.
71966 (__lchown): Do not use CHECK_STRING.
71967 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71968 <bp-checks.h>.
71969 (__chown): Do not use CHECK_STRING.
71970 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71971 <bp-checks.h>.
71972 (truncate64): Do not use CHECK_STRING.
71973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71974 Likewise.
71975 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71976 (__xmknod): Do not use CHECK_STRING.
71977 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71978 <bp-checks.h>.
71979 (__xmknodat): Do not use CHECK_STRING.
71980 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71981 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71982
71983 2013-02-04 Andreas Schwab <schwab@suse.de>
71984
71985 [BZ #14142]
71986 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71987 * include/netdb.h: Likewise for h_errno.
71988 * elf/tst-stackguard1.c: Include <tls.h>.
71989
71990 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71991
71992 * elf/link.h (struct link_map): Extend the l_addr comment.
71993 * include/link.h (struct link_map): Likewise.
71994
71995 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71996
71997 [BZ #13550]
71998 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71999 (BOUNDED_1): Remove macro.
72000 * debug/backtrace.c: Don't include <bp-checks.h>.
72001 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
72002 (__backtrace): Likewise.
72003 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
72004 <bp-checks.h>.
72005 (__backtrace): Don't use BOUNDED_1.
72006 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
72007 <bp-checks.h>.
72008 (__backtrace): Don't use BOUNDED_1.
72009 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
72010 (__backtrace): Don't use BOUNDED_1.
72011 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
72012 (shmat): Don't use BOUNDED_N.
72013
72014 2013-01-31 Joseph Myers <joseph@codesourcery.com>
72015
72016 [BZ #13550]
72017 * sysdeps/generic/bp-start.h: Remove file.
72018 * csu/libc-start.c: Don't include <bp-start.h>.
72019 (LIBC_START_MAIN): Set up __environ directly instead of using
72020 INIT_ARGV_and_ENVIRON.
72021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
72022 <bp-start.h>.
72023
72024 [BZ #13550]
72025 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
72026 definitions.
72027 (CHECK_FCNTL): Likewise.
72028 (CHECK_N_PAGES): Likewise.
72029
72030 [BZ #13550]
72031 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
72032 definitions.
72033 (CHECK_SIGSET_NULL_OK): Likewise.
72034 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
72035 <bp-checks.h>.
72036 (sigpending): Don't use CHECK_SIGSET.
72037 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
72038 <bp-checks.h>.
72039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72040 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
72041 <bp-checks.h>.
72042 (do_sigsuspend): Don't use CHECK_SIGSET.
72043 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
72044 use CHECK_SIGSET.
72045 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
72046 (do_sigwait): Don't use CHECK_SIGSET.
72047 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
72048 use CHECK_SIGSET.
72049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
72050 include <bp-checks.h>.
72051 (sigpending): Don't use CHECK_SIGSET.
72052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
72053 include <bp-checks.h>.
72054 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72055 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
72056 <bp-checks.h>.
72057 (sigpending): Don't use CHECK_SIGSET.
72058 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
72059 <bp-checks.h>.
72060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72061
72062 [BZ #13550]
72063 * sysdeps/generic/bp-semctl.h: Remove file.
72064 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
72065 <bp-checks.h> and <bp-semctl.h>.
72066 (__old_semctl): Don't use CHECK_SEMCTL.
72067 (__new_semctl): Likewise.
72068 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
72069 and <bp-semctl.h>.
72070 (__old_semctl): Don't use CHECK_SEMCTL.
72071 (__new_semctl): Likewise.
72072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
72073 <bp-checks.h> and <bp-semctl.h>.
72074 (__old_semctl): Don't use CHECK_SEMCTL.
72075 (__new_semctl): Likewise.
72076 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
72077 <bp-checks.h> and <bp-semctl.h>.
72078 (semctl): Don't use CHECK_SEMCTL.
72079
72080 [BZ #13550]
72081 * Makerules (elide-bp-thunks): Remove variable.
72082 (elide-routines.oS): Don't use $(elide-bp-thunks).
72083 (elide-routines.os): Likewise.
72084 (elide-routines.o): Likewise.
72085 (elide-routines.op): Likewise.
72086 (elide-routines.og): Likewise.
72087 (objects): Don't use $(bp-thunks).
72088 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
72089 include.
72090 (common-generated): Do not add s-proto-bp.d.
72091 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
72092 (int): Likewise.
72093 (typ): Likewise.
72094 Do not generate makefile rules for bounded-pointer thunks.
72095 * sysdeps/generic/bp-thunks.h: Remove file.
72096 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
72097 * sysdeps/unix/s-proto-bp.S: Likewise.
72098
72099 [BZ #15062]
72100 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
72101 parts of result separately when argument is not close to line from
72102 -i to i and one part of argument is small.
72103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
72104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
72105 * math/libm-test.inc (cacos_test): Add more tests.
72106 (casin_test): Likewise.
72107 (casinh_test): Likewise.
72108 * sysdeps/i386/fpu/libm-test-ulps: Update.
72109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72110
72111 2013-01-31 David S. Miller <davem@davemloft.net>
72112
72113 * po/de.po: Update from translation team.
72114
72115 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
72116
72117 * time/tzfile.c: Include stdint.h for SIZE_MAX.
72118
72119 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
72120
72121 * configure.in (_AC_PROG_CC_C89): New definition.
72122 * configure: Regenerate.
72123
72124 * configure.in (AC_PROG_CPP): New definition.
72125 * configure: Regenerate.
72126
72127 2013-01-23 Joseph Myers <joseph@codesourcery.com>
72128
72129 * debug/tst-backtrace.h: New file.
72130 * debug/tst-backtrace2.c: Include tst-backtrace.h.
72131 (ret): Remove variable.
72132 (x): Likewise.
72133 (FAIL): Remove macro.
72134 (NO_INLINE): Likewise.
72135 (fn1): Use match function instead of strstr.
72136 * debug/tst-backtrace3.c: Include tst-backtrace.h.
72137 (ret): Remove variable.
72138 (x): Likewise.
72139 (FAIL): Remove macro.
72140 (NO_INLINE): Likewise.
72141 (fn): Use match function instead of strstr.
72142 * debug/tst-backtrace4.c: Include tst-backtrace.h.
72143 (ret): Remove variable.
72144 (x): Likewise.
72145 (FAIL): Remove macro.
72146 (NO_INLINE): Likewise.
72147 (handle_signal): Use match function instead of strstr.
72148 * debug/tst-backtrace5.c: Include tst-backtrace.h.
72149 (ret): Remove variable.
72150 (x): Likewise.
72151 (FAIL): Remove macro.
72152 (NO_INLINE): Likewise.
72153 (handle_signal): Use match function instead of strstr.
72154
72155 2013-01-23 Roland McGrath <roland@hack.frob.com>
72156
72157 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72158
72159 2013-01-23 David S. Miller <davem@davemloft.net>
72160
72161 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72162 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72163 argument of CAS if possible.
72164 * sysdeps/sparc/sparc64/bits/atomic.h
72165 (__arch_compare_and_exchange_val_32_acq): Likewise.
72166 (__arch_compare_and_exchange_val_64_acq): Likewise.
72167
72168 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
72169
72170 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72171 * sysdeps/posix/ulimit.c: ... this.
72172 Include <limits.h>.
72173 * sysdeps/unix/bsd/ulimit.c: Remove file.
72174
72175 2013-01-23 Adam Conrad <adconrad@0c3.net>
72176
72177 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72178 (LDFLAGS-tst-array5): Likewise.
72179
72180 2013-01-23 Joseph Myers <joseph@codesourcery.com>
72181
72182 [BZ #15036]
72183 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72184 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72185 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72187
72188 2013-01-21 David S. Miller <davem@davemloft.net>
72189
72190 * sysdeps/sparc/backtrace.c: New file.
72191 * sysdeps/sparc/sparc32/backtrace.h: New file.
72192 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72193 * sysdeps/sparc/sparc64/backtrace.h: New file.
72194 * sysdeps/sparc/sparc64/backtrace.c: Delete.
72195 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72196 -funwind-tables.
72197
72198 2013-01-21 Andreas Schwab <schwab@suse.de>
72199
72200 [BZ #15020]
72201 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72202 closed its stdout.
72203
72204 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
72205
72206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72207 "mpa2.h".
72208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72209
72210 2013-01-18 Joseph Myers <joseph@codesourcery.com>
72211 Mark Mitchell <mark@codesourcery.com>
72212 Tom de Vries <tom@codesourcery.com>
72213 Paul Pluzhnikov <ppluzhnikov@google.com>
72214
72215 * debug/tst-backtrace2.c: New file.
72216 * debug/tst-backtrace3.c: Likewise.
72217 * debug/tst-backtrace4.c: Likewise.
72218 * debug/tst-backtrace5.c: Likewise.
72219 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72220 (CFLAGS-tst-backtrace3.c): Likewise.
72221 (CFLAGS-tst-backtrace4.c): Likewise.
72222 (CFLAGS-tst-backtrace5.c): Likewise.
72223 (LDFLAGS-tst-backtrace2): Likewise.
72224 (LDFLAGS-tst-backtrace3): Likewise.
72225 (LDFLAGS-tst-backtrace4): Likewise.
72226 (LDFLAGS-tst-backtrace5): Likewise.
72227 (tests): Add new tests tst-backtrace2, tst-backtrace3,
72228 tst-backtrace4 and tst-backtrace5.
72229
72230 2013-01-18 Anton Blanchard <anton@samba.org>
72231 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
72232
72233 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72234 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72236 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72238 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72239 "+r" and remove output regs list as redundant. Add explicit inline
72240 asm to specify register of return val to work around compiler codegen
72241 bug. Remove (int) cast on return value. Add return type parameter to
72242 use in macro so that this macro does not truncate return value for
72243 64-bit values.
72244 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72245 pass to INTERNAL_VSYSCALL_NCS.
72246 (INLINE_VSYSCALL): Add 'long int' as return type to
72247 INTERNAL_VSYSCALL_NCS macro invocation.
72248 (INTERNAL_VSYSCALL): Add 'long int' as return type to
72249 INTERNAL_VSYSCALL_NCS macro invocation.
72250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72251
72252 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72253
72254 [BZ #14496]
72255 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72256 Fix application of SIMD FP exception mask.
72257
72258 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72259 mp_no from a power of two.
72260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72261 __mpexp_twomm1. Use __pow_mp.
72262
72263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72264 multiplication.
72265
72266 2013-01-17 David S. Miller <davem@davemloft.net>
72267
72268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72269
72270 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72271
72272 [BZ #15023]
72273 * include/complex.h: Condition contents on [!_COMPLEX_H].
72274 (__kernel_casinhf): New prototype.
72275 (__kernel_casinh): Likewise.
72276 (__kernel_casinhl): Likewise.
72277 * math/Makefile (libm_calls): Add k_casinh.
72278 * math/k_casinh.c: New file.
72279 * math/k_casinhf.c: Likewise.
72280 * math/k_casinhl.c: Likewise.
72281 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72282 finite nonzero arguments.
72283 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72284 finite nonzero arguments.
72285 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72286 finite nonzero arguments.
72287 * math/s_casinh.c: Do not include <float.h>.
72288 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72289 * math/s_casinhf.c: Do not include <float.h>.
72290 (__casinhf): Move code for finite nonzero arguments to
72291 k_casinhf.c.
72292 * math/s_casinhl.c: Do not include <float.h>.
72293 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72294 redefine.
72295 (__casinhl): Move code for finite nonzero arguments to
72296 k_casinhl.c.
72297 * math/libm-test.inc (cacos_test): Add more tests.
72298 * sysdeps/i386/fpu/libm-test-ulps: Update.
72299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72300
72301 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
72302
72303 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72304 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72305 [!HAVE_MREMAP]: Remove [defined linux] case.
72306 * malloc/arena.c: Do not include <malloc-sysdep.h>.
72307
72308 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
72309
72310 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72311
72312 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
72313
72314 * elf/elf.h (R_386_SIZE32): New relocation.
72315 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72316 R_386_SIZE32.
72317 (elf_machine_rela): Likewise.
72318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72319 R_X86_64_SIZE64 and R_X86_64_SIZE32.
72320
72321 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72322
72323 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72324 (FP_FAST_FMA): Do not define.
72325 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72326 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72327 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72328 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72329 !_SOFT_FLOAT]: Likewise.
72330 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72332 value.
72333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72334 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72337 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72338 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72339 file.
72340
72341 2013-01-16 Andreas Schwab <schwab@suse.de>
72342
72343 [BZ #14327]
72344 * include/stdlib.h (__mktemp): Add declaration.
72345 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72346 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72347
72348 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72349
72350 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72351 definitions.
72352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72353 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72354 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72355 definitions here.
72356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72357 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72358 definitions.
72359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72360 and ONE.
72361 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72362 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72364 definitions.
72365 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72366 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72367 definitions.
72368 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72369
72370 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72371
72372 2013-01-15 David S. Miller <davem@davemloft.net>
72373
72374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72375 trunc{,f} to libm-sysdep_routes.
72376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72378 file.
72379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72381 file.
72382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72383 file.
72384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72386 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72388 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72390 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72391 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72392
72393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72394 nearbyint{,f} to libm-sysdep_routes.
72395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72397 New file.
72398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72399 file.
72400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72401 New file.
72402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72403 file.
72404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72407 file.
72408 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72410 file.
72411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72412 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72413 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72414
72415 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72416 libc_feholdexcept and libc_fesetenv.
72417
72418 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72419
72420 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72421
72422 2013-01-14 David S. Miller <davem@davemloft.net>
72423
72424 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72425 (SPARC_ASM_VIS2_IFUNC): Likewise.
72426 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72428 use of 'siam' instruction.
72429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72430 Likewise.
72431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72432 Likewise.
72433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72434 Likewise.
72435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72440 file.
72441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72442 file.
72443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72444 file.
72445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72446 file.
72447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72452 new VIS2 routines.
72453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72456 Likewise.
72457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72462 routines to libm-sysdep_routines.
72463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72464
72465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72466 fdim/fdimf to libm-sysdep_routines.
72467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72468 file.
72469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72471 file.
72472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72475 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72476 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72477 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72478 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72479
72480 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72481
72482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72483 to optimize copies.
72484
72485 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72488
72489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72490 local variable MPTWO.
72491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72492 Likewise.
72493
72494 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72495
72496 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72497 GLOB_NOESCAPE.
72498
72499 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72500
72501 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72502
72503 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72504
72505 * manual/pattern.texi (glob_t): Document gl_flags.
72506 (glob64_t): Likewise.
72507
72508 2013-01-11 David S. Miller <davem@davemloft.net>
72509
72510 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72511 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72512 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72513 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72514 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72515 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72516 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72517 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72518 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72519 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72520 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72521 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72522 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72523
72524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72525 sparc V9 rather than using V8 code.
72526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72528
72529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72530 Move to...
72531 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72532 Here.
72533
72534 2013-01-11 Roland McGrath <roland@hack.frob.com>
72535
72536 [BZ #14941]
72537 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72538 not in the main loop.
72539 * configure: Regenerated.
72540
72541 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72542
72543 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72544 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72545 to just #else.
72546 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72547 [!__GLIBC_HAVE_LONG_LONG] case.
72548 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72549 condition to just #else.
72550 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72551 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72552 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72553 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72554 unconditional.
72555 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72556 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72557 #elif condition to just #else.
72558 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72559 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72560 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72561 #elif condition to just #else.
72562
72563 2013-01-11 Steve Ellcey <sellcey@mips.com>
72564
72565 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72566 (EF_MIPS_ARCH_64): Fix value.
72567 (EF_MIPS_ARCH_32R2): New.
72568 (EF_MIPS_ARCH_64R2): New.
72569
72570 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72571
72572 * Makeconfig (+link-pie-before-libc): New.
72573 (+link-pie-after-libc): Likewise.
72574 (+link-pie-tests): Likewise.
72575 (+link-pie): Rewritten.
72576 (link-before-libc): Remove $(config-LDFLAGS).
72577 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72578 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72579 (config-LDFLAGS): Renamed to ...
72580 (rtld-LDFLAGS): This.
72581 (rtld-tests-LDFLAGS): New macro.
72582 (link-libc-rpath-link): Likewise.
72583 (link-libc-tests-rpath-link): Likewise.
72584 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72585 (link-libc): Prepand $(link-libc-rpath-link).
72586 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72587 (test-program-prefix): New macro.
72588 (test-via-rtld-prefix): Likewise.
72589 (test-program-cmd): Likewise.
72590 (host-test-program-cmd): Likewise.
72591 * Makefile ($(common-objpfx)testrun.sh): Replace
72592 $(run-program-prefix) with $(test-program-prefix).
72593 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72594 $(rtld-LDFLAGS).
72595 ($(common-objpfx)shlib.lds): Likewise.
72596 (build-module-helper): Likewise.
72597 ($(common-objpfx)format.lds): Likewise.
72598 * Rules (binaries-pie-tests): New.
72599 (binaries-pie-notests): Likewise.
72600 (binaries-pie): Rewritten.
72601 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72602 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72603 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72604 (make-test-out): Replace $(host-built-program-cmd) with
72605 $(host-test-program-cmd).
72606 * config.make.in (build-hardcoded-path-in-tests): New variable.
72607 * configure.in (--enable-hardcoded-path-in-tests): New configure
72608 option.
72609 (hardcoded_path_in_tests): New AC_SUBST.
72610 * configure: Regenerated.
72611 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72612 $(built-program-cmd) with $(test-program-cmd).
72613 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72614 (test_program_cmd): This.
72615 * elf/Makefile ($(objpfx)order.out): Run test with
72616 $(test-program-prefix).
72617 ($(objpfx)order2.out): Likewise.
72618 ($(objpfx)tst-initorder.out): Likewise.
72619 ($(objpfx)tst-initorder2.out): Likewise.
72620 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72621 $(test-program-cmd).
72622 ($(objpfx)tst-array1-static.out): Likewise.
72623 ($(objpfx)tst-array2.out): Likewise.
72624 ($(objpfx)tst-array3.out): Likewise.
72625 ($(objpfx)tst-array4.out): Likewise.
72626 ($(objpfx)tst-array5.out): Likewise.
72627 ($(objpfx)tst-array5-static.out): Likewise.
72628 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72629 $(test-program-cmd).
72630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72631 $(run-program-prefix) with $(test-program-prefix).
72632 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72633 (test_program_prefix): This.
72634 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72635 $(run-program-prefix) with $(test-program-prefix).
72636 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72637 (test_program_prefix): This.
72638 * iconvdata/tst-tables.sh: Likewise.
72639 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72640 $(run-program-prefix) with $(test-program-prefix).
72641 ($(objpfx)tst-translit.out): Likewise.
72642 ($(objpfx)tst-gettext2.out): Likewise.
72643 ($(objpfx)tst-gettext4.out): Likewise.
72644 ($(objpfx)tst-gettext6.out): Likewise.
72645 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72646 (test_program_prefix): This.
72647 * intl/tst-gettext2.sh: Likewise.
72648 * intl/tst-gettext4.sh Likewise.
72649 * intl/tst-gettext6.sh: Likewise.
72650 * intl/tst-translit.sh: Likewise.
72651 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72652 with $(test-program-cmd).
72653 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72654 $(run-program-prefix) with $(test-program-prefix).
72655 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72656 (test_program_prefix): This.
72657 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72658 $(run-program-prefix) with $(test-program-prefix).
72659 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72660 (test_program_prefix): This.
72661 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72662 * posix/Makefile ($(objpfx)globtest.out): Replace
72663 $(run-via-rtld-prefix) and $(test-wrapper) with
72664 $(test-program-prefix) and $(test-via-rtld-prefix).
72665 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72666 $(test-program-prefix).
72667 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72668 $(host-test-program-cmd).
72669 (tst-spawn-ARGS): Likewise.
72670 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72671 $(test-program-prefix).
72672 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72673 (test_via_rtld_prefix): This.
72674 (test_wrapper): Renamed to ...
72675 (test_program_prefix): This.
72676 (run_program_prefix): Replaced by test_program_prefix.
72677 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72678 (test_program_prefix): This.
72679 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72680 with $(host-test-program-cmd).
72681 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72682 $(run-program-prefix) with $(test-program-prefix).
72683 ($(objpfx)tst-printf.out): Likewise.
72684 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72685 $(test-program-cmd).
72686 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72687 (test_program_prefix): This.
72688 * stdio-common/tst-unbputc.sh: Likewise.
72689 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72690 $(run-program-prefix) with $(test-program-prefix).
72691 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72692 (test_program_prefix): This.
72693 * string/Makefile ($(objpfx)tst-svc.out): Replace
72694 $(built-program-cmd) with $(test-program-cmd).
72695
72696 2013-01-11 Andreas Jaeger <aj@suse.de>
72697
72698 [BZ #15003]
72699 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72700 value. Sync with Linux 3.7.
72701
72702 2013-01-10 David S. Miller <davem@davemloft.net>
72703
72704 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72705 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72706 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72707
72708 2013-01-10 Roland McGrath <roland@hack.frob.com>
72709
72710 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72711 never set.
72712 * configure: Regenerated.
72713
72714 2013-01-10 David S. Miller <davem@davemloft.net>
72715
72716 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72717 sparc V9 rather than using V8 code.
72718 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72719 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72720
72721 2013-01-10 Roland McGrath <roland@hack.frob.com>
72722
72723 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72724 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72725 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72726 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72727 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72728 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72729 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72730 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72731 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72732 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72733 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72734 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72735 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72736 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72737 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72738 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72739 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72740 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72741 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72742 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72743 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72744 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72745 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72746 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72747 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72748 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72749 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72750
72751 2013-01-10 David S. Miller <davem@davemloft.net>
72752
72753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72754
72755 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72756
72757 * posix/Makefile (tests-static): New variable.
72758 (tests): Add $(tests-static).
72759 (tst-exec-static-ARGS): New variable.
72760 (tst-spawn-static-ARGS): Likewise.
72761 * posix/tst-exec-static.c: New file.
72762 * posix/tst-spawn-static.c: Likewise.
72763 * posix/tst-exec.c: Support run directly.
72764 * posix/tst-spawn.c: Likewise.
72765
72766 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72767
72768 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72769 long.
72770 * math/bits/mathcalls.h (llrint): Likewise.
72771 (llround): Likewise.
72772 * stdlib/stdlib.h (struct drand48_data): Likewise.
72773 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72774 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72775 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72776 Likewise.
72777 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72778 Likewise.
72779 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72780 (elf_greg_t): Likewise.
72781 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72782 (__jmp_buf): Likewise.
72783 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72784 definitions.
72785 (llrint): Likewise, for all definitions.
72786 (llrintl): Likewise.
72787
72788 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72789 Remove [__GNUC__] condition.
72790 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72791 condition to just [__USE_ISOC99].
72792 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72793
72794 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72795
72796 [BZ #14200]
72797 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72798 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72799 defined.
72800 (_POSIX_V6_ILP32_OFF32): Likewise.
72801 (_XBS5_ILP32_OFF32): Likewise.
72802 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72803 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72804
72805 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72806
72807 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72808
72809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72810 doubles __mpexp_twomm1. Adjust usage.
72811 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72812 Remove.
72813
72814 2013-01-10 Andreas Schwab <schwab@suse.de>
72815
72816 [BZ #14964]
72817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72818 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72819
72820 2013-01-09 David S. Miller <davem@davemloft.net>
72821
72822 [BZ #15003]
72823 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72824 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72825 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72826 (TCP_FASTOPEN): Define.
72827 (tcp_repair_opt): New structure.
72828 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72829 enum values.
72830 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72831 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72832 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72833 (tcp_cookie_transactions): New structure.
72834
72835 2013-01-09 Anton Blanchard <anton@samba.org>
72836
72837 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72838 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72840 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72841
72842 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72843
72844 * include/features.h (__USE_ANSI): Remove.
72845
72846 2013-01-09 Roland McGrath <roland@hack.frob.com>
72847
72848 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72849
72850 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72851
72852 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72853
72854 * sysdeps/s390/fpu/libm-test-ulps: Update.
72855
72856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72857
72858 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72859 (__acr): Likewise.
72860 (__cpy): Likewise.
72861 (norm): Likewise.
72862 (denorm): Likewise.
72863 (__mp_dbl): Likewise.
72864 (__dbl_mp): Likewise.
72865 (add_magnitudes): Likewise.
72866 (sub_magnitudes): Likewise.
72867 (__add): Likewise.
72868 (__sub): Likewise.
72869 (__mul): Likewise.
72870 (__inv): Likewise.
72871 (__dvd): Likewise.
72872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72873 (__acr): Likewise.
72874 (__cpy): Likewise.
72875 (norm): Likewise.
72876 (denorm): Likewise.
72877 (__mp_dbl): Likewise.
72878 (__dbl_mp): Likewise.
72879 (add_magnitudes): Likewise.
72880 (sub_magnitudes): Likewise.
72881 (__add): Likewise.
72882 (__sub): Likewise.
72883 (__mul): Likewise.
72884 (__inv): Likewise.
72885 (__dvd): Likewise.
72886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72887 (__acr): Likewise.
72888 (__cpy): Likewise.
72889 (norm): Likewise.
72890 (denorm): Likewise.
72891 (__mp_dbl): Likewise.
72892 (__dbl_mp): Likewise.
72893 (add_magnitudes): Likewise.
72894 (sub_magnitudes): Likewise.
72895 (__add): Likewise.
72896 (__sub): Likewise.
72897 (__mul): Likewise.
72898 (__inv): Likewise.
72899 (__dvd): Likewise.
72900
72901 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72902
72903 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72904 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72905 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72906 2 && __USE_EXTERN_INLINES]: Likewise.
72907
72908 2013-01-08 Andreas Jaeger <aj@suse.de>
72909
72910 [BZ #14985]
72911 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72912 Remove.
72913 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72914 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72915
72916 2013-01-07 Anton Blanchard <anton@samba.org>
72917
72918 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72919 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72920 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72921 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72922 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72923 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72924 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72925 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72927 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72929 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72931 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72932 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72934 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72936 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72937 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72938 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72939 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72941 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72942 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72943 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72944 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72945 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72946 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72947 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72948 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72951 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72952 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72953 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72954 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72956 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72960 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72961
72962 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72963
72964 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72965 (__MALLOC_PMT): Likewise.
72966 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72967 [__GNUC__], only on [_LIBC].
72968 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72969 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72970 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72971 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72972 forward declaration.
72973 (realloc_hook_ini): Likewise.
72974 (memalign_hook_ini): Likewise.
72975 (__libc_memalign): Do not use __MALLOC_PMT in variable
72976 declaration.
72977 (__libc_valloc): Likewise.
72978 (__libc_pvalloc): Likewise.
72979 (__libc_calloc): Likewise.
72980 (__posix_memalign): Likewise.
72981
72982 [BZ #14996]
72983 * math/s_casinh.c: Include <float.h>.
72984 (__casinh): Do not do computation with squaring and square root
72985 for large arguments.
72986 * math/s_casinhf.c: Include <float.h>.
72987 (__casinhf): Do not do computation with squaring and square root
72988 for large arguments.
72989 * math/s_casinhl.c: Include <float.h>.
72990 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72991 (__casinhl): Do not do computation with squaring and square root
72992 for large arguments.
72993 * math/libm-test.inc (casin_test): Add more tests.
72994 (casinh_test): Likewise.
72995 * sysdeps/i386/fpu/libm-test-ulps: Update.
72996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72997
72998 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72999
73000 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
73001 (__x86_64_raw_data_cache_size): Likewise.
73002 (__x86_64_data_cache_size_half): Likewise.
73003 (__x86_64_raw_data_cache_size_half): Likewise.
73004 (__x86_64_shared_cache_size): Likewise.
73005 (__x86_64_raw_shared_cache_size): Likewise.
73006 (__x86_64_shared_cache_size_half): Likewise.
73007 (__x86_64_raw_shared_cache_size_half): Likewise.
73008 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
73009 to ...
73010 (__x86_data_cache_size): This.
73011 (__x86_64_raw_data_cache_size): Renamed to ...
73012 (__x86_raw_data_cache_size): This.
73013 (__x86_64_data_cache_size_half): Renamed to ...
73014 (__x86_data_cache_size_half): This.
73015 (__x86_64_raw_data_cache_size_half): Renamed to ...
73016 (__x86_raw_data_cache_size_half): This.
73017 (__x86_64_shared_cache_size): Renamed to ...
73018 (__x86_shared_cache_size): This.
73019 (__x86_64_raw_shared_cache_size): Renamed to ...
73020 (__x86_raw_shared_cache_size): This.
73021 (__x86_64_shared_cache_size_half): Renamed to ...
73022 (__x86_shared_cache_size_half): This.
73023 (__x86_64_raw_shared_cache_size_half): Renamed to ...
73024 (__x86_raw_shared_cache_size_half): This.
73025 * sysdeps/x86_64/memcpy.S: Updated.
73026 * sysdeps/x86_64/memset.S: Likewise.
73027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
73028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73030
73031 2013-01-04 David S. Miller <davem@davemloft.net>
73032
73033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73034
73035 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
73036
73037 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
73038 1 to avoid redefinition warning.
73039 (__USE_GNU): Don't define.
73040 (init_signaling_nan): Protoize.
73041
73042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73043
73044 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
73045
73046 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
73047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
73048 (__cpymn): Likewise.
73049 (norm): Remove commented code.
73050 (denorm): Likewise.
73051 (__mp_dbl): Likewise.
73052 (__inv): Likewise.
73053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
73054 (__cpymn): Likewise.
73055 (norm): Remove commented code.
73056 (denorm): Likewise.
73057 (__mp_dbl): Likewise.
73058 (__inv): Likewise.
73059
73060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
73061 mp_no value for 1.0 and 2.0.
73062 (norm): Use RADIXI instead of radixi.d.
73063 (denorm): Likewise.
73064 (__mul): Use 0.0 instead of zero.d.
73065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
73066 mp_no value for 1.0 and 2.0.
73067 (norm): Use RADIXI instead of radixi.d.
73068 (denorm): Likewise.
73069 (__mul): Use 0.0 instead of zero.d.
73070
73071 2013-01-04 Joseph Myers <joseph@codesourcery.com>
73072
73073 [BZ #14994]
73074 * math/s_casinh.c (__casinh): Reduce finite argument to first
73075 quadrant then set signs of results at the end.
73076 * math/s_casinhf.c (__casinhf): Likewise.
73077 * math/s_casinhl.c (__casinhl): Likewise.
73078 * math/libm-test.inc (casin_test): Add more tests.
73079 (casinh_test): Likewise.
73080 * sysdeps/i386/fpu/libm-test-ulps: Update.
73081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73082
73083 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
73084
73085 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
73086
73087 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
73088
73089 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
73090 declarations.
73091 (denorm): Likewise.
73092 (__mp_dbl): Likewise.
73093 (__inv): Likewise.
73094
73095 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
73096 and adjust the header comment.
73097
73098 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
73099 variable name from declaration.
73100
73101 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
73102
73103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73104 Initialize COMMON_CPUID_INDEX_7 element.
73105 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
73106 (CPUID_RTM): Likewise.
73107 (HAS_RTM): Likewise.
73108 (COMMON_CPUID_INDEX_7): New enum.
73109
73110 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
73111
73112 [BZ #14981]
73113 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
73114 size is zero, record memory as freed.
73115
73116 2013-01-03 Andreas Jaeger <aj@suse.de>
73117
73118 * po/ia.po: Add new Interlingua translation.
73119
73120 2012-01-03 Allan McRae <allan@archlinux.org>
73121
73122 * locale/programs/localedef.c: Fix description of '--posix' flag.
73123
73124 2013-01-02 Joseph Myers <joseph@codesourcery.com>
73125
73126 * NEWS: Update dates in second copyright notice.
73127 * README: Update copyright dates in example.
73128 * manual/libc.texinfo: Update copyright dates.
73129 * scripts/test-installation.pl: Update copyright date in --version
73130 output.
73131
73132 * hurd/ctty-input.c: Fix copyright notice formatting.
73133 * hurd/ctty-output.c: Likewise.
73134 * hurd/dtable.c: Likewise.
73135 * hurd/hurd-raise.c: Likewise.
73136 * hurd/hurdprio.c: Likewise.
73137 * hurd/msgportdemux.c: Likewise.
73138 * misc/sys/file.h: Likewise.
73139 * misc/sys/ioctl.h: Likewise.
73140 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73141 * sysdeps/mach/hurd/chdir.c: Likewise.
73142 * sysdeps/mach/hurd/fchdir.c: Likewise.
73143 * sysdeps/mach/hurd/rename.c: Likewise.
73144 * sysdeps/mach/hurd/rmdir.c: Likewise.
73145 * sysdeps/mach/hurd/seekdir.c: Likewise.
73146 * sysdeps/mach/hurd/setsid.c: Likewise.
73147 * sysdeps/posix/wait3.c: Likewise.
73148
73149 * All files with FSF copyright notices: Update copyright dates
73150 using scripts/update-copyrights.
73151 * intl/plural.c: Regenerated.
73152 * locale/programs/charmap-kw.h: Likewise.
73153 * locale/programs/locfile-kw.h: Likewise.
73154
73155 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
73156
73157 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73158 four values.
73159
73160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73161 calculation loop and add branch prediction.
73162
73163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73164 check access beyond bounds of m1np.
73165
73166 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73167 MPTWO.
73168 (__inv): Remove local variable MPTWO to use the global
73169 constant.
73170 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73172 variable MPTWO.
73173 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73174 MP3HALFS static const.
73175
73176 2013-01-01 David S. Miller <davem@davemloft.net>
73177
73178 * po/ca.po: Update from translation team.
73179
73180 2013-01-01 Joseph Myers <joseph@codesourcery.com>
73181
73182 * scripts/update-copyrights: New file.
73183 * Makeconfig: Reformat copyright notice.
73184 * ctype/ctype.h: Likewise.
73185 * debug/swprintf_chk.c: Likewise.
73186 * elf/dl-cache.c: Likewise.
73187 * elf/dl-debug.c: Likewise.
73188 * elf/dl-object.c: Likewise.
73189 * grp/initgroups.c: Likewise.
73190 * hurd/Makefile: Likewise.
73191 * hurd/hurd/signal.h: Likewise.
73192 * hurd/hurdfault.c: Likewise.
73193 * hurd/hurdioctl.c: Likewise.
73194 * hurd/hurdlookup.c: Likewise.
73195 * hurd/intr-msg.c: Likewise.
73196 * iconv/gconv_open.c: Likewise.
73197 * libio/swprintf.c: Likewise.
73198 * locale/lc-ctype.c: Likewise.
73199 * locale/nl_langinfo.c: Likewise.
73200 * mach/Machrules: Likewise.
73201 * mach/Makefile: Likewise.
73202 * malloc/obstack.h: Likewise.
73203 * manual/Makefile: Likewise.
73204 * manual/tsort.awk: Likewise.
73205 * misc/bits/stab.def: Likewise.
73206 * nis/nis_print_group_entry.c: Likewise.
73207 * nis/nis_table.c: Likewise.
73208 * nis/nss_compat/compat-pwd.c: Likewise.
73209 * nis/nss_compat/compat-spwd.c: Likewise.
73210 * po/Makefile: Likewise.
73211 * posix/fnmatch.c: Likewise.
73212 * posix/regex.h: Likewise.
73213 * resolv/Makefile: Likewise.
73214 * resolv/nss_dns/dns-network.c: Likewise.
73215 * resolv/res_hconf.c: Likewise.
73216 * scripts/gen-sorted.awk: Likewise.
73217 * soft-fp/soft-fp.h: Likewise.
73218 * stdio-common/printf.h: Likewise.
73219 * stdlib/monetary.h: Likewise.
73220 * stdlib/random.c: Likewise.
73221 * stdlib/random_r.c: Likewise.
73222 * sysdeps/generic/Makefile: Likewise.
73223 * sysdeps/gnu/Makefile: Likewise.
73224 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73226 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73231 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73232 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73234 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73235 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73236 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73237 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73238 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73240 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73242 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73244 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73245 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73246 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73247 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73248 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73249 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73250 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73251 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73252 * sysdeps/mach/hurd/errnos.awk: Likewise.
73253 * sysdeps/mach/hurd/fork.c: Likewise.
73254 * sysdeps/mach/hurd/getcwd.c: Likewise.
73255 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73256 * sysdeps/mach/hurd/mmap.c: Likewise.
73257 * sysdeps/mach/hurd/utimes.c: Likewise.
73258 * sysdeps/mach/hurd/xmknod.c: Likewise.
73259 * sysdeps/posix/profil.c: Likewise.
73260 * sysdeps/posix/readdir_r.c: Likewise.
73261 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73262 * sysdeps/powerpc/bits/setjmp.h: Likewise.
73263 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73264 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73266 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73267 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73268 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73272 * sysdeps/pthread/lio_listio.c: Likewise.
73273 * sysdeps/sparc/dl-procinfo.h: Likewise.
73274 * sysdeps/unix/i386/sysdep.S: Likewise.
73275 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73276 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73277 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73278 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73280 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73281 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73282 * sysdeps/unix/sysv/linux/speed.c: Likewise.
73283 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73284 * sysdeps/wordsize-32/divdi3.c: Likewise.
73285 * time/sys/time.h: Likewise.
73286 * wcsmbs/Makefile: Likewise.
73287
73288 2013-01-01 David S. Miller <davem@davemloft.net>
73289
73290 * po/fr.po: Update from translation team.
73291
73292 * catgets/gencat.c: Update copyright year.
73293 * csu/version.c: Likewise.
73294 * debug/catchsegv.sh: Likewise.
73295 * debug/pcprofiledump.c: Likewise.
73296 * debug/xtrace.sh: Likewise.
73297 * elf/ldconfig.c: Likewise.
73298 * elf/ldd.bash.in: Likewise.
73299 * elf/pldd.c: Likewise.
73300 * elf/sotruss.ksh: Likewise.
73301 * elf/sprof.c: Likewise.
73302 * iconv/iconv_prog.c: Likewise.
73303 * iconv/iconvconfig.c: Likewise.
73304 * locale/programs/locale.c: Likewise.
73305 * locale/programs/localedef.c: Likewise.
73306 * login/programs/pt_chown.c: Likewise.
73307 * malloc/memusage.sh: Likewise.
73308 * malloc/memusagestat.c: Likewise.
73309 * malloc/mtrace.pl: Likewise.
73310 * nscd/nscd.c: Likewise.
73311 * nss/getent.c: Likewise.
73312 * nss/makedb.c: Likewise.
73313 * posix/getconf.c: Likewise.
73314
73315 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73316
73317 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73318 numbers.
73319
73320 2012-12-30 Mike Frysinger <vapier@gentoo.org>
73321
73322 * math/bits/mathcalls.h (modf): Use __nonnull.
73323
73324 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
73325
73326 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73327 (split): Use macro CN instead of the bare value.
73328 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73329 could be used.
73330 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73331 instead of the bare value.
73332 (power1): Likewise.
73333
73334 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73335
73336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73337 __ATAN_TWOM.
73338 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73339
73340 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73341 their values.
73342 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73343 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73344 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73346
73347 2012-12-28 Andreas Jaeger <aj@suse.de>
73348
73349 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73350 values are from Linux 3.7.
73351
73352 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73353 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
73354
73355 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73356
73357 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73358 TRUE case.
73359
73360 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73361 (norm): Likewise.
73362 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73363 variables with preprocessor constants.
73364 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73365 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73366 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73367
73368 2012-12-27 Bruno Haible <bruno@clisp.org>
73369
73370 [BZ #14317]
73371 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73372 only if needed.
73373
73374 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73375
73376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73377 and use variable directly.
73378 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73379
73380 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73381 MPONE.
73382 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73383 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73384 variable MPONE.
73385 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73387 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73388 include directive. Remove local variable MPONE.
73389 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73390 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73391 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73392
73393 2012-12-25 David S. Miller <davem@davemloft.net>
73394
73395 * version.h (RELEASE): Set to "development".
73396 (VERSION): Set to "2.17.90".
73397 * NEWS: Add 2.18 section.
73398
73399 2012-12-21 David S. Miller <davem@davemloft.net>
73400
73401 * po/hr.po: Update from translation team.
73402
73403 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73404
73405 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73406
73407 2012-12-19 Steve Ellcey <sellcey@mips.com>
73408
73409 * NEWS: Mention new memcpy for MIPS.
73410
73411 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73412
73413 * manual/contrib.texi (Contributors): Spelling correction.
73414
73415 2012-12-15 David S. Miller <davem@davemloft.net>
73416
73417 * po/ru.po: Update from translation team.
73418
73419 2012-12-13 David S. Miller <davem@davemloft.net>
73420
73421 * NEWS: Mention IFUNC testsuite enhancements.
73422
73423 * po/pl.po: Update from translation team.
73424 * po/bg.po: Likewise.
73425
73426 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73427 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73428
73429 2012-12-11 David S. Miller <davem@davemloft.net>
73430
73431 * po/sv.po: Update from translation team.
73432
73433 * po/vi.po: Update from translation team.
73434
73435 * po/cs.po: Update from translation team.
73436
73437 * po/de.po: Update from translation team.
73438 * po/eo.po: Likewise.
73439 * po/nl.po: Likewise.
73440
73441 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73442
73443 [BZ #14246]
73444 * manual/argp.texi (Argp Helper Functions): Move node to follow
73445 Argp Parsing State.
73446
73447 [BZ #14872]
73448 * manual/conf.texi (Limits on File System Capacity): Mention if
73449 terminating null is included in the max size.
73450
73451 2012-12-10 Andreas Jaeger <aj@suse.de>
73452
73453 * po/cs.po: Update from translation team.
73454
73455 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73456
73457 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73458 void pointer and cast to uintptr_t.
73459 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73460 path.
73461 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73462 * sysdeps/s390/s390-64/memset.S: Likewise.
73463
73464 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73465
73466 [BZ #14833]
73467 * menual/message.texi (Message Translation): Fix typos.
73468 (Helper programs for gettext): Likewise.
73469
73470 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73471
73472 [BZ #14898]
73473 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73474 Change to -1.
73475
73476 2012-12-07 David S. Miller <davem@davemloft.net>
73477
73478 * po/libc.pot: Update.
73479
73480 2012-12-07 Richard Henderson <rth@redhat.com>
73481
73482 [BZ #10114]
73483 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73484 normal/normal case to before the switch.
73485 (_FP_DIV): Likewise.
73486
73487 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73488 Mike Frysinger <vapier@gentoo.org>
73489
73490 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73491 check for __NR_fadvise64_64.
73492
73493 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73494
73495 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73496 0, not just to plain "0" as a statement.
73497 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73498 with cw.
73499
73500 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73501
73502 * NEWS: Use sourceware.org in Bugzilla URL.
73503
73504 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73505
73506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73507 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73508
73509 * stdio-common/tst-put-error.c (do_test): Add newline to the
73510 padded test to ensure flush.
73511
73512 2012-12-05 Jeff Law <law@redhat.com>
73513
73514 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73515
73516 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73517
73518 * README: Don't refer to ports add-on as distributed separately.
73519 Mention AArch64 in list of systems supported in the ports add-on.
73520
73521 * LICENSES: Add more non-FSF copyright and license notices.
73522
73523 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73524 ((unused)).
73525
73526 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73527
73528 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73529 10000 as width of padded output.
73530
73531 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73532
73533 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73534
73535 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73536 variable LX with __attribute__ ((unused)).
73537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73538 Likewise.
73539 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73541 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73542 with __attribute__ ((unused)).
73543
73544 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73545
73546 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73547
73548 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73549
73550 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73551 (CFLAGS-nldbl-acos.c): New variable.
73552 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73553 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73554 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73555 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73556 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73557 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73558 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73559 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73560 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73561 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73562 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73563 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73564 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73565 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73566 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73567 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73568 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73569 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73570 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73571 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73572 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73573 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73574 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73575 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73576 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73577 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73578 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73579 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73580 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73581 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73582 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73583 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73584 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73585 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73586 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73587 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73588 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73589 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73590 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73591 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73592 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73593 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73594 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73595 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73596 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73597 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73598 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73599 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73600 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73601 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73602 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73603 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73604 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73605 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73606 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73607 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73608 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73609 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73610 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73611 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73612 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73613 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73614 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73615 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73616 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73617 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73618 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73619 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73620 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73621 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73622 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73623 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73624 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73625 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73626 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73627 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73628 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73629 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73630 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73631 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73632 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73633 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73634 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73635 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73636 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73637 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73638 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73639 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73640 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73641 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73642 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73643 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73644 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73645 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73646 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73647 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73648 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73649
73650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73651 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73652
73653 [BZ #14914]
73654 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73655 whole low double instead of just low 47 bits when splitting values
73656 into two parts.
73657
73658 2012-12-03 Allan McRae <allan@archlinux.org>
73659
73660 * manual/stdio.texi (Predefined Printf Handlers): Remove
73661 @hsep and @vsep usage.
73662
73663 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73664
73665 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73666 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73667
73668 2012-12-03 Jeff Law <law@redhat.com>
73669
73670 * time/sys/time.h (settimeofday): Do not mark TV argument
73671 as __nonnull.
73672
73673 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73674
73675 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73676 when currently writing and seek to current position when not.
73677 * libio/Makefile (tests): Remove bug-fclose1.
73678 * libio/bug-fclose1.c: Delete.
73679
73680 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73681
73682 * manual/arith.texi (feenableexcept): Fix typo.
73683 (fedisableexcept): Likewise.
73684
73685 2012-11-30 Roland McGrath <roland@hack.frob.com>
73686
73687 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73688 second, differently-typed declaration, rather than a cast.
73689
73690 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73691
73692 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73693 * include/rpc/svc.h: ... here.
73694
73695 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73696
73697 [BZ #13013]
73698 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73699 depending n and resplen2 to catch cases where answer
73700 equals answerp2.
73701
73702 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73703
73704 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73705 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73706
73707 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73708
73709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73710
73711 2012-11-29 Roland McGrath <roland@hack.frob.com>
73712
73713 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73714
73715 2012-11-28 Jeff Law <law@redhat.com>
73716
73717 [BZ #13761]
73718 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73719 dataset_temporary. Track alloca usage into alloca_used.
73720 If dataset is large allocate and release it via malloc/free.
73721
73722 2012-06-04 Florian Weimer <fweimer@redhat.com>
73723
73724 [BZ #14197]
73725 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73726
73727 2012-11-28 David S. Miller <davem@davemloft.net>
73728
73729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73730
73731 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73732
73733 [BZ #14803]
73734 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73735 of pi/2 rounded to nearest to 64 bits.
73736 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73737 nearest to 64 bits.
73738 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73739 bits.
73740
73741 2012-11-28 Jeff Law <law@redhat.com>
73742 Martin Osvald <mosvald@redhat.com>
73743
73744 [BZ #14889]
73745 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73746 * sunrpc/svc.c: Include time.h.
73747 (__svc_accept_failed): New function.
73748 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73749 any reason other than EINTR, call __svc_accept_failed.
73750 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73751 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73752
73753 2012-11-28 Andreas Schwab <schwab@suse.de>
73754
73755 * scripts/abilist.awk: Also handle indirect functions in .opd
73756 section.
73757
73758 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73759
73760 [BZ #13881]
73761 * sysdeps/x86/fpu/powl_helper.c: New file.
73762 * sysdeps/x86/fpu/Makefile: Likewise.
73763 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73764 (p3): New object.
73765 (__ieee754_powl): Use __powl_helper for finite arguments except
73766 integer exponents below 8.
73767 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73768 (p3): New object.
73769 (__ieee754_powl): Use __powl_helper for finite arguments except
73770 integer exponents below 8.
73771 * math/libm-test.inc (pow_test): Add more tests and enable some
73772 previously disabled tests.
73773 * sysdeps/i386/fpu/libm-test-ulps: Update.
73774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73775
73776 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73777 Carlos O'Donell <carlos_odonell@mentor.com>
73778
73779 * nss/makedb.c (is_prime): Assert that input is odd and greater
73780 than 4. Note that fact in a comment too.
73781 (next_prime): Add 4 to input.
73782
73783 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73784
73785 [BZ #11741]
73786 * libio/Makefile (tests): Add test case tst-fwrite-error.
73787 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73788 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73789 * libio/tst-fwrite-error.c: New test case.
73790
73791 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73792
73793 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73794 before casting to void *.
73795 * include/libc-internal.h (__pointer_type): New macro.
73796 (__integer_if_pointer_type_sub): Likewise.
73797 (__integer_if_pointer_type): Likewise.
73798 (cast_to_integer): Likewise.
73799 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73800 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73801 before casting to atomic64_t.
73802 (atomic_exchange_acq): Likewise.
73803 (__arch_exchange_and_add_body): Likewise.
73804 (__arch_add_body): Likewise.
73805 (atomic_add_negative): Likewise.
73806 (atomic_add_zero): Likewise.
73807
73808 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73809
73810 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73811 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73812 (add_fdes): Likewise.
73813 (linear_search_fdes): Likewise.
73814 (binary_search_unencoded_fdes): Likewise.
73815
73816 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73817
73818 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73819
73820 2012-11-24 Adam Conrad <adconrad@0c3.net>
73821
73822 * configure.in: Autodetect C++ header directories.
73823 * configure: Regenerated.
73824
73825 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73826
73827 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73828
73829 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73830
73831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73832
73833 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73834
73835 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73836 LDBL_MANT_DIG == 106]: Disable some tests.
73837 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73838 Likewise.
73839 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73840 Likewise.
73841
73842 [BZ #14871]
73843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73844 input for small inputs. Return +/- pi/2 for large inputs.
73845 * math/libm-test.inc (atan_test): Add more tests.
73846
73847 * sysdeps/generic/unwind-dw2-fde-glibc.c
73848 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73849 __attribute__ ((unused)).
73850
73851 [BZ #14645]
73852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73853 x * y if x and y are nonzero and z is zero.
73854
73855 [BZ #14811]
73856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73857 nonzero exponents with absolute value below 0x1p-117 to +/-
73858 0x1p-117.
73859
73860 [BZ #14869]
73861 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73862 up arguments below 2**-450, not just those below 2**-500.
73863 * math/libm-test.inc (hypot_test): Add another test.
73864
73865 [BZ #14868]
73866 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73867 Return a+b for ratio over 2**120, not 2**60.
73868 * math/libm-test.inc (hypot_test): Add another test.
73869
73870 * math/libm-test.inc (clog_test): Use
73871 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73872 (clog10_test): Likewise.
73873
73874 [BZ #6778]
73875 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73876
73877 2012-11-22 Andreas Schwab <schwab@suse.de>
73878
73879 * sysdeps/i386/fpu/libm-test-ulps: Update.
73880
73881 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73882
73883 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73884 printf output with newline.
73885
73886 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73887
73888 [BZ #14865]
73889 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73890 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73891 -z nodlopen, -z initfirst and -z execstack support.
73892 * configure: Regenerated.
73893
73894 * elf/elf.h (DF_1_NODIRECT): New macro.
73895 (DF_1_IGNMULDEF): Likewise.
73896 (DF_1_NOKSYMS): Likewise.
73897 (DF_1_NOHDR): Likewise.
73898 (DF_1_EDITED): Likewise.
73899 (DF_1_NORELOC): Likewise.
73900 (DF_1_SYMINTPOSE): Likewise.
73901 (DF_1_GLOBAUDIT): Likewise.
73902 (DF_1_SINGLETON): Likewise.
73903 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73904 DT_1_SUPPORTED_MASK bits.
73905 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73906
73907 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73908
73909 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73910
73911 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73912
73913 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73914 macro.
73915
73916 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73917 (sendmmsg): Move declarations...
73918 * socket/sys/socket.h: ... here.
73919 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73920 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73921 include it from...
73922 * socket/recvmmsg.c: ... this new file.
73923 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73924 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73925 definition of __sendmmsg hidden.
73926 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73927 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73928 Move ENOSYS stub into and include it from...
73929 * socket/sendmmsg.c: ... this new file.
73930 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73931 (sysdep_routines): Move recvmmsg and sendmmsg...
73932 * socket/Makefile (routines): ... here.
73933 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73934 (GLIBC_PRIVATE): Add __sendmmsg.
73935 * include/sys/socket.h (__sendmmsg): Add declarations.
73936 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73937 sendmmsg.
73938
73939 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73940
73941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73942 variable I1 with __attribute__ ((unused)).
73943 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73944
73945 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73946
73947 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73948 DUMMY variables with __attribute__ ((unused)).
73949
73950 * bits/byteswap.h: Include <bits/types.h>.
73951 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73952
73953 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73954
73955 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73956 string_t. Do not manually set errno.
73957 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73958 length with __strnlen. Make sure to both set errno and return it on
73959 failure.
73960
73961 2012-11-19 David S. Miller <davem@davemloft.net>
73962
73963 With help from Joseph Myers.
73964 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73965 very large arguments properly.
73966 * math/libm-test.inc (atan_test): New tests.
73967 (atan2_test): New tests.
73968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73970
73971 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73972
73973 [BZ #14856]
73974 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73975 Define to 3.
73976
73977 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73978 [POSIX] (EADDRNOTAVAIL): Likewise.
73979 [POSIX] (EAFNOSUPPORT): Likewise.
73980 [POSIX] (EALREADY): Likewise.
73981 [POSIX] (ECONNABORTED): Likewise.
73982 [POSIX] (ECONNREFUSED): Likewise.
73983 [POSIX] (ECONNRESET): Likewise.
73984 [POSIX] (EDESTADDRREQ): Likewise.
73985 [POSIX] (EDQUOT): Likewise.
73986 [POSIX] (EHOSTUNREACH): Likewise.
73987 [POSIX] (EIDRM): Likewise.
73988 [POSIX] (EISCONN): Likewise.
73989 [POSIX] (ELOOP): Likewise.
73990 [POSIX] (EMULTIHOP): Likewise.
73991 [POSIX] (ENETDOWN): Likewise.
73992 [POSIX] (ENETUNREACH): Likewise.
73993 [POSIX] (ENOBUFS): Likewise.
73994 [POSIX] (ENODATA): Likewise.
73995 [POSIX] (ENOLINK): Likewise.
73996 [POSIX] (ENOMSG): Likewise.
73997 [POSIX] (ENOPROTOOPT): Likewise.
73998 [POSIX] (ENOSR): Likewise.
73999 [POSIX] (ENOSTR): Likewise.
74000 [POSIX] (ENOTCONN): Likewise.
74001 [POSIX] (ENOTSOCK): Likewise.
74002 [POSIX] (EOPNOTSUPP): Likewise.
74003 [POSIX] (EOVERFLOW): Likewise.
74004 [POSIX] (EPROTO): Likewise.
74005 [POSIX] (EPROTONOSUPPORT): Likewise.
74006 [POSIX] (EPROTOTYPE): Likewise.
74007 [POSIX] (ESTALE): Likewise.
74008 [POSIX] (ETIME): Likewise.
74009 [POSIX] (ETXTBSY): Likewise.
74010 [POSIX] (EWOULDBLOCK): Likewise.
74011 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
74012 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
74013 [POSIX] (SEEK_CUR): Likewise.
74014 [POSIX] (SEEK_END): Likewise.
74015 [POSIX || UNIX98] (mode_t): Do not require.
74016 [POSIX] (off_t): Likewise.
74017 [POSIX] (pid_t): Likewise.
74018 [POSIX] (sys/stat.h): Do not allow header.
74019 [POSIX] (unistd.h): Likewise.
74020 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
74021 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
74022 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
74023 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
74024 require.
74025 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
74026 sigevent): Specify elements.
74027 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
74028 entry.
74029 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
74030 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
74031
74032 * conform/data/cpio.h-data [POSIX]: Disable whole file.
74033 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
74034 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
74035 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
74036 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
74037 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
74038 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
74039 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
74040 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
74041 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
74042 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
74043 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
74044 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
74045 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
74046 Likewise.
74047 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
74048 Likewise.
74049 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
74050 Likewise.
74051 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
74052 Likewise.
74053 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
74054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
74055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
74056 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
74057 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
74058 Specify lower bound on value.
74059 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
74060 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
74061 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
74062 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
74063 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
74064 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
74065 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
74066 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
74067 value.
74068 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
74069 as optional.
74070 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
74071 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
74072 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
74073 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
74074 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
74075 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
74076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
74077 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
74078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
74079 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
74080 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
74081 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
74082 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
74083 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
74084 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
74085 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
74086 entry.
74087 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
74088 optional.
74089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
74090 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
74091 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
74092 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
74093 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
74094 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
74095 Likewise.
74096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
74097 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
74098 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
74099 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
74100 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
74101 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
74102 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
74103 as optional.
74104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
74105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
74106 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
74107 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
74108 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
74109 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
74110 specify as optional.
74111 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
74112 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
74113 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
74114 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
74115 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
74116 [XPG3] (NL_LANGMAX): Likewise.
74117 [POSIX || XPG3] (NL_MSGMAX): Likewise.
74118 [POSIX || XPG3] (NL_NMAX): Likewise.
74119 [POSIX || XPG3] (NL_SETMAX): Likewise.
74120 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
74121 [XPG3] (NZERO): Likewise.
74122 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
74123 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
74124 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
74125 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
74126 (REG_ERANGE): Expect.
74127 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
74128 optional-constant.
74129 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
74130 Use (void) in prototype.
74131 [POSIX] (*_t): Allow.
74132 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
74133 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
74134 (WRDE_BADVAL): Expect.
74135
74136 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
74137 expect.
74138 [XPG3 || XPG4] (O_RSYNC): Likewise.
74139 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74140 Likewise.
74141 [XPG3 || XPG4] (pthread_sigmask): Likewise.
74142 [XPG3 || XPG4] (sigqueue): Likewise.
74143 [XPG3 || XPG4] (sigtimedwait): Likewise.
74144 [XPG3 || XPG4] (sigwaitinfo): Likewise.
74145 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74146 [XPG3 || XPG4] (vsnprintf): Likewise.
74147 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74148 Likewise.
74149 [XPG3 || XPG4] (blksize_t): Likewise.
74150 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74151 Likewise.
74152 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74153 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74154 [XPG3 || XPG4] (struct itimerspec): Likewise.
74155 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74156 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74157 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74158 [XPG3 || XPG4] (clockid_t): Likewise.
74159 [XPG3 || XPG4] (timer_t): Likewise.
74160 [XPG3 || XPG4] (clock_getres): Likewise.
74161 [XPG3 || XPG4] (clock_gettime): Likewise.
74162 [XPG3 || XPG4] (clock_settime): Likewise.
74163 [XPG3 || XPG4] (nanosleep): Likewise.
74164 [XPG3 || XPG4] (timer_create): Likewise.
74165 [XPG3 || XPG4] (timer_delete): Likewise.
74166 [XPG3 || XPG4] (timer_gettime): Likewise.
74167 [XPG3 || XPG4] (timer_getoverrun): Likewise.
74168 [XPG3 || XPG4] (timer_settime): Likewise.
74169 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74170 [XPG3 || XPG4] (getlogin_r): Likewise.
74171 [XPG3 || XPG4] (pread): Likewise.
74172 [XPG3 || XPG4] (pthread_atfork): Likewise.
74173 [XPG3 || XPG4] (pwrite): Likewise.
74174
74175 [BZ #14835]
74176 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74177 <bits/siginfo.h>.
74178
74179 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
74180
74181 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74182 finalizing MALLSTREAM.
74183
74184 * sysdeps/mach/hurd/syncfs.c: New file.
74185
74186 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
74187
74188 [BZ #14719]
74189 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74190 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74192 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74193 (_nss_dns_gethostbyname4_r): Likewise.
74194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74195 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74196
74197 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
74198
74199 [BZ #13763]
74200 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74201
74202 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
74203
74204 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74205 * elf/cache.c (print_entry): Print ",AArch64" for
74206 FLAG_AARCH64_LIB64
74207
74208 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74209 * elf/cache.c (print_entry): Print ",hard-float" for
74210 FLAG_ARM_LIBHF.
74211
74212 2012-11-18 David S. Miller <davem@davemloft.net>
74213
74214 With help from Joseph Myers.
74215 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74216 cutoff to 2**-13.
74217 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74218 cutoff to 2**-25.
74219 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74220 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74221 small.
74222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74223 * math/libm-test.inc (y0_test): New tests.
74224 (y1_test): New tests.
74225 * sysdeps/i386/fpu/libm-test-ulps: Update.
74226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74228
74229 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
74230
74231 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74232 64-bit targets.
74233 * configure: Regenerated.
74234
74235 2012-11-17 David S. Miller <davem@davemloft.net>
74236
74237 [BZ #14811]
74238 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74239 nonzero exponents with absolute value below 0x1p-128 to +/-
74240 0x1p-128.
74241
74242 2012-11-17 Joseph Myers <joseph@codesourcery.com>
74243
74244 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74245
74246 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74247
74248 * posix/getconf-speclist.c: New file.
74249 * posix/posix-envs.def: Likewise.
74250 * posix/confstr.c (START_ENV_GROUP): New macro.
74251 (END_ENV_GROUP): Likewise.
74252 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74253 (KNOWN_PRESENT_ENV_STRING): Likewise.
74254 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74255 (UNKNOWN_ENVIRONMENT): Likewise.
74256 (confstr): Include posix-envs.def instead of handling
74257 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74258 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74259 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74260 (END_ENV_GROUP): Likewise.
74261 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74262 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74263 (UNKNOWN_ENVIRONMENT): Likewise.
74264 (__sysconf): Include posix-envs.def instead of handling associated
74265 cases directly here.
74266 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74267 preprocessing getconf-speclist.c rather than running getconf or
74268 generating empty file.
74269
74270 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
74271
74272 * scripts/check-local-headers.sh: Ignore 'mach' headers.
74273
74274 2012-11-16 Andrej Lajovic <natrij@gmail.com>
74275
74276 [BZ #14672]
74277 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74278
74279 2012-11-16 David S. Miller <davem@davemloft.net>
74280
74281 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74282 smaller than LDBL_EPSILON/2.0L, just return xm1.
74283
74284 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
74285
74286 * elf/tst-array1.c (init): Set constructor priority to 1000.
74287 (fini): Set destructor priority to 1000.
74288 * elf/tst-array2dep.c: Likewise.
74289
74290 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74291
74292 [BZ #11741]
74293 * libio/fileops.c (_IO_new_file_write): Correctly return error.
74294 (_IO_new_file_xsputn): Also return EOF if none of the input
74295 data was written when overflow failed.
74296 * libio/iopadn.c (_IO_padn): Likewise.
74297 * libio/iowpadn.c (_IO_wpadn): Likewise.
74298 * stdio-common/tst-put-error.c: Add copyright notice.
74299 (do_test): Add case for printing padded string.
74300 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74301 _IO_padn returned error.
74302 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74303 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74304 return EOF.
74305
74306 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74307
74308 * libio/libioP.h: Add comment note that the references to C++
74309 bits are now obsolete.
74310
74311 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74312
74313 * math/libm-test.inc (check_complex): Use asprintf.
74314
74315 2012-11-14 Joseph Myers <joseph@codesourcery.com>
74316
74317 * debug/pcprofiledump.c (print_version): Update copyright year.
74318 * malloc/memusagestat.c (print_version): Likewise.
74319
74320 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
74321
74322 [BZ #14831]
74323 * elf/Makefile (tests): Add tst-audit8.
74324 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74325 ($(objpfx)tst-audit8.out): New target.
74326 (tst-audit8-ENV): New variable.
74327 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74328 audit if l_reloc_result is NULL.
74329 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74330 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74331 * elf/tst-audit8.c: New file.
74332
74333 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74334
74335 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74336 * misc/Makefile (CFLAGS-select.c): Define.
74337 * posix/Makefile (CFLAGS-pause.c): Define.
74338
74339 2012-11-13 David S. Miller <davem@davemloft.net>
74340
74341 * crypt/Makefile: Move test targets after toplevel Rules
74342 inclusion. Grab any necessary sysdep routines when linking.
74343 * crypt/md5.c (md5_process_block): Remove define, we will always
74344 name it __md5_process_block.
74345 (md5_finish_ctx): Update md5_process_block call.
74346 (md5_stream): Likewise.
74347 (md5_process_bytes): Likewise.
74348 (md5_process_block): Rename to __md5_process_block and move to ...
74349 * crypt/md5-block.c: ... here.
74350 * crypt/sha256.c (sha256_process_block): Move to ...
74351 * crypt/sha256-block.c: ... here.
74352 * crypt/sha512.c (sha512_process_block): Move to ...
74353 * crypt/sha512-block.c: ... here.
74354 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74355 path.
74356 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74357 * sysdeps/sparc/sparc64/multiarch/Makefile
74358 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74359 crypt subdir.
74360 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74361 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74362 multiarch changes.
74363 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74364 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74365 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74366 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74367 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74368 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74370 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74371 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74372 file.
74373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74375 file.
74376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74377
74378 2012-11-13 Joseph Myers <joseph@codesourcery.com>
74379
74380 * timezone/tzselect.ksh: Update from tzcode git revision
74381 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74382 * timezone/zdump.c: Likewise.
74383 * timezone/zic.c: Likewise.
74384 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74385 in TZVERSION setting, not $(PKGVERSION).
74386 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74387 REPORT_BUGS_TO settings.
74388
74389 [BZ #14838]
74390 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74391 macro.
74392
74393 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74394
74395 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74396 detection to immediately after _FP_ROUND().
74397 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74398 bits are 0.
74399
74400 2012-11-11 David S. Miller <davem@davemloft.net>
74401
74402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74403 inttypes.h
74404 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74405 __close rather than their public counterparts.
74406
74407 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74408
74409 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74410 file.
74411 [UNIX98] (sem_timedwait): Do not expect.
74412 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74413 [XPG4 || UNIX98] (sockatmark): Do not expect.
74414 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74415 (clock_getcpuclockid): Do not expect.
74416 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74417 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74418 Do not expect.
74419 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74420 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74421 [UNIX98] (vwscanf): Likewise.
74422 [UNIX98] (vswscanf): Likewise.
74423
74424 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74425
74426 * timezone/version.h: Remove file.
74427 * timezone/README: Do not refer to version.h.
74428 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74429 $(objpfx)version.h.
74430 ($(objpfx)zdump.o): Likewise.
74431 ($(objpfx)version.h): New target.
74432
74433 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74434 2012i.
74435 * timezone/README: Don't mention modification to tzselect.ksh.
74436 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74437 work on unmodified tzselect.ksh. Substitute version numbers in
74438 tzselect.ksh.
74439
74440 * Makefile (format-me): Remove.
74441 (INSTALL): Adjust indentation. Use commands directly instead of
74442 using $(format-me).
74443
74444 * aclocal.m4 (ACX_PKGVERSION): New macro.
74445 (ACX_BUGURL): Likewise.
74446 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74447 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74448 (REPORT_BUGS_TO): Likewise.
74449 * configure: Regenerated.
74450 * config.h.in (PKGVERSION): New macro.
74451 (REPORT_BUGS_TO): Likewise.
74452 * config.make.in (PKGVERSION): New variable.
74453 (PKGVERSION_TEXI): Likewise.
74454 (REPORT_BUGS_TO): Likewise.
74455 (REPORT_BUGS_TEXI): Likewise.
74456 * Makefile (format-me): Use -I$(common-objpfx)manual.
74457 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74458 ($(common-objpfx)manual/%): New target.
74459 (manual/%): Remove target.
74460 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74461 (print_version): Use PKGVERSION.
74462 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74463 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74464 and REPORT_BUGS_TO.
74465 ($(objpfx)xtrace): Likewise.
74466 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74467 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74468 (print_version): Use PKGVERSION.
74469 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74470 (do_version): Use PKGVERSION.
74471 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74472 REPORT_BUGS_TO.
74473 (common-ldd-rewrite): Likewise.
74474 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74475 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74476 (print_version): Use PKGVERSION.
74477 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74478 * elf/pldd.c (argp_program_bug_address): Remove variable.
74479 (more_help): New function.
74480 (argp): Use more_help.
74481 (print_version): Use PKGVERSION.
74482 * elf/sln.c (main): Use PKGVERSION.
74483 (usage): Use REPORT_BUGS_TO.
74484 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74485 (top level): Use PKGVERSION.
74486 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74487 (print_version): Use PKGVERSION.
74488 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74489 (print_version): Use PKGVERSION.
74490 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74491 (print_version): Use PKGVERSION.
74492 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74493 (print_version): Use PKGVERSION.
74494 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74495 (print_version): Use PKGVERSION.
74496 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74497 (print_version): Use PKGVERSION.
74498 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74499 and BUGURL.
74500 ($(objpfx)memusage): Likewise.
74501 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74502 (do_version): Use PKGVERSION.
74503 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74504 (print_version): Use PKGVERSION.
74505 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74506 ($PKGVERSION): New variable.
74507 ($REPORT_BUGS_TO): Likewise.
74508 (usage): Use $REPORT_BUGS_TO.
74509 (top level): Use $PKGVERSION.
74510 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74511 ($(objpfx)pkgvers.texi): New rule.
74512 ($(objpfx)stamp-pkgvers): Likewise.
74513 * manual/install.texi: Include pkgvers.texi.
74514 (--with-pkgversion): Document new configure option.
74515 (--with-bugurl): Likewise.
74516 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74517 than necessarily for this particular distribution. Use
74518 REPORT_BUGS_TO for where to report bugs.
74519 * INSTALL: Regenerated.
74520 * manual/libc.texinfo: Include pkgvers.texi.
74521 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74522 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74523 (print_version): Use PKGVERSION.
74524 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74525 (print_version): Use PKGVERSION.
74526 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74527 (print_version): Use PKGVERSION.
74528 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74529 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74530 macro.
74531 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74532 (print_version): Use PKGVERSION.
74533 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74534 (print_version): Use PKGVERSION.
74535 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74536 and PKGVERSION.
74537
74538 * timezone/checktab.awk: Update from tzcode 2012i.
74539 * timezone/ialloc.c: Likewise.
74540 * timezone/private.h: Likewise.
74541 * timezone/scheck.c: Likewise.
74542 * timezone/tzfile.h: Likewise.
74543 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74544 (TZVERSION): Hardcode tzcode version number.
74545 * timezone/zdump.c: Update from tzcode 2012i.
74546 * timezone/zic.c: Likewise.
74547 * timezone/version.h: New file.
74548 * timezone/README: Describe version.h. Update upstream location.
74549
74550 [BZ #14824]
74551 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74552 (mktemp): Enable declaration.
74553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74557 Likewise.
74558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74559 Likewise.
74560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74561 Likewise.
74562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74563 Likewise.
74564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74565 Likewise.
74566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74567 Likewise.
74568
74569 [BZ #14821]
74570 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74571 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74572 for copies of such integer values.
74573 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74574 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74575
74576 2012-11-09 Andreas Jaeger <aj@suse.de>
74577
74578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74579 definitions and declarations that are provided by
74580 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74581
74582 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74583
74584 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74585 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74586 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74587 definition.
74588
74589 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74590
74591 * elf/elf.h: Update comment before AArch64 relocations.
74592
74593 2012-11-07 David S. Miller <davem@davemloft.net>
74594
74595 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74596 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74597 (__start_context): Declare.
74598 (__makecontext_ret): Delete.
74599 (__makecontext): Hook up __start_context instead of
74600 __makecontext_ret.
74601 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74602 (sysdep_routines): Add __start_context when in stdlib.
74603
74604 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74605
74606 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74607 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74608 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74609 hardcoded "nm".
74610 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74611 (READELF): New variable. Use it instead of hardcoded "readelf".
74612
74613 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74614
74615 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74616 * sysdeps/x86/Makefile: Here.
74617 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74618 * sysdeps/x86/tst-xmmymm.sh: This.
74619
74620 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74621
74622 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74623 expectations.
74624 [UNIX98] (pthread_barrier_t): Do not expect.
74625 [UNIX98] (pthread_barrierattr_t): Likewise.
74626 [UNIX98] (pthread_spinlock_t): Likewise.
74627 [UNIX98] (pthread_barrier_destroy): Likewise.
74628 [UNIX98] (pthread_barrier_init): Likewise.
74629 [UNIX98] (pthread_barrier_wait): Likewise.
74630 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74631 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74632 [UNIX98] (pthread_barrierattr_init): Likewise.
74633 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74634 [UNIX98] (pthread_getcpuclockid): Likewise.
74635 [UNIX98] (pthread_mutex_timedlock): Likewise.
74636 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74637 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74638 [UNIX98] (pthread_sigmask): Likewise.
74639 [UNIX98] (pthread_spin_destroy): Likewise.
74640 [UNIX98] (pthread_spin_init): Likewise.
74641 [UNIX98] (pthread_spin_lock): Likewise.
74642 [UNIX98] (pthread_spin_trylock): Likewise.
74643 [UNIX98] (pthread_spin_unlock): Likewise.
74644 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74645 Do not expect.
74646 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74647 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74648 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74649 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74650 [XPG3 || XPG4] (pthread_key_t): Likewise.
74651 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74652 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74653 [XPG3 || XPG4] (pthread_once_t): Likewise.
74654 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74655 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74656 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74657 [XPG3 || XPG4] (pthread_t): Likewise.
74658
74659 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74660 not expect.
74661 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74662
74663 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74664 Change function return type to int.
74665
74666 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74667 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74668 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74669 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74670 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74671 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74672 [!POSIX] (posix_madvise): Likewise.
74673 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74674 && !UNIX98].
74675 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74676 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74677 (mode_t): Likewise.
74678 (posix_mem_offset): Likewise.
74679 (posix_typed_mem_get_info): Likewise.
74680 (posix_typed_mem_open): Likewise.
74681
74682 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74683 Change condition to [XOPEN2K8].
74684
74685 * conform/conformtest.pl: Preprocess allow-header data with -x c
74686 instead of from stdin.
74687 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74688 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74689 [C99-based standards] (cerfc): Likewise.
74690 [C99-based standards] (cexp2): Likewise.
74691 [C99-based standards] (cexpm1): Likewise.
74692 [C99-based standards] (clog10): Likewise.
74693 [C99-based standards] (clog1p): Likewise.
74694 [C99-based standards] (clog2): Likewise.
74695 [C99-based standards] (clgamma): Likewise.
74696 [C99-based standards] (ctgamma): Likewise.
74697 [C99-based standards] (cerff): Likewise.
74698 [C99-based standards] (cerfcf): Likewise.
74699 [C99-based standards] (cexp2f): Likewise.
74700 [C99-based standards] (cexpm1f): Likewise.
74701 [C99-based standards] (clog10f): Likewise.
74702 [C99-based standards] (clog1pf): Likewise.
74703 [C99-based standards] (clog2f): Likewise.
74704 [C99-based standards] (clgammaf): Likewise.
74705 [C99-based standards] (ctgammaf): Likewise.
74706 [C99-based standards] (cerfl): Likewise.
74707 [C99-based standards] (cerfcl): Likewise.
74708 [C99-based standards] (cexp2l): Likewise.
74709 [C99-based standards] (cexpm1l): Likewise.
74710 [C99-based standards] (clog10l): Likewise.
74711 [C99-based standards] (clog1pl): Likewise.
74712 [C99-based standards] (clog2l): Likewise.
74713 [C99-based standards] (clgammal): Likewise.
74714 [C99-based standards] (ctgammal): Likewise.
74715 * conform/data/inttypes.h-data [C99-based standards]: Include
74716 stdint.h-data. Remove all expectations for stdint.h contents.
74717 [C99-based standards] (PRI*): Do not allow.
74718 [C99-based standards] (SCN*): Likewise.
74719 [C99-based standards] (*_t): Likewise.
74720 [C99-based-standards] (PRId8): Expect macro.
74721 [C99-based-standards] (PRIi8): Likewise.
74722 [C99-based-standards] (PRIo8): Likewise.
74723 [C99-based-standards] (PRIu8): Likewise.
74724 [C99-based-standards] (PRIx8): Likewise.
74725 [C99-based-standards] (PRIX8): Likewise.
74726 [C99-based-standards] (SCNd8): Likewise.
74727 [C99-based-standards] (SCNi8): Likewise.
74728 [C99-based-standards] (SCNo8): Likewise.
74729 [C99-based-standards] (SCNu8): Likewise.
74730 [C99-based-standards] (SCNx8): Likewise.
74731 [C99-based-standards] (PRIdLEAST8): Likewise.
74732 [C99-based-standards] (PRIiLEAST8): Likewise.
74733 [C99-based-standards] (PRIoLEAST8): Likewise.
74734 [C99-based-standards] (PRIuLEAST8): Likewise.
74735 [C99-based-standards] (PRIxLEAST8): Likewise.
74736 [C99-based-standards] (PRIXLEAST8): Likewise.
74737 [C99-based-standards] (SCNdLEAST8): Likewise.
74738 [C99-based-standards] (SCNiLEAST8): Likewise.
74739 [C99-based-standards] (SCNoLEAST8): Likewise.
74740 [C99-based-standards] (SCNuLEAST8): Likewise.
74741 [C99-based-standards] (SCNxLEAST8): Likewise.
74742 [C99-based-standards] (PRIdFAST8): Likewise.
74743 [C99-based-standards] (PRIiFAST8): Likewise.
74744 [C99-based-standards] (PRIoFAST8): Likewise.
74745 [C99-based-standards] (PRIuFAST8): Likewise.
74746 [C99-based-standards] (PRIxFAST8): Likewise.
74747 [C99-based-standards] (PRIXFAST8): Likewise.
74748 [C99-based-standards] (SCNdFAST8): Likewise.
74749 [C99-based-standards] (SCNiFAST8): Likewise.
74750 [C99-based-standards] (SCNoFAST8): Likewise.
74751 [C99-based-standards] (SCNuFAST8): Likewise.
74752 [C99-based-standards] (SCNxFAST8): Likewise.
74753 [C99-based-standards] (PRId16): Likewise.
74754 [C99-based-standards] (PRIi16): Likewise.
74755 [C99-based-standards] (PRIo16): Likewise.
74756 [C99-based-standards] (PRIu16): Likewise.
74757 [C99-based-standards] (PRIx16): Likewise.
74758 [C99-based-standards] (PRIX16): Likewise.
74759 [C99-based-standards] (SCNd16): Likewise.
74760 [C99-based-standards] (SCNi16): Likewise.
74761 [C99-based-standards] (SCNo16): Likewise.
74762 [C99-based-standards] (SCNu16): Likewise.
74763 [C99-based-standards] (SCNx16): Likewise.
74764 [C99-based-standards] (PRIdLEAST16): Likewise.
74765 [C99-based-standards] (PRIiLEAST16): Likewise.
74766 [C99-based-standards] (PRIoLEAST16): Likewise.
74767 [C99-based-standards] (PRIuLEAST16): Likewise.
74768 [C99-based-standards] (PRIxLEAST16): Likewise.
74769 [C99-based-standards] (PRIXLEAST16): Likewise.
74770 [C99-based-standards] (SCNdLEAST16): Likewise.
74771 [C99-based-standards] (SCNiLEAST16): Likewise.
74772 [C99-based-standards] (SCNoLEAST16): Likewise.
74773 [C99-based-standards] (SCNuLEAST16): Likewise.
74774 [C99-based-standards] (SCNxLEAST16): Likewise.
74775 [C99-based-standards] (PRIdFAST16): Likewise.
74776 [C99-based-standards] (PRIiFAST16): Likewise.
74777 [C99-based-standards] (PRIoFAST16): Likewise.
74778 [C99-based-standards] (PRIuFAST16): Likewise.
74779 [C99-based-standards] (PRIxFAST16): Likewise.
74780 [C99-based-standards] (PRIXFAST16): Likewise.
74781 [C99-based-standards] (SCNdFAST16): Likewise.
74782 [C99-based-standards] (SCNiFAST16): Likewise.
74783 [C99-based-standards] (SCNoFAST16): Likewise.
74784 [C99-based-standards] (SCNuFAST16): Likewise.
74785 [C99-based-standards] (SCNxFAST16): Likewise.
74786 [C99-based-standards] (PRId32): Likewise.
74787 [C99-based-standards] (PRIi32): Likewise.
74788 [C99-based-standards] (PRIo32): Likewise.
74789 [C99-based-standards] (PRIu32): Likewise.
74790 [C99-based-standards] (PRIx32): Likewise.
74791 [C99-based-standards] (PRIX32): Likewise.
74792 [C99-based-standards] (SCNd32): Likewise.
74793 [C99-based-standards] (SCNi32): Likewise.
74794 [C99-based-standards] (SCNo32): Likewise.
74795 [C99-based-standards] (SCNu32): Likewise.
74796 [C99-based-standards] (SCNx32): Likewise.
74797 [C99-based-standards] (PRIdLEAST32): Likewise.
74798 [C99-based-standards] (PRIiLEAST32): Likewise.
74799 [C99-based-standards] (PRIoLEAST32): Likewise.
74800 [C99-based-standards] (PRIuLEAST32): Likewise.
74801 [C99-based-standards] (PRIxLEAST32): Likewise.
74802 [C99-based-standards] (PRIXLEAST32): Likewise.
74803 [C99-based-standards] (SCNdLEAST32): Likewise.
74804 [C99-based-standards] (SCNiLEAST32): Likewise.
74805 [C99-based-standards] (SCNoLEAST32): Likewise.
74806 [C99-based-standards] (SCNuLEAST32): Likewise.
74807 [C99-based-standards] (SCNxLEAST32): Likewise.
74808 [C99-based-standards] (PRIdFAST32): Likewise.
74809 [C99-based-standards] (PRIiFAST32): Likewise.
74810 [C99-based-standards] (PRIoFAST32): Likewise.
74811 [C99-based-standards] (PRIuFAST32): Likewise.
74812 [C99-based-standards] (PRIxFAST32): Likewise.
74813 [C99-based-standards] (PRIXFAST32): Likewise.
74814 [C99-based-standards] (SCNdFAST32): Likewise.
74815 [C99-based-standards] (SCNiFAST32): Likewise.
74816 [C99-based-standards] (SCNoFAST32): Likewise.
74817 [C99-based-standards] (SCNuFAST32): Likewise.
74818 [C99-based-standards] (SCNxFAST32): Likewise.
74819 [C99-based-standards] (PRId64): Likewise.
74820 [C99-based-standards] (PRIi64): Likewise.
74821 [C99-based-standards] (PRIo64): Likewise.
74822 [C99-based-standards] (PRIu64): Likewise.
74823 [C99-based-standards] (PRIx64): Likewise.
74824 [C99-based-standards] (PRIX64): Likewise.
74825 [C99-based-standards] (SCNd64): Likewise.
74826 [C99-based-standards] (SCNi64): Likewise.
74827 [C99-based-standards] (SCNo64): Likewise.
74828 [C99-based-standards] (SCNu64): Likewise.
74829 [C99-based-standards] (SCNx64): Likewise.
74830 [C99-based-standards] (PRIdLEAST64): Likewise.
74831 [C99-based-standards] (PRIiLEAST64): Likewise.
74832 [C99-based-standards] (PRIoLEAST64): Likewise.
74833 [C99-based-standards] (PRIuLEAST64): Likewise.
74834 [C99-based-standards] (PRIxLEAST64): Likewise.
74835 [C99-based-standards] (PRIXLEAST64): Likewise.
74836 [C99-based-standards] (SCNdLEAST64): Likewise.
74837 [C99-based-standards] (SCNiLEAST64): Likewise.
74838 [C99-based-standards] (SCNoLEAST64): Likewise.
74839 [C99-based-standards] (SCNuLEAST64): Likewise.
74840 [C99-based-standards] (SCNxLEAST64): Likewise.
74841 [C99-based-standards] (PRIdFAST64): Likewise.
74842 [C99-based-standards] (PRIiFAST64): Likewise.
74843 [C99-based-standards] (PRIoFAST64): Likewise.
74844 [C99-based-standards] (PRIuFAST64): Likewise.
74845 [C99-based-standards] (PRIxFAST64): Likewise.
74846 [C99-based-standards] (PRIXFAST64): Likewise.
74847 [C99-based-standards] (SCNdFAST64): Likewise.
74848 [C99-based-standards] (SCNiFAST64): Likewise.
74849 [C99-based-standards] (SCNoFAST64): Likewise.
74850 [C99-based-standards] (SCNuFAST64): Likewise.
74851 [C99-based-standards] (SCNxFAST64): Likewise.
74852 [C99-based-standards] (PRIdMAX): Likewise.
74853 [C99-based-standards] (PRIiMAX): Likewise.
74854 [C99-based-standards] (PRIoMAX): Likewise.
74855 [C99-based-standards] (PRIuMAX): Likewise.
74856 [C99-based-standards] (PRIxMAX): Likewise.
74857 [C99-based-standards] (PRIXMAX): Likewise.
74858 [C99-based-standards] (SCNdMAX): Likewise.
74859 [C99-based-standards] (SCNiMAX): Likewise.
74860 [C99-based-standards] (SCNoMAX): Likewise.
74861 [C99-based-standards] (SCNuMAX): Likewise.
74862 [C99-based-standards] (SCNxMAX): Likewise.
74863 [C99-based-standards] (PRIdPTR): Likewise.
74864 [C99-based-standards] (PRIiPTR): Likewise.
74865 [C99-based-standards] (PRIoPTR): Likewise.
74866 [C99-based-standards] (PRIuPTR): Likewise.
74867 [C99-based-standards] (PRIxPTR): Likewise.
74868 [C99-based-standards] (PRIXPTR): Likewise.
74869 [C99-based-standards] (SCNdPTR): Likewise.
74870 [C99-based-standards] (SCNiPTR): Likewise.
74871 [C99-based-standards] (SCNoPTR): Likewise.
74872 [C99-based-standards] (SCNuPTR): Likewise.
74873 [C99-based-standards] (SCNxPTR): Likewise.
74874 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74875 allow.
74876 * conform/data/stdint.h-data: Update comments to clarify
74877 requirements.
74878 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74879 type.
74880 [C99-based standards] (INT8_MAX): Likewise.
74881 [C99-based standards] (INT16_MIN): Likewise.
74882 [C99-based standards] (INT16_MAX): Likewise.
74883 [C99-based standards] (INT32_MIN): Likewise.
74884 [C99-based standards] (INT32_MAX): Likewise.
74885 [C99-based standards] (INT64_MIN): Likewise.
74886 [C99-based standards] (INT64_MAX): Likewise.
74887 [C99-based standards] (UINT8_MAX): Likewise.
74888 [C99-based standards] (UINT16_MAX): Likewise.
74889 [C99-based standards] (UINT32_MAX): Likewise.
74890 [C99-based standards] (UINT64_MAX): Likewise.
74891 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74892 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74893 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74894 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74895 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74896 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74897 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74898 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74899 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74900 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74901 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74902 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74903 [C99-based standards] (INT_FAST8_MIN): Likewise.
74904 [C99-based standards] (INT_FAST8_MAX): Likewise.
74905 [C99-based standards] (INT_FAST16_MIN): Likewise.
74906 [C99-based standards] (INT_FAST16_MAX): Likewise.
74907 [C99-based standards] (INT_FAST32_MIN): Likewise.
74908 [C99-based standards] (INT_FAST32_MAX): Likewise.
74909 [C99-based standards] (INT_FAST64_MIN): Likewise.
74910 [C99-based standards] (INT_FAST64_MAX): Likewise.
74911 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74912 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74913 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74914 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74915 [C99-based standards] (INTPTR_MIN): Likewise.
74916 [C99-based standards] (INTPTR_MAX): Likewise.
74917 [C99-based standards] (UINTPTR_MAX): Likewise.
74918 [C99-based standards] (INTMAX_MIN): Likewise.
74919 [C99-based standards] (INTMAX_MAX): Likewise.
74920 [C99-based standards] (UINTMAX_MAX): Likewise.
74921 [C99-based standards] (PTRDIFF_MIN): Likewise.
74922 [C99-based standards] (PTRDIFF_MAX): Likewise.
74923 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74924 [C99-based standards] (SIZE_MAX): Likewise.
74925 [C99-based standards] (WCHAR_MAX): Likewise.
74926 [C99-based standards] (WINT_MAX): Likewise.
74927 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74928 constraint on value.
74929 [C99-based standards] (WCHAR_MIN): Likewise.
74930 [C99-based standards] (WINT_MIN): Likewise.
74931 [C99-based standards] (*_t): Allow.
74932 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74933 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74934 Include math.h-data and complex.h-data. Remove all expectations
74935 of math.h and complex.h contents.
74936 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74937 at end of line.
74938 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74939 (struct tm): Expect tag.
74940 [C99-based-standards] (wcstof): Expect function.
74941 [C99-based-standards] (wcstold): Likewise.
74942 [C99-based-standards] (wcstoll): Likewise.
74943 [C99-based-standards] (wcstoull): Likewise.
74944 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74945 macro-int-constant. Specify type.
74946 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74947 constraint on value.
74948 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74949 Specify type.
74950 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74951 Specify value.
74952 [ISO C standards]: Do not allow headers.
74953 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74954 wcs[abcdefghijklmnopqrstuvwxyz]*.
74955 [ISO C standards] (*_t): Do not allow.
74956 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74957 Expect function.
74958 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74959 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74960 Specify type.
74961 [ISO C standards]: Do not allow headers.
74962 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74963 is[abcdefghijklmnopqrstuvwxyz]*.
74964 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74965 to[abcdefghijklmnopqrstuvwxyz]*.
74966 [ISO C standards] (*_t): Do not allow.
74967 * conform/data/stdalign.h-data: New file.
74968 * conform/data/stdbool.h-data: Likewise.
74969 * conform/data/stdnoreturn.h-data: Likewise.
74970
74971 2012-11-07 Roland McGrath <roland@hack.frob.com>
74972
74973 [BZ #14815]
74974 * manual/filesys.texi (Directory Entries): Typo fix.
74975 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74976
74977 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74978
74979 * elf/elf.h (EM_AARCH64): New macro.
74980 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74981 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74982 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74983 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74984 (R_AARCH64_TLSDESC): Likewise.
74985 (NT_ARM_TLS): Likewise.
74986 (NT_ARM_HW_BREAK): Likewise.
74987 (NT_ARM_HW_WATCH): Likewise.
74988
74989 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74990
74991 [BZ #14811]
74992 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74993 (__ieee754_powl): Saturate nonzero exponents with absolute value
74994 below 0x1p-79 to +/- 0x1p-79.
74995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74996 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74997 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74998 nonzero exponents with absolute value below 0x1p-32 to +/-
74999 0x1p-32.
75000 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
75001 (__ieee754_powl): Saturate nonzero exponents with absolute value
75002 below 0x1p-79 to +/- 0x1p-79.
75003 * math/libm-test.inc (pow_test): Add more tests.
75004
75005 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75006
75007 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
75008 _dl_s390_cap_flags with kernel. Increase string length.
75009 (_dl_s390_platforms): Add z196 and zEC12.
75010
75011 2012-11-07 Joseph Myers <joseph@codesourcery.com>
75012
75013 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
75014 Change XOPEN21K to XOPEN2K.
75015
75016 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
75017
75018 * string/memmove.c: Use memcpy when possible.
75019
75020 2012-11-06 Andreas Jaeger <aj@suse.de>
75021
75022 * po/eo.po: Update from translation team.
75023
75024 2012-11-06 Joseph Myers <joseph@codesourcery.com>
75025
75026 [BZ #14793]
75027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
75028 exponent and small x and y exponents, scale x or y up. Increase
75029 by 2 the exponent used in scaling up.
75030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75032 * math/libm-test.inc (fma_test): Add more tests.
75033 (fma_test_towardzero): Likewise.
75034 (fma_test_downward): Likewise.
75035 (fma_test_upward): Likewise.
75036
75037 2012-11-05 Joseph Myers <joseph@codesourcery.com>
75038
75039 [BZ #14805]
75040 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
75041 fenv_t *.
75042
75043 [BZ #14801]
75044 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
75045 namespace for names of struct fields.
75046 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
75047 fenv_t fields.
75048 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
75049 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
75050
75051 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
75052
75053 [BZ #3665]
75054 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
75055
75056 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
75057
75058 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
75059 PTR_DEMANGLE.
75060
75061 [BZ #5246]
75062 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
75063 PTR_DEMANGLE.
75064
75065 2012-11-04 Joseph Myers <joseph@codesourcery.com>
75066
75067 [BZ #14797]
75068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
75069 definitely overflow as x * y not x * y + z.
75070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75072 * math/libm-test.inc (fma_test): Add more tests.
75073 (fma_test_towardzero): Likewise.
75074 (fma_test_downward): Likewise.
75075 (fma_test_upward): Likewise.
75076
75077 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
75078
75079 [BZ #157]
75080
75081 * include/stub-tag.h: Remove file.
75082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
75083 '#include' of it.
75084 * manual/maint.texi (Porting): Don't reference it.
75085 * Makerules ($(objpfx)stubs): Likewise.
75086 * dirent/closedir.c: Don't include <stub-tag.h>.
75087 * dirent/dirfd.c: Likewise.
75088 * dirent/fdopendir.c: Likewise.
75089 * dirent/getdents.c: Likewise.
75090 * dirent/getdents64.c: Likewise.
75091 * dirent/opendir.c: Likewise.
75092 * dirent/readdir.c: Likewise.
75093 * dirent/readdir64.c: Likewise.
75094 * dirent/readdir64_r.c: Likewise.
75095 * dirent/readdir_r.c: Likewise.
75096 * dirent/rewinddir.c: Likewise.
75097 * dirent/seekdir.c: Likewise.
75098 * dirent/telldir.c: Likewise.
75099 * gmon/profil.c: Likewise.
75100 * grp/setgroups.c: Likewise.
75101 * inet/if_index.c: Likewise.
75102 * io/access.c: Likewise.
75103 * io/chdir.c: Likewise.
75104 * io/chmod.c: Likewise.
75105 * io/chown.c: Likewise.
75106 * io/close.c: Likewise.
75107 * io/dup.c: Likewise.
75108 * io/dup2.c: Likewise.
75109 * io/dup3.c: Likewise.
75110 * io/euidaccess.c: Likewise.
75111 * io/faccessat.c: Likewise.
75112 * io/fchdir.c: Likewise.
75113 * io/fchmod.c: Likewise.
75114 * io/fchmodat.c: Likewise.
75115 * io/fchown.c: Likewise.
75116 * io/fchownat.c: Likewise.
75117 * io/fcntl.c: Likewise.
75118 * io/flock.c: Likewise.
75119 * io/fstatfs.c: Likewise.
75120 * io/fstatfs64.c: Likewise.
75121 * io/fstatvfs.c: Likewise.
75122 * io/fstatvfs64.c: Likewise.
75123 * io/futimens.c: Likewise.
75124 * io/fxstat.c: Likewise.
75125 * io/fxstat64.c: Likewise.
75126 * io/fxstatat.c: Likewise.
75127 * io/fxstatat64.c: Likewise.
75128 * io/getcwd.c: Likewise.
75129 * io/isatty.c: Likewise.
75130 * io/lchmod.c: Likewise.
75131 * io/lchown.c: Likewise.
75132 * io/link.c: Likewise.
75133 * io/linkat.c: Likewise.
75134 * io/lseek.c: Likewise.
75135 * io/lseek64.c: Likewise.
75136 * io/lxstat64.c: Likewise.
75137 * io/mkdir.c: Likewise.
75138 * io/mkdirat.c: Likewise.
75139 * io/mkfifo.c: Likewise.
75140 * io/mkfifoat.c: Likewise.
75141 * io/open.c: Likewise.
75142 * io/open64.c: Likewise.
75143 * io/openat.c: Likewise.
75144 * io/openat64.c: Likewise.
75145 * io/pipe.c: Likewise.
75146 * io/pipe2.c: Likewise.
75147 * io/poll.c: Likewise.
75148 * io/posix_fadvise.c: Likewise.
75149 * io/posix_fadvise64.c: Likewise.
75150 * io/posix_fallocate.c: Likewise.
75151 * io/posix_fallocate64.c: Likewise.
75152 * io/read.c: Likewise.
75153 * io/readlink.c: Likewise.
75154 * io/readlinkat.c: Likewise.
75155 * io/rmdir.c: Likewise.
75156 * io/sendfile.c: Likewise.
75157 * io/sendfile64.c: Likewise.
75158 * io/statfs.c: Likewise.
75159 * io/statfs64.c: Likewise.
75160 * io/statvfs.c: Likewise.
75161 * io/statvfs64.c: Likewise.
75162 * io/symlink.c: Likewise.
75163 * io/symlinkat.c: Likewise.
75164 * io/ttyname.c: Likewise.
75165 * io/ttyname_r.c: Likewise.
75166 * io/umask.c: Likewise.
75167 * io/unlink.c: Likewise.
75168 * io/unlinkat.c: Likewise.
75169 * io/utime.c: Likewise.
75170 * io/utimensat.c: Likewise.
75171 * io/write.c: Likewise.
75172 * io/xmknod.c: Likewise.
75173 * io/xmknodat.c: Likewise.
75174 * io/xstat.c: Likewise.
75175 * io/xstat64.c: Likewise.
75176 * login/getpt.c: Likewise.
75177 * login/grantpt.c: Likewise.
75178 * login/unlockpt.c: Likewise.
75179 * math/e_acoshl.c: Likewise.
75180 * math/e_acosl.c: Likewise.
75181 * math/e_asinl.c: Likewise.
75182 * math/e_atan2l.c: Likewise.
75183 * math/e_atanhl.c: Likewise.
75184 * math/e_coshl.c: Likewise.
75185 * math/e_expl.c: Likewise.
75186 * math/e_fmodl.c: Likewise.
75187 * math/e_gammal_r.c: Likewise.
75188 * math/e_hypotl.c: Likewise.
75189 * math/e_j0l.c: Likewise.
75190 * math/e_j1l.c: Likewise.
75191 * math/e_jnl.c: Likewise.
75192 * math/e_lgammal_r.c: Likewise.
75193 * math/e_log10l.c: Likewise.
75194 * math/e_log2l.c: Likewise.
75195 * math/e_logl.c: Likewise.
75196 * math/e_powl.c: Likewise.
75197 * math/e_rem_pio2l.c: Likewise.
75198 * math/e_sinhl.c: Likewise.
75199 * math/e_sqrtl.c: Likewise.
75200 * math/fclrexcpt.c: Likewise.
75201 * math/fedisblxcpt.c: Likewise.
75202 * math/feenablxcpt.c: Likewise.
75203 * math/fegetenv.c: Likewise.
75204 * math/fegetexcept.c: Likewise.
75205 * math/fegetround.c: Likewise.
75206 * math/feholdexcpt.c: Likewise.
75207 * math/fesetenv.c: Likewise.
75208 * math/fesetround.c: Likewise.
75209 * math/feupdateenv.c: Likewise.
75210 * math/fgetexcptflg.c: Likewise.
75211 * math/fraiseexcpt.c: Likewise.
75212 * math/fsetexcptflg.c: Likewise.
75213 * math/ftestexcept.c: Likewise.
75214 * math/k_cosl.c: Likewise.
75215 * math/k_rem_pio2l.c: Likewise.
75216 * math/k_sinl.c: Likewise.
75217 * math/k_tanl.c: Likewise.
75218 * math/s_asinhl.c: Likewise.
75219 * math/s_atanl.c: Likewise.
75220 * math/s_cbrtl.c: Likewise.
75221 * math/s_erfl.c: Likewise.
75222 * math/s_expm1l.c: Likewise.
75223 * math/s_log1pl.c: Likewise.
75224 * math/s_tanhl.c: Likewise.
75225 * misc/acct.c: Likewise.
75226 * misc/brk.c: Likewise.
75227 * misc/chflags.c: Likewise.
75228 * misc/chroot.c: Likewise.
75229 * misc/fchflags.c: Likewise.
75230 * misc/fgetxattr.c: Likewise.
75231 * misc/flistxattr.c: Likewise.
75232 * misc/fremovexattr.c: Likewise.
75233 * misc/fsetxattr.c: Likewise.
75234 * misc/fsync.c: Likewise.
75235 * misc/ftruncate.c: Likewise.
75236 * misc/futimes.c: Likewise.
75237 * misc/futimesat.c: Likewise.
75238 * misc/getdomain.c: Likewise.
75239 * misc/getdtsz.c: Likewise.
75240 * misc/gethostid.c: Likewise.
75241 * misc/gethostname.c: Likewise.
75242 * misc/getloadavg.c: Likewise.
75243 * misc/getpagesize.c: Likewise.
75244 * misc/getsysstats.c: Likewise.
75245 * misc/getxattr.c: Likewise.
75246 * misc/gtty.c: Likewise.
75247 * misc/ioctl.c: Likewise.
75248 * misc/lgetxattr.c: Likewise.
75249 * misc/listxattr.c: Likewise.
75250 * misc/llistxattr.c: Likewise.
75251 * misc/lremovexattr.c: Likewise.
75252 * misc/lsetxattr.c: Likewise.
75253 * misc/lutimes.c: Likewise.
75254 * misc/madvise.c: Likewise.
75255 * misc/mincore.c: Likewise.
75256 * misc/mlock.c: Likewise.
75257 * misc/mlockall.c: Likewise.
75258 * misc/mmap.c: Likewise.
75259 * misc/mprotect.c: Likewise.
75260 * misc/msync.c: Likewise.
75261 * misc/munlock.c: Likewise.
75262 * misc/munlockall.c: Likewise.
75263 * misc/munmap.c: Likewise.
75264 * misc/preadv.c: Likewise.
75265 * misc/preadv64.c: Likewise.
75266 * misc/ptrace.c: Likewise.
75267 * misc/pwritev.c: Likewise.
75268 * misc/pwritev64.c: Likewise.
75269 * misc/readv.c: Likewise.
75270 * misc/reboot.c: Likewise.
75271 * misc/remap_file_pages.c: Likewise.
75272 * misc/removexattr.c: Likewise.
75273 * misc/revoke.c: Likewise.
75274 * misc/select.c: Likewise.
75275 * misc/setdomain.c: Likewise.
75276 * misc/setegid.c: Likewise.
75277 * misc/seteuid.c: Likewise.
75278 * misc/sethostid.c: Likewise.
75279 * misc/sethostname.c: Likewise.
75280 * misc/setregid.c: Likewise.
75281 * misc/setreuid.c: Likewise.
75282 * misc/setxattr.c: Likewise.
75283 * misc/sstk.c: Likewise.
75284 * misc/stty.c: Likewise.
75285 * misc/swapoff.c: Likewise.
75286 * misc/swapon.c: Likewise.
75287 * misc/sync.c: Likewise.
75288 * misc/syncfs.c: Likewise.
75289 * misc/syscall.c: Likewise.
75290 * misc/truncate.c: Likewise.
75291 * misc/ualarm.c: Likewise.
75292 * misc/usleep.c: Likewise.
75293 * misc/ustat.c: Likewise.
75294 * misc/utimes.c: Likewise.
75295 * misc/vhangup.c: Likewise.
75296 * misc/writev.c: Likewise.
75297 * posix/_exit.c: Likewise.
75298 * posix/alarm.c: Likewise.
75299 * posix/execve.c: Likewise.
75300 * posix/fexecve.c: Likewise.
75301 * posix/fork.c: Likewise.
75302 * posix/fpathconf.c: Likewise.
75303 * posix/getaddrinfo.c: Likewise.
75304 * posix/getegid.c: Likewise.
75305 * posix/geteuid.c: Likewise.
75306 * posix/getgid.c: Likewise.
75307 * posix/getgroups.c: Likewise.
75308 * posix/getlogin.c: Likewise.
75309 * posix/getlogin_r.c: Likewise.
75310 * posix/getpgid.c: Likewise.
75311 * posix/getpid.c: Likewise.
75312 * posix/getppid.c: Likewise.
75313 * posix/getresgid.c: Likewise.
75314 * posix/getresuid.c: Likewise.
75315 * posix/getsid.c: Likewise.
75316 * posix/getuid.c: Likewise.
75317 * posix/glob64.c: Likewise.
75318 * posix/nanosleep.c: Likewise.
75319 * posix/pathconf.c: Likewise.
75320 * posix/pause.c: Likewise.
75321 * posix/posix_madvise.c: Likewise.
75322 * posix/pread.c: Likewise.
75323 * posix/pread64.c: Likewise.
75324 * posix/pwrite.c: Likewise.
75325 * posix/pwrite64.c: Likewise.
75326 * posix/sched_getaffinity.c: Likewise.
75327 * posix/sched_getp.c: Likewise.
75328 * posix/sched_gets.c: Likewise.
75329 * posix/sched_primax.c: Likewise.
75330 * posix/sched_primin.c: Likewise.
75331 * posix/sched_rr_gi.c: Likewise.
75332 * posix/sched_setaffinity.c: Likewise.
75333 * posix/sched_setp.c: Likewise.
75334 * posix/sched_sets.c: Likewise.
75335 * posix/sched_yield.c: Likewise.
75336 * posix/setgid.c: Likewise.
75337 * posix/setlogin.c: Likewise.
75338 * posix/setpgid.c: Likewise.
75339 * posix/setresgid.c: Likewise.
75340 * posix/setresuid.c: Likewise.
75341 * posix/setsid.c: Likewise.
75342 * posix/setuid.c: Likewise.
75343 * posix/sleep.c: Likewise.
75344 * posix/spawni.c: Likewise.
75345 * posix/sysconf.c: Likewise.
75346 * posix/times.c: Likewise.
75347 * posix/wait.c: Likewise.
75348 * posix/wait3.c: Likewise.
75349 * posix/wait4.c: Likewise.
75350 * posix/waitpid.c: Likewise.
75351 * resolv/gai_sigqueue.c: Likewise.
75352 * resource/getpriority.c: Likewise.
75353 * resource/getrlimit.c: Likewise.
75354 * resource/getrusage.c: Likewise.
75355 * resource/nice.c: Likewise.
75356 * resource/setpriority.c: Likewise.
75357 * resource/setrlimit.c: Likewise.
75358 * resource/ulimit.c: Likewise.
75359 * rt/aio_cancel.c: Likewise.
75360 * rt/aio_fsync.c: Likewise.
75361 * rt/aio_read.c: Likewise.
75362 * rt/aio_sigqueue.c: Likewise.
75363 * rt/aio_suspend.c: Likewise.
75364 * rt/aio_write.c: Likewise.
75365 * rt/clock_getres.c: Likewise.
75366 * rt/clock_gettime.c: Likewise.
75367 * rt/clock_nanosleep.c: Likewise.
75368 * rt/clock_settime.c: Likewise.
75369 * rt/lio_listio.c: Likewise.
75370 * rt/mq_close.c: Likewise.
75371 * rt/mq_getattr.c: Likewise.
75372 * rt/mq_notify.c: Likewise.
75373 * rt/mq_open.c: Likewise.
75374 * rt/mq_receive.c: Likewise.
75375 * rt/mq_send.c: Likewise.
75376 * rt/mq_setattr.c: Likewise.
75377 * rt/mq_timedreceive.c: Likewise.
75378 * rt/mq_timedsend.c: Likewise.
75379 * rt/mq_unlink.c: Likewise.
75380 * rt/shm_open.c: Likewise.
75381 * rt/shm_unlink.c: Likewise.
75382 * rt/timer_create.c: Likewise.
75383 * rt/timer_delete.c: Likewise.
75384 * rt/timer_getoverr.c: Likewise.
75385 * rt/timer_gettime.c: Likewise.
75386 * rt/timer_settime.c: Likewise.
75387 * setjmp/__longjmp.c: Likewise.
75388 * setjmp/setjmp.c: Likewise.
75389 * signal/kill.c: Likewise.
75390 * signal/killpg.c: Likewise.
75391 * signal/raise.c: Likewise.
75392 * signal/sigaction.c: Likewise.
75393 * signal/sigaltstack.c: Likewise.
75394 * signal/sigblock.c: Likewise.
75395 * signal/sigignore.c: Likewise.
75396 * signal/sigintr.c: Likewise.
75397 * signal/signal.c: Likewise.
75398 * signal/sigpause.c: Likewise.
75399 * signal/sigpending.c: Likewise.
75400 * signal/sigqueue.c: Likewise.
75401 * signal/sigreturn.c: Likewise.
75402 * signal/sigset.c: Likewise.
75403 * signal/sigsetmask.c: Likewise.
75404 * signal/sigstack.c: Likewise.
75405 * signal/sigsuspend.c: Likewise.
75406 * signal/sigtimedwait.c: Likewise.
75407 * signal/sigvec.c: Likewise.
75408 * signal/sigwait.c: Likewise.
75409 * signal/sigwaitinfo.c: Likewise.
75410 * signal/sysv_signal.c: Likewise.
75411 * socket/accept.c: Likewise.
75412 * socket/accept4.c: Likewise.
75413 * socket/bind.c: Likewise.
75414 * socket/connect.c: Likewise.
75415 * socket/getpeername.c: Likewise.
75416 * socket/getsockname.c: Likewise.
75417 * socket/getsockopt.c: Likewise.
75418 * socket/isfdtype.c: Likewise.
75419 * socket/listen.c: Likewise.
75420 * socket/recv.c: Likewise.
75421 * socket/recvfrom.c: Likewise.
75422 * socket/recvmsg.c: Likewise.
75423 * socket/send.c: Likewise.
75424 * socket/sendmsg.c: Likewise.
75425 * socket/sendto.c: Likewise.
75426 * socket/setsockopt.c: Likewise.
75427 * socket/shutdown.c: Likewise.
75428 * socket/sockatmark.c: Likewise.
75429 * socket/socket.c: Likewise.
75430 * socket/socketpair.c: Likewise.
75431 * stdio-common/ctermid.c: Likewise.
75432 * stdio-common/cuserid.c: Likewise.
75433 * stdio-common/remove.c: Likewise.
75434 * stdio-common/rename.c: Likewise.
75435 * stdio-common/renameat.c: Likewise.
75436 * stdio-common/tempname.c: Likewise.
75437 * stdlib/getcontext.c: Likewise.
75438 * stdlib/makecontext.c: Likewise.
75439 * stdlib/setcontext.c: Likewise.
75440 * stdlib/swapcontext.c: Likewise.
75441 * stdlib/system.c: Likewise.
75442 * streams/fattach.c: Likewise.
75443 * streams/fdetach.c: Likewise.
75444 * streams/getmsg.c: Likewise.
75445 * streams/getpmsg.c: Likewise.
75446 * streams/putmsg.c: Likewise.
75447 * streams/putpmsg.c: Likewise.
75448 * sysdeps/unix/bsd/getpt.c: Likewise.
75449 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75450 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75451 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75453 Likewise.
75454 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75455 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75456 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75457 * sysvipc/msgctl.c: Likewise.
75458 * sysvipc/msgget.c: Likewise.
75459 * sysvipc/msgrcv.c: Likewise.
75460 * sysvipc/msgsnd.c: Likewise.
75461 * sysvipc/semctl.c: Likewise.
75462 * sysvipc/semget.c: Likewise.
75463 * sysvipc/semop.c: Likewise.
75464 * sysvipc/semtimedop.c: Likewise.
75465 * sysvipc/shmat.c: Likewise.
75466 * sysvipc/shmctl.c: Likewise.
75467 * sysvipc/shmdt.c: Likewise.
75468 * sysvipc/shmget.c: Likewise.
75469 * termios/tcdrain.c: Likewise.
75470 * termios/tcflow.c: Likewise.
75471 * termios/tcflush.c: Likewise.
75472 * termios/tcgetattr.c: Likewise.
75473 * termios/tcgetpgrp.c: Likewise.
75474 * termios/tcsendbrk.c: Likewise.
75475 * termios/tcsetattr.c: Likewise.
75476 * termios/tcsetpgrp.c: Likewise.
75477 * time/adjtime.c: Likewise.
75478 * time/clock.c: Likewise.
75479 * time/getitimer.c: Likewise.
75480 * time/gettimeofday.c: Likewise.
75481 * time/setitimer.c: Likewise.
75482 * time/settimeofday.c: Likewise.
75483 * time/stime.c: Likewise.
75484 * time/time.c: Likewise.
75485
75486 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75487
75488 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75489 /usr/old/bin.
75490
75491 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75492 instead of spaces.
75493 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75494
75495 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75496
75497 [BZ #14796]
75498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75499 FE_TONEAREST before applying Dekker multiplication and Knuth
75500 addition. Clear inexact exceptions and check for exact zero
75501 results afterwards.
75502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75505 * math/libm-test.inc (fma_test): Add more tests.
75506 (fma_test_towardzero): Likewise.
75507 (fma_test_downward): Likewise.
75508 (fma_test_upward): Likewise.
75509 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75510 function.
75511 (libc_fesetround): New macro.
75512 (libc_fesetroundf): Likewise.
75513 (libc_fesetroundl): Likewise.
75514 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75515 function.
75516 (libc_fesetround_387): Likewise.
75517 (libc_fesetroundf): New macro.
75518 (libc_fesetround): Likewise.
75519 (libc_fesetroundl): Likewise.
75520 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75521 function.
75522 (libc_fesetroundf): New macro.
75523 (libc_fesetround): Likewise.
75524 (libc_fesetroundl): Likewise.
75525 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75526 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75527 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75528 libm_hidden_ver.
75529 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75530 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75531 libm_hidden_def.
75532 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75533 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75534 libm_hidden_ver.
75535 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75536 libm_hidden_def.
75537
75538 [BZ #3439]
75539 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75540 integer constant usable in #if and use that to give value to enum
75541 constant.
75542 (FE_DIVBYZERO): Likewise.
75543 (FE_UNDERFLOW): Likewise.
75544 (FE_OVERFLOW): Likewise.
75545 (FE_INVALID): Likewise.
75546 (FE_INVALID_SNAN): Likewise.
75547 (FE_INVALID_ISI): Likewise.
75548 (FE_INVALID_IDI): Likewise.
75549 (FE_INVALID_ZDZ): Likewise.
75550 (FE_INVALID_IMZ): Likewise.
75551 (FE_INVALID_COMPARE): Likewise.
75552 (FE_INVALID_SOFTWARE): Likewise.
75553 (FE_INVALID_SQRT): Likewise.
75554 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75555 (FE_TONEAREST): Likewise.
75556 (FE_TOWARDZERO): Likewise.
75557 (FE_UPWARD): Likewise.
75558 (FE_DOWNWARD): Likewise.
75559 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75560 (FE_DIVBYZERO): Likewise.
75561 (FE_OVERFLOW): Likewise.
75562 (FE_UNDERFLOW): Likewise.
75563 (FE_INEXACT): Likewise.
75564 (FE_TONEAREST): Likewise.
75565 (FE_DOWNWARD): Likewise.
75566 (FE_UPWARD): Likewise.
75567 (FE_TOWARDZERO): Likewise.
75568 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75569 (FE_UNDERFLOW): Likewise.
75570 (FE_OVERFLOW): Likewise.
75571 (FE_DIVBYZERO): Likewise.
75572 (FE_INVALID): Likewise.
75573 (FE_TONEAREST): Likewise.
75574 (FE_TOWARDZERO): Likewise.
75575 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75576 (FE_OVERFLOW): Likewise.
75577 (FE_UNDERFLOW): Likewise.
75578 (FE_DIVBYZERO): Likewise.
75579 (FE_INEXACT): Likewise.
75580 (FE_TONEAREST): Likewise.
75581 (FE_TOWARDZERO): Likewise.
75582 (FE_UPWARD): Likewise.
75583 (FE_DOWNWARD): Likewise.
75584 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75585 (FE_DIVBYZERO): Likewise.
75586 (FE_OVERFLOW): Likewise.
75587 (FE_UNDERFLOW): Likewise.
75588 (FE_INEXACT): Likewise.
75589 (FE_TONEAREST): Likewise.
75590 (FE_DOWNWARD): Likewise.
75591 (FE_UPWARD): Likewise.
75592 (FE_TOWARDZERO): Likewise.
75593
75594 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75595
75596 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75597
75598 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75599
75600 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75601 commands. Quote $PWD.
75602 (blacklist_exports): Don't use remove_newlines. Replace "declare
75603 -x" by "export".
75604 (remove_newlines): Remove.
75605
75606 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75607
75608 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75609 * stdlib/stdlib.h (atof): Moved to ...
75610 * include/bits/stdlib-float.h: Here. New file.
75611 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75612 * stdlib/bits/stdlib-float.h: New file.
75613 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75614 -mno-sse -mno-mmx.
75615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75616 <xmmintrin.h>.
75617
75618 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75619
75620 * conform/conformtest.pl (@headers): Add fenv.h.
75621 * conform/data/fenv.h-data: New file.
75622 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75623 include of <math/fenv.h>.
75624
75625 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75626 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75627 && !UNIX98]. Enables tests for XOPEN2K8.
75628 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75629 POSIX2008]: Likewise.
75630
75631 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75632 (struct rusage): Do not expect type or its members.
75633
75634 [BZ #3439]
75635 * math/math.h (FP_NAN): Define macro to integer constant usable in
75636 #if and use that to give value to enum constant.
75637 (FP_INFINITE): Likewise.
75638 (FP_ZERO): Likewise.
75639 (FP_SUBNORMAL): Likewise.
75640 (FP_NORMAL): Likewise.
75641
75642 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75643
75644 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75645 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75646 arguments.
75647
75648 2012-11-02 Roland McGrath <roland@hack.frob.com>
75649
75650 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75651 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75652 autoconf-time if not.
75653 * configure.in: Remove AC_PREREQ.
75654
75655 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75656
75657 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75658 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75659 of the internal implementation.
75660
75661 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75662
75663 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75664 except include of <misc/sys/syslog.h>.
75665
75666 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75667
75668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75669 function returns with a NULL context exit with zero.
75670
75671 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75672
75673 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75674
75675 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75676
75677 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75678 (run_program_cmd): This.
75679 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75680 (tst_langinfo): New variable. Use it.
75681
75682 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75683
75684 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75685 floating point opcodes.
75686
75687 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75688
75689 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75690 variable.
75691
75692 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75693
75694 * sysdeps/mach/hurd/powerpc: Remove directory.
75695 * sysdeps/mach/powerpc: Likewise.
75696
75697 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75698
75699 * scripts/check-local-headers.sh: Ignore c++ headers.
75700
75701 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75702
75703 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75704 __libc_cleanup_region_start argument.
75705
75706 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75707
75708 [BZ #14784]
75709 [BZ #14785]
75710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75711 x * y using scaling, not as x * y + z.
75712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75714 * math/libm-test.inc (fma_test): Add more tests.
75715 (fma_test_towardzero): Likewise.
75716 (fma_test_downward): Likewise.
75717 (fma_test_upward): Likewise.
75718
75719 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75720
75721 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75722
75723 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75724
75725 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75726 New variable.
75727
75728 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75729
75730 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75731
75732 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75733
75734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75735 Fix sort order.
75736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75737 Likewise.
75738
75739 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75740
75741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75742 Fix the order of the list for glibc 2.17.
75743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75744 Likewise.
75745
75746 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75747
75748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75749
75750 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75751
75752 [BZ #14610]
75753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75754 for low part of x being zero before using __atanl (y).
75755 * math/libm-test.inc (atan2_test): Add another test.
75756
75757 * manual/install.texi (Configuring and compiling): Document
75758 general use of test-wrapper and test-wrapper-env.
75759 * INSTALL: Regenerated.
75760
75761 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75762 (__fma): Do not extract and scale down low bits on after-rounding
75763 systems when result rounded to normal precision would have normal
75764 exponent.
75765 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75766 (__fmal): Do not extract and scale down low bits on after-rounding
75767 systems when result rounded to normal precision would have normal
75768 exponent.
75769 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75770 (__fmal): Do not extract and scale down low bits on after-rounding
75771 systems when result rounded to normal precision would have normal
75772 exponent.
75773 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75774 macro.
75775 (fma_test): Add more tests.
75776 (fma_test_towardzero): Likewise.
75777 (fma_test_downward): Likewise.
75778 (fma_test_upward): Likewise.
75779
75780 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75781
75782 * sysdeps/i386/tininess.h: Renamed to ...
75783 * sysdeps/x86/tininess.h: This.
75784 * sysdeps/x86_64/tininess.h: Removed.
75785
75786 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75787
75788 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75789 input. Use $(build-program-cmd).
75790 ($(objpfx)tst-array1-static.out): Likewise.
75791 ($(objpfx)tst-array2.out): Likewise.
75792 ($(objpfx)tst-array3.out): Likewise.
75793 ($(objpfx)tst-array4.out): Likewise.
75794 ($(objpfx)tst-array5.out): Likewise.
75795 ($(objpfx)tst-array5-static.out): Likewise.
75796
75797 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75798
75799 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75800 if defined.
75801
75802 * nss/nsswitch.h (nss_interface_function): Provide new
75803 macro for use with NSS functions.
75804 * grp/initgroups.c: Use new macro.
75805 * nss/getXXbyYY.c: Likewise.
75806 * nss/getXXbyYY_r.c: Likewise.
75807 * nss/getXXent.c: Likewise.
75808 * nss/getXXent_r.c: Likewise.
75809 * sysdeps/posix/getaddrinfo.c: Likewise.
75810
75811 2012-10-30 Andreas Jaeger <aj@suse.de>
75812
75813 * po/ru.po: Update Russion translation from translation project.
75814
75815 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75816
75817 [BZ #14152]
75818 [BZ #14783]
75819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75820 result and shift together with sticky bit instead of replicating
75821 round-to-nearest rounding.
75822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75824 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75825 missing underflow exceptions.
75826 (fma_test_towardzero): Add more tests.
75827 (fma_test_downward): Likewise.
75828 (fma_test_upward): Likewise.
75829
75830 [BZ #14047]
75831 * sysdeps/generic/tininess.h: New file.
75832 * sysdeps/i386/tininess.h: Likewise.
75833 * sysdeps/sh/tininess.h: Likewise.
75834 * sysdeps/x86_64/tininess.h: Likewise.
75835 * stdlib/tst-strtod-underflow.c: Likewise.
75836 * stdlib/tst-tininess.c: Likewise.
75837 * stdlib/strtod_l.c: Include <tininess.h>.
75838 (round_and_return): Do not set errno for exact underflow cases.
75839 Force an underflow exception when setting errno for underflow.
75840 Determine underflow based on rounding to normal precision if
75841 TININESS_AFTER_ROUNDING.
75842 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75843 ERANGE for exact underflow cases.
75844 * stdlib/Makefile (tests): Add tst-tininess and
75845 tst-strtod-underflow.
75846 ($(objpfx)tst-tininess): Use $(link-libm).
75847 ($(objpfx)tst-strtod-underflow): Likewise.
75848
75849 2012-10-30 Andreas Jaeger <aj@suse.de>
75850
75851 [BZ #14767]
75852 * elf/Makefile (tests): Remove conditional for have-initfini-array
75853 since this is now always required and the variable does not exist
75854 anymore.
75855 (tests-static): Likewise.
75856 (modules-names): Likewise.
75857
75858 * po/eo.po: Add Esperanto translation from translation project.
75859
75860 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75861 merged with constructor/destructor.
75862 (init_array): Likewise.
75863 * elf/tst-array2dep.c (fini_array): Likewise.
75864 (init_array): Likewise.
75865
75866 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75867
75868 * manual/message.texi: Delete @cartouche tags.
75869
75870 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75871
75872 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75873 EOPNOTSUPP.
75874 * sysdeps/mach/hurd/fsync.c: Likewise.
75875
75876 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75877 [_POSIX_REALTIME_SIGNALS]: Change condition to
75878 [_POSIX_REALTIME_SIGNALS > 0].
75879
75880 2012-10-27 Andreas Jaeger <aj@suse.de>
75881
75882 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75883 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75885 [__WORDSIZE != 64]: Likewise.
75886
75887 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75888
75889 * iconvdata/tst-table.sh: Remove ${SHELL}.
75890 * iconvdata/tst-tables.sh: Likewise.
75891
75892 2012-10-25 David S. Miller <davem@davemloft.net>
75893
75894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75895 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75896 of strtoull.
75897
75898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75899 ifunc-impl-list.c
75900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75901 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75902 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75903 file.
75904
75905 2012-10-25 Roland McGrath <roland@hack.frob.com>
75906
75907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75908 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75909 __getdirentries.
75910
75911 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75912 Jim Blandy <jimb@codesourcery.com>
75913
75914 * scripts/cross-test-ssh.sh: New file.
75915 * manual/install.texi (Configuring and compiling): Document use of
75916 cross-test-ssh.sh.
75917 * INSTALL: Regenerated.
75918
75919 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75920
75921 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75922 EOPNOTSUPP.
75923
75924 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75925
75926 * Makeconfig (run-program-prefix): Fix comment.
75927
75928 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75929 Jim Blandy <jimb@codesourcery.com>
75930
75931 * Makeconfig (test-wrapper): New variable,
75932 (test-wrapper-env): Likewise.
75933 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75934 (run-built-tests): Define to yes.
75935 (run-program-prefix): Use $(test-wrapper).
75936 (built-program-cmd): Likewise.
75937 * Rules (make-test-out): Use $(test-wrapper-env) and
75938 $(host-built-program-cmd).
75939 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75940 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75941 tst-pathopt.sh.
75942 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75943 $(test-wrapper-env) to tst-rtld-load-self.sh.
75944 ($(objpfx)order2.out): Use $(test-wrapper).
75945 ($(objpfx)tst-initorder.out): Likewise.
75946 ($(objpfx)tst-initorder2.out): Likewise.
75947 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75948 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75949 (test_wrapper_env): New variable. Use it to run ld.so.
75950 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75951 Use it to run ld.so.
75952 (test_wrapper_env): Likewise.
75953 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75954 $(test-wrapper) to run-iconv-test.sh.
75955 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75956 (ICONV): Use $test_wrapper.
75957 * posix/Makefile ($(objpfx)globtest.out): Pass
75958 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75959 globtest.sh, not $(run-program-prefix).
75960 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75961 (test_wrapper): Likewise.
75962 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75963 set together with run_via_rtld_prefix.
75964 (run_program_prefix): Define in terms of test_wrapper and
75965 run_via_rtld_prefix.
75966
75967 2012-10-24 Roland McGrath <roland@hack.frob.com>
75968
75969 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75970 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75971 Targets removed.
75972
75973 [BZ #14743]
75974 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75975 Declare __clock_getres, __clock_gettime, __clock_settime,
75976 __clock_nanosleep, and __clock_getcpuclockid.
75977 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75978 Remove librt_hidden_def (clock_gettime).
75979 * sysdeps/unix/clock_gettime.c: Likewise.
75980 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75982 * rt/clock_getres.c: Define __clock_getres as an alias.
75983 * sysdeps/posix/clock_getres.c: Likewise.
75984 * rt/clock_settime.c: Define __clock_settime as an alias.
75985 * sysdeps/unix/clock_settime.c: Likewise.
75986 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75987 * sysdeps/unix/clock_nanosleep.c: Likewise.
75988 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75989 * rt/clock-compat.c: New file.
75990 * rt/Makefile (librt-routines): Add clock-compat and move
75991 $(clock-routines) to ...
75992 (routines): ... here, new variable.
75993 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75994 Don't add get_clockfreq here.
75995 * rt/Versions (libc: GLIBC_2.17): New version set.
75996 Add clock_* symbols here.
75997 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75999 (GLIBC_2.17): Add clock_* symbols.
76000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76004 Likewise.
76005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76006 Likewise.
76007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76011 * NEWS: Mention the move.
76012
76013 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
76014 Use __open, __read, __close rather than their public counterparts.
76015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76016 (__get_clockfreq_via_cpuinfo): Likewise.
76017 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
76018 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
76019
76020 * config.h.in (HAVE_IFUNC): New #undef.
76021 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
76022 was successful.
76023 * configure: Regenerated.
76024
76025 2012-10-24 Mike Frysinger <vapier@gentoo.org>
76026
76027 * configure.in: Move READELF check to start of file.
76028 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
76029 libc_cv_asm_gnu_indirect_function in the process.
76030 * configure: Regenerated.
76031
76032 2012-10-24 Mike Frysinger <vapier@gentoo.org>
76033
76034 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
76035 send the output to /dev/null.
76036 (libc_cv_cc_with_libunwind): Likewise.
76037 (libc_cv_as_noexecstack): Likewise.
76038 * configure: Regenerate.
76039
76040 2012-10-24 Joseph Myers <joseph@codesourcery.com>
76041
76042 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
76043
76044 * posix/globtest.sh (TMPDIR): Do not set.
76045 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
76046 (testout): Likewise.
76047
76048 2012-10-24 Andreas Jaeger <aj@suse.de>
76049
76050 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
76051 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
76052 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
76053 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
76054 posix_fadvise64, posix_fallocate64.
76055
76056 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
76057 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
76058 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
76059 Likewise.
76060 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
76061 Likewise.
76062 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
76063
76064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
76065 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
76066 <bits/fcntl-linux.h>.
76067 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
76068
76069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
76070 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
76071 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
76072 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
76073 [__WORDSIZE != 64]: Likewise.
76074
76075 2012-10-23 Joseph Myers <joseph@codesourcery.com>
76076
76077 * Makeconfig (run-built-tests): New variable.
76078 * Rules [$(cross-compiling) = yes]: Change condition to
76079 [$(run-built-tests) = no].
76080 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
76081 to [$(run-built-tests) = yes].
76082 * elf/Makefile [$(cross-compiling) = no]: Likewise.
76083 * grp/Makefile [$(cross-compiling) = no]: Likewise.
76084 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
76085 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
76086 * intl/Makefile [$(cross-compiling) = no]: Likewise.
76087 * io/Makefile [$(cross-compiling) = no]: Likewise.
76088 * libio/Makefile [$(cross-compiling) = no]: Likewise.
76089 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
76090 * misc/Makefile [$(cross-compiling) = no]: Likewise.
76091 * posix/Makefile [$(cross-compiling) = no]: Likewise.
76092 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
76093 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
76094 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
76095 * string/Makefile [$(cross-compiling) = no]: Likewise.
76096
76097 * posix/Makefile ($(objpfx)globtest.out): Pass
76098 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
76099 $(rtld-installed-name).
76100 * posix/globtest.sh (elf_objpfx): Remove variable.
76101 (rtld_installed_name): Likewise.
76102 (library_path): Likewise.
76103 (run_program_prefix): New variable. Use for running globtest
76104 binary.
76105
76106 2012-10-23 Jim Blandy <jimb@codesourcery.com>
76107 Joseph Myers <joseph@codesourcery.com>
76108
76109 * Makeconfig (host-built-program-cmd): New variable.
76110 * elf/Makefile (tst-stackguard1-ARGS): Use
76111 $(host-built-program-cmd).
76112 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
76113 (tst-spawn-ARGS): Likewise.
76114 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
76115
76116 2012-10-23 Joseph Myers <joseph@codesourcery.com>
76117 Jim Blandy <jimb@codesourcery.com>
76118
76119 * Makeconfig (run-via-rtld-prefix): New variable.
76120 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
76121 (built-program-cmd): Likewise.
76122
76123 2012-10-22 Andreas Jaeger <aj@suse.de>
76124
76125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
76126 __O_RSYNC if it exists, otherwise to O_SYNC.
76127
76128 2012-10-22 Jim Blandy <jimb@codesourcery.com>
76129 Joseph Myers <joseph@codesourcery.com>
76130
76131 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
76132 /dev/null.
76133 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
76134 from /dev/null
76135 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
76136 /dev/null.
76137
76138 2012-10-22 Andreas Jaeger <aj@suse.de>
76139
76140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76141 Define always.
76142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76143
76144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76145 bits/fcntl-linux.h.
76146
76147 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76148 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76149
76150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76151 to __O_LARGEFILE.
76152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76153 to __O_LARGEFILE.
76154
76155 2012-10-21 Jim Blandy <jimb@codesourcery.com>
76156 Joseph Myers <joseph@codesourcery.com>
76157
76158 * config.make.in (NM): New variable.
76159
76160 2012-10-21 Andreas Jaeger <aj@suse.de>
76161
76162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76163 definitions and declarations that are provided by
76164 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76165
76166 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76167
76168 [BZ #14683]
76169 * elf/Makefile (tests-static): Add tst-leaks1-static.
76170 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76171 ($(objpfx)tst-leaks1-static): New rule.
76172 ($(objpfx)tst-leaks1-static-mem): Likewise.
76173 (tst-leaks1-static-ENV): New macro.
76174 * elf/dl-open.c (dl_open_worker): Check the main application
76175 only if SHARED is defined.
76176 * elf/tst-leaks1-static.c: New file.
76177
76178 2012-10-20 Andreas Jaeger <aj@suse.de>
76179
76180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76181 generic values for Linux.
76182 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76183 and declarations that are provided by <bits/fcntl-linux.h> and
76184 include <bits/fcntl-linux.h>.
76185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76187
76188 2012-10-20 Roland McGrath <roland@hack.frob.com>
76189
76190 * io/fcntl.h: Move include of <bits/types.h> to the top and
76191 include it unconditionally.
76192
76193 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76194
76195 * wcsmbs/Makefile (tests-ifunc): New variable.
76196 (tests): Add $(tests-ifunc).
76197 * wcsmbs/test-wcschr-ifunc.c: New file.
76198 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76199 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76200 * wcsmbs/test-wcslen-ifunc.c: Likewise.
76201 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76202 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76203
76204 * string/Makefile (tests-ifunc): New variable.
76205 (tests): Add $(tests-ifunc).
76206 * string/test-memccpy.c (TEST_NAME): New macro.
76207 * string/test-memchr.c (TEST_NAME): Likewise.
76208 * string/test-memcmp.c (TEST_NAME): Likewise.
76209 * string/test-memcpy.c (TEST_NAME): Likewise.
76210 * string/test-memmem.c (TEST_NAME): Likewise.
76211 * string/test-memmove.c (TEST_NAME): Likewise.
76212 * string/test-memset.c (TEST_NAME): Likewise.
76213 * string/test-rawmemchr.c (TEST_NAME): Likewise.
76214 * string/test-stpcpy.c (TEST_NAME): Likewise.
76215 * string/test-stpncpy.c (TEST_NAME): Likewise.
76216 * string/test-strcasecmp.c (TEST_NAME): Likewise.
76217 * string/test-strcasestr.c (TEST_NAME): Likewise.
76218 * string/test-strcat.c (TEST_NAME): Likewise.
76219 * string/test-strchr.c (TEST_NAME): Likewise.
76220 * string/test-strcmp.c(TEST_NAME): Likewise.
76221 * string/test-strcpy.c (TEST_NAME): Likewise.
76222 * string/test-strcspn.c (TEST_NAME): Likewise.
76223 * string/test-strlen.c (TEST_NAME): Likewise.
76224 * string/test-strncasecmp.c (TEST_NAME): Likewise.
76225 * string/test-strncmp.c (TEST_NAME): Likewise.
76226 * string/test-strncpy.c (TEST_NAME): Likewise.
76227 * string/test-strnlen.c (TEST_NAME): Likewise.
76228 * string/test-strpbrk.c (TEST_NAME): Likewise.
76229 * string/test-strrchr.c (TEST_NAME): Likewise.
76230 * string/test-strspn.c (TEST_NAME): Likewise.
76231 * string/test-strstr.c (TEST_NAME): Likewise.
76232 * string/test-bcopy-ifunc.c: New file.
76233 * string/test-bzero-ifunc.c: Likewise.
76234 * string/test-memccpy-ifunc.c: Likewise.
76235 * string/test-memchr-ifunc.c: Likewise.
76236 * string/test-memcmp-ifunc.c: Likewise.
76237 * string/test-memcpy-ifunc.c: Likewise.
76238 * string/test-memmem-ifunc.c: Likewise.
76239 * string/test-memmove-ifunc.c: Likewise.
76240 * string/test-mempcpy-ifunc.c: Likewise.
76241 * string/test-memset-ifunc.c: Likewise.
76242 * string/test-rawmemchr-ifunc.c: Likewise.
76243 * string/test-stpcpy-ifunc.c: Likewise.
76244 * string/test-stpncpy-ifunc.c: Likewise.
76245 * string/test-strcasecmp-ifunc.c: Likewise.
76246 * string/test-strcasestr-ifunc.c: Likewise.
76247 * string/test-strcat-ifunc.c: Likewise.
76248 * string/test-strchr-ifunc.c: Likewise.
76249 * string/test-strchrnul-ifunc.c: Likewise.
76250 * string/test-strcmp-ifunc.c: Likewise.
76251 * string/test-strcpy-ifunc.c: Likewise.
76252 * string/test-strcspn-ifunc.c: Likewise.
76253 * string/test-strlen-ifunc.c: Likewise.
76254 * string/test-strncasecmp-ifunc.c: Likewise.
76255 * string/test-strncat-ifunc.c: Likewise.
76256 * string/test-strncmp-ifunc.c: Likewise.
76257 * string/test-strncpy-ifunc.c: Likewise.
76258 * string/test-strnlen-ifunc.c: Likewise.
76259 * string/test-strpbrk-ifunc.c: Likewise.
76260 * string/test-strrchr-ifunc.c: Likewise.
76261 * string/test-strspn-ifunc.c: Likewise.
76262 * string/test-strstr-ifunc.c: Likewise.
76263
76264 * debug/Makefile (tests-ifunc): New variable.
76265 (tests): Add $(tests-ifunc).
76266 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76267 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76268 * debug/test-stpcpy_chk-ifunc.c: New file.
76269 * debug/test-strcpy_chk-ifunc.c: Likewise.
76270
76271 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
76272
76273 [BZ #13601]
76274 * elf/dl-load.c (open_verify): Retry read if the entire ELF
76275 header is not read in.
76276
76277 2012-10-19 Joseph Myers <joseph@codesourcery.com>
76278
76279 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
76280 script to $(SHELL) as $<. Pass $(common-objpfx) to script
76281 directly. Pass built executable to script as
76282 $(built-program-cmd).
76283 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
76284 $testprogram without using LD_LIBRARY_PATH and $ldso.
76285
76286 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76287 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76288 $(rtld-installed-name).
76289 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76290 (rtld_installed_name): Likewise.
76291 (library_path): Likewise.
76292 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
76293 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76294 $(run-program-prefix) to tst-tables.sh.
76295 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
76296 it to run tst-table-from and tst-table-to.
76297 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76298 Pass it to tst-table.sh.
76299 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76300 $(run-program-prefix) to tst-gettext.sh.
76301 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76302 tst-translit.sh.
76303 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76304 tst-gettext2.sh.
76305 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
76306 to run tst-gettext.
76307 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
76308 to run tst-gettext2.
76309 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
76310 to run tst-translit.
76311 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76312 $(run-program-prefix) to tst-mtrace.sh.
76313 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
76314 to run tst-mtrace.
76315 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76316 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76317 $(rtld-installed-name).
76318 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76319 (rtld_installed_name): Likewise.
76320 (run_program_prefix): New variable. Use it to run wordexp-test.
76321
76322 * Makeconfig (ARCH): Remove all definitions.
76323 (machine): Likewise.
76324 [ARCH]: Remove conditional code.
76325 [!objdir]: Give error.
76326 [!objdir] (objpfx): Remove.
76327 [!objdir] (common-objpfx): Likewise.
76328 [!objdir] (common-objdir): Likewise.
76329 * configure.in (config_makefile): Remove. Hardcode Makefile in
76330 AC_CONFIG_FILES call.
76331 * configure: Regenerated.
76332
76333 [BZ #13888]
76334 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76335 or TMPDIR.
76336 (testout): Likewise.
76337
76338 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76339 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76340 $(rtld-installed-name).
76341 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76342 (rtld_installed_name): Likewise.
76343 (runit): Remove function.
76344 (run_getconf): New variable, Use it for running getconf binary.
76345
76346 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
76347
76348 [BZ #14716]
76349 * string/test-memmem.c (check_result): New function.
76350 (do_one_test): Use it.
76351 (check1): New function.
76352 (test_main): Use it.
76353
76354 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76355
76356 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76357
76358 2012-10-18 Joseph Myers <joseph@codesourcery.com>
76359
76360 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76361 (_G_LSEEK64): Likewise.
76362 (_G_MMAP64): Likewise.
76363 (_G_FSTAT64): Likewise.
76364 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76365 (_G_LSEEK64): Likewise.
76366 (_G_MMAP64): Likewise.
76367 (_G_FSTAT64): Likewise.
76368 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76369 unconditional. Call __mmap64 directly.
76370 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76371 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76372 __lseek64 directly.
76373 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76374 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76375 __mmap64 directly.
76376 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76377 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76378 __lseek64 directly.
76379 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76380 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76381 __lseek64 directly.
76382 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76383 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76384 __lseek64 directly.
76385 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76386 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76387 __fxstat64 directly.
76388 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76389 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76390 unconditional.
76391 (freopen64) [!_G_OPEN64]: Remove conditional code.
76392 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76393 unconditional.
76394 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76395 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76396 unconditional.
76397 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76398 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76399 unconditional.
76400 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76401 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76402 unconditional.
76403 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76404 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76405 unconditional.
76406 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76407 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76408 unconditional.
76409 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76410 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76411 unconditional.
76412 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76413
76414 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76415
76416 [BZ #12140]
76417 * manual/memory.texi (Malloc Tunable Parameters): Add note
76418 about free list pointers overwriting some perturb bytes.
76419 Wording suggested by Roland McGrath.
76420
76421 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76422
76423 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76424 (lgamma_test): Likewise.
76425 (tgamma_test): Likewise.
76426
76427 2012-10-16 Florian Weimer <fweimer@redhat.com>
76428
76429 [BZ #14700]
76430 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76431 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76432
76433 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76434
76435 * NEWS: Mention BZ #14716.
76436 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76437 when removing AVAILABLE1_USES_J macro.
76438
76439 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76440
76441 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76442 (__bswap_64): __uint64_t for unsigned 64-bit int.
76443
76444 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76445
76446 * include/string.h (memmem): Declare libc hidden alias.
76447 * string/memmem.c (memmem): Define libc hidden alias.
76448 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76449 __read, __close instead of open, read, close.
76450
76451 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76452
76453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76454 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76455 global and hidden.
76456 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76457 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76458 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76459 Likewise.
76460 (__rawmemchr_sse2): Likewise.
76461 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76462 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76463 (__strchr_sse2): Likewise.
76464 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76465 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76466 (__strcasecmp_sse2): Likewise.
76467 (__strncasecmp_sse2): Likewise.
76468 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76469 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76470 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76471 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76472 (__strrchr_sse2): Likewise.
76473 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76474 ifunc-impl-list.c.
76475 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76476 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76477 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76478 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76479 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76480 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76481 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76482 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76483 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76484 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76485 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76486 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76487 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76488 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76489 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76490 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76491 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76492 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76493 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76494 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76495 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76496 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76497 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76498 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76499 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76500 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76501 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76502 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76503 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76504 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76505
76506 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76507 global and hidden.
76508 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76509 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76510 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76511 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76512 Likewise.
76513 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76514 Likewise.
76515 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76516 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76517 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76518 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76519 ifunc-impl-list.c.
76520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76521 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76523 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76524 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76525 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76526 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76527 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76528 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76529 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76533 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76534 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76536 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76537 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76539 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76545 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76546 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76547 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76548 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76549 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76550 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76551 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76552 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76553 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76554 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76555 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76556 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76557 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76558 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76559 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76560 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76561
76562 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76563 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76564 * include/ifunc-impl-list.h: New file.
76565 * misc/ifunc-impl-list.c: Likewise.
76566 * misc/Makefile (routines): Add ifunc-impl-list.
76567 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76568 * string/test-string.h: Include <ifunc-impl-list.h>.
76569 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76570 TEST_NAME]: New variables.
76571 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76572 are defined.
76573 (test_init): Call __libc_ifunc_impl_list to initialize
76574 func_list if TEST_IFUNC and TEST_NAME are defined.
76575
76576 * string/Makefile (strop-tests): Add bcopy and bzero.
76577 * string/test-bcopy.c: New file.
76578 * string/test-bzero.c: Likewise.
76579 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76580 defined.
76581 * string/test-memset.c: Support bzero test if TEST_BZERO is
76582 defined.
76583 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76584 __libc_memmove.
76585 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76586 __libc_memset.
76587 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76588 of memset.
76589
76590 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76591
76592 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76593 * configure: Regenerated.
76594
76595 * Makeconfig (+link-static-before-libc): Don't include
76596 $(link-static-libc).
76597
76598 * libio/libio.h (_IO_pos_t): Remove.
76599
76600 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76601
76602 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76603 McGrath.
76604
76605 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76606
76607 * crypt/crypt-entry.c: Include fips-private.h.
76608 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76609 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76610 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76611 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76612
76613 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76614
76615 * crypt/crypt-private.h: Include stdbool.h.
76616 (_ufc_setup_salt_r): Return bool.
76617 * crypt/crypt-entry.c: Include errno.h.
76618 (__crypt_r): Return NULL with EINVAL for bad salt.
76619 * crypt/crypt_util.c (bad_for_salt): New.
76620 (_ufc_setup_salt_r): Check that salt is long enough and within
76621 the specified alphabet.
76622 * crypt/badsalttest.c: New file.
76623 * crypt/Makefile (tests): Add it.
76624 ($(objpfx)badsalttest): New.
76625
76626 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76627
76628 * NEWS: Add entry for BZ #14602.
76629
76630 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76631
76632 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76633 type-generic.
76634 * math/libm-test.inc: Update comment listing what functions and
76635 macros are tested.
76636 (isgreater_test): New function.
76637 (isgreaterequal_test): Likewise.
76638 (isless_test): Likewise.
76639 (islessequal_test): Likewise.
76640 (islessgreater_test): Likewise.
76641 (isunordered_test): Likewise.
76642 (main): Call the new functions.
76643
76644 2012-10-09 Roland McGrath <roland@hack.frob.com>
76645
76646 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76647 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76648 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76649 * sysdeps/i386/configure: Regenerated.
76650 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76651 * sysdeps/mach/configure: Regenerated.
76652 * sysdeps/mach/hurd/configure: Regenerated.
76653 * sysdeps/powerpc/configure: Regenerated.
76654 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76655 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76656 * sysdeps/s390/s390-32/configure: Regenerated.
76657 * sysdeps/s390/s390-64/configure: Regenerated.
76658 * sysdeps/sh/configure: Regenerated.
76659 * sysdeps/sparc/configure: Regenerated.
76660 * sysdeps/unix/sysv/linux/configure: Regenerated.
76661 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76662 * sysdeps/x86_64/configure: Regenerated.
76663
76664 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76665 defined. Don't check if MAP is NULL.
76666
76667 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76668
76669 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76670 (_G_stat64): Likewise.
76671 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76672 (_G_stat64): Likewise.
76673 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76674 instead of struct _G_stat64.
76675 * libio/fileops.c (mmap_remap_check): Likewise.
76676 (decide_maybe_mmap): Likewise.
76677 (_IO_new_file_seekoff): Likewise.
76678 (_IO_file_stat): Likewise.
76679 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76680 _G_off64_t.
76681 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76682 instead of struct _G_stat64.
76683 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76684
76685 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76686
76687 [BZ #14602]
76688 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76689 Replace with ...
76690 (CHECK_EOL): New macro.
76691 (two_way_short_needle): Check beginning of haystack for EOL. Use
76692 CHECK_EOL.
76693 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76694 Replace with CHECK_EOL.
76695 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76696 Replace with CHECK_EOL.
76697
76698 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76699
76700 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76701 type-generic.
76702 * math/libm-test.inc: Update comment listing what functions and
76703 macros are tested.
76704 (finite_test): New function.
76705 (isinf_test): Likewise.
76706 (isnan_test): Likewise.
76707 (fpclassify_test): Test subnormal input.
76708 (isfinite_test): Likewise.
76709 (isnormal_test): Likewise.
76710 (main): Call the new functions.
76711
76712 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76713
76714 [BZ #14660]
76715 * Makerules (%.dynsym): Force C locale when running
76716 $(OBJDUMP) --dynamic-syms.
76717
76718 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76719
76720 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76721 <stdint.h>.
76722
76723 2012-10-06 David S. Miller <davem@davemloft.net>
76724
76725 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76726 upper 32-bits of the length value in %o2 since we use branch-on-register
76727 tests which consider the entire 64-bit register.
76728
76729 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76730
76731 * string/test-strstr.c (check2): Add a test for page boundary.
76732
76733 2012-10-05 David S. Miller <davem@davemloft.net>
76734
76735 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76736 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76737 file.
76738 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76739 sysdep_routines.
76740 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76741 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76742 and bzero when HWCAP_SPARC_CRYPTO is present.
76743
76744 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76745
76746 [BZ #14602]
76747 * string/test-strstr.c (check2): New function.
76748 (test_main): Call check2.
76749
76750 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76751 and bug-strchr1.
76752 * string/bug-strcasestr1.c (do_test): Moved to ...
76753 * string/test-strcasestr.c (check1): Here. New function.
76754 (do_one_test): Break out result checking code into ...
76755 (check_result): This. New function.
76756 (do_one_test): Call check_result.
76757 (test_main): Call check1.
76758 * string/bug-strchr1.c (do_test): Moved to ...
76759 * string/test-strchr.c (check1): Here. New function.
76760 (do_one_test): Break out result checking code into ...
76761 (check_result): This. New function.
76762 (do_one_test): Call check_result.
76763 (test_main): Call check1.
76764 * string/bug-strstr1.c (main): Moved to ...
76765 * string/test-strstr.c (check1): Here. New function.
76766 (do_one_test): Break out result checking code into ...
76767 (check_result): This. New function.
76768 (do_one_test): Call check_result.
76769 (test_main): Call check1.
76770 * string/bug-strcasestr1.c: Removed.
76771 * string/bug-strchr1.c: Likewise.
76772 * string/bug-strstr1.c: Likewise.
76773
76774 * elf/Makefile (dl-routines): Add hwcaps.
76775 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76776 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76777 (_dl_important_hwcaps): Moved to ...
76778 * elf/dl-hwcaps.c: Here. New file.
76779 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76780
76781 [BZ #14557]
76782 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76783 if IS_IN_rtld isn't defined.
76784
76785 * elf/dl-support.c (_dl_sysinfo_map): New.
76786 Include "get-dynamic-info.h" and "setup-vdso.h".
76787 (_dl_non_dynamic_init): Call setup_vdso.
76788 * elf/dynamic-link.h: Don't include <assert.h>.
76789 (elf_get_dynamic_info): Moved to ...
76790 * elf/get-dynamic-info.h: Here. New file.
76791 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76792 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76793 * elf/setup-vdso.h: Here. New file.
76794 * elf/rtld.c: Include "setup-vdso.h".
76795 (dl_main): Call setup_vdso.
76796
76797 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76798
76799 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76800 creal in comment listing functions tested. List finite, isinf,
76801 isnan, isless, islessequal, isgreater, isgreaterequal,
76802 islessgreater, isunordered, lgamma_r and pow10 as functions and
76803 macros not tested. Mention which functions not tested are aliases
76804 for other functions. Fix typo. Note that signs of NaNs are not
76805 tested.
76806
76807 * scripts/config.guess: Update from config.git.
76808 * scripts/config.sub: Likewise.
76809
76810 2012-10-04 Roland McGrath <roland@hack.frob.com>
76811
76812 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76813 * misc/madvise.c (madvise): Renamed to __madvise.
76814 Make madvise a weak alias.
76815 * include/sys/mman.h: Declare __madvise.
76816 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76817 * sysdeps/unix/syscalls.list
76818 (madvise): Make __madvise the strong name, and madvise a weak alias.
76819 * sysdeps/unix/sysv/linux/syscalls.list
76820 (madvise, mmap): Remove redundant entries.
76821 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76822 * malloc/malloc.c (mtrim): Likewise.
76823 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76824
76825 2012-10-03 Roland McGrath <roland@hack.frob.com>
76826
76827 * sysdeps/mach/hurd/dl-cache.c: File removed.
76828 * config.h.in (USE_LDCONFIG): New #undef.
76829 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76830 * configure: Regenerated.
76831 * elf/Makefile (dl-routines): Add dl-cache only under
76832 [$(use-ldconfig) = yes].
76833 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76834 cache on [USE_LDCONFIG].
76835 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76836 [USE_LDCONFIG].
76837 * elf/rtld.c (dl_main): Likewise.
76838
76839 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76840
76841 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76842 _SC_LEVEL4_CACHE_LINESIZE.
76843
76844 2012-10-03 Roland McGrath <roland@hack.frob.com>
76845
76846 * sysdeps/unix/bsd/confstr.h: File removed.
76847
76848 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76849
76850 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76851 sys/sdt-config.h.
76852
76853 2012-10-02 Roland McGrath <roland@hack.frob.com>
76854
76855 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76856 Make 'mapoff' field ElfW(Off) rather than off_t.
76857
76858 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76859
76860 * nscd/Makefile: Remove nscd-cflags and all its users.
76861 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76862 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76863
76864 [BZ #10631]
76865 * malloc.c (malloc_printerr): Clarify error message.
76866
76867 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76868
76869 [BZ #14648]
76870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76871 Set bit_FMA_Usable if FMA is supported.
76872 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76873 macro.
76874 (bit_FMA4_Usable): Updated.
76875 (index_FMA_Usable): New macro.
76876 (CPUID_FMA): Likewise.
76877 (HAS_FMA): Defined with bit_FMA_Usable.
76878
76879 2012-10-01 Roland McGrath <roland@hack.frob.com>
76880
76881 * bits/types.h (__swblk_t): Type removed.
76882 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76883 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76885 (__SWBLK_T_TYPE): Likewise.
76886 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76887 (__SWBLK_T_TYPE): Likewise.
76888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76889 (__SWBLK_T_TYPE): Likewise.
76890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76891 (__SWBLK_T_TYPE): Likewise.
76892
76893 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76894 Honza Horak <hhorak@redhat.com>
76895
76896 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76897 (xdr_mapname): Use YPMAXMAP as maxsize.
76898 (xdr_peername): Use YPMAXPEER as maxsize.
76899 (xdr_keydat): Use YPAXRECORD as maxsize.
76900 (xdr_valdat): Use YPMAXRECORD as maxsize.
76901
76902 2012-10-01 Roland McGrath <roland@hack.frob.com>
76903
76904 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76905
76906 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76907 * csu/init-first.c: ... here.
76908 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76909 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76911 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76912 * sysdeps/i386/init-first.c: File removed.
76913 * sysdeps/sh/init-first.c: File removed.
76914
76915 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76916
76917 [BZ #14645]
76918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76919 if x * y might underflow to zero and z is zero.
76920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76921 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76922 * math/libm-test.inc (min_subnorm_value): New variable.
76923 (fma_test): Add more tests.
76924 (fma_test_towardzero): Likewise.
76925 (fma_test_downward): Likewise.
76926 (fma_test_upward): Likewise.
76927 (initialize): Set min_subnorm_value.
76928
76929 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76930
76931 [BZ #14638]
76932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76933 0 + 0.
76934 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76935 mode for addition resulting in exact zero.
76936 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76938 exact 0 + 0.
76939 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76941 * math/libm-test.inc (fma_test): Add more tests.
76942 (fma_test_towardzero): New function.
76943 (fma_test_downward): Likewise.
76944 (fma_test_upward): Likewise.
76945 (main): Call the new functions.
76946
76947 2012-09-28 David S. Miller <davem@davemloft.net>
76948
76949 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76950
76951 2012-09-28 Roland McGrath <roland@hack.frob.com>
76952
76953 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76954 instead of SIGALRM.
76955
76956 * sysdeps/gnu/_G_config.h: Moved to ...
76957 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76958 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76959 * sysdeps/generic/_G_config.h: ... here.
76960
76961 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76962
76963 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76964
76965 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76966 Conditionalize target on [libnss_test1.so-version].
76967
76968 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76969
76970 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76971 (elfobjdir): Move out of conditionals.
76972
76973 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76974 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76975 (__nss_lookup_function): Conditionalize label remove_from_tree on
76976 [!DO_STATIC_NSS || SHARED], matching its only use.
76977
76978 2012-09-28 David S. Miller <davem@davemloft.net>
76979
76980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76981 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76982 file.
76983 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76984 sysdep_routines.
76985 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76987 when HWCAP_SPARC_CRYPTO is present.
76988
76989 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76990
76991 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76992
76993 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76994
76995 [BZ #6530]
76996 * stdio-common/vfprintf.c (process_string_arg): Revert
76997 2000-07-22 change.
76998
76999 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
77000
77001 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
77002 for testcase.
77003 * stdio-common/tst-sprintf.c: Include <locale.h>
77004 (main): Test sprintf's handling of incomplete multibyte
77005 characters.
77006
77007 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
77008
77009 * elf/dl-runtime.c (VERSYMIDX): Removed.
77010 * elf/dl-version.c (VERSYMIDX): Likewise.
77011 * elf/do-rel.h (VERSYMIDX): Likewise.
77012 (VALIDX): Likewise.
77013 * elf/dynamic-link.h (VERSYMIDX): Likewise.
77014 * elf/rtld.c (VALIDX): Likewise.
77015 (ADDRIDX): Likewise.
77016 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
77017 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
77018 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
77019 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
77020 (VALIDX): Likewise.
77021 (ADDRIDX): Likewise.
77022
77023 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
77024
77025 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
77026
77027 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
77028
77029 [BZ #11438]
77030 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
77031 to global scope.
77032 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
77033 addresses are in the same scope as 192.0.2/24.
77034 * posix/gai.conf: Document new scope table defaults.
77035
77036 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
77037
77038 [BZ #5298]
77039 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
77040 for ftell. Compute offsets from write pointers instead.
77041 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
77042
77043 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
77044
77045 [BZ #14543]
77046 * libio/Makefile (tests): New test case tst-fseek.
77047 * libio/tst-fseek.c: New test case to verify that fseek/ftell
77048 combination works in wide mode.
77049 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
77050 state when the external buffer state changes.
77051
77052 2012-09-27 David S. Miller <davem@davemloft.net>
77053
77054 [BZ #14376]
77055 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
77056 pass reloc->r_addend in as the 'high' argument to
77057 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
77058
77059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77060
77061 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
77062
77063 * rt/tst-aio2.c: Include <pthread.h>.
77064 * rt/tst-aio3.c: Likewise.
77065
77066 2012-09-27 Steve Ellcey <sellcey@mips.com>
77067
77068 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
77069
77070 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
77071
77072 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
77073 contents on [SHARED].
77074
77075 2012-09-26 Marek Polacek <polacek@redhat.com>
77076
77077 [BZ #14530]
77078 [BZ #13741]
77079 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
77080 for C++ and GCC <4.3 as well as for non GCC compilers.
77081
77082 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
77083
77084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77085
77086 2012-09-25 Roland McGrath <roland@hack.frob.com>
77087
77088 * Makefile.in (all, install): Declare with .PHONY.
77089 Reported by Michael Hope <michael.hope@linaro.org>.
77090
77091 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77092
77093 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
77094 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
77095 system header.
77096 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
77097 Likewise.
77098 (sydep_routines): Add the new and the internal functions.
77099 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
77100 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
77101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
77102 (GLIBC_2.17): Add the new function.
77103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77104 (GLIBC_2.17): Likewise.
77105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
77106 (GLIBC_2.17): Likewise.
77107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
77108 (GLIBC_2.17): Likewise.
77109 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
77110
77111 2012-09-25 Alan Modra <amodra@gmail.com>
77112
77113 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
77114 Add release barrier before setting once_control to say
77115 initialisation is done. Add hints on lwarx. Use macro in
77116 place of isync.
77117 (clear_once_control): Add release barrier.
77118
77119 2012-09-25 Joseph Myers <joseph@codesourcery.com>
77120
77121 [BZ #13629]
77122 * math/s_clog.c (__clog): Handle more values close to |z| = 1
77123 specially.
77124 * math/s_clog10.c (__clog10): Likewise.
77125 * math/s_clog10f.c (__clog10f): Likewise.
77126 * math/s_clog10l.c (__clog10l): Likewise.
77127 * math/s_clogf.c (__clogf): Likewise.
77128 * math/s_clogl.c (__clogl): Likewise.
77129 * math/Makefile (libm-calls): Add x2y2m1.
77130 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
77131 (__x2y2m1): Likewise.
77132 (__x2y2m1l): Likewise.
77133 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
77134 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
77135 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
77136 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
77137 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
77138 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77139 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77140 * sysdeps/i386/fpu/libm-test-ulps: Update.
77141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77142
77143 [BZ #14621]
77144 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77145 int as type of variable DEPTH.
77146 (glob): Use size_t instead of int as type of variables NEWCOUNT
77147 and OLD_PATHC.
77148
77149 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77150
77151 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77152 Add s_sincosf-sse2.
77153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77154 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77155 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77156 macros for using routine as __sincosf_ia32.
77157 Use macro for function declaration and weak_alias.
77158 * sysdeps/i386/fpu/libm-test-ulps: Update.
77159
77160 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77162
77163 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77164 subnormal argument.
77165 * math/s_cexpf.c (__cexpf): Likewise.
77166 * math/s_csinf.c (__csinf): Likewise.
77167 * math/s_csinhf.c (__csinhf): Likewise.
77168 * math/s_ctanf.c (__ctanf): Likewise.
77169 * math/s_ctanhf.c (__ctanhf): Likewise.
77170 * math/s_ccosh.c (__ccoshf): Likewise.
77171 * math/s_cexp.c (__cexpl): Likewise.
77172 * math/s_csin.c (__csin): Likewise.
77173 * math/s_csinh.c (__csinh): Likewise.
77174 * math/s_ctan.c (__ctan): Likewise.
77175 * math/s_ctanh.c (ctanh): Likewise.
77176 * math/s_ccoshl.c (__ccoshl): Likewise.
77177 * math/s_cexpl.c (__cexpl): Likewise.
77178 * math/s_csinl.c (__csinl): Likewise.
77179 * math/s_csinhl.c (__csinhl): Likewise.
77180 * math/s_ctanl.c (__ctanl): Likewise.
77181 * math/s_ctanhl.c (__ctanhl): Likewise.
77182
77183 2012-09-25 Joseph Myers <joseph@codesourcery.com>
77184
77185 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77186 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77187 (_IO_off_t): Define to __off_t, not _G_off_t.
77188 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77189 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77190 (_IO_wint_t): Define to wint_t, not _G_wint_t.
77191 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77192 type of __dummy and __dummy2 fields.
77193 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77194 (_G_ssize_t): Likewise.
77195 (_G_off_t): Likewise.
77196 (_G_pid_t): Likewise.
77197 (_G_uid_t): Likewise.
77198 (_G_wchar_t): Likewise.
77199 (_G_wint_t): Likewise.
77200 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77201 (_G_ssize_t): Likewise.
77202 (_G_off_t): Likewise.
77203 (_G_pid_t): Likewise.
77204 (_G_uid_t): Likewise.
77205 (_G_wchar_t): Likewise.
77206 (_G_wint_t): Likewise.
77207 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77208 (_G_ssize_t): Likewise.
77209 (_G_off_t): Likewise.
77210 (_G_pid_t): Likewise.
77211 (_G_uid_t): Likewise.
77212 (_G_wchar_t): Likewise.
77213 (_G_wint_t): Likewise.
77214
77215 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77216
77217 * malloc/arena.c: Include malloc-sysdep.h.
77218 (shrink_heap): Use check_may_shrink_heap to decide if madvise
77219 is sufficient to shrink the heap or an unmap is needed.
77220 * sysdeps/generic/malloc-sysdep.h: New file. Define
77221 new function check_may_shrink_heap.
77222 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
77223 new function check_may_shrink_heap.
77224
77225 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77226
77227 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77228 comments.
77229
77230 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
77231
77232 * catgets/test-gencat.sh: Add "set -e".
77233 * elf/tst-pathopt.sh: Likewise.
77234 * grp/tst_fgetgrent.sh: Likewise.
77235 * iconvdata/run-iconv-test.sh: Likewise.
77236 * intl/tst-gettext.sh: Likewise.
77237 * intl/tst-gettext2.sh: Likewise.
77238 * intl/tst-gettext4.sh: Likewise.
77239 * intl/tst-gettext6.sh: Likewise.
77240 * intl/tst-translit.sh: Likewise.
77241 * io/ftwtest-sh: Likewise.
77242 * libio/test-freopen.sh: Likewise.
77243 * malloc/tst-mtrace.sh: Likewise.
77244 * posix/globtest.sh: Likewise.
77245 * posix/tst-getconf.sh: Likewise.
77246 * posix/wordexp-tst.sh: Likewise.
77247 * stdio-common/tst-printf.sh: Likewise.
77248 * stdio-common/tst-unbputc.sh: Likewise.
77249 * stdlib/tst-fmtmsg.sh: Likewise.
77250 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77251 * catgets/Makefile: Do not specify -e option when running
77252 testsuite shell scripts.
77253 * elf/Makefile: Likewise.
77254 * grp/Makefile: Likewise.
77255 * iconvdata/Makefile: Likewise.
77256 * intl/Makefile: Likewise.
77257 * io/Makefile: Likewise.
77258 * libio/Makefile: Likewise.
77259 * malloc/Makefile: Likewise.
77260 * posix/Makefile: Likewise.
77261 * stdio-common/Makefile: Likewise.
77262 * stdlib/Makefile: Likewise.
77263 * sysdeps/x86_64/Makefile: Likewise.
77264
77265 * io/ftwtest-sh: Add copyright header.
77266 * posix/globtest.sh: Likewise.
77267 * posix/tst-getconf.sh: Likewise.
77268 * posix/wordexp-tst.sh: Likewise.
77269 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77270
77271 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
77272
77273 [BZ #13679]
77274 * Makeconfig (+link): Defined as $(+link-static) if
77275 $(build-shared) isn't yes.
77276 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77277 isn't yes.
77278 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77279
77280 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77281
77282 [BZ #14562]
77283 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77284 new chunk size with MALLOC_ALIGN_MASK.
77285
77286 2012-09-24 Joseph Myers <joseph@codesourcery.com>
77287
77288 [BZ #5044]
77289 * stdio-common/printf_fphex.c: Include <stdbool.h> and
77290 <rounding-mode.h>.
77291 (__printf_fphex): Determine rounding using get_rounding_mode and
77292 round_away.
77293 * stdio-common/tst-printf-round.c (struct hex_test): New
77294 structure.
77295 (hex_tests): New variable.
77296 (test_hex_in_one_mode): New function.
77297 (do_test): Also run tests for hex float output.
77298
77299 2012-09-21 Joseph Myers <joseph@codesourcery.com>
77300
77301 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77302 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77303 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77304 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77305 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77306 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77307 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77308 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77309
77310 2012-09-20 Joseph Myers <joseph@codesourcery.com>
77311
77312 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77313 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77314 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77315 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77316
77317 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
77318
77319 [BZ #14579]
77320 * elf/rtld.c (dl_main): Limit the check for self loading to normal
77321 mode only.
77322 * elf/tst-rtld-load-self.sh: New test.
77323 * elf/Makefile: Run it.
77324
77325 2012-09-18 Joseph Myers <joseph@codesourcery.com>
77326
77327 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77328 (tst-writev-ENV): Remove.
77329 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77330
77331 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
77332
77333 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77334
77335 2012-09-17 Joseph Myers <joseph@codesourcery.com>
77336
77337 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77338 unconditional.
77339 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77340 Likewise.
77341 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77342 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77343 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77344 Likewise.
77345
77346 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
77347
77348 [BZ #14587]
77349 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77350 * config.make.in (have-cpp-asm-debuginfo): Removed.
77351 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77352 * configure: Regenerated.
77353
77354 2012-09-14 Joseph Myers <joseph@codesourcery.com>
77355
77356 [BZ #5044]
77357 * stdio-common/printf_fp.c: Include <stdbool.h> and
77358 <rounding-mode.h>.
77359 (___printf_fp): Determine rounding using get_rounding_mode and
77360 round_away.
77361 * stdio-common/tst-printf-round.c: New file.
77362 * stdio-common/Makefile (tests): Add tst-printf-round.
77363 (link-libm): New variable.
77364 ($(objpfx)tst-printf-round): Depend in $(link-libm).
77365
77366 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
77367
77368 [BZ #14576]
77369 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77370 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77371 Likewise.
77372 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77373 Likewise.
77374
77375 2012-09-13 Joseph Myers <joseph@codesourcery.com>
77376
77377 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77378 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77379 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77381
77382 2012-09-12 Joseph Myers <joseph@codesourcery.com>
77383
77384 [BZ #14518]
77385 * include/rounding-mode.h: New file.
77386 * sysdeps/generic/get-rounding-mode.h: Likewise.
77387 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77388 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77389 (MAX_VALUE): New macro.
77390 (MIN_VALUE): Likewise.
77391 (overflow_value): New function.
77392 (underflow_value): Likewise.
77393 (round_and_return): Use overflow_value and underflow_value to
77394 determine return values in overflow and underflow cases. Use
77395 round_away to determine rounding depending on rounding mode.
77396 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77397 determine return values in overflow and underflow cases.
77398 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77399 (struct test_results): New structure.
77400 (struct test): Use struct test_results to store expected results
77401 for all rounding modes.
77402 (TEST): Include expected results for all rounding modes.
77403 (test_in_one_mode): New function.
77404 (do_test): Use test_in_one_mode to compute and check results.
77405 Check results for all rounding modes.
77406 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77407 $(link-libm).
77408
77409 2012-12-09 Allan McRae <allan@archlinux.org>
77410
77411 * sysdeps/i386/fpu/libm-test-ulps: Update
77412
77413 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77414
77415 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77416 (_G_int32_t): Likewise.
77417 (_G_uint16_t): Likewise.
77418 (_G_uint32_t): Likewise.
77419 (_G_HAVE_BOOL): Likewise.
77420 (_G_HAVE_ATEXIT): Likewise.
77421 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77422 (_G_HAVE_IO_FILE_OPEN): Likewise.
77423 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77424 (_G_int32_t): Likewise.
77425 (_G_uint16_t): Likewise.
77426 (_G_uint32_t): Likewise.
77427 (_G_HAVE_BOOL): Likewise.
77428 (_G_HAVE_ATEXIT): Likewise.
77429 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77430 (_G_HAVE_IO_FILE_OPEN): Likewise.
77431 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77432 (_G_int32_t): Likewise.
77433 (_G_uint16_t): Likewise.
77434 (_G_uint32_t): Likewise.
77435 (_G_HAVE_BOOL): Likewise.
77436 (_G_HAVE_ATEXIT): Likewise.
77437 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77438 (_G_HAVE_IO_FILE_OPEN): Likewise.
77439
77440 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77441
77442 * csu/libc-tls.c: Update copyright years.
77443
77444 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77445
77446 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77447 [!_G_USING_THUNKS]: Remove conditional code.
77448 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77449 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77450
77451 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77452 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77453 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77454 (_G_VTABLE_LABEL_PREFIX): Likewise.
77455 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77456 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77457 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77458 (_G_VTABLE_LABEL_PREFIX): Likewise.
77459 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77460 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77461 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77462 (_G_VTABLE_LABEL_PREFIX): Likewise.
77463 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77464
77465 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77466
77467 * libio/Makefile: Include ../Makeconfig before tests.
77468 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77469 only if $(build-shared) is yes.
77470
77471 * iconv/gconv_db.c: Update copyright years.
77472
77473 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77474
77475 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77476 unwind info if defined PIC. Fix special cases description.
77477 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77478
77479 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77480 DP_HI_MASK entry.
77481 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77482
77483 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77484
77485 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77486
77487 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77488 is NULL.
77489
77490 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77491 (LDLIBS-tst-chk4): This.
77492 (LDFLAGS-tst-chk5): Renamed to ...
77493 (LDLIBS-tst-chk5): This.
77494 (LDFLAGS-tst-chk6): Renamed to ...
77495 (LDLIBS-tst-chk6): This.
77496 (LDFLAGS-tst-lfschk4): Renamed to ...
77497 (LDLIBS-tst-lfschk4): This.
77498 (LDFLAGS-tst-lfschk5): Renamed to ...
77499 (LDLIBS-tst-lfschk5): This.
77500 (LDFLAGS-tst-lfschk6): Renamed to ...
77501 (LDLIBS-tst-lfschk6): This.
77502
77503 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77504 on $(common-objpfx)soversions.mk.
77505
77506 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77507
77508 [BZ #10014]
77509 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77510 example host name.
77511
77512 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77513
77514 * malloc/arena.c (arena_get_retry): New function that gets
77515 another arena for the caller to try its request on.
77516 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77517 current arena cannot fulfill the request.
77518 (__libc_memalign): Likewise.
77519 (__libc_memalign): Likewise.
77520 (__libc_pvalloc): Likewise.
77521 (__libc_calloc): Likewise.
77522
77523 2012-09-05 John Tobey <john.tobey@gmail.com>
77524
77525 [BZ #13542]
77526 * manual/arith.texi (Operations on Complex): Fix description
77527 of carg branch cut.
77528
77529 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77530
77531 [BZ #10014]
77532 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77533 host name.
77534
77535 [BZ #10038]
77536 * manual/memory.texi (Memory): Make order of menu items match
77537 order of sections.
77538
77539 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77540
77541 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77542 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77543 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77544
77545 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77546
77547 * csu/libc-tls.c (static_dtv): Renamed to ...
77548 (_dl_static_dtv): This. Make it global.
77549 (_dl_initial_dtv): Removed.
77550 (__libc_setup_tls): Updated.
77551 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77552 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77553 DL_INITIAL_DTV.
77554
77555 2012-09-06 Petr Machata <pmachata@redhat.com>
77556
77557 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77558 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77559 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77560 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77561
77562 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77563
77564 [BZ #14545]
77565 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77566 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77567 freeing dtv[-1].
77568
77569 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77570
77571 [BZ #14544]
77572 * Makeconfig (link-static-before-libc): Replace $(+prector)
77573 with $(+prectorT).
77574 (link-static-after-libc): Replace $(+postctor) with
77575 $(+postctorT).
77576 (link-bounded): Replace $(+prector)/$(+postctor) with
77577 $(+prectorT)/$(+postctorT).
77578 (+prectorT): New macro.
77579 (+postctorT): Likewise.
77580
77581 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77582
77583 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77584 (round_str): Handle values above the maximum for IBM long double
77585 as inexact.
77586 * stdlib/tst-strtod-round.c (tests): Regenerated.
77587
77588 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77589
77590 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77591 assembler flag.
77592 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77593 zarch_nohighgprs around the zarch optimized routines.
77594 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77595 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77597 for zarch.
77598
77599 2012-09-05 David S. Miller <davem@davemloft.net>
77600
77601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77602
77603 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77604 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77605 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77606 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77607 entries.
77608
77609 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77610
77611 * malloc/arena.c: Fold copyright years.
77612 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77613
77614 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77615
77616 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77617
77618 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77619
77620 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77621
77622 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77623
77624 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77625 change internal state upon failure.
77626
77627 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77628
77629 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77630 * malloc/memusage.c (mmap): Likewise.
77631 (mmap64, mremap): Likewise. Adjust name in comment.
77632
77633 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77634
77635 * libio/fileops.c: Fix typos in comments.
77636 * libio/oldfileops.c: Likewise.
77637 * libio/wfileops.c: Likewise.
77638
77639 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77640
77641 [BZ #1349]
77642 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77643 (tst-malloc-usable-ENV): Set environment for test case.
77644 * malloc/hooks.c (malloc_check_get_size): New function to get
77645 requested size.
77646 * malloc/malloc.c (musable): Use malloc_check_get_size.
77647 * malloc/tst-malloc-usable.c: New test case.
77648
77649 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77650
77651 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77652
77653 2012-09-05 Allan McRae <allan@archlinux.org>
77654
77655 [BZ #13966]
77656 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77657 determine header location.
77658 * configure: Regenerated.
77659
77660 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77661
77662 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77663 float format.
77664 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77665 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77666 format.
77667 (test): Regenerate.
77668
77669 2012-09-04 David S. Miller <davem@davemloft.net>
77670
77671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77674
77675 2012-09-04 Florian Weimer <fweimer@redhat.com>
77676
77677 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77678 failures.
77679
77680 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77681
77682 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77683
77684 [BZ #9914]
77685 * libio/iogetdelim.c: Include <limits.h>.
77686 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77687 + len + 1 would overflow.
77688
77689 2012-09-03 Andreas Jaeger <aj@suse.de>
77690
77691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77692 * sysdeps/i386/fpu/libm-test-ulps: Update.
77693
77694 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77695
77696 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77697 Add s_sinf-sse2, s_conf-sse2.
77698
77699 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77700 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77701 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77702 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77703
77704 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77705 for using routine as __sinf_ia32.
77706 Use macro for function declaration and weak_alias.
77707 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77708 for using routine as __cosf_ia32.
77709 Use macro for function declaration and weak_alias.
77710
77711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77712 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77713
77714 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77715 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77717
77718 * math/libm-test.inc (cos_test): Add more test cases.
77719 (sin_test): Likewise.
77720 (sincos_test): Likewise.
77721
77722 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77723
77724 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77725 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77726 hidden.
77727 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77728
77729 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77730
77731 [BZ #14538]
77732 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77733 first element of the GOT.
77734 (elf_machine_load_address): Return the difference between
77735 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77736
77737 2012-09-01 Allan McRae <allan@archlinux.org>
77738
77739 [BZ #13412]
77740 * configure.in (AWK): Require gawk version 3.0 or later.
77741 * configure: Regenerated.
77742
77743 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77744
77745 * sysdeps/unix/sysv/linux/kernel-features.h
77746 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77747 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77748 [__NR_clock_getres]: Make code unconditional.
77749 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77750 (clock_getcpuclockid): Remove code left unreachable by removal of
77751 conditionals.
77752 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77753 code unconditional.
77754 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77755 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77756 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77757 Make code unconditional.
77758 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77759 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77760 * sysdeps/unix/sysv/linux/clock_settime.c
77761 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77762 conditional code.
77763 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77764 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77765
77766 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77767
77768 [BZ #14476]
77769 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77770 scripts/test-installation.pl.
77771
77772 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77773 and $ld_so_version if it is set.
77774
77775 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77776
77777 [BZ #14516]
77778 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77779 failure if reading from procfs failed.
77780 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77781
77782 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77783
77784 * sysdeps/unix/sysv/linux/kernel-features.h
77785 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77786 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77787 Remove conditional code.
77788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77789 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77790 Remove conditional code.
77791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77792 * sysdeps/unix/sysv/linux/i386/fxstat.c
77793 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77795 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77796 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77798 * sysdeps/unix/sysv/linux/i386/lxstat.c
77799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77801 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77802 Remove conditional code.
77803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77804 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77805 Remove conditional code.
77806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77807 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77808 <kernel-features.h>.
77809 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77810 Remove.
77811 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77812 Remove conditional code.
77813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77814 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77815 Remove conditional.
77816
77817 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77818
77819 [BZ #5400]
77820 * NEWS: Add fixed bug number.
77821
77822 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77823
77824 [BZ #14519]
77825 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77826 underflowing exponent in case of negative sign.
77827 * stdlib/tst-strtod-round-data: Add more tests.
77828 * stdlib/tst-strtod-round.c (tests): Regenerated.
77829
77830 [BZ #3479]
77831 * stdlib/strtod_l.c (NDIG): Remove.
77832 (HEXNDIG): Likewise.
77833 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77834 smallest representable value.
77835 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77836 lie within an exact representation of 1/2 ulp of the result.
77837 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77838 unconditionally.
77839 (TENS_P9_IDX): Define unconditionally.
77840 (TENS_P9_SIZE): Likewise.
77841 (TENS_P10_IDX): Likewise.
77842 (TENS_P10_SIZE): Likewise.
77843 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77844 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77845 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77846 entries for 10^2^13 and 10^2^14.
77847 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77848 (TENS_P13_IDX): Define.
77849 (TENS_P13_SIZE): Likewise.
77850 (TENS_P14_IDX): Likewise.
77851 (TENS_P14_SIZE): Likewise.
77852 (_fpioconst_pow10): Change array size to
77853 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77854 unconditional.
77855 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77856 1024]: Add entries for 10^2^13 and 10^2^14.
77857 [LAST_POW10 > _LAST_POW10]: Remove #error.
77858 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77859 (_fpioconst_pow10): Change array size to
77860 FPIOCONST_POW10_ARRAY_SIZE.
77861 * stdlib/gen-fpioconst.c: New file.
77862 * stdlib/gen-tst-strtod-round.c: Likewise.
77863 * stdlib/tst-strtod-round-data: Likewise.
77864 * stdlib/tst-strtod-round.c: Likewise.
77865 * stdlib/Makefile (tests): Add tst-strtod-round.
77866
77867 [BZ #14459]
77868 * stdlib/strtod_l.c: Include <stdint.h>.
77869 (NDEBUG): Do not define.
77870 (round_and_return): Change EXPONENT parameter to type intmax_t.
77871 Rearrange calculations to avoid internal overflow possibilities.
77872 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77873 Rearrange calculations to avoid internal overflow possibilities.
77874 Assert that number fits inside MPNSIZE limbs.
77875 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77876 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77877 calculations and add assertions to avoid internal overflow
77878 possibilities. Add casts to avoid signed/unsigned operations.
77879 * stdlib/tst-strtod-overflow.c: New file.
77880 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77881
77882 2012-08-25 Marek Polacek <polacek@redhat.com>
77883
77884 * time/time.h: Fix some typos in comments.
77885
77886 2012-08-23 Roland McGrath <roland@hack.frob.com>
77887
77888 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77889 * posix/tst-rfc3484-2.c: Likewise.
77890 * posix/tst-rfc3484-3.c: Likewise.
77891
77892 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77893
77894 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77895 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77896
77897 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77898
77899 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77900 #include of fxstatat64.c.
77901
77902 2012-08-22 Roland McGrath <roland@hack.frob.com>
77903
77904 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77905 * shadow/getspent_r.c: Likewise.
77906 * shadow/getspnam.c: Likewise.
77907 * shadow/getspnam_r.c: Likewise.
77908 * gshadow/getsgent.c: Likewise.
77909 * gshadow/getsgent_r.c: Likewise.
77910 * gshadow/getsgnam.c: Likewise.
77911 * gshadow/getsgnam_r.c: Likewise.
77912 * inet/getnetbyad.c: Likewise.
77913 * inet/getnetbyad_r.c: Likewise.
77914 * inet/getnetbynm.c: Likewise.
77915 * inet/getnetbynm_r.c: Likewise.
77916 * inet/getnetent.c: Likewise.
77917 * inet/getnetent_r.c: Likewise.
77918 * inet/getproto.c: Likewise.
77919 * inet/getproto_r.c: Likewise.
77920 * inet/getprtent.c: Likewise.
77921 * inet/getprtent_r.c: Likewise.
77922 * inet/getprtname.c: Likewise.
77923 * inet/getprtname_r.c: Likewise.
77924 * inet/getrpcbyname.c: Likewise.
77925 * inet/getrpcbyname_r.c: Likewise.
77926 * inet/getrpcbynumber.c: Likewise.
77927 * inet/getrpcbynumber_r.c: Likewise.
77928 * inet/getrpcent.c: Likewise.
77929 * inet/getrpcent_r.c: Likewise.
77930 * inet/getaliasent.c: Likewise.
77931 * inet/getaliasent_r.c: Likewise.
77932 * inet/getaliasname.c: Likewise.
77933 * inet/getaliasname_r.c: Likewise.
77934 * nscd/getgrgid_r.c: Likewise.
77935 * nscd/getgrnam_r.c: Likewise.
77936 * nscd/gethstbyad_r.c: Likewise.
77937 * nscd/gethstbynm3_r.c: Likewise.
77938 * nscd/getpwnam_r.c: Likewise.
77939 * nscd/getpwuid_r.c: Likewise.
77940 * nscd/getsrvbynm_r.c: Likewise.
77941 * nscd/getsrvbypt_r.c: Likewise.
77942 * nscd/gai.c: Likewise.
77943
77944 * configure.in (build_nscd): New substituted variable, set
77945 by --disable-build-nscd and defaults to $use_nscd.
77946 * configure: Regenerated.
77947 * config.make.in (build-nscd): New substituted variable.
77948 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77949 Change conditional to require [$(build-nscd) = yes] as well.
77950 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77951
77952 [BZ #13696]
77953 * configure.in (use_nscd): New substituted variable, set by
77954 --disable-nscd. If enabled, define USE_NSCD.
77955 * configure: Regenerated.
77956 * config.h.in: Add USE_NSCD.
77957 * config.make.in (use-nscd): New substituted variable.
77958 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77959 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77960 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77961 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77962 (CFLAGS-getgrnam_r.c): Likewise.
77963 (CFLAGS-initgroups.c): Likewise.
77964 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77965 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77966 Variables removed.
77967 * inet/getnetgrent_r.c
77968 (nscd_setnetgrent): New function, broken out of ...
77969 (setnetgrent): ... here. Call it.
77970 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77971 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77972 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77973 * nscd/Makefile (routines, aux): Move definitions after include of
77974 Makeconfig. Conditionalize on [$(use-nscd) != no].
77975 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77976 Conditionalize on [USE_NSCD].
77977 (is_nscd, nscd_init_cb): Likewise.
77978 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77979 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77980 * nss/nss_db/db-init.c: Likewise.
77981 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77982 [USE_NSCD].
77983 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77984 (make_request): Use it.
77985 (cache_valid_p): New function.
77986 (__check_pf): Use it.
77987 * NEWS: Add item for --disable-nscd.
77988
77989 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77990
77991 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77992 to support sed >= 4.2.1-20-ga9bf076.
77993 * configure: Regenerated.
77994
77995 2012-08-22 Roland McGrath <roland@hack.frob.com>
77996
77997 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77998 Conditionalize whole body on [IREL].
77999
78000 2012-08-22 Jeff Law <law@redhat.com>
78001
78002 [BZ #14505]
78003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
78004 if the family is PF_UNSPEC.
78005
78006 2012-08-22 Mike Frysinger <vapier@gentoo.org>
78007
78008 * Makerules (lib-version): Rename from V.
78009 (install-lib-nosubdir): Change V to lib-version.
78010
78011 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
78012
78013 [BZ #14252]
78014 * powerpc32/power6/wcschr.c: New file.
78015 * powerpc32/power6/wcscpy.c: New file.
78016 * powerpc32/power6/wcsrchr.c: New file.
78017 * powerpc64/power6/wcschr.c: New file.
78018 * powerpc64/power6/wcscpy.c: New file.
78019 * powerpc64/power6/wcsrchr.c: New file.
78020
78021 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
78022
78023 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
78024 (two_way_short_needle): Use it.
78025 * string/strstr.c (AVAILABLE1_USES_J): Define.
78026 * string/strcasestr.c: Likewise.
78027
78028 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
78029 array references.
78030 * string/strcasestr.c (TOLOWER): Make side-effect safe.
78031
78032 [BZ #11607]
78033 * NEWS: Add an entry.
78034 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
78035 define their defaults.
78036 (two_way_short_needle): Detect end-of-string on-the-fly.
78037 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
78038 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
78039 * string/bug-strcasestr1.c: New test.
78040 * string/Makefile: Run it.
78041
78042 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
78043
78044 [BZ #11607]
78045 * string/str-two-way.h (two_way_short_needle): Optimize matching of
78046 the first character.
78047
78048 2012-08-21 Roland McGrath <roland@hack.frob.com>
78049
78050 * csu/elf-init.c (__libc_csu_irel): Function removed.
78051 * csu/libc-start.c (apply_irel): New function.
78052 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
78053
78054 2012-08-21 Joseph Myers <joseph@codesourcery.com>
78055
78056 * sysdeps/unix/sysv/linux/kernel-features.h
78057 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
78058 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
78059 <kernel-features.h>.
78060 [__NR_fadvise64_64]: Make code unconditional.
78061 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
78062 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78063 !__NR_fadvise64_64)]: Likewise.
78064 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78065 !__NR_fadvise64_64))]: Likewise.
78066 [__NR_fadvise64]: Make code unconditional.
78067 [!__NR_fadvise64]: Remove conditional code.
78068 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
78069 <kernel-features.h>.
78070 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78071 unconditional.
78072 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78073 conditional code.
78074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
78075 not include <kernel-features.h>.
78076 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78077 unconditional.
78078 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78079 conditional code.
78080 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
78081 include <kernel-features.h>.
78082 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78083 unconditional.
78084 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78085 conditional code.
78086
78087 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78088
78089 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
78090 slight instruction rearrangements per scrollpipe analysis.
78091 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
78092
78093 2012-08-20 Roland McGrath <roland@hack.frob.com>
78094
78095 * manual/syslog.texi (syslog; vsyslog, closelog):
78096 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
78097 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
78098
78099 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
78100 DSOCAPS to match condition on defining it.
78101
78102 2012-08-20 Joseph Myers <joseph@codesourcery.com>
78103
78104 * sysdeps/unix/sysv/linux/kernel-features.h
78105 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
78106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
78107 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78108 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
78110 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78111 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
78113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78115
78116 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
78117 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
78118
78119 * sysdeps/unix/sysv/linux/kernel-features.h
78120 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
78121 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
78122 unconditional.
78123 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78124 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
78125 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78126 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78127 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
78128 Make code unconditional.
78129 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78130 (__mmap64) [!__NR_mmap2]: Likewise.
78131 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
78132 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78133 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
78135 [__NR_mmap2]: Make code unconditional.
78136 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78137 (__mmap64) [!__NR_mmap2]: Likewise.
78138
78139 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78140
78141 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
78142
78143 2012-08-18 Andreas Jaeger <aj@suse.de>
78144
78145 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
78146
78147 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78148
78149 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78150 * include/unistd.h (__have_sock_cloexec): Likewise.
78151 (__have_pipe2): Likewise.
78152 (__have_dup3): Likewise.
78153
78154 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78155
78156 [BZ #9685]
78157 * include/unistd.h (__have_pipe2): Change define into an extern int.
78158 (__have_dup3): Likewise.
78159 * socket/have_sock_cloexec.c: Include fcntl.h.
78160 (__have_pipe2): New variable.
78161 (__have_dup3): Likewise.
78162
78163 2012-08-17 Mike Frysinger <vapier@gentoo.org>
78164
78165 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78166
78167 2012-08-17 Marek Polacek <polacek@redhat.com>
78168
78169 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78170 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78171
78172 2012-08-17 Roland McGrath <roland@hack.frob.com>
78173
78174 * configure.in: Add AC_SUBST for sysheaders.
78175 * configure: Regenerated.
78176 * config.make.in (sysheaders): New substituted variable.
78177
78178 * sysdeps/unix/mkfifo.c: Moved ...
78179 * sysdeps/posix/mkfifo.c: ... here.
78180 * sysdeps/unix/mkfifoat.c: Moved ...
78181 * sysdeps/posix/mkfifoat.c: ... here.
78182
78183 * sysdeps/unix/utime.c: Moved ...
78184 * sysdeps/posix/utime.c: ... here.
78185
78186 * sysdeps/unix/time.c: Moved ...
78187 * sysdeps/posix/time.c: ... here.
78188 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78189 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78190
78191 * sysdeps/unix/nice.c: Moved ...
78192 * sysdeps/posix/nice.c: ... here.
78193
78194 * sysdeps/unix/alarm.c: Moved ...
78195 * sysdeps/posix/alarm.c: ... here.
78196
78197 * intl/Makefile ($(codeset_mo)): Depend on the input file.
78198
78199 2012-08-17 Jeff Law <law@redhat.com>
78200
78201 * intl/Makefile (codeset_mo): New variable.
78202 ($(codeset_mo)): New target.
78203 (tst-codeset.out): Depend on that. Remove explicit rule.
78204 (tst-gettext3.out, tst-gettext5.out): Likewise.
78205 (LOCPATH-ENV, tst-codeset-ENV): New variables.
78206 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78207 * intl/tst-codeset.sh: Remove.
78208 * intl/tst-gettext3.sh: Likewise.
78209 * intl/tst-gettext5.sh: Likewise.
78210
78211 2012-08-17 Roland McGrath <roland@hack.frob.com>
78212
78213 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
78214 * sysdeps/unix/syscalls.list: ... here.
78215
78216 * sysdeps/posix/getaddrinfo.c
78217 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78218 (gaiconf_init, gaiconf_reload): Use them.
78219 [!_STATBUF_ST_NSEC]
78220 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78221 Define using time_t rather than struct timespec.
78222
78223 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78224 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78225 Macros removed.
78226 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78227 [!NO_THREADS].
78228 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78229 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78230 Likewise.
78231
78232 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78233 __libc_cleanup_push argument.
78234
78235 * bits/param.h: New file.
78236 * misc/sys/param.h: New file.
78237 * include/sys/param.h: New file.
78238 * misc/Makefile (headers): Add bits/param.h.
78239 * sysdeps/generic/sys/param.h: File removed.
78240 * sysdeps/unix/sysv/linux/bits/param.h: New file.
78241 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78242 * sysdeps/mach/hurd/bits/param.h: New file.
78243 * sysdeps/mach/hurd/sys/param.h: File removed.
78244
78245 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78246 last change.
78247
78248 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78249 [_IO_MTSAFE_IO].
78250 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78251 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78252 New macros.
78253
78254 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78255 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78256 rather than -D_IO_MTSAFE_IO conditionally.
78257 * stdio-common/Makefile (CPPFLAGS): Likewise.
78258 * wcsmbs/Makefile (CPPFLAGS): Likewise.
78259 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78260 Use $(libio-mtsafe).
78261 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78262 of -D_IO_MTSAFE_IO.
78263 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78264 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78265 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78266 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78267 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78268 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78269 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78270 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78271 (CFLAGS-fread_u_chk.c): Likewise.
78272 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78273 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78274 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78275 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78276 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78277 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78278 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78279 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78280 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78281
78282 * libio/Makefile: Test [$(libc-reentrant) = yes]
78283 instead of [$(filter %REENTRANT, $(defines)) nonempty].
78284
78285 * Makeconfig
78286 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78287 * sysdeps/pthread/configure: File removed.
78288 * sysdeps/pthread/Makeconfig: New file.
78289 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78290 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78291
78292 2012-08-16 Gary Benson <gbenson@redhat.com>
78293
78294 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78295 unmapping the first object in a namespace.
78296
78297 2012-08-16 Roland McGrath <roland@hack.frob.com>
78298
78299 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78300 (__internal_setnetgrent): ... this. Add internal_function to
78301 definition. Add libc_hidden_def.
78302 (setnetgrent): Update caller.
78303 (internal_endnetgrent): Renamed to ...
78304 (__internal_endnetgrent): ... this. Add internal_function to
78305 definition. Add libc_hidden_def.
78306 (endnetgrent): Update caller.
78307 (internal_getnetgrent_r): Renamed to ...
78308 (__internal_getnetgrent_r): ... this. Add internal_function to
78309 definition. Add libc_hidden_def.
78310 (__getnetgrent_r): Update caller.
78311 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
78312
78313 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78314
78315 * stdlib/longlong.h: Update from GCC.
78316
78317 2012-08-16 Roland McGrath <roland@hack.frob.com>
78318
78319 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78320 on _QL, which is set by umul_ppmm but never used.
78321 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78322 variables, which are set by GMP macros but never used.
78323 * stdio-common/_itowa.c (_itowa): Likewise.
78324 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78325 * stdlib/mod_1.c (mpn_mod_1): Likewise.
78326
78327 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
78328
78329 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78330 struct La_sh_regs is not constant.
78331 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78332 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78333 and struct La_sparc64_regs are not constant.
78334
78335 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78336
78337 * sysdeps/unix/sysv/linux/kernel-features.h
78338 (__ASSUME_POSIX_TIMERS): Remove.
78339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78340 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78341 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78342 Make code unconditional.
78343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78344 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78345 Make code unconditional.
78346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78347 * sysdeps/unix/sysv/linux/clock_nanosleep.c
78348 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78350 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78351 Make code unconditional.
78352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78353 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78354 (__libc_missing_posix_timers): Remove.
78355
78356 2012-08-15 Roland McGrath <roland@hack.frob.com>
78357
78358 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78359 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78360
78361 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78362
78363 * elf/dl-sym.c: Include <stdlib.h>.
78364
78365 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78366 constants, which avoids warnings in 32-bit builds.
78367
78368 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78369 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78370
78371 * misc/lseek.c: File moved to ...
78372 * io/lseek.c: ... here.
78373
78374 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78375
78376 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78377 shifting LEN more than 31 bits at once.
78378
78379 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78380
78381 [BZ #14195]
78382 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78383 segmentation fault for a case of two empty input strings.
78384 * string/test-strncasecmp.c (check1): Renamed to...
78385 (bz12205): ...this.
78386 (bz14195): Add new testcase for two empty input strings and N > 0.
78387 (test_main): Call new testcase, adapt for renamed function.
78388
78389 2012-08-15 Andreas Jaeger <aj@suse.de>
78390
78391 [BZ #14090]
78392 * crypt/md5test2.c: New test, based on test supplied by Serge
78393 Belyshev <belyshev@depni.sinp.msu.ru>.
78394 * crypt/Makefile (xtests): Add md5test-giant..
78395 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78396
78397 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78398
78399 [BZ #14090]
78400 * crypt/md5.c (md5_process_block): Don't assume the buffer
78401 length is less than 2**32.
78402 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78403 length is less than 2**64.
78404
78405 2012-08-15 Roland McGrath <roland@hack.frob.com>
78406
78407 * string/str-two-way.h: Include <sys/param.h>.
78408 (MAX): Macro removed.
78409
78410 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78411 Move #define and #undef of memmove to just before and after
78412 including <string.h>.
78413
78414 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78415 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78416 and after including <string.h>. Move declarations of
78417 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78418 to before #include "string/memmove.c".
78419
78420 * include/dirent.h: Declare __getdirentries.
78421
78422 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78423 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78424
78425 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78426
78427 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78428 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78429 * sysdeps/i386/configure: Regenerated.
78430 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78431 STABS_CURRENT_FILE, and STABS_FUN.
78432 (END): Remove call to STABS_FUN_END.
78433 (STABS_CURRENT_FILE1): Delete.
78434 (STABS_CURRENT_FILE): Likewise.
78435 (STABS_FUN): Likewise.
78436 (STABS_FUN_END): Likewise.
78437 (STABS_FUN2): Likewise.
78438 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78439 * sysdeps/x86_64/configure: Regenerated.
78440
78441 2012-08-14 Roland McGrath <roland@hack.frob.com>
78442
78443 * elf/dl-open.c: Include <atomic.h>.
78444 * elf/dl-lookup.c: Likewise.
78445
78446 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78447
78448 * sysdeps/unix/sysv/linux/kernel-features.h
78449 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78450 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78451 unconditionally.
78452 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78453 unconditionally.
78454 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78455 condition on __ASSUME_CLONE_THREAD_FLAGS.
78456
78457 2012-08-14 Andreas Jaeger <aj@suse.de>
78458
78459 * sysdeps/i386/fpu/libm-test-ulps: Update.
78460
78461 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78462
78463 * include/atomic.h (atomic_exchange_and_add): Split into ...
78464 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78465 New atomic macros.
78466
78467 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78468
78469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78470
78471 2012-08-13 Jeff Law <law@redhat.com>
78472
78473 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78474 null byte in the output string.
78475
78476 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78477
78478 * sysdeps/unix/sysv/linux/kernel-features.h
78479 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78480 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78481 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78482 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78483 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78484 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78485 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78486
78487 2012-08-09 Jeff Law <law@redhat.com>
78488
78489 [BZ #13939]
78490 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78491 When avoid_arena is set, don't retry in the that arena. Pick the
78492 next one, whatever it might be.
78493 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78494 (arena_lock): Pass in new parameter to arena_get2.
78495 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78496 arena_get2.
78497 (__libc_malloc): Unify retrying after main arena failure with
78498 __libc_memalign version.
78499 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78500
78501 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78502
78503 [BZ #14166]
78504 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78505 to __redirect_strstr.
78506 (__strstr_sse42): Use typeof __redirect_strstr.
78507 (__strstr_ia32): Likewise.
78508 (__libc_strstr): New prototype.
78509 (strstr): Renamed to ...
78510 (__libc_strstr): This.
78511 (strstr): New strong alias of __libc_strstr.
78512 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78513 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78514 __redirect_time.
78515 Include <time.h>.
78516 (__libc_time): New prototype.
78517 (time_ifunc): Replace time with __libc_time.
78518 (time): New strong alias and hidden definition of __libc_time.
78519 (__GI_time): Remove strong alias.
78520 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78521 Include <stddef.h>.
78522 (memmove): Redefined to __redirect_memmove.
78523 (__memmove_sse2): Use typeof __redirect_memmove.
78524 (__memmove_ssse3): Likewise.
78525 (__memmove_ssse3_back): Likewise.
78526 (__libc_memmove): New prototype.
78527 (memmove): Renamed to ...
78528 (__libc_memmove): This.
78529 (memmove): New strong alias of __libc_memmove.
78530
78531 2012-08-08 Mark Salter <msalter@redhat.com>
78532
78533 * elf/elf.h
78534 (R_MN10300_TLS_GD): Define.
78535 (R_MN10300_TLS_LD): Likewise.
78536 (R_MN10300_TLS_LDO): Likewise.
78537 (R_MN10300_TLS_GOTIE): Likewise.
78538 (R_MN10300_TLS_IE): Likewise.
78539 (R_MN10300_TLS_LE): Likewise.
78540 (R_MN10300_TLS_DTPMOD): Likewise.
78541 (R_MN10300_TLS_DTPOFF): Likewise.
78542 (R_MN10300_TLS_TPOFF): Likewise.
78543 (R_MN10300_SYM_DIFF): Likewise.
78544 (R_MN10300_ALIGN): Likewise.
78545 (R_MN10300_NUM): Update.
78546
78547 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78548
78549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78550 Remove.
78551
78552 2012-08-08 Roland McGrath <roland@hack.frob.com>
78553
78554 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78555
78556 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78557 sysdeps/unix -> sysdeps/posix move.
78558 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78559
78560 2012-08-07 Allan McRae <allan@archlinux.org>
78561
78562 [BZ #14303]
78563 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78564 (SUNOS_CPP): Likewise.
78565 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78566 not found.
78567 (open_input): Call CPP using execvp.
78568
78569 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78570
78571 * sysdeps/unix/sysv/linux/kernel-features.h
78572 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78573 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78574 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78575 (__ASSUME_WAITID_SYSCALL): Likewise.
78576 * sysdeps/unix/sysv/linux/dl-execstack.c
78577 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78578 code unconditional.
78579 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78580 conditional code.
78581 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78582 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78583 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78584 code.
78585 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78586 unconditional.
78587 [__ASSUME_WAITID_SYSCALL]: Likewise.
78588 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78589
78590 2012-08-07 Roland McGrath <roland@hack.frob.com>
78591
78592 * sysdeps/unix/closedir.c: Renamed to ...
78593 * sysdeps/posix/closedir.c: ... here.
78594 * sysdeps/unix/dirfd.c: Renamed to ...
78595 * sysdeps/posix/dirfd.c: ... here.
78596 * sysdeps/unix/dirstream.h: Renamed to ...
78597 * sysdeps/posix/dirstream.h: ... here.
78598 * sysdeps/unix/fdopendir.c: Renamed to ...
78599 * sysdeps/posix/fdopendir.c: ... here.
78600 * sysdeps/unix/opendir.c: Renamed to ...
78601 * sysdeps/posix/opendir.c: ... here.
78602 * sysdeps/unix/readdir.c: Renamed to ...
78603 * sysdeps/posix/readdir.c: ... here.
78604 * sysdeps/unix/readdir_r.c: Renamed to ...
78605 * sysdeps/posix/readdir_r.c: ... here.
78606 * sysdeps/unix/rewinddir.c: Renamed to ...
78607 * sysdeps/posix/rewinddir.c: ... here.
78608 * sysdeps/unix/seekdir.c: Renamed to ...
78609 * sysdeps/posix/seekdir.c: ... here.
78610 * sysdeps/unix/telldir.c: Renamed to ...
78611 * sysdeps/posix/telldir.c: ... here.
78612 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78613 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78614 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78615 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78616
78617 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78618 * bits/fcntl.h: ... here.
78619
78620 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78621 not 0.
78622 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78623 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78624 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78625 (struct flock): Move l_start, l_len to the beginning.
78626 Use __pid_t for l_pid.
78627 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78628 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78629 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78630 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78631 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78632 [__USE_LARGEFILE64] (struct flock64): New type.
78633 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78634
78635 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78636 * bits/dirent.h: ... here.
78637
78638 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78639 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78640
78641 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78642
78643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78644 Change from 2.6.0 to 2.6.16.
78645 * sysdeps/unix/sysv/linux/configure: Regenerated.
78646 * sysdeps/unix/sysv/linux/kernel-features.h
78647 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78648 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78649 version.
78650 (__ASSUME_UTIMES): Likewise.
78651 (__ASSUME_CLONE_STOPPED): Remove.
78652 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78653 architectures, not kernel version.
78654 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78655 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78656 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78657 (__ASSUME_WAITID_SYSCALL): Likewise.
78658 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78659 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78660 * README: State 2.6.16 as minimum Linux kernel version. Do not
78661 refer to older versions.
78662
78663 2012-08-06 Roland McGrath <roland@hack.frob.com>
78664
78665 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78666 Define alphasort64 as an alias.
78667 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78668 Define versionsort64 as an alias.
78669 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78670 Define scandir64 as an alias.
78671 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78672 Define scandirat64 as an alias.
78673 * dirent/alphasort64.c (alphasort64):
78674 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78675 * dirent/versionsort64.c: Likewise.
78676 * dirent/scandir64.c: Likewise.
78677 * dirent/scandirat64.c: Likewise.
78678 * sysdeps/wordsize-64/alphasort.c: File removed.
78679 * sysdeps/wordsize-64/alphasort64.c: File removed.
78680 * sysdeps/wordsize-64/scandir.c: File removed.
78681 * sysdeps/wordsize-64/scandir64.c: File removed.
78682 * sysdeps/wordsize-64/scandirat.c: File removed.
78683 * sysdeps/wordsize-64/scandirat64.c: File removed.
78684 * sysdeps/wordsize-64/versionsort.c: File removed.
78685 * sysdeps/wordsize-64/versionsort64.c: File removed.
78686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78687 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78689 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78691 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78693 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78694
78695 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78697 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78699 [defined __arch64__ || defined __sparcv9]
78700 (__INO_T_MATCHES_INO64_T): New macro.
78701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78702 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78703 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78704 * sysdeps/unix/sysv/linux/bits/dirent.h
78705 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78706 (_DIRENT_MATCHES_DIRENT64): New macro.
78707
78708 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78709 Define lockf64 as an alias.
78710 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78711 Define fseeko64 as an alias.
78712 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78713 Define ftello64 as an alias.
78714 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78715 Define _IO_fgetpos64 and fgetpos64 as aliases.
78716 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78717 Define _IO_fsetpos64 and fsetpos64 as aliases.
78718 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78719 Conditionalize body on this.
78720 * libio/fseeko64.c: Likewise.
78721 * libio/ftello64.c: Likewise.
78722 * libio/iofgetpos64.c: Likewise.
78723 * libio/iofsetpos64.c: Likewise.
78724 * sysdeps/wordsize-64/lockf.c: File removed.
78725 * sysdeps/wordsize-64/lockf64.c: File removed.
78726 * sysdeps/wordsize-64/fseeko.c: File removed.
78727 * sysdeps/wordsize-64/fseeko64.c: File removed.
78728 * sysdeps/wordsize-64/ftello.c: File removed.
78729 * sysdeps/wordsize-64/ftello64.c: File removed.
78730 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78731 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78732 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78733 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78735 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78737 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78739 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78743 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78744
78745 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78747 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78749 [defined __arch64__ || defined __sparcv9]
78750 (__OFF_T_MATCHES_OFF64_T): New macro.
78751 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78752 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78754 (__OFF_T_MATCHES_OFF64_T): New macro.
78755
78756 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78757
78758 * stdlib/secure-getenv.c (__secure_getenv): Replace
78759 GLIBC_2_16 with GLIBC_2_17.
78760
78761 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78762
78763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78765
78766 2012-08-03 David S. Miller <davem@davemloft.net>
78767
78768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78769
78770 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78771
78772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78773 Remove.
78774 (__ASSUME_CORRECT_SI_PID): Likewise.
78775 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78776 (__ASSUME_TMPFS_NAME): Likewise.
78777 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78778 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78779 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78780 (HAVE_AUX_SECURE): Make definition unconditional.
78781 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78782 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78783
78784 2012-08-03 Roland McGrath <roland@hack.frob.com>
78785
78786 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78787 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78788 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78789 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78790 __eloop_threshold instead of SYMLOOP_MAX.
78791
78792 * sysdeps/generic/eloop-threshold.h: New file.
78793 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78794 of MAXSYMLINKS.
78795 * elf/chroot_canon.c (chroot_canon): Likewise.
78796
78797 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78798
78799 [BZ #13717]
78800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78801 Change to 2.6.0 everywhere.
78802 * sysdeps/unix/sysv/linux/configure: Regenerated.
78803 * sysdeps/unix/sysv/linux/kernel-features.h
78804 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78805 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78806 kernel versions.
78807 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78808 (__ASSUME_FUTEX_REQUEUE): Remove.
78809 (__ASSUME_STATFS64): Define unconditionally.
78810 (__ASSUME_AT_SECURE): Likewise.
78811 (__ASSUME_CORRECT_SI_PID): Likewise.
78812 (__ASSUME_TGKILL): Define without depending on kernel version for
78813 i386.
78814 (__ASSUME_UTIMES): Likewise.
78815 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78816 kernel version.
78817 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78818 (__ASSUME_TMPFS_NAME): Likewise.
78819 * README: Update reference to Linux kernel versions.
78820
78821 2012-08-02 Marek Polacek <polacek@redhat.com>
78822
78823 [BZ #14150]
78824 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78825 libc_cv_asm_type_prefix with %.
78826 * configure: Regenerated.
78827 * include/libc-symbols.h: Remove comment about
78828 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78829 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78830 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78831 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78832 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78833 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78835 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78836 * elf/tst-unique2mod1.c: Likewise.
78837 * elf/tst-unique1mod2.c: Likewise.
78838 * elf/tst-unique1mod1.c: Likewise.
78839 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78840 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78841 Replace ASM_TYPE_DIRECTIVE with .type.
78842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78843 * sysdeps/i386/sysdep.h: Likewise.
78844 * sysdeps/x86_64/sysdep.h: Likewise.
78845 * sysdeps/sh/sysdep.h: Likewise.
78846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78847 Do not define ASM_TYPE_DIRECTIVE.
78848 * sysdeps/powerpc/sysdep.h: Likewise.
78849 * sysdeps/powerpc/powerpc32/sysdep.h:
78850 Replace ASM_TYPE_DIRECTIVE with .type.
78851 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78852 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78853 * sysdeps/i386/fpu/e_powf.S: Likewise.
78854 * sysdeps/i386/fpu/e_expl.S: Likewise.
78855 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78857 * sysdeps/i386/fpu/e_pow.S: Likewise.
78858 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78860 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78861 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78862 * sysdeps/i386/fpu/e_log2.S: Likewise.
78863 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78865 * sysdeps/i386/fpu/e_powl.S: Likewise.
78866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78868 * sysdeps/i386/fpu/e_logl.S: Likewise.
78869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78870 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78871 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78873 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78874 * sysdeps/i386/fpu/e_log.S: Likewise.
78875 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78876 * sysdeps/i386/fpu/e_logf.S: Likewise.
78877 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78878 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78879 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78880 * sysdeps/i386/fpu/e_log10.S: Likewise.
78881 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78883 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78884 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78885 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78887 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78888 * sysdeps/i386/i686/strtok.S: Likewise.
78889 * sysdeps/i386/i386-mcount.S: Likewise.
78890 * sysdeps/i386/strtok.S: Likewise.
78891 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78895 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78896 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78897 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78898 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78899 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78900 * sysdeps/x86_64/_mcount.S: Likewise.
78901 * sysdeps/x86_64/strtok.S: Likewise.
78902 * sysdeps/sh/_mcount.S: Likewise.
78903
78904 2012-08-01 Roland McGrath <roland@hack.frob.com>
78905
78906 * libio/iofopen.c: Include <fcntl.h>.
78907 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78908 (_IO_fopen64, fopen64): Define as aliases.
78909 * libio/iofopen64.c: Include <fcntl.h>.
78910 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78911 Conditionalize body on this.
78912 * sysdeps/wordsize-64/iofopen.c: File removed.
78913 * sysdeps/wordsize-64/iofopen64.c: File removed.
78914
78915 2012-08-01 Marek Polacek <polacek@redhat.com>
78916
78917 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78918 Use dlfcn directly instead of a variable.
78919 (binfmt-subdir): Do not define.
78920 (dlfcn): Likewise.
78921
78922 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78923
78924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78925 Remove all definitions.
78926 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78927 <kernel-features.h>.
78928 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78929 (miss_F_GETOWN_EX): Remove all definitions.
78930 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78931 macro definition.
78932 [!__ASSUME_FCNTL64]: Remove conditional code.
78933 [__ASSUME_FCNTL64]: Make code unconditional.
78934 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78935 <kernel-features.h>.
78936 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78937 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78938 (lockf64) [__NR_fcntl64]: Make code unconditional.
78939 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78940
78941 * sysdeps/unix/sysv/linux/kernel-features.h
78942 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78943 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78944 Make code unconditional.
78945 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78946 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78948 [__NR_vfork]: Make code unconditional.
78949 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78950 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78952 [__NR_vfork]: Make code unconditional.
78953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78955
78956 2012-08-01 Roland McGrath <roland@hack.frob.com>
78957
78958 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78959 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78960
78961 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78962 Define mkstemp64 as an alias.
78963 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78964 Define mkstemps64 as an alias.
78965 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78966 Define mkostemp64 as an alias.
78967 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78968 Define mkostemps64 as an alias.
78969 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78970 Conditionalize body on this.
78971 * misc/mkostemp64.c: Likewise.
78972 * misc/mkostemps64.c: Likewise.
78973 * misc/mkstemps64.c: Likewise.
78974 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78975 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78976 * sysdeps/wordsize-64/mkostemp.c: File removed.
78977 * sysdeps/wordsize-64/mkstemp.c: File removed.
78978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78980 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78982
78983 [BZ #14138]
78984 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78985 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78986 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78987 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78988
78989 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78990 compat_symbol macros from <shlib-compat.h> rather than the underlying
78991 default_symbol_version and symbol_version macros, so that DEFAULT
78992 lines in shlib-versions are respected.
78993 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78994
78995 2012-08-01 Florian Weimer <fweimer@redhat.com>
78996
78997 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78998 Declare with warn_unused_result.
78999 (setgid, setregid, setegid, setresgid): Likewise.
79000 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
79001 Likewise.
79002 * WUR-REPORT: Remove set*id functions.
79003
79004 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
79005
79006 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
79007
79008 2012-07-31 Roland McGrath <roland@hack.frob.com>
79009
79010 [BZ #10191]
79011 * include/sys/socket.h (__libc_accept, __libc_accept4):
79012 Add attribute_hidden.
79013 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
79014
79015 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
79016 use of PTR_MANGLE.
79017 * inet/getnetgrent_r.c (setup): Likewise.
79018
79019 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
79020
79021 2012-07-31 David S. Miller <davem@davemloft.net>
79022
79023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79024
79025 2012-07-31 Joseph Myers <joseph@codesourcery.com>
79026
79027 [BZ #13629]
79028 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
79029 value between 1.0 and 2.0 and smaller part has absolute value less
79030 than 1.0.
79031 * math/s_clog10.c (__clog10): Likewise.
79032 * math/s_clog10f.c (__clog10f): Likewise.
79033 * math/s_clog10l.c (__clog10l): Likewise.
79034 * math/s_clogf.c (__clogf): Likewise.
79035 * math/s_clogl.c (__clogl): Likewise.
79036 * math/libm-test.inc (clog_test): Add more tests.
79037 (clog10_test): Likewise.
79038 * sysdeps/i386/fpu/libm-test-ulps: Update.
79039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79040
79041 2012-07-31 Florian Weimer <fweimer@redhat.com>
79042
79043 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
79044 Exit with zero in case no suitable GID is found, and write a
79045 message to standard error.
79046
79047 2012-07-30 Roland McGrath <roland@hack.frob.com>
79048
79049 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
79050 rather than to 1.
79051 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
79052 (MAXPATHLEN): Removed.
79053 (NOGROUP, NODEV): New macros.
79054 (setbit, clrbit, isset, isclr): New macros.
79055 (howmany, roundup, powerof2): New macros.
79056 (DEV_BSIZE): New macro.
79057
79058 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
79059 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
79060
79061 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
79062 definition on [!__NO_LONG_DOUBLE_MATH].
79063
79064 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
79065 PTR_MANGLE and PTR_DEMANGLE.
79066
79067 * socket/accept4.c (accept4): Rename to __libc_accept4.
79068 Define accept4 as a weak alias.
79069
79070 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
79071 on [_DIRENT_HAVE_D_TYPE].
79072 * io/ftw.c (ftw_dir): Likewise.
79073
79074 * io/xmknod.c (__xmknod): Don't check PATH for being null.
79075
79076 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
79077
79078 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
79079 Use the BSD numbers rather than the arbitrary ones we had.
79080 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
79081 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
79082 (SIGXCPU, SIGXFSZ): New macros.
79083 (_NSIG): Now 32.
79084
79085 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
79086 initializer on [_LIBC_REENTRANT].
79087
79088 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
79089 definitions inside [_POSIX_MAPPED_FILES].
79090
79091 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
79092
79093 * dirent/opendir.c: Include <fcntl.h>.
79094
79095 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
79096 (__libc_getspecific): Likewise.
79097 (__libc_key_create): Likewise.
79098
79099 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
79100 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
79101 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
79102 (tmpfile64): Define as alias.
79103 * sysdeps/wordsize-64/tmpfile.c: File removed.
79104 * sysdeps/wordsize-64/tmpfile64.c: File removed.
79105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
79106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
79107
79108 * stdio-common/vfscanf.c: Include <stdbool.h>.
79109 * nss/makedb.c: Likewise.
79110 * stdio-common/_i18n_number.h: Likewise.
79111 * argp/argp-help.c: Likewise.
79112 * posix/wordexp.c: Likewise.
79113 * sysdeps/posix/spawni.c: Likewise.
79114 * nss/nss_files/files-initgroups.c: Likewise.
79115 * stdio-common/reg-modifier.c: Include <stdlib.h>.
79116 * nss/nss_files/files-initgroups.c: Likewise.
79117 * nss/nss_db/db-netgrp.c: Likewise.
79118 * nss/nss_db/db-initgroups.c: Likewise.
79119 * io/fchmodat.c: Include <sys/stat.h>.
79120
79121 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
79122 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
79123
79124 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
79125 [HAVE_MMAP].
79126
79127 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
79128 Add multiple inclusion protection.
79129
79130 2012-07-27 David S. Miller <davem@davemloft.net>
79131
79132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79133
79134 2012-07-27 Gary Benson <gbenson@redhat.com>
79135
79136 [BZ #14298]
79137 * elf/rtld.c: Include <stap-probe.h>.
79138 (dl_main): Added static probes "init_start" and "init_complete".
79139 * elf/dl-load.c: Include <stap-probe.h>.
79140 (lose): Take new parameter "nsid".
79141 Added static probe "map_failed".
79142 (_dl_map_object_from_fd): Pass namespace id to lose.
79143 Added static probe "map_start".
79144 (open_verify): Pass namespace id to lose.
79145 * elf/dl-open.c: Include <stap-probe.h>.
79146 (dl_open_worker) Added static probes "map_complete", "reloc_start"
79147 and "reloc_complete".
79148 * elf/dl-close.c: Include <stap-probe.h>.
79149 (_dl_close_worker): Added static probes "unmap_start" and
79150 "unmap_complete".
79151 * elf/rtld-debugger-interface.txt: New file documenting the above.
79152
79153 2012-07-26 Roland McGrath <roland@hack.frob.com>
79154
79155 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79156 rather than a string variable.
79157 * sunrpc/rpc_main.c (h_output): Likewise.
79158 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79159
79160 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
79161
79162 * inet/check_native.c: New file.
79163
79164 2012-07-26 Joseph Myers <joseph@codesourcery.com>
79165
79166 [BZ #13629]
79167 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79168 if larger part has absolute value 1.0.
79169 * math/s_clog10.c (__clog10): Likewise.
79170 * math/s_clog10f.c (__clog10f): Likewise.
79171 * math/s_clog10l.c (__clog10l): Likewise.
79172 * math/s_clogf.c (__clogf): Likewise.
79173 * math/s_clogl.c (__clogl): Likewise.
79174 * math/libm-test.inc (clog_test): Add more tests.
79175 (clog10_test): Likewise.
79176 * sysdeps/i386/fpu/libm-test-ulps: Update.
79177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79178
79179 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79180 (pltexit): Likewise.
79181 (La_regs): Likewise.
79182 (La_retval): Likewise.
79183 (int_retval): Likewise.
79184 Update #error for removed macros to refer only to definitions in
79185 tst-audit.h.
79186 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79187 macro.
79188 (pltexit): Likewise.
79189 (La_regs): Likewise.
79190 (La_retval): Likewise.
79191 (int_retval): Likewise.
79192 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79193 macro.
79194 (pltexit): Likewise.
79195 (La_regs): Likewise.
79196 (La_retval): Likewise.
79197 (int_retval): Likewise.
79198 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79199 macro.
79200 (pltexit): Likewise.
79201 (La_regs): Likewise.
79202 (La_retval): Likewise.
79203 (int_retval): Likewise.
79204 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79205 macro.
79206 (pltexit): Likewise.
79207 (La_regs): Likewise.
79208 (La_retval): Likewise.
79209 (int_retval): Likewise.
79210 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79211 macro.
79212 (pltexit): Likewise.
79213 (La_regs): Likewise.
79214 (La_retval): Likewise.
79215 (int_retval): Likewise.
79216 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79217 macro.
79218 (pltexit): Likewise.
79219 (La_regs): Likewise.
79220 (La_retval): Likewise.
79221 (int_retval): Likewise.
79222 * sysdeps/generic/tst-audit.h: Update comment to refer only to
79223 macro definitions in tst-audit.h.
79224 * sysdeps/i386/tst-audit.h: New file.
79225 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79226 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79227 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79228 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79229 * sysdeps/sh/tst-audit.h: Likewise.
79230 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79231 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79232 * sysdeps/x86_64/tst-audit.h: Likewise.
79233
79234 2012-07-26 Andreas Jaeger <aj@suse.de>
79235
79236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79237 ptrace.
79238
79239 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79240 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79241 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79242 PTRACE_O_MASK.
79243 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79244 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79245 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79246
79247 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79248 value.
79249
79250 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79251 _sigsys.
79252 (si_call_addr, si_syscall, si_arch): Define new macro.
79253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79254 _sigsys.
79255 (si_call_addr, si_syscall, si_arch): Define new marcro.
79256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79257 _sigsys.
79258 (si_call_addr, si_syscall, si_arch): Define new macro.
79259 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79260 _sigsys.
79261 (si_call_addr, si_syscall, si_arch): Define new macro.
79262
79263 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79264
79265 [BZ #13717]
79266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79267 Change to 2.4.21 where previously 2.4.1.
79268 * sysdeps/unix/sysv/linux/configure: Regenerated.
79269 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79270 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79271 Linux kernel version.
79272 (__ASSUME_STD_AUXV): Remove.
79273 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79274 kernel version.
79275 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79276 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79277 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79278 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79279 (__ASSUME_NETLINK_SUPPORT): Likewise.
79280 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79281 (__no_netlink_support): Remove conditional definition.
79282 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79283 Remove.
79284 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79285 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79286 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79287 (if_nameindex_ioctl): Remove.
79288 (if_nameindex_netlink): Do not handle __no_netlink_support.
79289 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79290 code.
79291 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79292 Remove conditional code.
79293 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79294 code.
79295 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79296 unconditional.
79297 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79298 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79299 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79300 Remove.
79301 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79302 [!__ASSUME_STD_AUXV]: Remove conditional code.
79303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79304 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79305 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79307 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79308 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79309 code.
79310 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79312 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79313 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79314 conditional code.
79315 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79317 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79318 code.
79319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79320 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79321 conditional code.
79322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79323 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79324 code unconditional.
79325 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79326 conditional code.
79327 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79328 unconditional.
79329 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79330 conditional code.
79331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79332 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79333 unconditional.
79334 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79335 conditional code.
79336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79337 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79338 code unconditional.
79339 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79340 conditional code.
79341 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79342 unconditional.
79343 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79344 conditional code.
79345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79346 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79347 code unconditional.
79348 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79349 conditional code.
79350 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79351 unconditional.
79352 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79353 conditional code.
79354
79355 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79356
79357 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79358 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79359 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79360 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79361 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79362 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79363 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79364 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79365 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79366 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79367 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79368 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79369 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79370 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79371 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79372 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79373 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79374 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79375 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79377 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79378 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79379 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79380
79381 2012-07-25 Florian Weimer <fweimer@redhat.com>
79382
79383 * Versions.def: Add GLIBC_2.17.
79384 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79385 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79386 Introduce __libc_secure_getenv.
79387 * stdlib/Versions (2.17): Add secure_getenv
79388 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79389 * stdlib/secure-getenv.c: Rename __secure_getenv to
79390 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79391 symbol __secure_getenv for GLIBC_2.0.
79392 * stdlib/tst-secure-getenv.c: New.
79393 * stdlib/Makefile (tests): Add testcase.
79394 * manual/startup.texi (Environment Access): Document
79395 secure_getenv.
79396 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79397 __libc_secure_getenv.
79398 * inet/ruserpass.c (ruserpass): Likewise.
79399 * malloc/mtrace.c (mtrace): Likewise.
79400 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79401 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79402 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79403 * sysdeps/posix/tempname.c: Likewise. Evaluate
79404 HAVE_SECURE_GETENV.
79405 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79406 __secure_getenv to __libc_secure_getenv.
79407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79409 Likewise.
79410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79411 Likewise.
79412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79414 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79419
79420 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79421
79422 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79423 (struct La_i86_retval): Likewise.
79424 (struct La_x86_64_regs): Likewise.
79425 (struct La_x86_64_retval): Likewise.
79426 (struct La_x32_regs): Likewise.
79427 (struct La_x32_retval): Likewise.
79428 (struct La_ppc32_regs): Likewise.
79429 (struct La_ppc32_retval): Likewise.
79430 (struct La_ppc64_regs): Likewise.
79431 (struct La_ppc64_retval): Likewise.
79432 (struct La_sh_regs): Likewise.
79433 (struct La_sh_retval): Likewise.
79434 (struct La_s390_32_regs): Likewise.
79435 (struct La_s390_32_retval): Likewise.
79436 (struct La_s390_64_regs): Likewise.
79437 (struct La_s390_64_retval): Likewise.
79438 (struct La_sparc32_regs): Likewise.
79439 (struct La_sparc32_retval): Likewise.
79440 (struct La_sparc64_regs): Likewise.
79441 (struct La_sparc64_retval): Likewise.
79442 (struct audit_ifaces): Remove architecture-specific pltenter and
79443 pltexit members.
79444 * sysdeps/i386/ldsodefs.h: New file.
79445 * sysdeps/powerpc/ldsodefs.h: Likewise.
79446 * sysdeps/s390/ldsodefs.h: Likewise.
79447 * sysdeps/sh/ldsodefs.h: Likewise.
79448 * sysdeps/sparc/ldsodefs.h: Likewise.
79449 * sysdeps/x86_64/ldsodefs.h: Likewise.
79450
79451 2012-07-25 Marek Polacek <polacek@redhat.com>
79452
79453 [BZ #6808]
79454 * math/libm-test.inc (yn_test): Add another test.
79455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79456 to ERANGE when the result is +-Inf.
79457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79458 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79459 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79460 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79461
79462 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79463
79464 * conform/data/time.h-data (NULL): Use macro-constant. Require
79465 equal to 0.
79466 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79467 clock_t.
79468 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79469
79470 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79471
79472 * configure.in <sysdeps resolving>: Correct printing
79473 Implies_before.
79474 * configure: Regenerate.
79475
79476 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79477
79478 * math/w_ilogb.c: Include <limits.h>.
79479 * math/w_ilogbl.c: Likewise.
79480
79481 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79482
79483 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79484 va_copy. Document allowing for unavailable va_copy only as
79485 pre-C99 compatibility.
79486 * manual/string.texi (Copying and Concatenation): Use va_copy
79487 instead of __va_copy in concat example.
79488
79489 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79490
79491 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79492 (__sendto): Use create_address_port. Initialize APORT and deallocate
79493 it if not null.
79494
79495 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79496 with O_NOLINK passed to __file_name_lookup.
79497
79498 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79499 with O_NOLINK passed to __file_name_lookup.
79500
79501 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79502 negative N or less than NGIDS.
79503
79504 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79505 type to string_t. Set ERANGE as errno and return it if NAME is not big
79506 enough. Use memcpy instead of strncpy.
79507
79508 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79509
79510 * elf/Makefile (check-data): Remove.
79511 (localplt.data): New vpath directive.
79512 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79513 instead of $(check-data).
79514 * scripts/data/localplt-generic.data: Move to ...
79515 * sysdeps/generic/localplt.data: ... here.
79516 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79517 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79518 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79520 ... here.
79521 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79523 ... here.
79524 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79526 ... here.
79527 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79529 ... here.
79530 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79532 ... here.
79533 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79535 ... here.
79536
79537 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79538
79539 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79540 PPC32 and PPC64 files.
79541 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79542 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79543
79544 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79545
79546 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79547 __makecontext_ret to ...
79548 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79549 ... here and call exit if uc_link is NULL. New file.
79550 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79551 __makecontext_ret.S.
79552 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79553 __makecontext_ret to ...
79554 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79555 ... here and call exit if uc_link is NULL. New file.
79556 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79557 __makecontext_ret.S.
79558
79559 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79560
79561 * elf/elf.h (R_390_IRELATIVE): New definition.
79562 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79563 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79564 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79566 (elf_machine_lazy_rel): Likewise.
79567 * sysdeps/s390/dl-irel.h: New file.
79568 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79569 * sysdeps/s390/s390-64/memset.S: New asm code.
79570 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79571 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79572 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79573 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79574 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79575 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79577 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79578 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79579 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79580 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79581 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79582 * sysdeps/s390/s390-32/memset.S: New asm code.
79583 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79584
79585 2012-07-17 Marek Polacek <polacek@redhat.com>
79586
79587 [BZ #14349]
79588 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79589 * sysdeps/s390/s390-64/configure.in: Likewise.
79590 * sysdeps/sparc/configure.in: Likewise.
79591 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79592 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79593 * sysdeps/i386/configure.in: Likewise.
79594 * sysdeps/x86_64/configure.in: Likewise.
79595 * sysdeps/sh/configure.in: Likewise.
79596 * sysdeps/s390/s390-32/configure: Regenerated.
79597 * sysdeps/s390/s390-64/configure: Likewise.
79598 * sysdeps/x86_64/configure: Likewise.
79599 * sysdeps/sh/configure: Likewise.
79600 * sysdeps/powerpc/powerpc64/configure: Likewise.
79601 * sysdeps/powerpc/powerpc32/configure: Likewise.
79602 * sysdeps/sparc/configure: Likewise.
79603 * sysdeps/i386/configure: Likewise.
79604
79605 * elf/dl-open.c: Comment fixes.
79606
79607 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79608
79609 * Makefile [CXX] (check-data): Remove.
79610 [CXX] (c++-types.data): New vpath directive.
79611 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79612 vpath. Do not allow for C++ type data being missing.
79613 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79614 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79615 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79616 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79617 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79618 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79619 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79621 ... here.
79622 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79624 ... here.
79625 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79627 ... here.
79628 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79630 ... here.
79631 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79633 ... here.
79634 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79636 ... here.
79637 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79639 ... here.
79640 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79642
79643 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79644 definitions to architecture-specific files.
79645 (TLS_IE): Likewise.
79646 (TLS_LD): Likewise.
79647 (TLS_GD): Likewise.
79648 * sysdeps/i386/tls-macros.h: New file.
79649 * sysdeps/powerpc/tls-macros.h: Likewise.
79650 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79651 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79652 * sysdeps/sh/tls-macros.h: Likewise.
79653 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79654 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79655 * sysdeps/x86_64/tls-macros.h: Likewise.
79656
79657 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79658
79659 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79660 zero value for regular exit case.
79661
79662 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79663 (__start_context): Preserve zero value for regular exit case.
79664
79665 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79666 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79667
79668 * manual/setjmp.texi (setcontext): Clarify normal process
79669 termination when uc_link is the null pointer.
79670 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79671 exit call.
79672
79673 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79674
79675 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79676 preprocessor. Test for each exception mask separately.
79677
79678 2012-07-16 Andreas Jaeger <aj@suse.de>
79679
79680 * po/ru.po: Update from translation team.
79681
79682 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79683
79684 * conform/data/string.h-data (NULL): Use macro-constant. Require
79685 equal to 0.
79686 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79687 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79688 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79689 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79691
79692 2012-07-13 Andreas Jaeger <aj@suse.de>
79693
79694 * po/fr.po: Update from translation team.
79695
79696 2012-07-12 Marek Polacek <polacek@redhat.com>
79697
79698 [BZ #14173]
79699 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79700 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79701 loop condition.
79702
79703 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79704
79705 [BZ #13717]
79706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79707 Change to 2.4.1 where previously 2.4.0.
79708 * sysdeps/unix/sysv/linux/configure: Regenerated.
79709 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79710 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79711 version.
79712 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79713 (__ASSUME_AT_CLKTCK): Remove.
79714 (__ASSUME_AT_PAGESIZE): Likewise.
79715 (__ASSUME_AT_XID): Likewise.
79716 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79717 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79718 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79719 unconditionally.
79720 (HAVE_AUX_PAGESIZE): Likewise.
79721 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79722 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79723 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79724
79725 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79726
79727 [BZ #14307]
79728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79729 the temporary buffer used to invoke __gethostbyname2_r,
79730 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79731 host_data / struct gaih_addrtuple.
79732 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79733 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79734 header file nss/nsswitch.h.
79735 * nss/nsswitch.h (global scope): Add definition of implementation
79736 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79737 resolv/nss_dns/dns-host.c).
79738
79739 2012-07-11 Andreas Jaeger <aj@suse.de>
79740
79741 * po/fr.po: Update from translation team.
79742
79743 * po/sv.po: Update from translation team
79744 * po/fr.po: Another update from translation team.
79745
79746 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79747
79748 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79749 for subnormals or multiply small sinh result by itself.
79750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79752
79753 2012-07-11 David S. Miller <davem@davemloft.net>
79754
79755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79756
79757 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79758
79759 [BZ #14347]
79760 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79761 (INTERNAL_MARK): Shift it here.
79762
79763 2012-07-10 Marek Polacek <polacek@redhat.com>
79764
79765 [BZ #14151]
79766 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79767 libc_cv_asm_global_directive with .globl.
79768 * configure: Regenerated.
79769 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79770 with .globl.
79771 * sysdeps/i386/configure: Regenerated.
79772 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79773 with .globl.
79774 * sysdeps/x86_64/configure: Regenerated.
79775 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79776 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79777 * elf/tst-unique2mod2.c: Likewise.
79778 * elf/tst-unique2mod1.c: Likewise.
79779 * elf/tst-unique1mod2.c: Likewise.
79780 * elf/tst-unique1mod1.c: Likewise.
79781 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79782 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79784 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79785 * sysdeps/mach/sysdep.h: Likewise.
79786 * sysdeps/i386/sysdep.h: Likewise.
79787 * sysdeps/i386/i386-mcount.S: Likewise.
79788 * sysdeps/x86_64/_mcount.S: Likewise.
79789 * sysdeps/x86_64/sysdep.h: Likewise.
79790 * sysdeps/sh/_mcount.S: Likewise.
79791 * sysdeps/sh/sysdep.h: Likewise.
79792 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79793 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79794 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79795 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79796 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79797 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79798 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79799 * locale/localeinfo.h: Likewise.
79800 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79801 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79802
79803 2012-07-09 Roland McGrath <roland@hack.frob.com>
79804
79805 [BZ #14336]
79806 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79807 system".
79808 * manual/message.texi (The Uniforum approach): Likewise.
79809 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79810 (glibc iconv Implementation): Likewise.
79811
79812 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79813
79814 [BZ #14337]
79815 * math/s_clog.c (__clog): Avoid scaling a value down where that
79816 could result in underflow.
79817 * math/s_clog10.c (__clog10): Likewise.
79818 * math/s_clog10f.c (__clog10f): Likewise.
79819 * math/s_clog10l.c (__clog10l): Likewise.
79820 * math/s_clogf.c (__clogf): Likewise.
79821 * math/s_clogl.c (__clogl): Likewise.
79822 * math/libm-test.inc (clog_test): Add more tests.
79823 (clog10_test): Likewise.
79824 * sysdeps/i386/fpu/libm-test-ulps: Update.
79825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79826
79827 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79828
79829 [BZ #14283]
79830 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79831 by 7 not 8 to examine high bit of fractional part.
79832
79833 [BZ #14042]
79834 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79835 for call to __mcount_internal.
79836 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79837 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79838 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79839
79840 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79841
79842 [BZ #14154]
79843 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79844 approximation for values within 0x1p-13f of an odd multiple of
79845 pi/4.
79846 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79847 exception. Add more tests.
79848 * sysdeps/i386/fpu/libm-test-ulps: Update.
79849
79850 [BZ #6778]
79851 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79852 inputs and return -1 for them. Do not check for +Inf in case not
79853 reachable for +Inf.
79854 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79855 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79856 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79857 and return -1 for them. Do not check for +Inf in case not
79858 reachable for +Inf.
79859 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79860 define.
79861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79862 and return -1 for them. Do not check for +Inf in case not
79863 reachable for +Inf.
79864 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79865 spurious underflow.
79866 * sysdeps/i386/fpu/libm-test-ulps: Update.
79867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79868
79869 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79870
79871 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79872
79873 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79874
79875 [BZ #14157]
79876 [BZ #14331]
79877 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79878 could result in spurious underflow. Scale down values above
79879 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79880 * math/s_csqrtf.c (__csqrtf): Likewise.
79881 * math/s_csqrtl.c (__csqrtl): Likewise.
79882 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79883 spurious underflow.
79884 * sysdeps/i386/fpu/libm-test-ulps: Update.
79885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79886
79887 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79888
79889 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79890 xopen-msg.sed.
79891 * catgets/xopen-msg.awk: New file.
79892 * catgets/xopen-msg.sed: Removed.
79893
79894 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79895 po2text.sed.
79896 * intl/po2test.awk: New file.
79897 * intl/po2test.sed: Removed.
79898
79899 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79900
79901 [BZ #14328]
79902 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79903 or multiply small sinh result by itself.
79904 * math/s_ctanf.c (__ctanf): Likewise.
79905 * math/s_ctanh.c (__ctanh): Likewise.
79906 * math/s_ctanhf.c (__ctanhf): Likewise.
79907 * math/s_ctanhl.c (__ctanhl): Likewise.
79908 * math/s_ctanl.c (__ctanl): Likewise.
79909 * math/libm-test.inc (ctan_test_tonearest): New function.
79910 (ctan_test_towardzero): Likewise.
79911 (ctan_test_downward): Likewise.
79912 (ctan_test_upward): Likewise.
79913 (ctanh_test_tonearest): Likewise.
79914 (ctanh_test_towardzero): Likewise.
79915 (ctanh_test_downward): Likewise.
79916 (ctanh_test_upward): Likewise.
79917 (main): Call these new functions.
79918 * sysdeps/i386/fpu/libm-test-ulps: Update.
79919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79920
79921 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79922
79923 * .gitignore: Delete /ports entry.
79924
79925 2012-07-03 Andreas Jaeger <aj@suse.de>
79926
79927 * po/bg.po: Update from translation team.
79928 * po/cs.po: Likewise.
79929 * po/de.po: Likewise.
79930 * po/hr.po: Likewise.
79931 * po/nl.pl: Likewise.
79932 * po/pl.po: Likewise.
79933 * po/vi.po: Likewise.
79934
79935 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79936
79937 * Makeconfig [!+link] (+link-before-libc): New variable.
79938 [!+link] (+link-after-libc): Likewise.
79939 [!+link] (+link-tests): Likewise.
79940 [!+link] (+link): Define in terms of $(+link-before-libc) and
79941 $(+link-after-libc).
79942 [!+link-static] (+link-static-before-libc): New variable.
79943 [!+link-static] (+link-static-after-libc): Likewise.
79944 [!+link-static] (+link-static-tests): Likewise.
79945 [!+link-static] (+link-static): Define in terms of
79946 $(+link-static-before-libc) and $(+link-static-after-libc).
79947 [build-shared] (link-libc-before-gnulib): New variable.
79948 [build-shared] (link-libc-tests): Likewise.
79949 [build-shared] (link-libc): Define in terms of
79950 $(link-libc-before-gnulib).
79951 [!build-shared] (link-libc-tests): New variable.
79952 (link-libc-static-tests): New variable.
79953 [!gnulib] (gnulib-arch): New variable.
79954 [!gnulib] (gnulib-tests): Likewise.
79955 [!gnulib] (static-gnulib-arch): Likewise.
79956 [!gnulib] (static-gnulib-tests): Likewise.
79957 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79958 Define with "=" instead of ":=".
79959 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79960 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79961 * Rules (binaries-all-notests): New variable.
79962 (binaries-all-tests): Likewise.
79963 (binaries-static-notests): Likewise.
79964 (binaries-static-tests): Likewise.
79965 (binaries-all): Define using $(binaries-all-notests) and
79966 $(binaries-all-tests).
79967 (binaries-static): Define using $(binaries-static-notests) and
79968 $(binaries-static-tests).
79969 (binaries-shared-tests): New variable.
79970 (binaries-shared-notests): Likewise.
79971 (binaries-shared): Remove variable.
79972 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79973 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79974 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79975 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79976 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79977 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79978 * elf/Makefile (sln-modules): New variable.
79979 (extra-objs): Add $(sln-modules:=.o).
79980 (ldconfig-modules): Add static-stubs.
79981 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79982 * elf/static-stubs.c: New file.
79983
79984 [BZ #14283]
79985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79986 by 7 not 8 to examine high bit of fractional part. Use volatile
79987 variables when splitting into final array of floats if
79988 __FLT_EVAL_METHOD__ != 0.
79989 * math/libm-test.inc (cos_test): Add another test.
79990 (sin_test): Likewise.
79991 * sysdeps/i386/fpu/libm-test-ulps: Update.
79992
79993 [BZ #14273]
79994 * math/libm-test.inc (cosh_test): Add more tests.
79995
79996 * version.h (RELEASE): Set to "development".
79997 (VERSION): Set to "2.16.90".
79998
79999 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
80000
80001 * NEWS: Update copyright. Remove last-updated date.
80002 Mention math library bug fixes and timezone data changes.
80003 * README: Mention GNU/Hurd, x32, and HPPA support status.
80004
80005 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
80006
80007 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
80008
80009 2012-06-27 Andreas Jaeger <aj@suse.de>
80010
80011 * manual/contrib.texi (Contributors): Add Samuel Thibault.
80012
80013 2012-06-25 Andreas Jaeger <aj@suse.de>
80014
80015 * sysdeps/s390/fpu/libm-test-ulps: Update.
80016
80017 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
80018 Thomas Schwinge <thomas@codesourcery.com>
80019
80020 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
80021 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
80022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
80023 fanotify_mark.
80024
80025 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
80026
80027 * sysdeps/mach/start.c: Remove file.
80028 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
80029 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
80030 * sysdeps/sh/init-first.c: Likewise.
80031
80032 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
80033 registers for frame unwinding purposes, add CFI directives.
80034 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80035 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
80036 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
80037 Likewise.
80038
80039 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
80040 __fortify_fail returning.
80041 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80042
80043 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
80044 sysdeps/sh/____longjmp_chk.S.
80045 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
80046 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
80047 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
80048 (gen-as-const-headers): Append sigaltstack-offsets.sym.
80049
80050 * sysdeps/sh/abort-instr.h: New file.
80051 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
80052 process in case exit returns.
80053
80054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
80055 initialize the GOT register before use.
80056
80057 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
80058 calculation of ARGC > 4.
80059
80060 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
80061 meaningful names to some local labels.
80062
80063 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
80064 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80065
80066 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
80067 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
80068 (__arch_compare_and_exchange_val_16_acq): Likewise.
80069 (__arch_compare_and_exchange_val_32_acq): Likewise.
80070 (atomic_exchange_and_add): Fix gUSA sequence.
80071 (atomic_add): Likewise.
80072 (atomic_add_negative): Likewise.
80073 (atomic_add_zero): Likewise.
80074 (atomic_bit_test_set): Likewise.
80075
80076 2012-06-22 Andreas Schwab <schwab@redhat.com>
80077
80078 [BZ #13579]
80079 * include/link.h (struct link_map): Add l_free_initfini.
80080 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
80081 l_initfini.
80082 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
80083 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
80084 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
80085 set.
80086
80087 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
80088
80089 * configure.in: Use AC_LANG_SOURCE.
80090 * configure: Regenerate.
80091
80092 2012-06-22 Roland McGrath <roland@hack.frob.com>
80093
80094 * configure.in (libc_cv_localstatedir): New substituted variable.
80095 * configure: Regenerated.
80096 * config.make.in (localstatedir): New variable, substituted from
80097 libc_cv_localstatedir.
80098 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
80099 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
80100 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
80101 * sysdeps/gnu/configure: Regenerated.
80102
80103 2012-06-21 Jeff Law <law@redhat.com>
80104
80105 [BZ #14277]
80106 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
80107 free. Simplify list management for _LIBC case.
80108
80109 2012-06-21 Joseph Myers <joseph@codesourcery.com>
80110
80111 [BZ #14273]
80112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
80113 Clear sign bit of 64-bit integer value before comparing against
80114 overflow value.
80115
80116 * sysdeps/mach/configure: Regenerated.
80117
80118 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
80119
80120 [BZ #14278]
80121 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
80122
80123 2012-06-21 Jeff Law <law@redhat.com>
80124
80125 [BZ #13882]
80126 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
80127 uint16_t for elements in the "seen" array to avoid char overflows.
80128 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80129 * elf/dl-open.c (dl_open_worker): Likewise.
80130
80131 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
80132
80133 * scripts/list-sources.sh: Scan PORTS for translations.
80134 * po/libc.pot: Regenerated.
80135
80136 2012-06-21 Andreas Jaeger <aj@suse.de>
80137
80138 [BZ #12194]
80139 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80140 warning.
80141 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80142 * bits/byteswap-16.h (__bswap_16): Likewise.
80143 * bits/byteswap.h (__bswap_constant_16): Likewise.
80144
80145 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
80146
80147 [BZ #14117]
80148 * sysdeps/i386/fpu_control.h: Removed.
80149 * sysdeps/x86_64/fpu_control.h: Moved to ...
80150 * sysdeps/x86/fpu_control.h: Here.
80151
80152 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80153 (_FPU_SETCW): Likewise.
80154
80155 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
80156
80157 [BZ #14117]
80158 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80159 * sysdeps/x86/fpu/bits/mathinline.h: This.
80160 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80161
80162 [BZ #14050]
80163 [BZ #14117]
80164 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80165 functions if __x86_64__ is defined.
80166
80167 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
80168
80169 * string/endian.h: Add !__ASSEMBLER__ condition for including
80170 conversion interfaces.
80171
80172 2012-06-15 Joseph Myers <joseph@codesourcery.com>
80173
80174 [BZ #14241]
80175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80176 of ABS(x) in calculating zero to negative powers other than odd
80177 integers.
80178 * math/libm-test.inc (pow_test): Add more tests.
80179
80180 2012-06-15 Andreas Jaeger <aj@suse.de>
80181
80182 * manual/contrib.texi (Contributors): Update entry of Liubov
80183 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80184 Machado Filho.
80185
80186 2012-06-15 Cyril Hrubis <metan@ucw.cz>
80187
80188 * string/string.h: Add __wur to GNU version of strerror_r.
80189
80190 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
80191
80192 [BZ #14229]
80193 * string/Makefile (tests): Add tst-strtok_r.
80194 * string/tst-strtok_r.c: New file.
80195 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80196 RAX_LP/RDX_LP on SAVE_PTR.
80197
80198 2012-06-14 Roland McGrath <roland@hack.frob.com>
80199
80200 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80201
80202 2012-06-14 Joseph Myers <joseph@codesourcery.com>
80203
80204 * libm_test.inc (csqrt_test): Allow more spurious underflow
80205 exceptions.
80206 (j0_test): Likewise.
80207 (j1_test): Likewise.
80208 (y0_test): Likewise.
80209 (y1_test): Likewise.
80210
80211 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
80212
80213 * po/Makefile (libc.pot): Use UTF-8 charset.
80214
80215 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
80216
80217 [BZ #14210]
80218 Suppress sign-conversion warning from FD_SET.
80219 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80220 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80221 not unsigned long int.
80222 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80223
80224 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
80225
80226 [BZ #14050]
80227 [BZ #14117]
80228 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80229 __extern_always_inline instead of __extern_inline.
80230 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80231 (__signbit): Likewise.
80232 (__signbitl): Support C++ namespace.
80233 (lrintf): New inline function.
80234 (lrint): Likewise.
80235 (llrintf): Likewise.
80236 (llrint): Likewise.
80237 (fmaxf): Likewise.
80238 (fmax): Likewise.
80239 (fminf): Likewise.
80240 (fmin): Likewise.
80241 (rint): Likewise.
80242 (rintf): Likewise.
80243 (ceil): Likewise.
80244 (ceilf): Likewise.
80245 (floor): Likewise.
80246 (floorf): Likewise.
80247 (nearbyint): Likewise.
80248 (nearbyintf): Likewise.
80249
80250 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
80251
80252 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80253 non-default versions.
80254
80255 2012-06-11 Roland McGrath <roland@hack.frob.com>
80256
80257 [BZ #14218]
80258 * manual/argp.texi (Argp): Reword argp_parse description slightly.
80259
80260 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
80261
80262 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80263 (FE_UPWARD, FE_DOWNWARD): Don't define.
80264 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80265 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80266
80267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80268 reading it.
80269 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80270 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80271
80272 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80273
80274 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80276 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80277 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80278
80279 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
80280
80281 [BZ #14117]
80282 * sysdeps/i386/fpu/bits/fenv.h: Removed.
80283 * sysdeps/i386/fpu/Implies: New file.
80284 * sysdeps/x86_64/fpu/Implies: Likewise.
80285 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80286 * sysdeps/x86/fpu/bits/fenv.h: This.
80287
80288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80289 __SSE_MATH__.
80290
80291 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
80292
80293 [BZ #14134]
80294 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80295 character 0xffff that matches the last element of the
80296 conversion table.
80297
80298 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80299
80300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80301 fmodl commit.
80302
80303 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80304
80305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80306 values higher than 25.6283.
80307
80308 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80309
80310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80311 subnormal exponent extraction and add some __builtin_expect.
80312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80313 Fix for subnormal mantissa calculation.
80314
80315 2012-06-04 Mike Frysinger <vapier@gentoo.org>
80316
80317 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80318 cpu2 is -1 and errno is not ENOSYS.
80319
80320 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
80321
80322 [BZ #14117]
80323 * sysdeps/i386/i486/bits/string.h: Renamed to ...
80324 * sysdeps/x86/bits/string.h: This.
80325 * sysdeps/x86_64/bits/string.h: Removed.
80326
80327 * sysdeps/i386/i486/bits/string.h: Define inline functions only
80328 if not compiling for x86-64, but compiling for >= i486.
80329
80330 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80331 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80332
80333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80334 New macro from Linux kernel 3.4.0.
80335 (FP_XSTATE_MAGIC2): Likewise.
80336 (FP_XSTATE_MAGIC2_SIZE): Likewise.
80337 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80338 (struct _fpx_sw_bytes): New struct.
80339 (struct _xsave_hdr): Likewise.
80340 (struct _ymmh_state): Likewise.
80341 (struct _xstate): Likewise.
80342
80343 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80344 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80346 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80347 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80348 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80349
80350 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80352 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80353 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80354 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80355 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80356
80357 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80358
80359 [BZ #13743]
80360 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80361 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80362 (sysdep_headers): Include sys/platform/ppc.h.
80363 * sysdeps/powerpc/test-gettimebase.c: Test for
80364 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80365 * manual/Makefile (appendices): Include platform.texi.
80366 * manual/contrib.texi (Contributors): Update @node pointers.
80367 * manual/maint.texi (Maintenance): Likewise.
80368 (Platform): New node.
80369 * manual/platform.texi: New file. Document the new features.
80370
80371 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80372 Jakub Jelinek <jakub@redhat.com>
80373
80374 [BZ #14188]
80375 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80376 where __builtin_expect is unavailable.
80377
80378 2012-06-03 David S. Miller <davem@davemloft.net>
80379
80380 * stdlib/longlong.h: Updated from GCC.
80381
80382 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
80383
80384 [BZ #14042]
80385 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80386 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80387 __mcount_internal.
80388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80389 (GLIBC_2.16): Likewise.
80390
80391 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80392
80393 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80394
80395 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80396
80397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80398 (default-abi): New variable.
80399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80400 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80401 variable.
80402 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80403 Likewise.
80404 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80405 Likewise.
80406 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80407 Likewise.
80408
80409 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80410 definition. Document in comment.
80411
80412 2012-06-01 David S. Miller <davem@davemloft.net>
80413
80414 * stdlib/longlong.h: Updated from GCC.
80415
80416 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80417
80418 [BZ #14117]
80419 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80420 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80421 sys/debugreg.h sys/io.h here.
80422 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80423 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80424 sys/io.h.
80425 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80426 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80427 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80428 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80429 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80430 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80431
80432 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80433 Define only if __x86_64__ is defined.
80434
80435 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80436
80437 [BZ #14048]
80438 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80439 Use int64_t for variable i.
80440 * math/libm-test.inc (fmod_test): Add more tests.
80441
80442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80443 z computation is not scheduled after fetestexcept.
80444 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80445 Use math_force_eval instead of asm to ensure calculation scheduled
80446 before exception test.
80447 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80448 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80449
80450 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80451
80452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80453 computation is not scheduled after fetestexcept.
80454
80455 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80456
80457 [BZ #14117]
80458 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80459 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80460
80461 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80462
80463 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80464 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80465
80466 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80467
80468 [BZ #14117]
80469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80470 <bits/wordsize.h>.
80471 (__WCHAR_MIN): Support __WORDSIZE == 64.
80472 (__WCHAR_MAX): Likewise.
80473
80474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80475 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80476
80477 [BZ #14183]
80478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80479 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80480
80481 [BZ #14117]
80482 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80483 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80484
80485 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80486 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80487
80488 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80489 Defined to 1 if __x86_64__ isn't defined.
80490 (_STAT_VER_LINUX_OLD): New.
80491 (st_atime): Remove duplicate.
80492 (st_mtime): Likewise.
80493 (st_ctime): Likewise.
80494
80495 2012-05-31 David S. Miller <davem@davemloft.net>
80496
80497 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80498 entries.
80499
80500 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80501
80502 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80503 gen-libm-test.pl.
80504
80505 [BZ #14132]
80506 * elf/dl-reloc.c: Include <_itoa.h>.
80507 (_dl_reloc_bad_type): Remove use of INTUSE.
80508 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80509 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80510 * stdio-common/psiginfo.c (psiginfo): Likewise.
80511 * stdio-common/psignal.c (psignal): Likewise.
80512 * string/strsignal.c (strsignal): Likewise.
80513 * include/signal.h (_sys_siglist): Declare hidden proto.
80514 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80515 INTVARDEF with libc_hidden_data_def.
80516 * stdio-common/itoa-udigits.c: Likewise.
80517 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80518 (_itoa_lower_digits_internal): Remove declaration.
80519 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80520 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80521 (_sys_sigabbrev_internal): Remove aliases.
80522 (_sys_siglist): Define hidden alias.
80523
80524 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80525
80526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80527 bits/sysctl.h.
80528
80529 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80530
80531 [BZ #14117]
80532 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80533 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80534
80535 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80536 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80537 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80538 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80540 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80541
80542 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80543 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80544 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80545
80546 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80547 with __addr.
80548 (insw): Likewise.
80549 (insl): Likewise.
80550 (outsb): Likewise.
80551 (outsw): Likewise.
80552 (outsl): Likewise.
80553
80554 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80556 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80557
80558 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80559 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80561 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80562 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80563 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80564
80565 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80566 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80567
80568 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80569 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80570
80571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80573 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80574
80575 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80576 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80577 to ...
80578 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80579
80580 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80581 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80582 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80583
80584 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80585 for x86-64.
80586 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80587
80588 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80589
80590 * math/math.h (M_El): Use two more decimal places.
80591 (M_LOG2El): Likewise.
80592 (M_LOG10El): Likewise.
80593 (M_LN2l): Likewise.
80594 (M_LN10l): Likewise.
80595 (M_PIl): Likewise.
80596 (M_PI_2l): Likewise.
80597 (M_PI_4l): Likewise.
80598 (M_1_PIl): Likewise.
80599 (M_2_PIl): Likewise.
80600 (M_2_SQRTPIl): Likewise.
80601 (M_SQRT2l): Likewise.
80602 (M_SQRT1_2l): Likewise.
80603
80604 2012-05-31 David S. Miller <davem@davemloft.net>
80605
80606 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80607 values between float registers.
80608 * sysdeps/sparc/sparc64/memset.S: Likewise.
80609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80610
80611 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80612
80613 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80614 -D_FORTIFY_SOURCE=1.
80615 (CPPFLAGS-tst-longjmp_chk.c): Define.
80616 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80617 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80618 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80619 CFLAGS-tst-wchar-h.c.
80620
80621 2012-05-31 Marek Polacek <polacek@redhat.com>
80622
80623 [BZ #14132]
80624 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80625 __endmntent_internal): Remove declaration.
80626 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80627 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80628 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80629
80630 2012-05-30 David S. Miller <davem@davemloft.net>
80631
80632 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80633 (___Q_simulate_exceptions): Use real FP ops rather than writing
80634 into the %fsr.
80635 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80636 Likewise.
80637
80638 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80639
80640 [BZ #14117]
80641 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80642 * sysdeps/x86/bits/xtitypes.h: This.
80643
80644 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80645 * sysdeps/x86/bits/wordsize.h: This.
80646
80647 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80648 * sysdeps/x86/bits/huge_vall.h: This.
80649
80650 * sysdeps/i386/bits/select.h: Removed.
80651 * sysdeps/x86_64/bits/select.h: Renamed to ...
80652 * sysdeps/x86/bits/select.h: This.
80653
80654 * sysdeps/i386/bits/setjmp.h: Removed.
80655 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80656 * sysdeps/x86/bits/setjmp.h: This.
80657
80658 * sysdeps/i386/bits/mathdef.h: Removed.
80659 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80660 * sysdeps/x86/bits/mathdef.h: This.
80661
80662 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80663
80664 [BZ #14132]
80665 * include/sys/socket.h (__connect_internal)
80666 (__libc_sa_len_internal): Remove declaration.
80667 (__connect, __libc_sa_len): Declare hidden_proto.
80668 (SA_LEN): Remove use of INTUSE.
80669 * socket/connect.c: Add libc_hidden_def.
80670 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80671 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80672 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80673 alias.
80674 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80675 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80676 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80677 of adding _internal alias.
80678
80679 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80680
80681 [BZ #14117]
80682 * sysdeps/i386/bits/link.h: Removed.
80683 * sysdeps/i386/bits/linkmap.h: Likewise.
80684 * sysdeps/x86_64/bits/link.h: Renamed to ...
80685 * sysdeps/x86/bits/link.h: This.
80686 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80687 * sysdeps/x86/bits/linkmap.h: This.
80688
80689 * sysdeps/i386/bits/endian.h: Removed.
80690 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80691 * sysdeps/x86/bits/endian.h: This.
80692
80693 * sysdeps/i386/bits/byteswap.h: Removed.
80694 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80695 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80696 * sysdeps/x86/bits/byteswap.h: This.
80697 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80698 * sysdeps/x86/bits/byteswap-16.h: This.
80699 * sysdeps/i386/Implies: Add x86.
80700 * sysdeps/x86_64/Implies: Likewise.
80701
80702 2012-05-30 David S. Miller <davem@davemloft.net>
80703
80704 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80705 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80706 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80707 (FP_TRAPPING_EXCEPTIONS): Define.
80708 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80709 (FP_TRAPPING_EXCEPTIONS): Define.
80710 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80711 subnormals only when inexact has been signalled or underflow
80712 exceptions are enabled.
80713 (_FP_PACK_CANONICAL): Likewise.
80714
80715 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80716
80717 [BZ #14183]
80718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80719 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80720
80721 2012-05-30 Richard Henderson <rth@twiddle.net>
80722
80723 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80724 with #ifndef NOT_IN_libc.
80725
80726 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80727 marked to avoid plt entry.
80728
80729 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80730
80731 [BZ #14112]
80732 * Makeconfig (default-abi): New macro.
80733 (abi-includes): Likewise.
80734 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80735 $(abi-$(default-abi)-lib-soname) for soname if defined.
80736 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80737 abi-variants.
80738 * Makefile (installed-stubs): Likewise.
80739 * include/stubs-biarch.h: Removed.
80740 * scripts/lib-names.awk: Only handle one library at a time.
80741 * scripts/soversions.awk: Remove WORDSIZE support.
80742 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80743 entries.
80744 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80745 Removed.
80746 (syscall-list-default-condition): Likewise.
80747 (syscall-list-default-condition): Likewise.
80748 (syscall-list-includes): Likewise.
80749 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80750 syscall-list-* with abi-*. Handle undefined abi-variants.
80751 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80752 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80753 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80754 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80755 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80756 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80757 Removed.
80758 (syscall-list-32-options): Likewise.
80759 (syscall-list-32-condition): Likewise.
80760 (syscall-list-64-options): Likewise.
80761 (syscall-list-64-condition): Likewise.
80762 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80763 macro.
80764 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80765 Renamed to ...
80766 (abi-*): This.
80767 (abi-64-ld-soname): New macro.
80768 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80769 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80770 Renamed to ...
80771 (abi-*): This.
80772 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80773 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80774
80775 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80776
80777 * sysdeps/unix/sysv/linux/kernel-features.h
80778 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80779 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80780 include <kernel-features.h>.
80781 [!__NR_ftruncate64]: Remove conditional code.
80782 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80783 [__NR_ftruncate64]: Make code unconditional.
80784 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80785 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80786 include <kernel-features.h>.
80787 [!__NR_ftruncate64]: Remove conditional code.
80788 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80789 [__NR_ftruncate64]: Make code unconditional.
80790 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80792 include <kernel-features.h>.
80793 [!__NR_ftruncate64]: Remove conditional code.
80794 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80795 [__NR_ftruncate64]: Make code unconditional.
80796 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80798 include <kernel-features.h>.
80799 [!__NR_ftruncate64]: Remove conditional code.
80800 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80801 [__NR_ftruncate64]: Make code unconditional.
80802 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80803
80804 * configure.in (libc_cv_fpie): Weaken to a compile test using
80805 LIBC_TRY_CC_OPTION.
80806 * configure: Regenerated.
80807
80808 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80809
80810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80814 Refreshed.
80815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80821 Refreshed.
80822
80823 2012-05-27 David S. Miller <davem@davemloft.net>
80824
80825 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80826 (___Q_zero): New.
80827 (__Q_simulate_exceptions): Return void. Change to simulate
80828 exceptions by writing into the %fsr.
80829 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80830 (__Qp_handle_exceptions): Likewise.
80831 (numbers): Delete.
80832 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80833 __Qp_handle_exceptions.
80834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80835 __Qp_handle_exceptions.
80836 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80837 as unused and give dummy FP_RND_NEAREST initializer.
80838 (FP_INHIBIT_RESULTS): Define.
80839 (___Q_simulate_exceptions): Update declaration.
80840 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80841 formatting.
80842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80843 as unused and give dummy FP_RND_NEAREST initializer.
80844 (__Qp_handle_exceptions): Update declaration.
80845 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80846 formatting.
80847
80848 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80849
80850 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80851 the temporary FPU control word.
80852 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80853 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80855 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80856 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80857 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80858 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80859 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80860 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80861 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80862 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80863
80864 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80865
80866 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80867 fields.
80868
80869 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80870
80871 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80872 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80873 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80874 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80875 Likewise.
80876 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80877 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80878 Likewise.
80879
80880 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80881
80882 * po/h.po: Update from translation team.
80883
80884 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80885
80886 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80887
80888 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80889 handling of denormals.
80890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80891 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80892 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80893 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80897 Likewise.
80898
80899 2012-05-26 Marek Polacek <polacek@redhat.com>
80900
80901 [BZ #14152]
80902 * math/libm-test.inc (fma_test): Don't always expect underflow
80903 exception.
80904
80905 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80906
80907 [BZ #12416]
80908 * elf/tst-execstack.c: Include stackinfo.h.
80909 (do_test): Adjust test case to ensure that pthread_getattr_np
80910 behaviour remains the same after marking stack executable.
80911
80912 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80913
80914 * sysdeps/unix/sysv/linux/kernel-features.h
80915 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80916 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80917 kernel-features.h.
80918 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80919 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80920 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80921 kernel-features.h.
80922 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80923 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80924
80925 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80926
80927 * configure.in: Define the default includes to being none.
80928 * configure: Regenerated.
80929
80930 2012-05-25 Roland McGrath <roland@hack.frob.com>
80931
80932 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80933 * sysdeps/x86_64/setjmp.S: Likewise.
80934 * sysdeps/i386/bsd-setjmp.S: Likewise.
80935 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80936 * sysdeps/i386/setjmp.S: Likewise.
80937 * sysdeps/i386/__longjmp.S: Likewise.
80938 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80939 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80940
80941 * include/stap-probe.h: New file.
80942 * configure.in: Handle --enable-systemtap.
80943 * configure: Regenerated.
80944 * config.h.in (USE_STAP_PROBE): New #undef.
80945 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80946 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80947 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80948
80949 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80950
80951 [BZ #13717]
80952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80953 to 2.4.0 where earlier.
80954 * sysdeps/unix/sysv/linux/configure: Regenerated.
80955 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80956 <kernel-features.h>.
80957 [__ASSUME_32BITUIDS]: Make code unconditional.
80958 [!__ASSUME_32BITUIDS]: Remove conditional code.
80959 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80960 <kernel-features.h>.
80961 [__ASSUME_32BITUIDS]: Make code unconditional.
80962 [!__ASSUME_32BITUIDS]: Remove conditional code.
80963 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80964 [__ASSUME_32BITUIDS]: Make code unconditional.
80965 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80966 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80967 <kernel-features.h>.
80968 [__ASSUME_32BITUIDS]: Make code unconditional.
80969 [!__ASSUME_32BITUIDS]: Remove conditional code.
80970 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80971 <kernel-features.h>.
80972 [__ASSUME_32BITUIDS]: Make code unconditional.
80973 [!__ASSUME_32BITUIDS]: Remove conditional code.
80974 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80975 <kernel-features.h>.
80976 [__ASSUME_32BITUIDS]: Make code unconditional.
80977 [!__ASSUME_32BITUIDS]: Remove conditional code.
80978 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80979 <kernel-features.h>.
80980 [__ASSUME_32BITUIDS]: Make code unconditional.
80981 [!__ASSUME_32BITUIDS]: Remove conditional code.
80982 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80983 <kernel-features.h>.
80984 [__ASSUME_32BITUIDS]: Make code unconditional.
80985 [!__ASSUME_32BITUIDS]: Remove conditional code.
80986 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80987 <kernel-features.h>.
80988 [__ASSUME_32BITUIDS]: Make code unconditional.
80989 [!__ASSUME_32BITUIDS]: Remove conditional code.
80990 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80991 <kernel-features.h>.
80992 [__ASSUME_32BITUIDS]: Make code unconditional.
80993 [!__ASSUME_32BITUIDS]: Remove conditional code.
80994 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80995 <kernel-features.h>.
80996 [__ASSUME_32BITUIDS]: Make code unconditional.
80997 [!__ASSUME_32BITUIDS]: Remove conditional code.
80998 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80999 <kernel-features.h>.
81000 [__ASSUME_32BITUIDS]: Make code unconditional.
81001 [!__ASSUME_32BITUIDS]: Remove conditional code.
81002 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
81003 <kernel-features.h>.
81004 [__ASSUME_32BITUIDS]: Make code unconditional.
81005 [!__ASSUME_32BITUIDS]: Remove conditional code.
81006 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
81007 <kernel-features.h>.
81008 [__NR_setresgid] (__setresgid): Do not declare.
81009 [__ASSUME_32BITUIDS]: Make code unconditional.
81010 [!__ASSUME_32BITUIDS]: Remove conditional code.
81011 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
81012 <kernel-features.h>.
81013 [__NR_setresuid] (__setresuid): Do not declare.
81014 [__ASSUME_32BITUIDS]: Make code unconditional.
81015 [!__ASSUME_32BITUIDS]: Remove conditional code.
81016 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
81017 <kernel-features.h>.
81018 [__ASSUME_32BITUIDS]: Make code unconditional.
81019 [!__ASSUME_32BITUIDS]: Remove conditional code.
81020 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
81021 <kernel-features.h>.
81022 [__ASSUME_32BITUIDS]: Make code unconditional.
81023 [!__ASSUME_32BITUIDS]: Remove conditional code.
81024 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
81025 <kernel-features.h>.
81026 [__ASSUME_32BITUIDS]: Make code unconditional.
81027 [!__ASSUME_32BITUIDS]: Remove conditional code.
81028 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
81029 <kernel-features.h>.
81030 [__ASSUME_32BITUIDS]: Make code unconditional.
81031 [!__ASSUME_32BITUIDS]: Remove conditional code.
81032 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
81033 <kernel-features.h>.
81034 [__ASSUME_32BITUIDS]: Make code unconditional.
81035 [!__ASSUME_32BITUIDS]: Remove conditional code.
81036 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
81037 <kernel-features.h>.
81038 [__ASSUME_32BITUIDS]: Make code unconditional.
81039 [!__ASSUME_32BITUIDS]: Remove conditional code.
81040 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
81041 <kernel-features.h>.
81042 [__ASSUME_32BITUIDS]: Make code unconditional.
81043 [!__ASSUME_32BITUIDS]: Remove conditional code.
81044 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
81045 <kernel-features.h>.
81046 [__ASSUME_32BITUIDS]: Make code unconditional.
81047 [!__ASSUME_32BITUIDS]: Remove conditional code.
81048 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
81049 <kernel-features.h>.
81050 [__ASSUME_32BITUIDS]: Make code unconditional.
81051 [!__ASSUME_32BITUIDS]: Remove conditional code.
81052 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
81053 <kernel-features.h>.
81054 [__ASSUME_32BITUIDS]: Make code unconditional.
81055 [!__ASSUME_32BITUIDS]: Remove conditional code.
81056 * sysdeps/unix/sysv/linux/kernel-features.h
81057 (__ASSUME_SETRESUID_SYSCALL): Remove.
81058 (__ASSUME_SETRESGID_SYSCALL): Likewise.
81059 (__ASSUME_32BITUIDS): Likewise.
81060 (__ASSUME_LDT_WORKS): Likewise.
81061 (__ASSUME_O_DIRECTORY): Likewise.
81062 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
81063 architecture but not kernel version.
81064 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
81065 (__ASSUME_MMAP2_SYSCALL): Likewise.
81066 (__ASSUME_STAT64_SYSCALL): Likewise.
81067 (__ASSUME_IPC64): Likewise.
81068 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
81069 <kernel-features.h>.
81070 [__ASSUME_32BITUIDS]: Make code unconditional.
81071 [!__ASSUME_32BITUIDS]: Remove conditional code.
81072 * sysdeps/unix/sysv/linux/opendir.c: Do not include
81073 <kernel-features.h>.
81074 [__ASSUME_O_DIRECTORY]: Make code unconditional.
81075 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
81076 132096]: Remove conditional code.
81077 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
81078 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
81079 <kernel-features.h>.
81080 [__ASSUME_32BITUIDS]: Make code unconditional.
81081 [!__ASSUME_32BITUIDS]: Remove conditional code.
81082 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
81083 <kernel-features.h>.
81084 [__ASSUME_32BITUIDS]: Make code unconditional.
81085 [!__ASSUME_32BITUIDS]: Remove conditional code.
81086 * sysdeps/unix/sysv/linux/setegid.c: Do not include
81087 <kernel-features.h>.
81088 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
81089 unconditional.
81090 (__setresgid): Do not declare.
81091 [__ASSUME_32BITUIDS]: Make code unconditional.
81092 [!__ASSUME_32BITUIDS]: Remove conditional code.
81093 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
81094 <kernel-features.h>.
81095 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
81096 unconditional.
81097 (__setresuid): Do not declare.
81098 [__ASSUME_32BITUIDS]: Make code unconditional.
81099 [!__ASSUME_32BITUIDS]: Remove conditional code.
81100 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
81101 <kernel-features.h>.
81102 [__ASSUME_32BITUIDS]: Make code unconditional.
81103 [!__ASSUME_32BITUIDS]: Remove conditional code.
81104 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
81105 <kernel-features.h>.
81106 [__ASSUME_32BITUIDS]: Make code unconditional.
81107 [!__ASSUME_32BITUIDS]: Remove conditional code.
81108
81109 2012-05-25 Richard Henderson <rth@twiddle.net>
81110
81111 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
81112 dl_hwcap to ifunc resolver.
81113 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
81114 elf_ifunc_invoke.
81115 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
81116 dl_hwcap to ifunc resolver.
81117 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
81118
81119 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81120
81121 [BZ #14153]
81122 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
81123 for |x| <= 2**-26, not 2**-57.
81124 * math/libm-test.inc (acos_test): Do not allow spurious underflow
81125 exception.
81126
81127 2012-05-24 Jeff Law <law@redhat.com>
81128
81129 * stdio-common/Makefile (tests): Add bug25.
81130 * stdio-common/bug25.c: New test.
81131
81132 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81133
81134 [BZ #13576]
81135 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
81136 multiple of MALLOC_ALIGNMENT in size.
81137 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
81138
81139 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81140
81141 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81142 Require >= 256.
81143 (FILENAME_MAX): Use macro-int-constant.
81144 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
81145 (_IOFBF): Use macro-int-constant.
81146 (_IOLBF): Likewise.
81147 (_IONBF): Likewise.
81148 (SEEK_CUR): Likewise.
81149 (SEEK_END): Likewise.
81150 (SEEK_SET): Likewise.
81151 (TMP_MAX): Likewise.
81152 (EOF): Use macro-int-constant. Require < 0.
81153 (NULL): Use macro-constant. Require == 0.
81154 (stdin): Require type to be FILE *.
81155 (stdout): Likewise.
81156 (stderr): Likewise.
81157 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81158 macro-int-constant.
81159 (EXIT_SUCCESS): Likewise.
81160 (NULL): Use macro-constant. Require == 0.
81161 (RAND_MAX): Use macro-int-constant.
81162 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81163 [C99-based standards] (strtof): Require function.
81164 [C99-based standards] (strtold): Likewise.
81165 [C99-based standards] (strtoll): Likewise.
81166 [C99-based standards] (strtoull): Likewise.
81167 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81168 [ISO || ISO99 || ISO11] (limits.h): Likewise.
81169 [ISO || ISO99 || ISO11] (math.h): Likewise.
81170 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81171 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81173
81174 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
81175
81176 [BZ #14132]
81177 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81178 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81179 * intl/dgettext.c (DCGETTEXT): Likewise.
81180 * intl/gettext.c (DCGETTEXT): Likewise.
81181 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81182 * posix/regex_internal.h (gettext): Likewise.
81183 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81184 Remove declaration.
81185 * include/argz.h (__argz_count_internal)
81186 (__argz_stringify_internal): Remove declaration.
81187 (__argz_count, __argz_stringify): Declare hidden proto.
81188 * intl/dcgettext.c: Remove use of INTDEF.
81189 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81190 * string/argz-stringify.c: Likewise.
81191 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81192 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81193 Declare hidden proto.
81194 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81195 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81196 Declare hidden proto.
81197 * include/stdio.h (__asprintf_internal): Don't declare.
81198 (__asprintf): Don't define as macro. Declare hidden proto.
81199 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81200 (__fsetlocking): Declare hidden proto.
81201 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81202 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81203 hidden proto.
81204 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81205 (_IO_setlinebuf): Remove use of INTUSE.
81206 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81207 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81208 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81209 Remove declaration.
81210 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81211 (_IO_do_flush): Remove use of INTUSE.
81212 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81213 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81214 (_IO_adjust_column, _IO_least_wmarker)
81215 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81216 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81217 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81218 (_IO_default_doallocate, _IO_wdefault_doallocate)
81219 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81220 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81221 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81222 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81223 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81224 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81225 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81226 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81227 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81228 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81229 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81230 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81231 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81232 proto.
81233 (_IO_flush_all_internal, _IO_adjust_column_internal)
81234 (_IO_default_uflow_internal, _IO_default_finish_internal)
81235 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81236 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81237 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81238 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81239 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81240 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81241 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81242 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81243 (_IO_file_close_internal, _IO_file_close_it_internal)
81244 (_IO_file_underflow_internal, _IO_file_overflow_internal)
81245 (_IO_file_init_internal, _IO_file_attach_internal)
81246 (_IO_file_fopen_internal, _IO_file_read_internal)
81247 (_IO_file_sync_internal, _IO_file_seek_internal)
81248 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81249 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81250 (_IO_str_underflow_internal, _IO_str_overflow_internal)
81251 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81252 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81253 (_IO_list_all_internal, _IO_link_in_internal)
81254 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81255 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81256 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81257 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81258 (_IO_do_write_internal, _IO_padn_internal)
81259 (_IO_getline_info_internal, _IO_getline_internal)
81260 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81261 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81262 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81263 (_IO_vfscanf_internal, _IO_vfprintf_internal)
81264 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81265 (_IO_init_internal, _IO_un_link_internal): Don't declare.
81266 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81267 with libc_hidden_ver, remove use of INTUSE.
81268 * libio/genops.c: Likewise.
81269 * libio/freopen.c: Likewise.
81270 * libio/freopen64.c: Likewise.
81271 * libio/iofclose.c: Likewise.
81272 * libio/iofdopen.c: Likewise.
81273 * libio/iofflush.c: Likewise.
81274 * libio/iofflush_u.c: Likewise.
81275 * libio/iofgets.c: Likewise.
81276 * libio/iofgets_u.c: Likewise.
81277 * libio/iofopen.c: Likewise.
81278 * libio/iofopncook.c: Likewise.
81279 * libio/iofread.c: Likewise.
81280 * libio/iofread_u.c: Likewise.
81281 * libio/ioftell.c: Likewise.
81282 * libio/iofwrite.c: Likewise.
81283 * libio/iogetline.c: Likewise.
81284 * libio/iogets.c: Likewise.
81285 * libio/iogetwline.c: Likewise.
81286 * libio/iopadn.c: Likewise.
81287 * libio/iopopen.c: Likewise.
81288 * libio/ioseekoff.c: Likewise.
81289 * libio/ioseekpos.c: Likewise.
81290 * libio/iosetbuffer.c: Likewise.
81291 * libio/iosetvbuf.c: Likewise.
81292 * libio/ioungetc.c: Likewise.
81293 * libio/ioungetwc.c: Likewise.
81294 * libio/iovdprintf.c: Likewise.
81295 * libio/iovsprintf.c: Likewise.
81296 * libio/iovsscanf.c: Likewise.
81297 * libio/memstream.c: Likewise.
81298 * libio/obprintf.c: Likewise.
81299 * libio/oldfileops.c: Likewise.
81300 * libio/oldiofclose.c: Likewise.
81301 * libio/oldiofdopen.c: Likewise.
81302 * libio/oldiofopen.c: Likewise.
81303 * libio/oldiopopen.c: Likewise.
81304 * libio/oldstdfiles.c: Likewise.
81305 * libio/putc.c: Likewise.
81306 * libio/setbuf.c: Likewise.
81307 * libio/setlinebuf.c: Likewise.
81308 * libio/stdfiles.c: Likewise.
81309 * libio/strops.c: Likewise.
81310 * libio/vasprintf.c: Likewise.
81311 * libio/vscanf.c: Likewise.
81312 * libio/vsnprintf.c: Likewise.
81313 * libio/vswprintf.c: Likewise.
81314 * libio/wfiledoalloc.c: Likewise.
81315 * libio/wfileops.c: Likewise.
81316 * libio/wgenops.c: Likewise.
81317 * libio/wmemstream.c: Likewise.
81318 * libio/wstrops.c: Likewise.
81319 * libio/__fpurge.c: Likewise.
81320 * libio/__fsetlocking.c: Likewise.
81321 * assert/assert.c: Likewise.
81322 * debug/fgets_chk.c: Likewise.
81323 * debug/fgets_u_chk.c: Likewise.
81324 * debug/fread_chk.c: Likewise.
81325 * debug/fread_u_chk.c: Likewise.
81326 * debug/gets_chk.c: Likewise.
81327 * debug/obprintf_chk.c: Likewise.
81328 * debug/vasprintf_chk.c: Likewise.
81329 * debug/vdprintf_chk.c: Likewise.
81330 * debug/vsnprintf_chk.c: Likewise.
81331 * debug/vsprintf_chk.c: Likewise.
81332 * malloc/mtrace.c: Likewise.
81333 * misc/error.c: Likewise.
81334 * misc/syslog.c: Likewise.
81335 * stdio-common/asprintf.c: Likewise.
81336 * stdio-common/fxprintf.c: Likewise.
81337 * stdio-common/getw.c: Likewise.
81338 * stdio-common/isoc99_fscanf.c: Likewise.
81339 * stdio-common/isoc99_scanf.c: Likewise.
81340 * stdio-common/isoc99_vfscanf.c: Likewise.
81341 * stdio-common/isoc99_vscanf.c: Likewise.
81342 * stdio-common/isoc99_vsscanf.c: Likewise.
81343 * stdio-common/printf-prs.c: Likewise.
81344 * stdio-common/printf_fp.c: Likewise.
81345 * stdio-common/printf_fphex.c: Likewise.
81346 * stdio-common/printf_size.c: Likewise.
81347 * stdio-common/putw.c: Likewise.
81348 * stdio-common/scanf.c: Likewise.
81349 * stdio-common/sprintf.c: Likewise.
81350 * stdio-common/tmpfile.c: Likewise.
81351 * stdio-common/vfprintf.c: Likewise.
81352 * stdio-common/vfscanf.c: Likewise.
81353 * stdlib/strfmon_l.c: Likewise.
81354 * sunrpc/openchild.c: Likewise.
81355 * sunrpc/xdr_stdio.c: Likewise.
81356 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81357 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81358
81359 2012-05-24 Roland McGrath <roland@hack.frob.com>
81360
81361 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81362
81363 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81364 in the third column, to generate for the shared library an IFUNC
81365 that uses _dl_vdso_vsym.
81366 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81367 * Makeconfig (object-suffixes-noshared): New variable.
81368
81369 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81370 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81371 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81372 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81373
81374 [BZ #14132]
81375 * include/sys/time.h (__gettimeofday): Remove macro.
81376 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81377 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81378 Remove INTDEF.
81379 (__gettimeofday): Add libc_hidden_def.
81380 (gettimeofday): Add libc_hidden_weak.
81381 * sysdeps/mach/gettimeofday.c: Likewise.
81382 * sysdeps/posix/gettimeofday.c: Likewise.
81383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81384 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81386 (__gettimeofday_internal): Remove strong_alias.
81387 (__gettimeofday): Add libc_hidden_def.
81388 (gettimeofday): Add libc_hidden_weak.
81389 * sysdeps/unix/syscalls.list (gettimeofday):
81390 Remove __gettimeofday_internal alias.
81391
81392 2012-05-24 Daniel Jacobowitz <drow@false.org>
81393 H.J. Lu <hongjiu.lu@intel.com>
81394
81395 [BZ #12495]
81396 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81397 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81398 (largebin_index_32_big): New.
81399 (largebin_index): Use it for 16-byte alignment.
81400 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81401 correction with front_misalign.
81402
81403 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81404
81405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81407 Likewise.
81408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81409 Likewise.
81410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81411 Likewise.
81412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81413 Likewise.
81414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81415 Likewise.
81416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81417 Likewise.
81418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81419 Likewise.
81420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81421 Likewise.
81422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81423 Likewise.
81424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81425 Likewise.
81426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81427 Likewise.
81428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81429 Likewise.
81430
81431 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81432 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81433
81434 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81435
81436 [BZ #10846]
81437 [BZ #14036]
81438 * math/libm-test.inc (exp_test): Add test from bug 14036.
81439 (pow_test): Add test from bug 10846.
81440
81441 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81442 and other flags.
81443 (special_function): Do not include flags in test name.
81444 (parse_args): Likewise.
81445 * sysdeps/i386/fpu/libm-test-ulps: Update.
81446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81447 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81448 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81450
81451 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81452 exceptions.
81453 * math/libm-test.inc ("Philosophy"): Update comment about
81454 exception testing.
81455 (UNDERFLOW_EXCEPTION): New macro.
81456 (UNDERFLOW_EXCEPTION_OK): Likewise.
81457 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81458 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81459 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81460 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81461 (INVALID_EXCEPTION_OK): Update value.
81462 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81463 (OVERFLOW_EXCEPTION_OK): Likewise.
81464 (IGNORE_ZERO_INF_SIGN): Likewise.
81465 (test_exceptions): Handle underflow exceptions.
81466 (acos_test): Update for underflow exception expectations.
81467 (cexp_test): Likewise.
81468 (clog_test): Likewise.
81469 (clog10_test): Likewise.
81470 (csqrt_test): Likewise.
81471 (ctan_test): Likewise.
81472 (ctanh_test): Likewise.
81473 (exp_test): Likewise.
81474 (exp10_test): Likewise.
81475 (exp2_test): Likewise.
81476 (expm1_test): Likewise.
81477 (fma_test): Likewise.
81478 (j0_test): Likewise.
81479 (jn_test): Likewise.
81480 (nexttoward_test): Likewise.
81481 (pow_test): Likewise.
81482 (scalbn_test): Likewise.
81483 (scalbln_test): Likewise.
81484 (tan_test): Likewise.
81485 (y1_test): Likewise.
81486 * sysdeps/i386/fpu/libm-test-ulps: Update.
81487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81488
81489 2012-05-23 David S. Miller <davem@davemloft.net>
81490
81491 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81492 (__libc_sigaction): Remove unused local variables.
81493
81494 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81495
81496 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81497
81498 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81499
81500 mktime: avoid signed integer overflow
81501 * time/mktime.c (__mktime_internal): Do not mishandle the case
81502 where diff == INT_MIN.
81503
81504 mktime: simplify computation of average
81505 * time/mktime.c (ranged_convert): Use new time_t_avg function
81506 instead of rolling our own (probably-slower) code.
81507
81508 mktime: do not assume signed right shift propagates sign bit
81509 * time/mktime.c (isdst_differ): New static function.
81510 (__mktime_internal): No need to normalize tm_isdst now.
81511 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81512 tm_isdst values.
81513
81514 mktime: merge another wrapv change from gnulib
81515 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81516 from some compilers.
81517
81518 mktime: remove incorrect attempt at unusual arithmetics
81519 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81520 The code didn't really work on such machines anyway.
81521 (TYPE_MINIMUM): Assume two's complement.
81522 (twos_complement_arithmetic): Verify that long_int and time_t
81523 are two's complement (or unsigned, in the latter case).
81524
81525 mktime: check signed shifts on long_int and time_t, too
81526 * time/mktime.c (SHR): Check that shifts work as desired
81527 on the types long_int and time_t too, as SHR is used on
81528 such types.
81529
81530 mktime: do not assume 'long' is wide enough
81531 * time/mktime.c (verify): Move decl up.
81532 (long_int): New type.
81533 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81534 to remove assumption in the code that 'long' is wide enough to
81535 store year values. This assumption is not true on x32 and on
81536 some non-glibc platforms.
81537
81538 mktime: merge wrapv change from gnulib
81539 * time/mktime.c (WRAPV): New macro.
81540 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81541 (guess_time_tm, __mktime_internal): Do not assume that signed
81542 integer overflow wraps around; modern compilers generate code
81543 where this assumption is no longer valid.
81544
81545 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81546
81547 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81548 Replace "jmp L(pseudo_end)" with "ret".
81549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81550 Likewise.
81551
81552 2012-05-23 Andreas Jaeger <aj@suse.de>
81553
81554 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81555 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81556
81557 2012-05-23 Andreas Jaeger <aj@suse.de>
81558 Maximilian Attems <max@stro.at>
81559
81560 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81561 New macros.
81562
81563 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81564
81565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81566 code so that pseudo_end is just ret and the stack pointer is
81567 correct also for static library in error case.
81568
81569 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81570
81571 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81572 move to syscalls.list.
81573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81577
81578 * manual/install.texi (Running make install): Do not mention Linux
81579 kernel version for which pt_chown is not needed.
81580 (Linux): Do not mention problems with nscd with 2.0 kernels.
81581 * INSTALL: Regenerated.
81582
81583 2012-05-23 Andreas Jaeger <aj@suse.de>
81584
81585 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81586 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81587 macro.
81588 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81590 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81592 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81594 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81596 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81598 * sysdeps/unix/sysv/linux/bits/in.h
81599 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81600
81601 2012-05-22 Roland McGrath <roland@hack.frob.com>
81602
81603 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81604 (PREPARE_VERSION): Just use assert instead, it will be elided
81605 under [NDEBUG] anyway.
81606
81607 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81608
81609 * sysdeps/unix/sysv/linux/Makefile: Include
81610 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81611 (sysdep_routines): Remove sysctl.
81612 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81613 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81614 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81615 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81616 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81617
81618 2012-05-22 Andreas Jaeger <aj@suse.de>
81619
81620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81621 that pseudo_end is just ret and the stack pointer is correct also
81622 for static library in error case.
81623
81624 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81625
81626 [BZ #14122]
81627 * nss/nsswitch.c (defconfig_entries): New variable.
81628 (__nss_database_lookup): Don't leak defconfig entries.
81629 (nss_parse_service_list): Don't leak on error paths.
81630 (free_database_entries): New function.
81631 (free_defconfig): New function.
81632 (free_mem): Move common code to free_database_entries.
81633
81634 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81635
81636 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81637 Add arch_prctl.
81638 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81639
81640 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81641 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81643 New macro.
81644 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81645 (INTERNAL_SYSCALL_TYPES): Likewise.
81646 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81647 (LOAD_REGS_TYPES_[1-6]): Likewise.
81648 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81649 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81650
81651 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81652
81653 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81654 copysignl for GLIBC_2_0.
81655 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81656 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81658 logbl for GLIBC_2_0.
81659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81660 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81661
81662 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81663
81664 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81665 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81666
81667 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81668 Use "neg %eax".
81669
81670 * time/mktime.c: Update copyright years.
81671
81672 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81673
81674 mktime: merge comment-quoting-style change from gnulib
81675 * time/mktime.c: Quote 'like this' in comments.
81676 The GNU coding standards suggest that we no longer quote `like this',
81677 as "`" and "'" are typically rendered asymmetrically nowadays.
81678 The typical gnulib style is to quote 'like this' when quoting
81679 code, and "like this" when quoting English.
81680
81681 * time/mktime.c (compile-command): Add "-I.".
81682
81683 mktime: merge mktime-internal.h change from gnulib
81684 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81685
81686 mktime: merge time_r change from gnulib
81687 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81688
81689 mktime: merge DEBUG change from gnulib
81690 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81691 case system <time.h> has a #define.
81692
81693 mktime: merge <sys/types.h> change from gnulib
81694 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81695 since <time.t> is now guaranteed to define time_t.
81696
81697 mktime: merge HAVE_CONFIG_H change from gnulib
81698 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81699
81700 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81701
81702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81703 Use "neg %eax".
81704
81705 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81706 __rlim_t cast.
81707 (struct rusage): Use anonymous union to pad each field to
81708 __syscall_slong_t.
81709
81710 2012-05-21 David S. Miller <davem@davemloft.net>
81711
81712 * Makefules (o-iterator): Remove .s cases.
81713 (compile-command.s): Delete.
81714 (COMPILE.s): Delete.
81715 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81716
81717 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81718
81719 * configure.in (libc_cv_predef_stack_protector): Only consider
81720 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81721 * configure: Regenerated.
81722
81723 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81724
81725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81726 New macro. Use R*LP on int and pointer.
81727 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81728 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81729 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81730 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81731
81732 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81733 [__WORDSIZE_TIME64_COMPAT32] instead of
81734 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81735 (struct utmp): Likewise.
81736 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81737 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81738 Renamed to ...
81739 (__WORDSIZE_TIME64_COMPAT32): This.
81740 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81741 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81742 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81743 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81744 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81745 (__WORDSIZE_TIME64_COMPAT32): New macro.
81746
81747 2012-05-21 Andreas Jaeger <aj@suse.de>
81748
81749 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81750 only if [SHARED]. Add prototype for __wcschr_ia32.
81751
81752 2012-05-21 Roland McGrath <roland@hack.frob.com>
81753
81754 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81755 of %rbp unmolested in the jmp_buf while mangling the low bits.
81756 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81757 unmolested high bits of %rbp while demangling the low bits.
81758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81759
81760 2012-05-21 Andreas Jaeger <aj@suse.de>
81761
81762 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81763 * sunrpc/svc_simple.c: Use it for registerrpc.
81764 * sunrpc/xcrypt.c: Use it for passwd2des.
81765
81766 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81767
81768 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81769
81770 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81771 Don't define if [__SYSCALL_WORDSIZE != 32].
81772 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81773 New macro.
81774
81775 2012-05-21 Bruno Haible <bruno@clisp.org>
81776 Andreas Jaeger <aj@suse.de>
81777
81778 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81779 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81780 inptr and inend for must_buffer_ch.
81781 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81782 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81783 * stdio-common/Makefile (tests): Remove bug15.
81784 (bug15-ENV): Remove macro.
81785 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81786 anymore.
81787
81788 2012-05-19 Andreas Jaeger <aj@suse.de>
81789 Roland McGrath <roland@hack.frob.com>
81790
81791 * manual/contrib.texi: Completely rewritten. It contains now an
81792 alphabetical list of contributors and their contributions.
81793
81794 2012-05-21 Richard Henderson <rth@twiddle.net>
81795
81796 * misc/getauxval.c (__getauxval): Use unsigned long int.
81797 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81798 (getauxval): Use unsigned long int.
81799
81800 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81801
81802 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81803
81804 2012-05-21 Roland McGrath <roland@hack.frob.com>
81805
81806 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81807 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81808 __alignof__ (long double).
81809
81810 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81811
81812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81813
81814 2012-05-20 Richard Henderson <rth@twiddle.net>
81815
81816 * misc/getauxval.c: New file.
81817 * misc/sys/auxv.h: New file.
81818 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81819 (routines): Add getauxval.
81820 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81821 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81822 * elf/dl-sysdep.c (_dl_auxv): Remove.
81823 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81824 * elf/dl-support.c (_dl_auxv): New variable.
81825 (_dl_aux_init): Initialize it.
81826 * manual/startup.texi (Auxiliary Vector): New node.
81827 * sysdeps/generic/bits/hwcap.h: New file.
81828 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81829 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81830 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81831 * sysdeps/sparc/sysdep.h: ... here. Include it.
81832 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81835 Update.
81836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81844
81845 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81846
81847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81848
81849 2012-05-19 David S. Miller <davem@davemloft.net>
81850
81851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81852
81853 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81854
81855 [BZ #14123]
81856 * math/s_ccosh.c: Include <float.h>
81857 (__ccosh): Avoid internal overflow calculating sinh and cosh
81858 values before multiplying by sin and cos values.
81859 * math/s_ccoshf.c: Likewise.
81860 * math/s_ccoshl.c: Likewise.
81861 * math/s_csin.c: Likewise.
81862 * math/s_csinf.c: Likewise.
81863 * math/s_csinl.c: Likewise.
81864 * math/s_csinh.c: Likewise.
81865 * math/s_csinhf.c: Likewise.
81866 * math/s_csinhl.c: Likewise.
81867 * math/libm-test.inc (ccos_test): Add more tests.
81868 (ccosh_test): Likewise.
81869 (csin_test): Likewise.
81870 (csinh_test): Likewise.
81871 * sysdeps/i386/fpu/libm-test-ulps: Update.
81872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81873
81874 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81875
81876 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81877 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81878
81879 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81880
81881 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81882
81883 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81884 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81885 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81886 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81887 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81888 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81889 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81890 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81891 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81892 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81893 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81894 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81895 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81896 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81897 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81898 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81899 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81900 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81901 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81902 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81903 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81904 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81905 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81906 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81907 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81908 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81909 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81910 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81911 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81912 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81913 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81914
81915 2012-05-18 Andreas Jaeger <aj@suse.de>
81916
81917 * csu/.gitignore: Delete.
81918
81919 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81920
81921 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81922 (timex): Use __syscall_slong_t.
81923
81924 2012-05-18 Andreas Jaeger <aj@suse.de>
81925 Carlos O'Donell <carlos_odonell@mentor.com>
81926
81927 * manual/install.texi (Configuring and compiling): Update
81928 description about files modified in the source directory.
81929 * INSTALL: Regenerated.
81930
81931 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81932
81933 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81934 value. Use "or" to set return value to -1.
81935 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81936 negate return value.
81937
81938 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81939
81940 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81941 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81942 failure if the compiler has Graphite support disabled.
81943 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81944 Likewise.
81945 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81946 (CFLAGS-memmove.c): Likewise.
81947 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81948 Likewise.
81949
81950 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81951
81952 * sysdeps/x86_64/x32/_itoa.h: New file.
81953
81954 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81955 getdents system call only if kernel and user dirents have the
81956 same d_ino and d_off.
81957
81958 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81959 LLONG_MAX != LONG_MAX.
81960 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81961 (_fitoa_word): Likewise.
81962
81963 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81964 years.
81965 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81966 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81967 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81968
81969 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81970 include <bits/wordsize.h>. Check __x86_64__ instead of
81971 __WORDSIZE.
81972 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81973 if __x86_64__ is defined. Use anonymous union on fpstate.
81974
81975 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81976 anonymous union.
81977
81978 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81979
81980 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81981 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81983 Refer to _rtld_local_ro instead of _rtld_global_ro.
81984 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81985 Likewise.
81986 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81987 Likewise.
81988 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81989 Likewise.
81990 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81991 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81992 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81993
81994 [BZ #10882]
81995 * sysdeps/powerpc/powerpc32/dl-machine.c
81996 (__elf_machine_runtime_setup) [PROF]: Don't reference
81997 _dl_prof_resolve.
81998
81999 2012-05-18 Andreas Jaeger <aj@suse.de>
82000
82001 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
82002 function only available for GCCs before 3.4 since GCC 3.4
82003 introduced a builtin.
82004 (lrint): Likewise.
82005 (llrintf): Likewise.
82006 (llrint): Likewise.
82007 (fmaxf): Likewise.
82008 (fmax): Likewise.
82009 (fminf): Likewise.
82010 (fmin): Likewise.
82011 (rint): Likewise.
82012 (rintf): Likewise.
82013 (nearbyint): Likewise.
82014 (nearbyintf): Likewise.
82015 (ceil): Likewise.
82016 (ceilf): Likewise.
82017 (floor): Likewise.
82018 (floorf): Likewise.
82019
82020 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
82021
82022 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
82023 on both fields and cast pointer to __syscall_ulong_t.
82024
82025 * bits/types.h (__fsword_t): New type.
82026 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
82027 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
82028 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82029 (__FSWORD_T_TYPE): Likewise.
82030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82031 (__FSWORD_T_TYPE): Likewise.
82032 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82033 (__FSWORD_T_TYPE): Likewise.
82034 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
82035 (__FSWORD_T_TYPE): Likewise.
82036 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
82037 __SWORD_TYPE with __fsword_t.
82038 (statfs64): Likewise.
82039
82040 2012-05-17 David S. Miller <davem@davemloft.net>
82041
82042 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
82043
82044 2012-05-17 Andreas Jaeger <aj@suse.de>
82045
82046 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
82047 warning.
82048
82049 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
82050
82051 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
82052
82053 2012-05-17 Andreas Jaeger <aj@suse.de>
82054
82055 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
82056 when it is used.
82057
82058 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
82059
82060 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
82061
82062 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
82063
82064 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
82065 * sysdeps/x86_64/tst-mallocalign1.c: New file.
82066
82067 2012-05-17 Andreas Jaeger <aj@suse.de>
82068 Carlos O'Donell <carlos_odonell@mentor.com>
82069
82070 [BZ #14059]
82071 * sysdeps/x86_64/multiarch/init-arch.h
82072 (bit_YMM_Usable): Rename to...
82073 (bit_AVX_Usable): ... this.
82074 (bit_FMA4_Usable): New macro.
82075 (bit_XMM_state): New macro.
82076 (bit_YMM_state): New macro.
82077 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
82078 [__ASSEMBLER__] (index_AVX_Usable): ... this.
82079 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
82080 (CPUID_OSXSAVE): New macro.
82081 (CPUID_AVX): New macro.
82082 (CPUID_FMA4): New macro.
82083 (index_YMM_Usable): Rename to...
82084 (index_AVX_Usable): ... this.
82085 (HAS_AVX): Use HAS_ARCH_FEATURE.
82086 (HAS_FMA4): Likewise.
82087 (HAS_YMM_USABLE): Remove.
82088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82089 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
82090 are present.
82091 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
82092 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
82093 * sysdeps/x86_64/multiarch/Makefile: Likewise.
82094 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
82095 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
82096
82097 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
82098
82099 * math/libm-test.c: Support platforms without multiple rounding modes.
82100 * math/bug-nextafter.c: Support platforms without FP exceptions.
82101 * math/bug-nexttoward.c: Likewise.
82102 * math/test-fenv.c: Likewise.
82103 * math/test-misc.c: Likewise.
82104 * stdlib/bug-getcontext.c: Likewise.
82105
82106 2012-05-17 Andreas Jaeger <aj@suse.de>
82107
82108 * manual/examples/search.c (critter_cmp): Change signature to
82109 avoid warnings.
82110 * manual/string.texi (Collation Functions): Likewise.
82111
82112 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82113
82114 * bits/types.h: Fold copyright years.
82115 * bits/typesizes.h: Likewise.
82116 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
82117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
82118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
82119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
82120 * time/time.h: Likewise.
82121
82122 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
82123
82124 [BZ #208]
82125 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
82126 in instead of returning them. Return void.
82127 (__libc_mallinfo): Accumulate over all arenas.
82128 (__malloc_stats): Adjust for change in int_mallinfo interface.
82129
82130 2012-05-16 Roland McGrath <roland@hack.frob.com>
82131
82132 [BZ #10375]
82133 * configure.in (NM): Add AC_CHECK_TOOL for it.
82134 (libc_extra_cflags): New substituted variable.
82135 Check for -fstack-protector being used implicitly.
82136 * configure: Regenerated.
82137 * config.make.in (config-extra-cflags): New variable,
82138 gets @libc_extra_cflags@.
82139 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
82140
82141 [BZ #10375]
82142 * configure.in: Check for _FORTIFY_SOURCE being predefined.
82143 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82144 * configure: Regenerated.
82145 * config.make.in (CPPUNDEFS): New substituted variable.
82146 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82147 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82148 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
82149
82150 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82151
82152 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82153 (mq_attr): Use __syscall_slong_t.
82154
82155 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82156
82157 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82158 Check __x86_64__ instead of __WORDSIZE.
82159 (_STAT_VER_LINUX): Likewise.
82160 (stat): Check __x86_64__ instead of __WORDSIZE. Use
82161 __syscall_ulong_t and __syscall_slong_t.
82162 (stat64): Likewise.
82163
82164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82165
82166 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82167
82168 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82169
82170 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82171
82172 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82173
82174 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82175 __syscall_ulong_t.
82176
82177 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82178 include <bits/wordsize.h>. Check __x86_64__ instead of
82179 __WORDSIZE.
82180 (greg_t): Use "__extension__ long long int" if __x86_64__ is
82181 defined.
82182 (mcontext_t): Replace "unsigned long" with "unsigned long long".
82183
82184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82185 include <bits/wordsize.h>. Check __x86_64__ instead of
82186 __WORDSIZE.
82187 (user_regs_struct): Use "__extension__ unsigned long long"
82188 instead of "unsigned long" if __x86_64__ is defined.
82189 (user): Likewise. Pad after pointer field if __ILP32__ is
82190 defined.
82191
82192 2012-05-16 Joseph Myers <joseph@codesourcery.com>
82193
82194 * configure.in (makeinfo): Require version 4.5 or later. Allow
82195 versions 5 to 9.
82196 * configure: Regenerated.
82197 * manual/install.texi (texinfo): Increase version requirement to
82198 4.5 or later.
82199 * INSTALL: Regenerated.
82200
82201 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82202
82203 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82204
82205 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82206
82207 * sysdeps/x86_64/x32/ffs.c: New file.
82208
82209 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82210 __syscall_ulong_t.
82211 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82212 defined. Use __syscall_ulong_t.
82213 (shminfo): Use __syscall_ulong_t.
82214 (shm_info): Likewise.
82215
82216 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82217 __syscall_ulong_t.
82218
82219 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82220 <bits/wordsize.h>.
82221 (msgqnum_t): Use __syscall_ulong_t.
82222 (msglen_t): Likewise.
82223 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
82224 __syscall_ulong_t.
82225
82226 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82227 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82228
82229 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82230
82231 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82232 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82233
82234 * sysvipc/sys/msg.h (msgbuf): Replace long int with
82235 __syscall_slong_t.
82236
82237 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82238 include <bits/wordsize.h>. Check __x86_64__ instead of
82239 __WORDSIZE.
82240
82241 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82242 "unsigned long long int" if __x86_64__ is defined.
82243 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82244
82245 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82246 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82247 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82248
82249 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82250 <stdint.h>.
82251 (GET_PC): Cast to uintptr_t first.
82252 (GET_FRAME): Likewise.
82253 (GET_STACK): Likewise.
82254
82255 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82256 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82257 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82258 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82259 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82260 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82261 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82262 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82263 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82264 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82265 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82267 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82268 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82269 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82272 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82273 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82274 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82275 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82276 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82277 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82278 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82279 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82281 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82282 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82283 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82284
82285 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
82286
82287 * Makerules (+depfiles): Also collect depfiles from .oS in
82288 $(extra-objs).
82289 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82290 .oS, $(libnldbl-routines)).
82291
82292 * Makerules (native-compile-mkdep-flags): Define.
82293 * sunrpc/Makefile (extra-objs): Add $(addprefix
82294 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82295 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82296 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
82297 calling $(make-target-directory).
82298
82299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82300
82301 * bits/types.h (__snseconds_t): Removed.
82302 * time/time.h (struct timespec): Replace __snseconds_t with
82303 __syscall_slong_t.
82304 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82305 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82306 Likewise.
82307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82308 (__SNSECONDS_T_TYPE): Likewise.
82309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82310 (__SNSECONDS_T_TYPE): Likewise.
82311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82312 (__SNSECONDS_T_TYPE): Likewise.
82313
82314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82315
82316 * sysdeps/mach/hurd/bits/typesizes.h
82317 (__SYSCALL_SLONG_TYPE): New macro.
82318 (__SYSCALL_ULONG_TYPE): Likewise.
82319
82320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82321
82322 * bits/types.h (__syscall_slong_t): New type.
82323 (__syscall_ulong_t): Likewise.
82324
82325 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82326 (__SYSCALL_ULONG_TYPE): Likewise.
82327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82328 (__SYSCALL_SLONG_TYPE): Likewise.
82329 (__SYSCALL_ULONG_TYPE): Likewise.
82330 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82331 (__SYSCALL_SLONG_TYPE): Likewise.
82332 (__SYSCALL_ULONG_TYPE): Likewise.
82333 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82334 (__SYSCALL_SLONG_TYPE): Likewise.
82335 (__SYSCALL_ULONG_TYPE): Likewise.
82336
82337 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82338
82339 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82340 Add sigaltstack-offsets.sym.
82341 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82342 <sigaltstack-offsets.h>.
82343 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
82344 longjmp_msg pointer.
82345 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
82346 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82347 signal stack.
82348 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82349
82350 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82351
82352 * elf/stackguard-macros.h: Remove file.
82353 * sysdeps/generic/stackguard-macros.h: New file.
82354 * sysdeps/i386/stackguard-macros.h: Likewise.
82355 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82356 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82357 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82358 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82359 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82360 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82361 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82362 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82363 <elf/stackguard-macros.h>.
82364
82365 [BZ #14109]
82366 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82367 __aligned__ in attribute.
82368 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82369 (gregset_t): Likewise.
82370
82371 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82372
82373 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82374 * sysdeps/x86_64/64/Implies-after: Here. New file.
82375 * sysdeps/x86_64/x32/Implies-after: New file.
82376
82377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82378
82379 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82380 and access return value for _dl_profile_fixup. Use R10_LP to
82381 load frame size.
82382
82383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82384
82385 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82386
82387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82388
82389 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82390 * sysdeps/x86_64/x32/sysdep.h: New file.
82391
82392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82393
82394 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82395 * sysdeps/x86_64/setjmp.S: Likewise.
82396
82397 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82398
82399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82400 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82401 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82402 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82403 remove unused global constant.
82404
82405 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82406
82407 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82408 include of <not-cancel.h>.
82409
82410 2012-05-15 Roland McGrath <roland@hack.frob.com>
82411
82412 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82413
82414 2012-05-15 Jeff Law <law@redhat.com>
82415 Andreas Jaeger <aj@suse.de>
82416
82417 [BZ #13594]
82418 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82419 out from...
82420 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82421 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82422 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82423 code changing __hst_map_handle.map.
82424
82425 2012-05-15 Roland McGrath <roland@hack.frob.com>
82426
82427 * configure.in (sysnames): Look for Implies-before and Implies-after
82428 files.
82429 * configure: Regenerated.
82430
82431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82432
82433 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82434 8-byte data alignment with LP_SIZE alignment.
82435
82436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82437
82438 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82439 into R10_LP.
82440
82441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82442
82443 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82444
82445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82446
82447 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82448 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82450 Likewise.
82451 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82452
82453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82454
82455 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82456 (stackinfo_sub_sp): Likewise.
82457
82458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82459
82460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82461 RAX_LP.
82462
82463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82464
82465 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82466 into R*_LP.
82467
82468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82469
82470 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82471 sizes into R*_LP.
82472
82473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82474
82475 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82476
82477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82478
82479 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82480 into R11_LP and load __x86_64_shared_cache_size_half into
82481 R8_LP.
82482
82483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82484
82485 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82486 R8_LP.
82487
82488 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82489
82490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82491 logb for POWER7.
82492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82493 logbf for POWER7.
82494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82495 logbl for POWER7.
82496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82497 powerpc32/power7/fpu/s_logb.c via #include.
82498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82499 powerpc32/power7/fpu/s_logbf.c via #include.
82500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82501 powerpc32/power7/fpu/s_logbl.c via #include.
82502
82503 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82504
82505 * README.libm: Remove file.
82506
82507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82508
82509 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82510 count for x32. Use R*_LP and omit operand-size suffix.
82511
82512 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82513
82514 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82515 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82516 * sysdeps/x86_64/x32/shlib-versions: New file.
82517
82518 2012-05-14 Roland McGrath <roland@hack.frob.com>
82519
82520 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82521 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82522 Use _dl_fatal_printf instead.
82523
82524 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82525
82526 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82527 set if not set by the user. Do not allow for being unset.
82528 * sysdeps/unix/sysv/linux/configure: Regenerated.
82529
82530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82531
82532 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82533 the `q' suffix from lea and replace .quad with ASM_ADDR.
82534
82535 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82536
82537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82538 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82539 instead of $17.
82540 (PTR_DEMANGLE): Likewise.
82541
82542 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82543
82544 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82545 (LP_OP): Likewise.
82546 (ASM_ADDR): Likewise.
82547 (RAX_LP): Likewise.
82548 (RBP_LP): Likewise.
82549 (RBX_LP): Likewise.
82550 (RCX_LP): Likewise.
82551 (RDI_LP): Likewise.
82552 (RSI_LP): Likewise.
82553 (RSP_LP): Likewise.
82554 (R8_LP): Likewise.
82555 (R9_LP): Likewise.
82556 (R10_LP): Likewise.
82557 (R10_LP): Likewise.
82558 (R11_LP): Likewise.
82559 (R12_LP): Likewise.
82560 (R13_LP): Likewise.
82561 (R14_LP): Likewise.
82562 (R15_LP): Likewise.
82563
82564 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82565
82566 * sysdeps/x86_64/x32/dl-machine.h: New file.
82567
82568 2012-05-14 Andreas Jaeger <aj@suse.de>
82569
82570 * manual/Makefile (subdir): Remove export of subdir.
82571 (all): Remove target.
82572 (.PHONY): Remove all from list.
82573 (mkinstalldirs): Remove.
82574 (.PHONY): Remove installdirs from list.
82575 ($(inst_infodir)/libc.info): Use make-target-directory.
82576 (installdirs): Remove.
82577 (subdir_%): Remove.
82578 (glibc-targets): Remove.
82579 (lib): Remove.
82580 (stubs): Remove.
82581 ($(objpfx)stubs ../po/manual.pot): Remove.
82582 ($(objpfx)stamp%): Remove.
82583 (make-target-directory): Remove.
82584 (subdir_install): Remove.
82585 (routines): Remove.
82586 (aux): Remove.
82587 (sources): Remove.
82588 (objects): Remove.
82589 (headers): Remove.
82590
82591 [BZ #13750]
82592 * manual/.gitignore: Remove, it's not needed anymore.
82593 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82594 all files in it.
82595 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82596 directory.
82597 (texis): Renamed to $(objpfx)texis.
82598 (texis-path): New, contains path to generated files.
82599 (chapters.%): Use texis-path for complete path, add extra argument
82600 libc-texinfo.sh.
82601 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82602 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82603 (summary,texi, stamp-summary): Use complete path of
82604 files. Generate files in build dir.
82605 (dir-add.texi): Build in build dir.
82606 (libm-err.texi,stamp-libm-err): Likewise.
82607 (version.texi, stamp-version): Likewise.
82608 (.%c.texi): Likewise.
82609 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82610 (mostlyclean): Remove target.
82611 (realclean): Remove target.
82612 (generated): Add new variable with contents from mostlyclean and
82613 realclean, remove entries duplicated in common-mostlyclean, add
82614 stamp-libm-err and stamp-version.
82615 (generated-dirs): Add libc directory.
82616 ($(inst_infodir)/libc.info): Install files from build dir.
82617
82618 * manual/install.texi (Configuring and compiling): Adjust since
82619 the info files are not part of the tar ball anymore.
82620
82621 2012-05-14 Andreas Jaeger <aj@suse.de>
82622
82623 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82624 variable.
82625
82626 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82627
82628 [BZ #13717]
82629 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82630 to 2.2.0 where earlier.
82631 * sysdeps/unix/sysv/linux/configure: Regenerated.
82632 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82633 Remove conditional code.
82634 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82635 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82636 Remove conditional code.
82637 [!__NR_lchown]: Likewise.
82638 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82639 [__NR_lchown]: Likewise.
82640 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82641 comment referencing __ASSUME_LCHOWN_SYSCALL.
82642 * sysdeps/unix/sysv/linux/i386/sigaction.c
82643 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82644 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82645 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82646 Remove conditional code.
82647 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82648 (__protocol_available): Remove #if 0 code.
82649 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82650 conditional code.
82651 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82652 * sysdeps/unix/sysv/linux/kernel-features.h
82653 (__ASSUME_GETCWD_SYSCALL): Don't define.
82654 (__ASSUME_REALTIME_SIGNALS): Likewise.
82655 (__ASSUME_PREAD_SYSCALL): Likewise.
82656 (__ASSUME_PWRITE_SYSCALL): Likewise.
82657 (__ASSUME_POLL_SYSCALL): Likewise.
82658 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82659 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82660 non-SPARC.
82661 (__ASSUME_SIOCGIFNAME): Don't define.
82662 (__ASSUME_MSG_NOSIGNAL): Likewise.
82663 (__ASSUME_SENDFILE): Define unconditionally.
82664 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82665 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82666 conditional code.
82667 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82668 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82669 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82670 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82671 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82672 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82673 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82675 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82681 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82682 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82687 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82690 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82693 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82696 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82698 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82699 Remove conditional code.
82700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82701 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82702 Remove conditional code.
82703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82704 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82705 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82706 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82707 Remove conditional code.
82708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82709 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82710 Remove conditional code.
82711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82712 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82713 Remove conditional code.
82714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82715 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82716 Remove conditional code.
82717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82718 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82719 Remove conditional code.
82720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82721 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82722 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82724 * sysdeps/unix/sysv/linux/sigaction.c
82725 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82726 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82727 * sysdeps/unix/sysv/linux/sigpending.c
82728 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82729 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82730 * sysdeps/unix/sysv/linux/sigprocmask.c
82731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82733 * sysdeps/unix/sysv/linux/sigsuspend.c
82734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82736 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82737 (__libc_missing_rt_sigs): Remove.
82738 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82739 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82740 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82741 Remove conditional code.
82742 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82743 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82744 return 1.
82745 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82746 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82747 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82748 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82749
82750 2012-05-14 Andreas Jaeger <aj@suse.de>
82751
82752 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82753 it's not used in glibc.
82754 (__coshm1): Likewise.
82755 (__acosh1p): Likewise.
82756 (__sgn): Likewise.
82757
82758 * manual/string.texi (Copying and Concatenation): Add missing
82759 variable in concat example.
82760 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82761
82762 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82763
82764 [BZ #14103]
82765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82766 __builtin_clzl with __builtin_clzll.
82767
82768 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82769
82770 [BZ #14104]
82771 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82772 libc_freeres_ptr.
82773
82774 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82775
82776 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82777 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82778 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82779 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82780
82781 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82782
82783 * NEWS: Update ia64 info.
82784
82785 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82786
82787 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82788 used as bcopy.
82789
82790 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82791
82792 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82793 * sysdeps/unix/syscalls.list (dup3): Likewise.
82794 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82795 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82796
82797 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82798
82799 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82800 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82801
82802 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82803
82804 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82805 thread pointer.
82806 (TLS_IE): Use mov/add instead of movq/addq to load thread
82807 pointer.
82808 (TLS_GD_PREFIX): New.
82809 (TLS_GD): Use it.
82810
82811 2012-05-11 David S. Miller <davem@davemloft.net>
82812
82813 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82814 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82815 (_FPU_SETCW): Likewise.
82816
82817 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82818
82819 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82820 is 32-byte aligned.
82821
82822 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82823
82824 [BZ #11837]
82825 * iconvdata/gb18030.c: Update tables.
82826 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82827 characters specially.
82828 (BODY for TO_LOOP): Add encoding of missing ranges.
82829
82830 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82831
82832 [BZ #13673]
82833 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82834 * sysdeps/mach/hurd/dup3.c: Likewise.
82835 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82836 * sysdeps/powerpc/memmove.c:: Likewise.
82837
82838 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82839
82840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82841 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82842
82843 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82844
82845 * elf/elf.h (R_X86_64_RELATIVE64): New.
82846 (R_X86_64_NUM): Updated.
82847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82848 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82849 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82850 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82851 tst-quad1pie tst-quad2pie
82852 (modules-names): Add tst-quadmod1 tst-quadmod2.
82853 ($(objpfx)tst-quad1): New dependency.
82854 ($(objpfx)tst-quad2): Likewise.
82855 ($(objpfx)tst-quad1pie): Likewise.
82856 ($(objpfx)tst-quad2pie): Likewise.
82857 * sysdeps/x86_64/tst-quad1.c: New file.
82858 * sysdeps/x86_64/tst-quad1pie.c: New file.
82859 * sysdeps/x86_64/tst-quad2.c: Likewise.
82860 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82861 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82862 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82863 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82864 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82865
82866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82867
82868 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82869 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82870 * streams/stropts.h (t_scalar_t): Define type.
82871
82872 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82873 (_PATH_PRESERVE): Set to "/var/lib".
82874 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82875
82876 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82877 instead of int.
82878
82879 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82880 if __dir_mkfile succeeded.
82881
82882 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82883 checking for _hurd_dtablesize. Unlock it right after having
82884 finished _hurd_dtable allocation.
82885
82886 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82887
82888 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82889 * sysdeps/mach/hurd/configure: Regenerated.
82890 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82891 special-casing to...
82892 * sysdeps/gnu/configure.in: ... this new file.
82893 * sysdeps/unix/sysv/linux/configure: Regenerated.
82894 * sysdeps/gnu/configure: New generated file.
82895
82896 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82897 for Linux: use nsec instead of usec, as well as:
82898 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82899 members of type struct timespec.
82900 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82901 New macros.
82902 (struct stat64): Likewise.
82903 (_STATBUF_ST_NSEC): New macro.
82904 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82905
82906 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82907 __strtoul_internal rather than strtoul.
82908
82909 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82910
82911 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82912 and reject them.
82913
82914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82915
82916 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82917 which preserves existing values.
82918 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82919
82920 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82921
82922 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82923 TIMEOUT values. Return EINVAL for NFDS values either negative or
82924 greater than FD_SETSIZE.
82925
82926 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82927
82928 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82929 allocated, call __vm_protect to finish enabling the existing space, and
82930 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82931 allocate the remainder.
82932
82933 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82934
82935 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82936 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82937
82938 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82939
82940 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82941 sysdeps/mach/hurd/readlink.c.
82942
82943 * posix/tst-sysconf.c (posix_options): Only use
82944 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82945 _POSIX_SYNCHRONIZED_IO when they are defined
82946 * sysdeps/mach/hurd/bits/posix_opt.h:
82947 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82948 (_XOPEN_REALTIME): Undefine macro.
82949 (_XOPEN_REALTIME_THREADS): Undefine macro.
82950 (_XOPEN_SHM): Undefine macro.
82951 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82952 macro to -1.
82953 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82954 macro to -1.
82955 (_POSIX_ASYNC_IO): Undefine macro.
82956 (_POSIX_PRIORITIZED_IO): Undefine macro.
82957 (_POSIX_SPIN_LOCKS): Define macro to -1.
82958
82959 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82960 SA_NODEFER, SA_RESETHAND.
82961 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82962 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82963 F_DUPFD_CLOEXEC.
82964
82965 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82966
82967 * elf/Makefile (pldd-modules): Define unconditionally.
82968
82969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82970
82971 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82972
82973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82974
82975 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82976 Return ENOENT when name is empty.
82977 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82978
82979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82980
82981 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82982
82983 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82984
82985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82986
82987 Fix mlock in all cases except non-readable pages.
82988 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82989 instead of VM_PROT_ALL as parameter to __vm_wire function.
82990
82991 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82992 (__mkdir): When path is `/', just fail with EEXIST.
82993 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82994
82995 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82996
82997 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82998 <sys/uio.h> (for writev).
82999 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
83000 and <sys/param.h> (for MIN).
83001
83002 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
83003
83004 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
83005 REQUESTED_TIME. Properly set the remaining time and return EINTR
83006 if interrupted.
83007
83008 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83009
83010 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
83011 Depend on against $(link-rpcuserlibs).
83012
83013 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83014
83015 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
83016 (__libc_stack_end): Do not use attribute_relro.
83017 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
83018 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
83019 to libthread-provided value.
83020 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
83021 attribute_relro.
83022
83023 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83024
83025 [BZ #3748]
83026 * bits/libc-lock.h (__libc_once_get): New macro.
83027 * sysdeps/mach/bits/libc-lock.h: Likewise.
83028 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
83029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
83030 instead of using implementation details.
83031
83032 * libio/fileops.c: Unconditionally include <kernel-features.h>.
83033 * libio/freopen.c: Likewise.
83034 * libio/freopen64.c: Likewise.
83035 * misc/syslog.c: Likewise.
83036 * nscd/connections.c: Likewise.
83037 * nscd/netgroupcache.c: Likewise.
83038 * sysdeps/posix/getcwd.c: Likewise.
83039
83040 2012-05-10 Roland McGrath <roland@hack.frob.com>
83041
83042 * math/w_ilogbf.c: Add #include <limits.h>.
83043
83044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83045
83046 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
83047 path instead of returning without unlocking.
83048
83049 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
83050 immediate-write ioctls.
83051 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
83052
83053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83054
83055 * sysdeps/mach/hurd/i386/init-first.c (init): Use
83056 __builtin_frame_address instead of making assumptions about the
83057 location of the return address relative to DATA. Force early load of
83058 the return address.
83059 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
83060 __builtin_frame_address.
83061
83062 dup3 for GNU Hurd.
83063 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
83064 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
83065 implement dup3 and do some further code clean-ups.
83066 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
83067 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
83068
83069 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83070
83071 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
83072
83073 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
83074 HURD_CRITICAL_END around holding _hurd_dtable_lock.
83075 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
83076 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
83077 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
83078 d->port.lock.
83079
83080 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
83081 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
83082 when handler == SIG_ERR, not when handler != SIG_ERR.
83083
83084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83085
83086 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
83087 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
83088 definitions.
83089
83090 accept4 for GNU Hurd.
83091 * include/sys/socket.h (__libc_accept4): New prototype.
83092 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
83093 to implement __libc_accept4.
83094 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
83095 __libc_accept4.
83096 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
83097
83098 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
83099 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
83100 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
83101 signal-defines.sym.
83102
83103 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83104
83105 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
83106
83107 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83108
83109 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
83110 assertion on O_CLOEXEC flag.
83111 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
83112 * hurd/intern-fd.c: Likewise.
83113 * hurd/port2fd.c: Likewise.
83114
83115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83116
83117 [BZ #3906]
83118 * bits/in.h (IPV6_PKTINFO): Define new macro.
83119 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
83120
83121 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83122
83123 [BZ #13954]
83124 [BZ #13955]
83125 [BZ #13956]
83126 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
83127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
83128 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
83129 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
83130 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
83131 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
83132 * math/libm-test.inc (logb_test) : Additional logb tests.
83133
83134 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
83135 Andreas Jaeger <aj@suse.de>
83136
83137 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
83138 * configure: Regenerated.
83139 * config.h.in (LINK_OBSOLETE_RPC): New macro.
83140 * config.make.in (link-obsolete-rpc): New substituted variable.
83141 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83142 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83143 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83144 (shared-only-routines): Don't set it under [link-obsolete-rpc],
83145 so that libc.a contains the symbols.
83146 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83147 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83148 * sunrpc/auth_none.c: Likewise.
83149 * sunrpc/auth_unix.c: Likewise.
83150 * sunrpc/authdes_prot.c: Likewise.
83151 * sunrpc/authuxprot.c: Likewise.
83152 * sunrpc/clnt_gen.c: Likewise.
83153 * sunrpc/clnt_perr.c: Likewise.
83154 * sunrpc/clnt_raw.c: Likewise.
83155 * sunrpc/clnt_simp.c: Likewise.
83156 * sunrpc/clnt_tcp.c: Likewise.
83157 * sunrpc/clnt_udp.c: Likewise.
83158 * sunrpc/clnt_unix.c: Likewise.
83159 * sunrpc/des_crypt.c: Likewise.
83160 * sunrpc/des_soft.c: Likewise.
83161 * sunrpc/get_myaddr.c: Likewise.
83162 * sunrpc/key_call.c: Likewise.
83163 * sunrpc/key_prot.c: Likewise.
83164 * sunrpc/netname.c: Likewise.
83165 * sunrpc/pm_getmaps.c: Likewise.
83166 * sunrpc/pm_getport.c: Likewise.
83167 * sunrpc/pmap_clnt.c: Likewise.
83168 * sunrpc/pmap_prot.c: Likewise.
83169 * sunrpc/pmap_prot2.c: Likewise.
83170 * sunrpc/pmap_rmt.c: Likewise.
83171 * sunrpc/publickey.c: Likewise.
83172 * sunrpc/rpc_cmsg.c: Likewise.
83173 * sunrpc/rpc_common.c: Likewise.
83174 * sunrpc/rpc_dtable.c: Likewise.
83175 * sunrpc/rpc_prot.c: Likewise.
83176 * sunrpc/rpc_thread.c: Likewise.
83177 * sunrpc/rtime.c: Likewise.
83178 * sunrpc/svc.c: Likewise.
83179 * sunrpc/svc_auth.c: Likewise.
83180 * sunrpc/svc_raw.c: Likewise.
83181 * sunrpc/svc_run.c: Likewise.
83182 * sunrpc/svc_tcp.c: Likewise.
83183 * sunrpc/svc_udp.c: Likewise.
83184 * sunrpc/svc_unix.c: Likewise.
83185 * sunrpc/svcauth_des.c: Likewise.
83186 * sunrpc/xcrypt.c: Likewise.
83187 * sunrpc/xdr.c: Likewise.
83188 * sunrpc/xdr_array.c: Likewise.
83189 * sunrpc/xdr_float.c: Likewise.
83190 * sunrpc/xdr_intXX_t.c: Likewise.
83191 * sunrpc/xdr_mem.c: Likewise.
83192 * sunrpc/xdr_rec.c: Likewise.
83193 * sunrpc/xdr_ref.c: Likewise.
83194 * sunrpc/xdr_sizeof.c: Likewise.
83195 * sunrpc/xdr_stdio.c: Likewise.
83196
83197 2012-05-10 Roland McGrath <roland@hack.frob.com>
83198
83199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83200 change. Update copyright years.
83201
83202 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83203
83204 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83205
83206 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
83207 Joseph Myers <joseph@codesourcery.com>
83208 Paul Pluzhnikov <ppluzhnikov@google.com>
83209
83210 [BZ #14012]
83211 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83212 requiring rpcgen.
83213 [cross-compiling] (extra-libs): Likewise.
83214 [cross-compiling] (extra-libs-others): Likewise.
83215 [cross-compiling] (librpcsvc-routines): Likewise.
83216 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83217 [cross-compiling] (omit-deps): Likewise.
83218 (sunrpc-CPPFLAGS): New variable.
83219 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83220 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83221 (cross-rpcgen-objs): New variable.
83222 (extra-objs): Append $(cross-rpcgen-objs).
83223 ($(cross-rpcgen-objs)): New rule.
83224 ($(objpfx)cross-rpcgen): Likewise.
83225 (rpcgen-cmd): Define to use $(built-program-file). Expand
83226 comment.
83227 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83228 ($(objpfx)x%.stmp): Likewise.
83229 * sunrpc/proto.h [IS_IN_build] (_): Define.
83230 [IS_IN_build] (_libc_intl_domainname): Likewise.
83231
83232 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
83233
83234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83235 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83236 and R_X86_64_TPOFF64.
83237
83238 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83239
83240 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83241 sysdeps/unix/sysv/syscalls.list.
83242 (stime): Likewise.
83243 (utime): Likewise.
83244 * sysdeps/unix/sysv/syscalls.list: Remove file.
83245
83246 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
83247
83248 [BZ #3440]
83249 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83250 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83251 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83252 (__LC_IDENTIFICATION): Make these macros useful in #if
83253 expressions, as required by C99.
83254
83255 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
83256
83257 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83258 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
83259 after this.
83260
83261 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
83262
83263 * stdlib/longlong.h: Updated from GCC.
83264
83265 2012-05-09 Andreas Jaeger <aj@suse.de>
83266
83267 * nscd/nscd.c (run_modes): Make named enum, reorder so that
83268 default is first entry.
83269 (run_mode): Set type.
83270 (main): Remove informal message about syslog.
83271 (options): Fix typo.
83272
83273 [BZ #14053]
83274 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83275 to asm.
83276 (lrint): Likewise.
83277 (llrintf): Likewise.
83278 (llrint): Likewise.
83279 (rint): Likewise.
83280 (rintf): Likewise.
83281 (nearbyint): Likewise.
83282 (nearbyintf): Likewise.
83283
83284 2012-05-09 Andreas Jaeger <aj@suse.de>
83285 Pedro Alves <palves@redhat.com>
83286
83287 * nscd/nscd.c (run_mode): Use enum.
83288 (main): Cleanup coding style issue.
83289
83290 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
83291 Andreas Jaeger <aj@suse.de>
83292
83293 * nscd/nscd.c (go_background): Replaced with...
83294 (run_mode): ... this.
83295 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83296 (options): Add -F --foreground.
83297 (main): Implement it.
83298 (parse_opt): Parse it.
83299
83300 2012-05-09 Andreas Jaeger <aj@suse.de>
83301
83302 [BZ #14083]
83303 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83304 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83305 -Wconversion warning.
83306 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83307 Likewise.
83308
83309 2012-05-09 Joseph Myers <joseph@codesourcery.com>
83310
83311 * conform/data/locale.h-data (NULL): Use macro-constant. Require
83312 == 0.
83313 (LC_ALL): Use macro-int-constant.
83314 (LC_COLLATE): Likewise.
83315 (LC_CTYPE): Likewise.
83316 (LC_MESSAGES): Likewise.
83317 (LC_MONETARY): Likewise.
83318 (LC_NUMERIC): Likewise.
83319 (LC_TIME): Likewise.
83320 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83321 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83322 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83323 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83324 Specify type.
83325 [C99-based standards] (float_t): Expect type.
83326 [C99-based standards] (double_t): Expect type.
83327 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
83328 type.
83329 [C99-based standards] (HUGE_VALL): Likewise.
83330 [C99-based standards] (INFINITY): Likewise.
83331 [C99-based standards] (NAN): Likewise.
83332 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83333 [C99-based standards] (FP_NAN): Likewise.
83334 [C99-based standards] (FP_NORMAL): Likewise.
83335 [C99-based standards] (FP_SUBNORMAL): Likewise.
83336 [C99-based standards] (FP_ZERO): Likewise.
83337 [C99-based standards] (FP_FAST_FMA): Use
83338 optional-macro-int-constant. Specify type. Require == 1.
83339 [C99-based standards] (FP_FAST_FMAF): Likewise.
83340 [C99-based standards] (FP_FAST_FMAL): Likewise.
83341 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83342 [C99-based standards] (FP_ILOGBNAN): Likewise.
83343 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83344 Specify type.
83345 [C99-based standards] (MATH_ERREXCEPT): Likewise.
83346 [C99-based standards] (math_errhandling): Specify type.
83347 [ISO99 || ISO11] (signgam): Do not allow.
83348 [non-C99-based standards] (copysignf): Do not allow.
83349 [non-C99-based standards] (exp2f): Likewise.
83350 [non-C99-based standards] (log2f): Likewise.
83351 [non-C99-based standards] (modff): Allow.
83352 [non-C99-based standards] (erff): Do not allow.
83353 [non-C99-based standards] (erfcf): Likewise.
83354 [non-C99-based standards] (gammaf): Likewise.
83355 [non-C99-based standards] (hypotf): Likewise.
83356 [non-C99-based standards] (j0f): Likewise.
83357 [non-C99-based standards] (j1f): Likewise.
83358 [non-C99-based standards] (jnf): Likewise.
83359 [non-C99-based standards] (lgammaf): Likewise.
83360 [non-C99-based standards] (tgammaf): Likewise.
83361 [non-C99-based standards] (y0f): Likewise.
83362 [non-C99-based standards] (y1f): Likewise.
83363 [non-C99-based standards] (ynf): Likewise.
83364 [non-C99-based standards] (isnanf): Likewise.
83365 [non-C99-based standards] (acoshf): Likewise.
83366 [non-C99-based standards] (asinhf): Likewise.
83367 [non-C99-based standards] (atanhf): Likewise.
83368 [non-C99-based standards] (cbrtf): Likewise.
83369 [non-C99-based standards] (expm1f): Likewise.
83370 [non-C99-based standards] (ilogbf): Likewise.
83371 [non-C99-based standards] (log1pf): Likewise.
83372 [non-C99-based standards] (logbf): Likewise.
83373 [non-C99-based standards] (nextafterf): Likewise.
83374 [non-C99-based standards] (remainderf): Likewise.
83375 [non-C99-based standards] (rintf): Likewise.
83376 [non-C99-based standards] (scalbf): Likewise.
83377 [non-C99-based standards] (copysignl): Likewise.
83378 [non-C99-based standards] (exp2l): Likewise.
83379 [non-C99-based standards] (log2l): Likewise.
83380 [non-C99-based standards] (modfl): Allow.
83381 [non-C99-based standards] (erfl): Do not allow.
83382 [non-C99-based standards] (erfcl): Likewise.
83383 [non-C99-based standards] (gammal): Likewise.
83384 [non-C99-based standards] (hypotl): Likewise.
83385 [non-C99-based standards] (j0l): Likewise.
83386 [non-C99-based standards] (j1l): Likewise.
83387 [non-C99-based standards] (jnl): Likewise.
83388 [non-C99-based standards] (lgammal): Likewise.
83389 [non-C99-based standards] (tgammal): Likewise.
83390 [non-C99-based standards] (y0l): Likewise.
83391 [non-C99-based standards] (y1l): Likewise.
83392 [non-C99-based standards] (ynl): Likewise.
83393 [non-C99-based standards] (isnanl): Likewise.
83394 [non-C99-based standards] (acoshl): Likewise.
83395 [non-C99-based standards] (asinhl): Likewise.
83396 [non-C99-based standards] (atanhl): Likewise.
83397 [non-C99-based standards] (cbrtl): Likewise.
83398 [non-C99-based standards] (expm1l): Likewise.
83399 [non-C99-based standards] (ilogbl): Likewise.
83400 [non-C99-based standards] (log1pl): Likewise.
83401 [non-C99-based standards] (logbl): Likewise.
83402 [non-C99-based standards] (nextafterl): Likewise.
83403 [non-C99-based standards] (remainderl): Likewise.
83404 [non-C99-based standards] (rintl): Likewise.
83405 [non-C99-based standards] (scalbl): Likewise.
83406 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83407 [non-C99-based standards] (FP_*): Do not allow.
83408 [C99-based standards] (FP_*): Change to
83409 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83410 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83411 allow.
83412 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83413 (SIG_ERR): Likewise.
83414 [X/Open-based standards] (SIG_HOLD): Likewise.
83415 (SIG_IGN): Likewise.
83416 (SIGABRT): Use macro-int-constant. Specify type. Require
83417 positive value.
83418 (SIGFPE): Likewise.
83419 (SIGILL): Likewise.
83420 (SIGINT): Likewise.
83421 (SIGSEGV): Likewise.
83422 (SIGTER): Likewise.
83423 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83424 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83425 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83426 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83427 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83428 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83429 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83430 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83431 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83432 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83433 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83434 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83435 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83436 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83437 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83438 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83439 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83440 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83441 [X/Open-based standards] (SIGTRAP): Likewise.
83442 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83443 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83444 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83445 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83446 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83447 allow.
83448
83449 2012-05-08 Ian Wienand <ianw@vmware.com>
83450
83451 [BZ #14080]
83452 * time/tzset.c (__tzset_parse_tz): Update default rules for
83453 daylight time changes in the Energy Policy Act of 2005.
83454
83455 2012-05-09 Andreas Jaeger <aj@suse.de>
83456
83457 [BZ #13983]
83458 * elf/ldconfig.c (parse_conf): Change string to make clear that
83459 ldconfig only issued a warning if ld.so.conf does not exist.
83460
83461 2012-05-08 David S. Miller <davem@davemloft.net>
83462
83463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83464 movxtod instead of popping the value on the stack.
83465
83466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83467
83468 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83469
83470 * config.h.in: Add HAVE_ARM_PCS_VFP.
83471
83472 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83473
83474 [BZ #13979]
83475 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83476 checking but the checks are disabled for any reason.
83477
83478 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83479
83480 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83481 and ELF64_R_TYPE with ELFW(R_TYPE).
83482
83483 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83484
83485 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83486 (ulimit): Likewise.
83487
83488 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83489 (settimeofday): Likewise.
83490
83491 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83492
83493 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83494 a struct th_u2 inside the union, and move tu_block/tu_code into
83495 a new th_u3 union of tu_block/tu_code inside of that. Move
83496 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83497 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83498 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83499 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83500 (th_stuff): Change to th_u1.tu_stuff.
83501 (th_data): Define.
83502 (th_msg): Change to th_u1.th_u2.tu_data.
83503
83504 2012-05-07 David S. Miller <davem@davemloft.net>
83505
83506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83507
83508 [BZ #14074]
83509 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83510 (SETUP_PIC_REG): Use it.
83511 (SETUP_PIC_REG_LEAF): Use it.
83512
83513 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83514
83515 [BZ #13885]
83516 [BZ #13923]
83517 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83518 USE_AS_EXPM1L.
83519 (EXPL_FINITE): Likewise.
83520 (FLDLOG): Likewise.
83521 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83522 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83523 e_expl.S.
83524 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83525 USE_AS_EXPM1L.
83526 (EXPL_FINITE): Likewise.
83527 (FLDLOG): Likewise.
83528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83529 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83530 e_expl.S.
83531 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83532 test of -max_value argument for long double.
83533 * sysdeps/i386/fpu/libm-test-ulps: Update.
83534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83535
83536 2012-05-06 David S. Miller <davem@davemloft.net>
83537
83538 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83539 quad soft-float symbols whose references which are compiler
83540 generated.
83541 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83542
83543 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83544
83545 [BZ #13884]
83546 [BZ #13914]
83547 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83548 USE_AS_EXP10L.
83549 (EXPL_FINITE): Likewise.
83550 (FLDLOG): Likewise.
83551 (c0): Likewise.
83552 (c1): Likewise.
83553 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83554 Adjust comments for base varying.
83555 (__expl_finite): Change alias to EXPL_FINITE.
83556 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83557 e_expl.S.
83558 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83559 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83560 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83561 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83562 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83563 USE_AS_EXP10L.
83564 (EXPL_FINITE): Likewise.
83565 (FLDLOG): Likewise.
83566 (c0): Likewise.
83567 (c1): Likewise.
83568 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83569 Adjust comments for base varying.
83570 (__expl_finite): Change alias to EXPL_FINITE.
83571 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83572 tests for bugs.
83573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83574
83575 [BZ #14064]
83576 * math/libm-test.inc (check_float_internal): Correct ulp
83577 calculation for subnormal expected results.
83578
83579 2012-05-06 Andreas Jaeger <aj@suse.de>
83580
83581 * Makeconfig (+math-flags): New, set to -frounding-math.
83582 (+cflags): Add +math-flags so that all of glibc gets compiled with
83583 it.
83584
83585 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83586
83587 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83588
83589 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83590 Disable one test.
83591
83592 [BZ #13787]
83593 [BZ #13922]
83594 [BZ #14036]
83595 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83596 (__ieee754_expl): Allow for and saturate large arguments.
83597 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83598 (u_threshold): Likewise.
83599 (__exp): Call __ieee754_exp before checking for overflow and
83600 underflow.
83601 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83602 (u_threshold): Likewise.
83603 (__expf): Call __ieee754_expf before checking for overflow and
83604 underflow.
83605 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83606 (u_threshold): Likewise.
83607 (__expl): Call __ieee754_expl before checking for overflow and
83608 underflow.
83609 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83610 (__ieee754_expl): Allow for and saturate large arguments.
83611 * math/libm-test.inc (exp_test): Add another test. Do not allow
83612 missing overflow exception on overflow.
83613 (expm1_test): Do not allow missing overflow exception on overflow.
83614
83615 * sysdeps/i386/fpu/e_expl.c: Move to ...
83616 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83617 rather than using inline asm.
83618 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83619 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83620 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83621
83622 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83623 (nice): Likewise.
83624 (poll): Likewise.
83625 (signal): Likewise.
83626 (time): Likewise.
83627 (times): Likewise.
83628
83629 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83630
83631 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83632 sysdeps/unix/common/syscalls.list.
83633 (fchmod): Likewise.
83634 (fchown): Likewise.
83635 (ftruncate): Likewise.
83636 (getrusage): Likewise.
83637 (gettimeofday): Likewise.
83638 (setpgid): Likewise.
83639 (setregid): Likewise.
83640 (setreuid): Likewise.
83641 (sigaction): Likewise.
83642 (truncate): Likewise.
83643 (vhangup): Likewise.
83644 * sysdeps/unix/common/syscalls.list: Remove file.
83645 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83646 * sysdeps/unix/sysv/linux/Implies: Likewise.
83647
83648 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83649
83650 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83652 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83653 Moved to ...
83654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83655 Here.
83656 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83657 to ...
83658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83659 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83660 to ...
83661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83662 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83663 to ...
83664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83665 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83666 to ...
83667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83668 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83669 to ...
83670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83671 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83672 to ...
83673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83674 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83675 to ...
83676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83677 Here.
83678 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83679 to ...
83680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83681 Here.
83682 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83683 to ...
83684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83685 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83686 Moved to ...
83687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83688 Here.
83689 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83690 to ...
83691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83692
83693 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83694
83695 * sysdeps/unix/common/bits/dirent.h: Remove file.
83696 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83697
83698 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83699 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83700 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83701 * sysdeps/unix/bsd/isatty.c: Likewise.
83702 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83703 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83704 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83705
83706 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83707
83708 [BZ #13563]
83709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83710 long double comparison inaccuracies.
83711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83713
83714 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83715
83716 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83718
83719 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83720
83721 [BZ #14049]
83722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83723 nonzero digits before rounding a hex value.
83724 * stdlib/tst-strtod.c (tests): Add another test.
83725
83726 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83727
83728 * sysdeps/s390/fpu/libm-test-ulps: Update.
83729
83730 2012-05-03 Andreas Jaeger <aj@suse.de>
83731
83732 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83733 does not get optimized out.
83734 (malloc_opt_barrier): New.
83735
83736 2012-05-03 Andreas Jaeger <aj@suse.de>
83737 Roland McGrath <roland@hack.frob.com>
83738
83739 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83740 intermediate file deletion.
83741 (generated): Add .symlist files.
83742
83743 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83744
83745 [BZ #13775]
83746 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83747 Redirect under this condition.
83748 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83749 [__USE_GNU] (__dprintf_chk): Not under this condition.
83750 [__USE_GNU] (__vdprintf_chk): Likewise.
83751 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83752 under this condition.
83753 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83754 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83755 [__USE_XOPEN2K8] (vdprintf): Likewise.
83756 [__USE_GNU] (__dprintf_chk): Not under this condition.
83757 [__USE_GNU] (__vdprintf_chk): Likewise.
83758 [__USE_GNU] (dprintf): Likewise.
83759 [__USE_GNU] (vdprintf): Likewise.
83760
83761 2012-05-03 Roland McGrath <roland@hack.frob.com>
83762
83763 * elf/Makefile (common-generated): Set this instead of generated for
83764 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83765 $(all-built-dso)-derived lists.
83766
83767 2012-05-03 Andreas Jaeger <aj@suse.de>
83768
83769 * sysdeps/i386/fpu/libm-test-ulps: Update.
83770
83771 * FAQ: Removed.
83772 * FAQ.in: Likewise.
83773 * scripts/gen-FAQ.pl: Likewise.
83774 * manual/install.texi (Installation): Point to online location of
83775 FAQ.
83776 * Makefile (files-for-dist): Remove FAQ.
83777 (FAQ): Remove.
83778
83779 2012-05-02 Allan McRae <allan@archlinux.org>
83780
83781 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83782 (LDFLAGS-reldepmod5.so): Likewise.
83783 (LDFLAGS-reldep6mod1.so): Likewise.
83784 (LDFLAGS-reldep6mod4.so): Likewise.
83785 (LDFLAGS-reldep8mod3.so): Likewise.
83786 (LDFLAGS-unload4mod1.so): Likewise.
83787 (LDFLAGS-unload4mod2.so): Likewise.
83788 (LDFLAGS-tst-initorder): Likewise.
83789 (LDFLAGS-tst-initordera2.so): Likewise.
83790 (LDFLAGS-tst-initordera3.so): Likewise.
83791 (LDFLAGS-tst-initordera4.so): Likewise.
83792 (LDFLAGS-tst-initorderb2.so): Likewise.
83793 (LDFLAGS-noload): Likewise.
83794 (LDFLAGS-next): Likewise.
83795 (LDFLAGS-order2mod1.so): Likewise.
83796 (LDFLAGS-order2mod2.so): Likewise.
83797 (LDFLAGS-tst-initorder2): Likewise.
83798 (LDFLAGS-tst-initorder2a.so): Likewise.
83799 (LDFLAGS-tst-initorder2b.so): Likewise.
83800 (LDFLAGS-tst-initorder2c.so): Likewise.
83801 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83802
83803 2012-05-02 David S. Miller <davem@davemloft.net>
83804
83805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83806
83807 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83808
83809 [BZ #14055]
83810 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83811
83812 2012-05-02 Andreas Jaeger <aj@suse.de>
83813
83814 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83815 since we manipulate rounding mode.
83816 (CPPFLAGS-test-idouble.c): Likewise.
83817 (CPPFLAGS-test-ifloat.c): Likewise.
83818 (CFLAGS-test-ldouble.c): Likewise.
83819 (CFLAGS-test-double.c): Likewise.
83820 (CFLAGS-test-float.c): Likewise.
83821 (CFLAGS-test-misc.c): Likewise.
83822 (CFLAGS-test-test-fenv.c): Likewise.
83823
83824 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83825
83826 [BZ #2550]
83827 [BZ #2570]
83828 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83829 comparisons to determine direction to adjust input.
83830
83831 2012-05-01 Roland McGrath <roland@hack.frob.com>
83832
83833 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83834 output to the target.
83835
83836 * scripts/localplt.awk: New file.
83837 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83838 (check-localplt-CFLAGS): Variable removed.
83839 ($(all-built-dso:=.jmprel)): New static pattern rule.
83840 (generated): Add those targets.
83841 (localplt-built-dso): New variable.
83842 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83843
83844 * elf/check-localplt.c: File removed.
83845
83846 * scripts/check-execstack.awk: New file.
83847 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83848 (check-execstack-CFLAGS): Variable removed.
83849 ($(objpfx)check-execstack.h): Target removed.
83850 ($(objpfx)execstack-default): New target.
83851 (generated): Add that instead of check-execstack.h.
83852 ($(all-built-dso:=.phdr)): New static pattern rule.
83853 (generated): Add those targets.
83854 * elf/check-execstack.c: File removed.
83855
83856 * scripts/check-textrel.awk: New file.
83857 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83858 (check-textrel-CFLAGS): Variable removed.
83859 (all-built-dso): Use := to define.o
83860 ($(all-built-dso:=.dyn)): New static pattern rule.
83861 (generated): Add those targets.
83862 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83863 * config.make.in (READELF): New substituted variable.
83864 * elf/check-textrel.c: File removed.
83865
83866 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83867
83868 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83869 allow.
83870 * conform/data/ctype.h-data [C99-based standards] (isblank):
83871 Expect function.
83872 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83873 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83875 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83876 Specify type. Require positive value.
83877 (EILSEQ): Likewise.
83878 (ERANGE): Likewise.
83879 [ISO || POSIX] (EILSEQ): Do not expect.
83880 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83881 Specify type. Require positive value.
83882 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83883 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83884 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83885 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83886 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83887 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83888 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83889 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83890 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83891 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83892 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83893 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83894 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83895 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83896 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83897 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83898 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83899 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83900 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83901 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83902 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83903 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83904 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83905 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83906 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83907 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83908 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83909 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83910 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83911 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83912 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83913 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83914 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83915 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83916 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83917 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83918 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83919 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83920 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83921 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83922 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83923 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83924 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83925 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83926 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83927 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83928 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83929 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83930 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83931 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83932 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83933 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83934 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83935 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83936 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83937 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83938 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83939 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83940 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83941 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83942 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83943 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83944 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83945 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83946 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83947 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83948 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83949 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83950 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83951 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83952 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83953 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83954 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83955 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83956 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83957 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83958 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83959 Require >= 2.
83960 (FLT_ROUNDS): Expect as macro, not constant.
83961 (FLT_MANT_DIG): Use macro-int-constant.
83962 (DBL_MANT_DIG): Likewise.
83963 (LDBL_MANT_DIG): Likewise.
83964 (FLT_DIG): Likewise.
83965 (DBL_DIG): Likewise.
83966 (LDBL_DIG): Likewise.
83967 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83968 (DBL_MIN_EXP): Likewise.
83969 (LDBL_MIN_EXP): Likewise.
83970 (FLT_MAX_EXP): Use macro-int-constant.
83971 (DBL_MAX_EXP): Likewise.
83972 (LDBL_MAX_EXP): Likewise.
83973 (FLT_MAX_10_EXP): Likewise.
83974 (DBL_MAX_10_EXP): Likewise.
83975 (LDBL_MAX_10_EXP): Likewise.
83976 (FLT_MAX): Use macro-constant.
83977 (DBL_MAX): Likewise.
83978 (LDBL_MAX): Likewise.
83979 (FLT_EPSILON): Use macro-constant. Give upper bound.
83980 (DBL_EPSILON): Likewise.
83981 (LDBL_EPSILON): Likewise.
83982 (FLT_MIN): Likewise.
83983 (DBL_MIN): Likewise.
83984 (LDBL_MIN): Likewise.
83985 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83986 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83987 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83988 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83989 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83990 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83991 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83992 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83993 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83994 [ISO11] (FLT_TRUE_MIN): Likewise.
83995 [ISO11] (LDBL_TRUE_MIN): Likewise.
83996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83997 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83998 (SCHAR_MIN): Use macro-int-constant. Specify type.
83999 (SCHAR_MAX): Likewise.
84000 (UCHAR_MAX): Likewise.
84001 (CHAR_MIN): Likewise.
84002 (CHAR_MAX): Likewise.
84003 (MB_LEN_MAX): Use macro-int-constant.
84004 (SHRT_MIN): Use macro-int-constant. Specify type.
84005 (SHRT_MAX): Likewise.
84006 (USHRT_MAX): Likewise.
84007 (INT_MAX): Likewise.
84008 (INT_MIN): Use macro-int-constant. Specify type. Make upper
84009 bound negative.
84010 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
84011 bound with "U".
84012 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
84013 bound with "L".
84014 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
84015 bound negative. Suffix upper bound with "L".
84016 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
84017 bound with "UL".
84018 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
84019 Specify type.
84020 [C99-based standards] (LLONG_MAX): Likewise.
84021 [C99-based standards] (ULLONG_MAX): Likewise.
84022 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
84023 == 0.
84024 [ISO11] (max_align_t): Require type.
84025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
84026
84027 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
84028 from $CFLAGS, without defining away __attribute__ calls.
84029 (checknamespace): Use $CFLAGS_namespace.
84030
84031 * conform/conformtest.pl (@keywords): Only include C99 keywords
84032 for standards based on C99 or C11.
84033
84034 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
84035 Disable tests.
84036 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
84037 UNIX98]: Likewise.
84038
84039 * conform/conformtest.pl: Handle "macro-int-constant" and test for
84040 usability of symbols in #if.
84041
84042 * conform/conformtest.pl: If macro or constant types start
84043 "promoted:", expect the symbol to be of the following type
84044 promoted by the integer promotions.
84045
84046 * conform/conformtest.pl: Parse all "constant" and "macro" lines
84047 in one place. Also handle "macro-constant".
84048
84049 * conform/conformtest.pl: Only accept expected macro values with
84050 "==". Parse all "macro" lines in one place.
84051 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
84052
84053 * conform/conformtest.pl: Handle braced types on "constant" lines
84054 instead of handling "typed-constant".
84055 * conform/data/signal.h-data: Use "constant" instead of
84056 "typed-constant".
84057
84058 * conform/conformtest.pl: Handle "optional-" at start of lines in
84059 one place rather than duplicating several cases. Handle each
84060 format of "macro" line with initial "optional-".
84061
84062 * conform/conformtest.pl: Only accept expected constant or
84063 optional-constant values with "==". Parse all "constant" lines in
84064 one place. Parse all "optional-constant" lines in one place.
84065 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
84066 * conform/data/fmtmsg.h-data: Likewise.
84067 * conform/data/netinet/in.h-data: Likewise.
84068 * conform/data/tar.h-data: Likewise.
84069 * conform/data/limits.h-data: Use "==" form on "constant" and
84070 "optional-constant" lines.
84071
84072 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
84073 Use -std=c99 for XOPEN2K.
84074 (@knownproblems): Remove.
84075 (newtoken): Don't check %isknown.
84076
84077 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
84078 Do not expect macro.
84079 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
84080 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
84081 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
84082 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
84083 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
84084 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
84085 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
84086 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
84087 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
84088 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
84089 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
84090 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
84091 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
84092 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
84093 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
84094 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
84095 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
84096 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
84097 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
84098 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
84099 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
84100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
84101 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
84102 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
84103 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
84104 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
84105 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
84106 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
84107 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
84108 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
84109 [XPG3] (acosh): Likewise.
84110 [XPG3] (asinh): Likewise.
84111 [XPG3] (atanh): Likewise.
84112 [XPG3] (cbrt): Likewise.
84113 [XPG3] (expm1): Likewise.
84114 [XPG3] (ilogb): Likewise.
84115 [XPG3] (log1p): Likewise.
84116 [XPG3] (logb): Likewise.
84117 [XPG3] (nextafter): Likewise.
84118 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
84119 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84120 [XPG3] (remainder): Likewise.
84121 [XPG3] (rint): Likewise.
84122 [XPG3 || XPG4 || UNIX98] (round): Likewise.
84123 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
84124 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
84125 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
84126 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
84127 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
84128 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
84129 [UNIX98 || XOPEN2K] (scalb): Expect.
84130 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
84131 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
84132 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
84133 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84134 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
84135 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
84136 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
84137 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
84138 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84139 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84140 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84141 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84142 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84143 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84144 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84145 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84146 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84147 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84148 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84149 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84150 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84151 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84152 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84153 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84154 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84155 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84156 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84157 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84158 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84159 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84160 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84161 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84162 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84163 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84164 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84165 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84166 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84167 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84168 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84169 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84170 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84171 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84172 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84173 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84174 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84175 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84176 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84177 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84178 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84179 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84180 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84181 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84182 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84183 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84184 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84185 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84186 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84187 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84188 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84189 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84190 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84191 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84192 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84193 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84194 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84195 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84196 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84197 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84198 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84199 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84200 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84201 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84202 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84203 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84204 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84205 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84206 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84207 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84208 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84209 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84210 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84211 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84212 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84213 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84214 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84215 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84216 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84217 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84218 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84219 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84220 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84221 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84222 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84223 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84224 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84225 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84226 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84227 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84228 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84229 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84230 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84231 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84232 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84233 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84234 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84235 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84236 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84237 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84238 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84239 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84240 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84241 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84242 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84243 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84244 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84245 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84246 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84247 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84248 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84249 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84250 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84251 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84252 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84253 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84254 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84255 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84256 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84257 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84258 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84259 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84260 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84261 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84262 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84263 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84264 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84265 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84266 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84267
84268 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84269 _XOPEN_SOURCE_EXTENDED for XPG4.
84270
84271 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84272
84273 * Makeconfig (localtime): Remove variable.
84274 (inst_localtime-file): Likewise.
84275
84276 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84277
84278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84279 Update.
84280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84281 Update.
84282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84283 Update.
84284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84285 Update.
84286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84287 Update.
84288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84289 Update.
84290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84291 Update.
84292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84293 Update.
84294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84295 Update.
84296
84297 2012-05-01 Joseph Myers <joseph@codesourcery.com>
84298
84299 [BZ #2550]
84300 [BZ #2570]
84301 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84302 comparisons to determine direction to adjust input.
84303 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84304 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84306 Likewise.
84307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84308 Likewise.
84309 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84310 Likewise.
84311 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84312 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84313 Likewise.
84314 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84315 Likewise.
84316 * math/libm-test.inc (nexttoward_test): Add more tests.
84317
84318 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84319
84320 [BZ #14040]
84321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84322 in version GLIBC_2.1, not GLIBC_2.0.
84323 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84324 Likewise.
84325
84326 2012-04-30 Joseph Myers <joseph@codesourcery.com>
84327
84328 [BZ #13942]
84329 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84330 (1 - x) * (1 + x).
84331 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84332 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84333 * math/libm-test.inc (acos_test): Add more tests.
84334 (asin_test): Likewise.
84335 * sysdeps/i386/fpu/libm-test-ulps: Update.
84336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84337
84338 [BZ #14034]
84339 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84340 of square root.
84341 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84342 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84343 * math/libm-test.inc (acos_test_tonearest): New function.
84344 (acos_test_towardzero): Likewise.
84345 (acos_test_downward): Likewise.
84346 (acos_test_upward): Likewise.
84347 (asin_test_tonearest): Likewise.
84348 (asin_test_towardzero): Likewise.
84349 (asin_test_downward): Likewise.
84350 (asin_test_upward): Likewise.
84351 (main): Call the new functions.
84352 * sysdeps/i386/fpu/libm-test-ulps: Update.
84353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84354
84355 [BZ #13884]
84356 [BZ #13924]
84357 * math/e_exp10.c: Include <float.h>.
84358 (__ieee754_exp10): Handle underflow here rather than multiplying
84359 large negative argument by M_LN10.
84360 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84361 of __ieee754_expf.
84362 * math/e_exp10l.c: Include <float.h>.
84363 (__ieee754_exp10l): Handle underflow here rather than multiplying
84364 large negative argument by M_LN10l.
84365 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84366 spurious overflow exception on underflow.
84367
84368 2012-04-29 Marek Polacek <polacek@redhat.com>
84369
84370 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84371 (__fortify_function): New macro.
84372 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84373 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84374 __extern_always_inline.
84375 * libio/bits/stdio2.h: Likewise.
84376 * libio/bits/stdio.h: Likewise.
84377 * string/string.h: Likewise.
84378 * string/bits/string3.h: Likewise.
84379 * include/stdio.h: Likewise.
84380 * stdlib/bits/stdlib.h: Likewise.
84381 * stdlib/stdlib.h: Likewise.
84382 * rt/bits/mqueue2.h: Likewise.
84383 * rt/mqueue.h: Likewise.
84384 * posix/bits/unistd.h: Likewise.
84385 * posix/unistd.h: Likewise.
84386 * io/bits/poll2.h: Likewise.
84387 * io/bits/fcntl2.h: Likewise.
84388 * io/fcntl.h: Likewise.
84389 * io/sys/poll.h: Likewise.
84390 * misc/bits/syslog.h: Likewise.
84391 * misc/bits/syslog-ldbl.h: Likewise.
84392 * misc/sys/syslog.h: Likewise.
84393 * socket/bits/socket2.h: Likewise.
84394 * socket/sys/socket.h: Likewise.
84395 * debug/tst-chk1.c: Likewise.
84396 * wcsmbs/bits/wchar2.h: Likewise.
84397 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84398 * wcsmbs/wchar.h: Likewise.
84399
84400 2012-04-29 Andreas Jaeger <aj@suse.de>
84401
84402 * Makerules (tests): Remove enable-check-abi protection.
84403 (check-abi-warn): Remove.
84404 (check-abi-%): Remove check-abi-warn usage.
84405
84406 * configure.in: Remove check-abi configure option.
84407 * configure: Regenerated.
84408 * config.make.in (enable-check-abi): Remove.
84409
84410 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84411
84412 [BZ #14033]
84413 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84414 double functions to double *_finite functions.
84415
84416 [BZ #13941]
84417 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84418 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84419 LDBL_MIN_EXP.
84420 * stdio-common/Makefile (tests): Add tst-sprintf3.
84421 * stdio-common/tst-sprintf3.c: New file.
84422
84423 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84424 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84425
84426 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84427
84428 * conform/conformtest.pl: Remove duplicate typed-constant
84429 handling.
84430
84431 2012-04-28 David S. Miller <davem@davemloft.net>
84432
84433 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84434 (check-abi-%): Remove AWK script prerequisite and explicit
84435 abilist directory.
84436 (check-abi): Rewrite to just diff the symlist with the abilist.
84437 (config-tls, config-abi-config): Delete, no longer used.
84438 (update-abi-%): Remove AWK script and explicit abilist directory.
84439 (update-abi): Rewrite to simply compare and conditionally copy the
84440 symlist and the sysdep abilist file. Remove update-abi-config
84441 checks.
84442 * abilist/ld.abilist: Remove.
84443 * abilist/libBrokenLocale.abilist: Remove.
84444 * abilist/libanl.abilist: Remove.
84445 * abilist/libcrypt.abilist: Remove.
84446 * abilist/libdl.abilist: Remove.
84447 * abilist/librt.abilist: Remove.
84448 * abilist/libthread_db.abilist: Remove.
84449 * abilist/libutil.abilist: Remove.
84450 * scripts/extract-abilist.awk: Remove.
84451 * scripts/merge-abilist.awk: Remove.
84452 * sysdeps/generic/libcidn.abilist: New file.
84453 * sysdeps/generic/libnss_compat.abilist: New file.
84454 * sysdeps/generic/libnss_db.abilist: New file.
84455 * sysdeps/generic/libnss_dns.abilist: New file.
84456 * sysdeps/generic/libnss_files.abilist: New file.
84457 * sysdeps/generic/libnss_hesiod.abilist: New file.
84458 * sysdeps/generic/libnss_nis.abilist: New file.
84459 * sysdeps/generic/libnss_nisplus.abilist: New file.
84460 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84461 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84462 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84463 file.
84464 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84465 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84466 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84467 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84468 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84469 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84470 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84471 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84472 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84473 file.
84474 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84475 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84476 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84477 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84478 file.
84479 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84480 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84481 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84482 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84483 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84484 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84485 file.
84486 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84487 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84488 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84489 file.
84490 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84492 New file.
84493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84494 New file.
84495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84496 New file.
84497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84498 New file.
84499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84500 New file.
84501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84502 New file.
84503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84504 New file.
84505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84506 New file.
84507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84508 New file.
84509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84510 New file.
84511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84512 New file.
84513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84514 New file.
84515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84516 New file.
84517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84518 file.
84519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84520 New file.
84521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84522 New file.
84523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84524 file.
84525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84526 New file.
84527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84528 New file.
84529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84530 file.
84531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84532 New file.
84533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84534 New file.
84535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84536 New file.
84537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84538 New file.
84539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84540 New file.
84541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84542 New file.
84543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84545 file.
84546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84547 New file.
84548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84549 file.
84550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84551 file.
84552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84553 file.
84554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84555 file.
84556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84557 file.
84558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84559 New file.
84560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84561 file.
84562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84563 file.
84564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84565 New file.
84566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84567 file.
84568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84570 file.
84571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84572 New file.
84573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84574 file.
84575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84576 file.
84577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84578 file.
84579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84580 file.
84581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84582 file.
84583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84584 New file.
84585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84586 file.
84587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84588 file.
84589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84590 New file.
84591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84592 file.
84593 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84594 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84595 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84596 file.
84597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84598 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84599 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84600 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84601 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84602 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84603 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84604 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84605 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84606 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84609 file.
84610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84611 New file.
84612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84613 file.
84614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84615 file.
84616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84617 file.
84618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84619 file.
84620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84621 file.
84622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84623 New file.
84624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84625 New file.
84626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84627 file.
84628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84629 New file.
84630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84631 file.
84632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84634 file.
84635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84636 New file.
84637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84638 file.
84639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84640 file.
84641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84642 file.
84643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84644 file.
84645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84646 file.
84647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84648 New file.
84649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84650 New file.
84651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84652 file.
84653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84654 New file.
84655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84656 file.
84657
84658 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84659
84660 * conform/conformtest.pl: Fix typo in handling typed-constant from
84661 allow-header.
84662
84663 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84664
84665 * README: Cut down references to pre-2.6 Linux kernels and
84666 Linuxthreads. Update lists of configurations in libc and ports
84667 and sort alphabetically. Say "or newer" with Linux kernel version
84668 requirements.
84669
84670 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84671
84672 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84673
84674 [BZ #887]
84675 * math/libm-test.inc (logb_test_downward): New test to expose
84676 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84677 rounding mode.
84678
84679 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84680
84681 [BZ #14027]
84682 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84683 to be done.
84684 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84685 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84686
84687 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84688
84689 * sysdeps/unix/i386/brk.S: Remove file.
84690 * sysdeps/unix/i386/dl-brk.S: Likewise.
84691 * sysdeps/unix/i386/pipe.S: Likewise.
84692 * sysdeps/unix/i386/sigreturn.S: Likewise.
84693 * sysdeps/unix/i386/syscall.S: Likewise.
84694 * sysdeps/unix/i386/vfork.S: Likewise.
84695 * sysdeps/unix/i386/wait.S: Likewise.
84696
84697 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84698 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84699
84700 * configure.in (arm*-none*): Do not allow without
84701 --enable-hacker-mode.
84702 (netbsd*): Remove case setting base_os.
84703 (386bsd*): Likewise.
84704 (freebsd*): Likewise.
84705 (bsdi*): Likewise.
84706 (osf*): Likewise.
84707 (sunos*): Likewise.
84708 (ultrix*): Likewise.
84709 (newsos*): Likewise.
84710 (dynix*): Likewise.
84711 (*bsd*): Likewise.
84712 (sysv*): Likewise.
84713 (isc*): Likewise.
84714 (esix*): Likewise.
84715 (sco*): Likewise.
84716 (minix*): Likewise.
84717 (irix4*): Likewise.
84718 (irix6*): Likewise.
84719 (solaris[2-9]*): Likewise.
84720 (none): Likewise.
84721 * configure: Regenerated.
84722
84723 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84724
84725 [BZ #11521]
84726 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84727 overflow or cancellation in calculating denominator.
84728 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84730 down expression to avoid unexpected rounding in newer GCCs.
84731 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84732
84733 2012-04-26 David S. Miller <davem@davemloft.net>
84734
84735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84736 long-double compat symbols.
84737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84750
84751 2012-04-25 David S. Miller <davem@davemloft.net>
84752
84753 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84754 HWCAP_* values only after the memory barriers have been defined.
84755 (atomic_full_barrier): Define.
84756 (atomic_read_barrier): Define.
84757 (atomic_write_barrier): Define.
84758
84759 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84760
84761 * shlib-versions: Add libgcc_s version information.
84762 * sysdeps/generic/libgcc_s.h: Remove.
84763 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84764 libgcc_s.h.
84765 * sysdeps/gnu/unwind-resume.c: Likewise.
84766 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84767
84768 2012-04-25 David S. Miller <davem@davemloft.net>
84769
84770 * sysdeps/unix/sparc/brk.S: Delete.
84771 * sysdeps/unix/sparc/dl-brk.S: Delete.
84772 * sysdeps/unix/sparc/pipe.S: Delete.
84773 * sysdeps/unix/sparc/sysdep.S: Delete.
84774 * sysdeps/unix/sparc/sysdep.h: Delete.
84775 * sysdeps/unix/sparc/vfork.S: Delete.
84776 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84777 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84778 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84779 (ret_ERRVAL, r0, r1, MOVE): Define.
84780 (JUMPTARGET): Remove.
84781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84782 sysdeps/unix/sparc/sysdep.h
84783 (ENTRY, END): Remove.
84784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84785
84786 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84787
84788 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84789 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84790 -DIS_IN_build.
84791
84792 * timezone/README: Update upstream location and email address for
84793 tzcode and tzdata.
84794 * timezone/zdump.c: Update from tzcode 2012b.
84795 * timezone/zic.c: Likewise.
84796
84797 * configure.in (libc_cv_as_needed): Remove test.
84798 * configure: Regenerated.
84799 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84800 conditional definition.
84801 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84802 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84803 * config.make.in (have-as-needed): Remove variable.
84804
84805 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84806 Paul Pluzhnikov <ppluzhnikov@google.com>
84807
84808 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84809 strings correctly.
84810
84811 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84812
84813 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84814 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84815 * sysdeps/sh/strlen.S: Likewise.
84816
84817 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84818
84819 * sysdeps/unix/fork.S: Remove file.
84820 * sysdeps/unix/i386/fork.S: Likewise.
84821 * sysdeps/unix/sparc/fork.S: Likewise.
84822
84823 * sysdeps/unix/system.c: Remove file.
84824 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84825
84826 * sysdeps/unix/getegid.S: Remove file.
84827 * sysdeps/unix/geteuid.S: Likewise.
84828
84829 2012-04-24 Roland McGrath <roland@hack.frob.com>
84830
84831 * scripts/check-localplt.awk: New file.
84832 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84833 of diff.
84834 * scripts/data/localplt-generic.data: Add a comment.
84835
84836 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84837 NODE when __dir_mkfile failed.
84838 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84839 Reported by Ludovic Courtès <ludo@gnu.org>.
84840
84841 2012-04-24 Andreas Jaeger <aj@suse.de>
84842
84843 * Makerules (common-clean): Also remove gen-as-const-headers
84844 files.
84845
84846 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84847
84848 * Makerules (native-compile): Do not change working directory for
84849 build. Use $(OUTPUT_OPTION) in command.
84850 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84851
84852 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84853
84854 [BZ #13886]
84855 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84856 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84857 * math/libm-test.inc (floor_test): Add more tests.
84858 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84859
84860 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84861
84862 * sysdeps/unix/getdents.c: Remove file.
84863 * sysdeps/unix/sysv/getdents.c: Likewise.
84864 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84865
84866 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84867 sysdeps/unix/mman/syscalls.list.
84868 (mmap): Likewise.
84869 (mprotect): Likewise.
84870 (msync): Likewise.
84871 (munmap): Likewise.
84872 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84873 * sysdeps/unix/mman/syscalls.list: Remove.
84874 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84875
84876 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84877 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84878 * configure: Regenerated.
84879 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84880 $(libgcc_s_suffix).
84881 * config.make.in (libgcc_s_suffix): Remove variable.
84882
84883 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84884
84885 * sysdeps/unix/sysv/gethostname.c: Move to ...
84886 * sysdeps/posix/gethostname.c: ... here.
84887
84888 * sysdeps/unix/execve.S: Remove file.
84889
84890 * sysdeps/unix/_exit.S: Remove file.
84891
84892 2012-04-23 Andreas Jaeger <aj@suse.de>
84893
84894 [BZ #13739]
84895 * manual/Makefile: Remove make dist support, there's no
84896 need for a stand-alone documentation tar ball.
84897 (TEXI2DVI): Define always, it's not in Makeconfig.
84898 (dist): Removed.
84899 (tar-it): Removed.
84900 (edition): Removed.
84901 (glibc-doc-$(edition).tar): Removed
84902 (%.Z): Removed.
84903 (%.gz): Removed.
84904 (%.uu): Removed.
84905 (ETAGS): Remove, it's in Makeconfig.
84906 (move-if-change): Remove, it's in Makeconfig.
84907
84908 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84909
84910 [BZ #13970]
84911 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84912 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84913 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84914 (strtod_l, strtof_l, strtold_l): Remove __wur.
84915 It is not necessarily an error to ignore strtol's return value.
84916 One can reliably look at the stored endptr to decide whether
84917 the number had valid syntax.
84918
84919 2012-04-21 Andreas Jaeger <aj@suse.de>
84920
84921 [BZ #13739]
84922 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84923
84924 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84925
84926 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84927 * sysdeps/unix/sysv/Versions: Remove file.
84928
84929 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84930
84931 [BZ #13927]
84932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84933
84934 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84935
84936 [BZ #7064]
84937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84938 version from __vm86.
84939
84940 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84941
84942 * sysdeps/unix/common/lxstat.c: Remove file.
84943 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84944
84945 * sysdeps/unix/sysv/Makefile: Remove file.
84946
84947 * sysdeps/unix/sysv/direct.h: Remove file.
84948
84949 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84950 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84951 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84952 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84953 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84954 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84955 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84956
84957 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84958
84959 * sysdeps/unix/xmknod.c: Remove file.
84960 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84961
84962 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84963
84964 * sysdeps/unix/sysv/i386/time.S: Remove file.
84965
84966 * sysdeps/unix/fxstat.c: Remove file.
84967 * sysdeps/unix/xstat.c: Likewise.
84968 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84969
84970 * sysdeps/unix/sysv/sigaction.c: Remove file.
84971
84972 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84973 (sysdep_headers): Remove variable.
84974 [termio.h not in sysdep_headers] (generated): Likewise.
84975 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84976 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84977 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84978 * sysdeps/unix/sysv/tcflow.c: Likewise.
84979 * sysdeps/unix/sysv/tcflush.c: Likewise.
84980 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84981 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84982 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84983 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84984 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84985
84986 * sysdeps/unix/siglist.c: Remove file.
84987
84988 * sysdeps/unix/getppid.S: Remove file.
84989
84990 * sysdeps/unix/mkdir.c: Remove file.
84991 * sysdeps/unix/rmdir.c: Likewise.
84992
84993 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84994
84995 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84996 ERR_MAX value.
84997 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84998 errlist-compat value.
84999
85000 2012-04-18 David S. Miller <davem@davemloft.net>
85001
85002 * sysdeps/generic/memcopy.h (reg_char): Delete.
85003 * debug/strcat_chk.c: Use char, not reg_char.
85004 * debug/strcpy_chk.c: Likewise.
85005 * debug/strncat_chk.c: Likewise.
85006 * debug/strncpy_chk.c: Likewise.
85007 * string/memchr.c: Likewise.
85008 * string/memrchr.c: Likewise.
85009 * string/rawmemchr.c: Likewise.
85010 * string/strcat.c: Likewise.
85011 * string/strchr.c: Likewise.
85012 * string/strchrnul.c: Likewise.
85013 * string/strcmp.c: Likewise.
85014 * string/strcpy.c: Likewise.
85015 * string/strncat.c: Likewise.
85016 * string/strncmp.c: Likewise.
85017 * string/strncpy.c: Likewise.
85018
85019 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85020
85021 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
85022 __builtin_memcopy is called when src and dest ranges are known to not
85023 overlap.
85024
85025 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85026
85027 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
85028 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
85029 fwd_align_merge macro call.
85030 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
85031 bwd_align_merge macro call.
85032 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85033
85034 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85035
85036 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
85037 bwd_align_merge macros.
85038 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
85039 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
85040 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85041
85042 2012-04-18 David S. Miller <davem@davemloft.net>
85043
85044 * sysdeps/sparc/sparc64/memcopy.h: Delete.
85045
85046 2012-04-18 Andreas Jaeger <aj@suse.de>
85047
85048 [BZ #6794]
85049 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
85050 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
85051 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85052
85053 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
85054 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
85055 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85056
85057 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
85058 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
85059 Adjust for changed ldbl-128 files.
85060
85061 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
85062 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
85063 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85064
85065 2012-04-17 David S. Miller <davem@davemloft.net>
85066
85067 * sysdeps/sparc/sparc32/memcopy.h: Delete.
85068
85069 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
85070
85071 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
85072 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
85073 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
85074 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
85075 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
85076 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
85077
85078 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85079
85080 [BZ #6794]
85081 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
85082 * math/libm-test.inc: Add ilogb errno and exception tests.
85083 * math/w_ilogb.c: New file: ilogb wrapper.
85084 * math/w_ilogbf.c: New file: ilogbf wrapper.
85085 * math/w_ilogbl.c: New file: ilogbl wrapper.
85086 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
85087 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
85088 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
85089 exception being thrown with 0.0 as argument.
85090 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
85091 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
85092 exception being thrown with 0.0 as argument.
85093 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
85094 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85095 exception being thrown with 0.0 as argument.
85096 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
85097 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85098 exception being thrown with 0.0 as argument.
85099 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
85100 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
85101 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
85102 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
85103 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
85104 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
85105 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
85106 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
85107 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
85108
85109 2012-04-17 Petr Baudis <pasky@ucw.cz>
85110
85111 * include/sys/uio.h: Change __vector to __iovec to avoid clash
85112 with altivec.
85113
85114 2012-04-16 Marek Polacek <polacek@redhat.com>
85115
85116 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
85117
85118 2012-04-16 Marek Polacek <polacek@redhat.com>
85119
85120 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
85121 operands of fdivp instruction.
85122
85123 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
85124
85125 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
85126 * elf/tst-auditmod3b.c: Likewise.
85127 * elf/tst-auditmod4b.c: Likewise.
85128 * elf/tst-auditmod5b.c: Likewise.
85129 * elf/tst-auditmod6b.c: Likewise.
85130 * elf/tst-auditmod6c.c: Likewise.
85131 * elf/tst-auditmod7b.c: Likewise.
85132 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
85133 * sysdeps/x86_64/preconfigure.in: Likewise.
85134 * sysdeps/x86_64/preconfigure: Regenerated.
85135
85136 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
85137
85138 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85139 __ILP32__.
85140
85141 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
85142
85143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85144 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
85145
85146 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
85147
85148 [BZ #13973]
85149 * locale/iso-639.def: Fix gl language name. Spotted by
85150 Yaron Shahrabani.
85151
85152 2012-04-12 Roland McGrath <roland@hack.frob.com>
85153
85154 [BZ #2074]
85155 * libio/libio.h (__io_write_fn): Update comment.
85156
85157 2012-04-12 Petr Baudis <pasky@ucw.cz>
85158
85159 [BZ #2074]
85160 * stdio.texi (Hook Functions): The user provided writer function
85161 is not allowed to return -1.
85162
85163 2012-04-11 David S. Miller <davem@davemloft.net>
85164
85165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85166
85167 2012-04-11 Mike Frysinger <vapier@gentoo.org>
85168
85169 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85170 Add a leading slash to rtkaio.
85171
85172 2012-04-11 Jim Meyering <meyering@redhat.com>
85173
85174 [BZ #11959]
85175 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85176 It is not necessarily an error to ignore fwrite's return
85177 value. One can reliably use ferror to test for errors after
85178 the fact.
85179
85180 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85181
85182 * bits/types.h (__snseconds_t): New type.
85183 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85184
85185 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85187 (__SNSECONDS_T_TYPE): Likewise.
85188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85189 (__SNSECONDS_T_TYPE): Likewise.
85190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85191 (__SNSECONDS_T_TYPE): Likewise.
85192
85193 2012-04-10 Andreas Jaeger <aj@suse.de>
85194
85195 [BZ #2636]
85196 * manual/time.texi (Processor Time): Return type of times is
85197 elapsed real time since an arbitrary point in the past.
85198 (CPU Time): Move CLK_TCK from here...
85199 (Processor Time): ...to here. Correct description.
85200 * manual/conf.texi (Constants for Sysconf): Correct description of
85201 _SC_CLK_TCK.
85202
85203 2012-04-10 David S. Miller <davem@davemloft.net>
85204
85205 [BZ #13967]
85206 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85207 where the is a gap between DT_REL(A) and DT_JMPREL.
85208
85209 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85210
85211 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85212 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85213 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85214
85215 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
85216
85217 * elf/dl-support.c (_dl_inhibit_cache): New variable.
85218 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85219 (dl_main): Handle --inhibit-cache.
85220 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85221 _dl_inhibit_cache.
85222 * elf/dl-load.c (_dl_map_object): Use it.
85223 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85224
85225 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85226
85227 [BZ #13872]
85228 * sysdeps/i386/fpu/e_powl.S (p78): New object.
85229 (__ieee754_powl): Saturate large exponents rather than testing for
85230 overflow of y*log2(x).
85231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85232 * math/libm-test.inc (pow_test): Do not permit spurious overflow
85233 exceptions.
85234
85235 [BZ #11521]
85236 * math/s_ctan.c: Include <float.h>.
85237 (__ctan): Avoid internal overflow or cancellation in calculating
85238 denominator.
85239 * math/s_ctanf.c: Likewise.
85240 * math/s_ctanl.c: Likewise.
85241 * math/s_ctanh.c: Likewise.
85242 * math/s_ctanhf.c: Likewise.
85243 * math/s_ctanhl.c: Likewise.
85244 * math/libm-test.inc (ctan_test): Add more tests.
85245 (ctanh_test): Likewise.
85246 * sysdeps/i386/fpu/libm-test-ulps: Update.
85247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85248
85249 2012-04-09 Andreas Jaeger <aj@suse.de>
85250
85251 [BZ #6894]
85252 * manual/filesys.texi (Directory Entries): Mention that d_namlen
85253 is an optional BSD extension.
85254
85255 [BZ #10254]
85256 * manual/stdio.texi (Opening Streams): Document additional fopen
85257 parameters.
85258
85259 2012-04-09 Roland McGrath <roland@hack.frob.com>
85260
85261 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85262 %eax without telling the compiler.
85263
85264 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
85265
85266 [BZ # 13963]
85267 * manual/install.texi: Use sourceware.org.
85268
85269 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85270
85271 [BZ #13873]
85272 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85273 (__ieee754_pow): Generate overflow and underflow using huge*huge
85274 and tiny*tiny rather than just returning constant infinity or zero
85275 for large exponents.
85276 * math/libm-test.inc (pow_test): Require overflow exceptions for
85277 applicable cases of large exponents.
85278
85279 [BZ #706]
85280 * sysdeps/i386/fpu/e_pow.S (p10): New object.
85281 (__ieee754_pow): Use iterative multiplication algorithm only for
85282 integer exponents with absolute value below 1024. Check for odd
85283 integer exponents when using algorithm for real exponents.
85284 * math/libm-test.inc (pow_test): Add more tests.
85285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85286
85287 2012-04-08 Joseph Myers <joseph@codesourcery.com>
85288
85289 [BZ #13705]
85290 * math/libm-test.inc (exp_test): Do not allow overflow exception
85291 on underflow test.
85292
85293 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
85294
85295 [BZ #13705]
85296 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85297 instead of __kernel_standard_f.
85298
85299 2012-04-08 Mike Frysinger <vapier@gentoo.org>
85300
85301 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85302 * sysdeps/x86_64/memset_chk.S: Likewise.
85303
85304 2012-04-08 Andreas Jaeger <aj@suse.de>
85305
85306 [BZ #10153]
85307 * manual/startup.texi (Environment Access): Describe return value
85308 for putenv and setenv.
85309
85310 [BZ #6895]
85311 * manual/filesys.texi (Directory Entries): Add description for
85312 DT_LNK.
85313
85314 [BZ #6890]
85315 * manual/filesys.texi (Directory Entries): Clarify that it's file
85316 system not operating system in the description of DT_UNKNOWN.
85317
85318 [BZ #6578]
85319 * manual/syslog.texi (closelog): Fix reference, it's openlog.
85320
85321 2012-04-08 Stephen Compall <s11@member.fsf.org>
85322
85323 [BZ #6649]
85324 * manual/llio.texi (Opening and Closing Files): Add cross
85325 reference to explain mode argument.
85326
85327 2012-04-07 Mike Frysinger <vapier@gentoo.org>
85328
85329 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85330 * sysdeps/x86_64/memset_chk.S: Likewise.
85331
85332 2012-04-07 David S. Miller <davem@davemloft.net>
85333
85334 * elf/elf.h (R_SPARC_WDISP10): Define.
85335 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85336 R_SPARC_SIZE32.
85337 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85338 R_SPARC_SIZE64 and R_SPARC_H34.
85339
85340 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
85341
85342 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85343 conditions and remove no longer applicable assertion.
85344
85345 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85346
85347 * bits/byteswap.h: Include <features.h>.
85348 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85349 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85350
85351 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85352
85353 * bits/byteswap.h (__bswap_16): Removed.
85354 Include <bits/byteswap-16.h> to get __bswap_16.
85355 * sysdeps/i386/bits/byteswap.h: Likewise.
85356 * sysdeps/s390/bits/byteswap.h: Likewise.
85357 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85358 * bits/byteswap-16.h: New file.
85359 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85360 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85361 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85362 * string/Makefile (headers): Add bits/byteswap-16.h.
85363
85364 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
85365
85366 [BZ #13895]
85367 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85368 extra indirection.
85369 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85370 * nss/tst-nss-static.c: New.
85371
85372 2012-04-06 Robert Millan <rmh@gnu.org>
85373
85374 [BZ #6486]
85375 * manual/llio.texi (File Position Primitive): lseek
85376 refers to WHENCE when it really means OFFSET.
85377
85378 2012-04-06 Andreas Jaeger <aj@suse.de>
85379
85380 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85381 strncmp declarations.
85382
85383 * abilist/libc.abilist: Add __poll and __ppoll.
85384
85385 2012-04-05 David S. Miller <davem@davemloft.net>
85386
85387 * scripts/check-local-headers.sh: Accept a host triplet in the
85388 path matched by the exclude regexp.
85389
85390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85391 definition.
85392 * sysdeps/powerpc/powerpc32/dl-machine.h
85393 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85394 * sysdeps/s390/s390-32/dl-machine.h
85395 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85396 * sysdeps/sparc/sparc32/dl-machine.h
85397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85398 * sysdeps/sparc/sparc64/dl-machine.h
85399 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85400
85401 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85402 lazy binding.
85403 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85404 undefined symbol errors.
85405
85406 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85407 DT_NEEDED entries.
85408
85409 2012-04-05 Michael Matz <matz@suse.de>
85410
85411 [BZ #13592]
85412 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85413
85414 2012-04-05 Andreas Jaeger <aj@suse.de>
85415
85416 [BZ #13908]
85417 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85418 comment.
85419
85420 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85421
85422 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85423 which ROUND is no valid rounding mode.
85424
85425 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85426
85427 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85428 read again.
85429 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85430
85431 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85432
85433 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85434 an exception using FPU order intentionally.
85435
85436 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85437
85438 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85439 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85440 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85441 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85442
85443 2012-04-05 Simon Josefsson <simon@josefsson.org>
85444
85445 [BZ #12340]
85446 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85447 EINVAL when BUFLEN is too smal.
85448
85449 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85450
85451 [BZ #13553]
85452 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85453 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85454
85455 2012-04-03 Andreas Jaeger <aj@suse.de>
85456
85457 [BZ #13938]
85458 * manual/setjmp.texi (System V contexts): Fix sentence.
85459
85460 [BZ #13926]
85461 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85462 New macro for this case.
85463 [!__GNUC__] (__bswap_64): New inline function for this case.
85464 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85465 * bits/byteswap.h: Likewise.
85466 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85467 ull, guard with __GLIBC_HAVE_LONG_LONG.
85468
85469 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85470 __GLIBC_HAVE_LONG_LONG.
85471
85472 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85473 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85474
85475 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85476
85477 [BZ #13691]
85478 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85479 inptr and inend, rather than using last_ch.
85480
85481 2012-04-02 David S. Miller <davem@davemloft.net>
85482
85483 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85484 * stdio-common/printf-parse.h (read_int): Change return type to
85485 'int', return -1 on INT_MAX overflow.
85486 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85487 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85488 overflows INT_MAX. Check for overflow of in-format-string precision
85489 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85490 SIZE_MAX not INT_MAX for integer overflow test.
85491 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85492 skip the construct in the format string but do not record anything.
85493 * stdio-common/bug22.c: Adjust to test both width/prevision
85494 INT_MAX overflow as well as total length INT_MAX overflow. Check
85495 explicitly for proper errno values.
85496
85497 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85498
85499 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85500 CHAR_MAX.
85501 * string/test-strcmp.c [! WIDE]: Likewise.
85502 * time/tst-mktime2.c: Likewise for INT_MAX.
85503 * string/test-string.h: #include <sys/param.h> for MIN.
85504
85505 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85506 * sysdeps/i386/init-first.c (init): Likewise.
85507 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85508 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85509 * sysdeps/sh/init-first.c (init): Likewise.
85510
85511 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85512
85513 * po/ru.po: Update from translation team.
85514 * po/vi.po: Likewise.
85515
85516 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85517
85518 * resolv/nss_dns/dns-host.c: Merge copyright years.
85519
85520 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85521
85522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85523 Optimize memcpy with prefetch if
85524 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85525 src, dst pointers have unequal 16 byte alignments.
85526
85527 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85528
85529 [BZ #13928]
85530 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85531 from a CNAME entry and return the minimum ttl for the query.
85532 (gaih_getanswer_slice): Likewise.
85533
85534 2012-03-30 Jeff Law <law@redhat.com>
85535
85536 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85537 due to long keys.
85538 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85539 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85540
85541 * resolv/nss_dns/dns-host.c: Update copyright year.
85542
85543 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85544
85545 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85546 requests to save a system call. Fix check that all bytes are sent.
85547
85548 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85549 comments for sendmmsg.
85550
85551 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85552
85553 [BZ #13691]
85554 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85555 with only 1 character between 0x0041 and 0x01b0.
85556 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85557 * wcsmbs/tst-mbsnrtowcs.c: New file.
85558
85559 2012-03-29 David S. Miller <davem@davemloft.net>
85560
85561 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85562 small copies by hand.
85563
85564 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85565
85566 [BZ #13761]
85567 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85568 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85569 group memberships.
85570
85571 2012-03-28 David S. Miller <davem@davemloft.net>
85572
85573 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85574 that branches into memcpy.
85575 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85578 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85580 bits.
85581 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85582 implementation too.
85583 * sysdeps/sparc/mempcpy.S: New file.
85584
85585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85586 the IFUNC routine in the libc case.
85587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85588
85589 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85590 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85591 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85592 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85593 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85594 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85595 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85596 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85597
85598 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85599 loop to 256 bytes instead of 64 bytes and fix test signedness.
85600
85601 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85602 * sysdeps/sparc/sparc32/Makefile: rather than here...
85603 * sysdeps/sparc/sparc64/Makefile: and here.
85604
85605 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85606
85607 * malloc/mallocbug.c: Avoid warnings about unused variables.
85608
85609 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85610
85611 [BZ #13760]
85612 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85613 in the right place. Discard and retry query if response is
85614 larger than input buffer size.
85615
85616 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85617
85618 [BZ #369]
85619 [BZ #2678]
85620 [BZ #3866]
85621 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85622 x for large integer exponent.
85623 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85624 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85625 sign of result as needed afterwards.
85626 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85627 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85628 result for underflowing pow the same as for overflow.
85629 (__kernel_standard_l): Handle powl overflow and underflow here
85630 rather than calling __kernel_standard.
85631 * math/libm-test.inc (pow_test): Add more tests.
85632
85633 [BZ #3868]
85634 [BZ #13879]
85635 [BZ #13910]
85636 [BZ #13911]
85637 [BZ #13912]
85638 [BZ #13913]
85639 [BZ #13915]
85640 [BZ #13916]
85641 [BZ #13917]
85642 [BZ #13918]
85643 [BZ #13919]
85644 [BZ #13920]
85645 [BZ #13921]
85646 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85647 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85648 (__kernel_standard_l): New function.
85649 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85650 __kernel_standard.
85651 * math/w_acosl.c (__acosl): Likewise.
85652 * math/w_asinl.c (__asinl): Likewise.
85653 * math/w_atan2l.c (__atan2l): Likewise.
85654 * math/w_atanhl.c (__atanhl): Likewise.
85655 * math/w_coshl.c (__coshl): Likewise.
85656 * math/w_exp10l.c (__exp10l): Likewise.
85657 * math/w_exp2l.c (__exp2l): Likewise.
85658 * math/w_fmodl.c (__fmodl): Likewise.
85659 * math/w_hypotl.c (__hypotl): Likewise.
85660 * math/w_j0l.c (__j0l, __y0l): Likewise.
85661 * math/w_j1l.c (__j1l, __y1l): Likewise.
85662 * math/w_jnl.c (__jnl, __ynl): Likewise.
85663 * math/w_lgammal.c (__lgammal): Likewise.
85664 * math/w_log10l.c (__log10l): Likewise.
85665 * math/w_log2l.c (__log2l): Likewise.
85666 * math/w_logl.c (__logl): Likewise.
85667 * math/w_powl.c (__powl): Likewise.
85668 * math/w_remainderl.c (__remainderl): Likewise.
85669 * math/w_scalbl.c (sysv_scalbl): Likewise.
85670 * math/w_sinhl.c (__sinhl): Likewise.
85671 * math/w_sqrtl.c (__sqrtl): Likewise.
85672 * math/w_tgammal.c (__tgammal): Likewise.
85673 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85674 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85675 * math/libm-test.inc (acos_test): Add more tests.
85676 (acosh_test): Likewise.
85677 (asin_test): Likewise.
85678 (atanh_test): Likewise.
85679 (exp_test): Likewise.
85680 (exp10_test): Likewise.
85681 (exp2_test): Likewise.
85682 (expm1_test): Likewise.
85683 (lgamma_test): Likewise.
85684 (log_test): Likewise.
85685 (log10_test): Likewise.
85686 (log1p_test): Likewise.
85687 (log2_test): Likewise.
85688 (pow_test): Do not allow some spurious overflow exceptions.
85689 (sqrt_test): Add more tests.
85690 (tgamma_test): Likewise.
85691 (y0_test): Likewise.
85692 (y1_test): Likewise.
85693 (yn_test): Likewise.
85694
85695 2012-03-27 Anton Blanchard <anton@samba.org>
85696
85697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85698 MAP_HUGETLB.
85699 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85700 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85701 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85702
85703 2012-03-27 David S. Miller <davem@davemloft.net>
85704
85705 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85706
85707 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85708 have-as-vis3 check.
85709
85710 2012-03-27 Andreas Jaeger <aj@suse.de>
85711
85712 * sysdeps/x86_64/elf/configure.in: Moved to ...
85713 * sysdeps/x86_64/configure.in: ... here.
85714 * sysdeps/x86_64/elf/start.S: Moved to ...
85715 * sysdeps/x86_64/start.S: ... here.
85716 * sysdeps/x86_64/elf/configure: Delete.
85717
85718 * sysdeps/x86_64/configure.in: Merge contents from
85719 sysdeps/i386/configure.in (without i686 check).
85720
85721 * sysdeps/i386/elf/Versions: Merge into ...
85722 * sysdeps/i386/Versions: ... this.
85723 * sysdeps/i386/elf/Versions: Delete file.
85724 * sysdeps/i386/elf/start.S: Moved to ...
85725 * sysdeps/i386/start.S: ...here.
85726 * sysdeps/i386/elf/configure.in: Merge into...
85727 * sysdeps/i386/configure.in: ...here.
85728 * sysdeps/i386/elf/configure.in: Delete file.
85729 * sysdeps/i386/elf/configure: Delete file.
85730
85731 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85732 * debug/backtracesyms.c: ... here.
85733 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85734 * debug/backtracesymsfd.c: ... here.
85735 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85736 * sysdeps/generic/ifunc-sel.h: ... here.
85737
85738 * sysdeps/unix/i386/start.c: Delete file.
85739 * sysdeps/unix/sparc/start.c: Delete file.
85740 * sysdeps/unix/start.c: Delete file.
85741
85742 * sysdeps/sh/elf/configure.in: Moved to ...
85743 * sysdeps/sh/configure.in: ... here.
85744 * sysdeps/sh/elf/start.S: Moved to ...
85745 * sysdeps/sh/start.S: ... here.
85746 * sysdeps/sh/elf/configure: Delete file.
85747
85748 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85749 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85750 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85751 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85752 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85753 * sysdeps/powerpc/powerpc64/start.S: here.
85754 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85755 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85756 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85757 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85758 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85759
85760 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85761 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85762 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85763 * sysdeps/powerpc/powerpc32/start.S: ... here.
85764 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85765 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85766 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85767
85768 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85769 * sysdeps/powerpc/ifunc-sel.h: ... here.
85770 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85771 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85772
85773 * sysdeps/sparc/elf/configure.in: Moved to ...
85774 * sysdeps/sparc/configure.in: ... here.
85775 * sysdeps/sparc/elf/configure: Delete file.
85776 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85777 * sysdeps/sparc/sparc32/start.S: ... here.
85778 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85779 * sysdeps/sparc/sparc64/start.S: ... here.
85780 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85781 * sysdeps/sparc/sparc32/Makefile: ... this.
85782 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85783 * sysdeps/sparc/sparc64/Makefile: ... this.
85784
85785 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85786 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85787 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85788 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85789 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85790 * sysdeps/s390/s390-32/setjmp.S: ... here.
85791 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85792 * sysdeps/s390/s390-32/configure.in: ... here.
85793 * sysdeps/s390/s390-32/elf/configure: Delete file.
85794 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85795 * sysdeps/s390/s390-32/start.S: ... here.
85796
85797 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85798 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85799 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85800 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85801 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85802 * sysdeps/s390/s390-64/setjmp.S: ... here.
85803 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85804 * sysdeps/s390/s390-64/configure.in: ... here
85805 * sysdeps/s390/s390-64/elf/configure: Delete file.
85806 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85807 * sysdeps/s390/s390-64/start.S: ... here.
85808 * sysdeps/s390/s390-64/elf/configure: Delete.
85809
85810 * configure.in: Remove support for elf directories in sysdeps.
85811
85812 * configure: Regenerated.
85813 * sysdeps/i386/configure: Regenerated.
85814 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85815 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85816 * sysdeps/s390/s390-32/configure: Regenerated.
85817 * sysdeps/s390/s390-64/configure: Regenerated.
85818 * sysdeps/sh/configure: Regenerated.
85819 * sysdeps/sparc/configure: Regenerated.
85820 * sysdeps/x86_64/configure: Regenerated.
85821
85822 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85823
85824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85825
85826 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85827 denormal result into account.
85828
85829 2012-03-25 Roland McGrath <roland@hack.frob.com>
85830
85831 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85832 Reported by Allan McRae <allan@archlinux.org>.
85833
85834 2012-03-23 Jeff Law <law@redhat.com>
85835
85836 * nss/getnssent.c (__nss_getent): Fix typo.
85837
85838 2012-03-23 David S. Miller <davem@davemloft.net>
85839
85840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85841
85842 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85843
85844 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85845 to pad to uint64_t for each field.
85846 (dl_tls_index): Replace unsigned long with uint64_t.
85847
85848 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85849 Paul Pluzhnikov <ppluzhnikov@google.com>
85850
85851 [BZ #6528]
85852 * grp/Makefile (otherlibs): Don't set it.
85853 * inet/Makefile (otherlibs): Likewise.
85854 * login/Makefile (otherlibs): Likewise.
85855 * nscd/Makefile (otherlibs): Likewise.
85856 * posix/Makefile (otherlibs): Likewise.
85857 * pwd/Makefile (otherlibs): Likewise.
85858 * rt/Makefile (otherlibs): Likewise.
85859 * sunrpc/Makefile (otherlibs): Likewise.
85860 * nss/Makefile (otherlibs): Likewise.
85861 Add libnss_files to routines and static-only-routines.
85862 ($(objpfx)getent): Remove rule.
85863 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85864 static-only-routines.
85865
85866 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85867
85868 [BZ #13892]
85869 * math/s_cexp.c: Include <float.h>.
85870 (__cexp): Handle exp result overflowing not necessarily
85871 overflowing both real and imaginary parts of result.
85872 * math/s_cexpf.c: Likewise.
85873 * math/s_cexpl.c: Likewise.
85874 * math/libm-test.inc (cexp_test): Add more tests.
85875 * sysdeps/i386/fpu/libm-test-ulps: Update.
85876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85877
85878 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85879
85880 * include/link.h (ELFW): New macro.
85881 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85882 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85883
85884 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85885
85886 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85887 with uint64_t.
85888
85889 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85890
85891 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85892 declaration.
85893 (struct La_x32_retval): Likewise.
85894
85895 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85896
85897 * sysdeps/x86_64/preconfigure.in: New file.
85898 * sysdeps/x86_64/preconfigure: New generated file.
85899
85900 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85901
85902 [BZ #13824]
85903 * math/e_exp2l.c: Include <float.h>.
85904 (__ieee754_exp2l): Handle overflow and underflow cases
85905 separately. Only pass fractional part of argument to
85906 __ieee754_expl.
85907 * math/libm-test.inc (exp2_test): Add more tests.
85908
85909 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85910 negating x to take absolute value.
85911 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85912 Likewise.
85913 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85914 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85915 Likewise.
85916 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85917 computing low part if x was negated.
85918 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85919
85920 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85921
85922 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85923 la_x32_gnu_pltexit.
85924 (pltexit): Cast int_retval to ptrdiff_t.
85925 * elf/tst-auditmod3b.c: Likewise.
85926 * elf/tst-auditmod4b.c: Likewise.
85927 * elf/tst-auditmod5b.c: Likewise.
85928 * elf/tst-auditmod6b.c: Likewise.
85929 * elf/tst-auditmod6c.c: Likewise.
85930 * elf/tst-auditmod7b.c: Likewise.
85931
85932 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85933 and x32_gnu_pltexit.
85934
85935 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85936 __ELF_NATIVE_CLASS.
85937 (La_x32_regs): New macro.
85938 (La_x32_retval): Likewise.
85939 (la_x32_gnu_pltenter): New function prototype.
85940 (la_x32_gnu_pltexit): Likewise.
85941
85942 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85943
85944 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85945 exponent.
85946
85947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85948
85949 * configure.in (libc_cv_cc_nofma): Check for option to disable
85950 generation of FMA instructions.
85951 * configure: Regenerate.
85952 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85953 * sysdeps/ieee754/dbl-64/Makefile: New file.
85954 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85955 Remove brandred-fma4.
85956 (CFLAGS-brandred-fma4.c): Remove.
85957 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85958 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85959 define.
85960 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85961 define.
85962
85963 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85964
85965 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85966 LLONG_MAX != LONG_MAX.
85967 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85968 (_fitoa_word): Likewise.
85969 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85970 LLONG_MAX != LONG_MAX.
85971 * stdio-common/_itowa.h: Include <_itoa.h>.
85972 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85973 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85974 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85975 only if not defined.
85976 (_ITOA_WORD_TYPE): Likewise.
85977 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85978 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85979
85980 2012-03-21 David S. Miller <davem@davemloft.net>
85981
85982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85983
85984 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85985
85986 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85987 of x86_64 when setting libc_cv_slibdir, libdir and
85988 libc_cv_localedir.
85989 * sysdeps/unix/sysv/linux/configure: Regenerated.
85990
85991 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85992
85993 * manual/lang.texi (Old Varargs): Remove section.
85994 (How Variadic): Update menu.
85995 (va_start): Do not mention varargs.h.
85996
85997 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85998 Joseph Myers <joseph@codesourcery.com>
85999
86000 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
86001 link test.
86002 * configure: Regenerated.
86003
86004 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
86005
86006 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
86007 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
86008 conformtest.pl
86009
86010 2012-03-21 Joseph Myers <joseph@codesourcery.com>
86011
86012 * NOTES: Remove.
86013 * Makefile (files-for-dist): Remove NOTES.
86014 (NOTES): Remove rule.
86015 * README: Don't refer to NOTES.
86016 * manual/creature.texi: Don't include macros.texi.
86017 * manual/intro.texi (creature.texi): Remove comment referring to
86018 NOTES.
86019
86020 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
86021 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
86022 * configure: Regenerated.
86023 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
86024 LIBC_TRY_CC_OPTION.
86025 (libc_cv_as_i686): Likewise.
86026 (libc_cv_cc_avx): Likewise.
86027 (libc_cv_cc_sse2avx): Likewise.
86028 (libc_cv_cc_fma4): Likewise.
86029 (libc_cv_cc_novzeroupper): Likewise.
86030 * sysdeps/i386/configure: Regenerated.
86031
86032 [BZ #13883]
86033 * sysdeps/i386/fpu/s_cexp.S: Remove.
86034 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86035 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86036 * math/libm-test.inc (cexp_test): Add more tests.
86037 * sysdeps/i386/fpu/libm-test-ulps: Update.
86038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86039
86040 2012-03-21 Allan McRae <allan@archlinux.org>
86041
86042 * timezone/Makefile: Do not install iso3166.tab and zone.tab
86043
86044 2012-03-21 Joseph Myers <joseph@codesourcery.com>
86045
86046 [BZ #13871]
86047 * math/w_exp2.c: Do not include <float.h>.
86048 (o_threshold, u_threshold): Remove.
86049 (__exp2): Calculate result before checking finiteness and calling
86050 __kernel_standard.
86051 * math/w_exp2f.c: Likewise.
86052 * math/w_exp2l.c: Likewise.
86053 * math/libm-test.inc (exp2_test): Require overflow exception for
86054 1e6 input.
86055
86056 [BZ #3866]
86057 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
86058 range of signed 64-bit integers before using fistpll. Remove
86059 checks for whether integers fit in mantissa bits.
86060 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
86061 the range of signed 32-bit integers before using fistpl. Remove
86062 checks for whether integers fit in mantissa bits.
86063 * sysdeps/i386/fpu/e_powl.S (p64): New object.
86064 (__ieee754_powl): Test for y outside the range of signed 64-bit
86065 integers before using fistpll. Reduce 64-bit values to 63-bit
86066 ones as needed.
86067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
86068 divide-by-zero is raised for zero to large negative powers.
86069 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
86070 (__ieee754_powl): Test for y outside the range of signed 64-bit
86071 integers before using fistpll. Reduce 64-bit values to 63-bit
86072 ones as needed.
86073 * math/libm-test.inc (pow_test): Add more tests.
86074
86075 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86076
86077 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
86078 <stdio-common/_itoa.h>.
86079 * debug/segfault.c: Likewise.
86080 * elf/dl-cache.c: Likewise.
86081 * elf/dl-minimal.c: Likewise.
86082 * elf/dl-misc.c: Likewise.
86083 * elf/dl-sysdep.c: Likewise.
86084 * elf/dl-version.c: Likewise.
86085 * elf/rtld.c: Likewise.
86086 * hurd/hurdsock.c: Likewise.
86087 * hurd/lookup-retry.c: Likewise.
86088 * malloc/malloc.c: Likewise.
86089 * malloc/mtrace.c: Likewise.
86090 * nscd/nscd_getgr_r.c: Likewise.
86091 * nscd/nscd_getpw_r.c: Likewise.
86092 * nscd/nscd_getserv_r.c: Likewise.
86093 * posix/getopt_init.c: Likewise.
86094 * posix/wordexp.c: Likewise.
86095 * stdio-common/_itoa.c: Likewise.
86096 * stdio-common/printf_fphex.c: Likewise.
86097 * stdio-common/vfprintf.c: Likewise.
86098 * string/_strerror.c: Likewise.
86099 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
86100 * sysdeps/i386/i686/hp-timing.h: Likewise.
86101 * sysdeps/mach/_strerror.c: Likewise.
86102 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
86103 * sysdeps/mach/hurd/sethostid.c: Likewise.
86104 * sysdeps/mach/hurd/xmknodat.c: Likewise.
86105 * sysdeps/mach/xpg-strerror.c: Likewise.
86106 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
86107 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
86108 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
86109 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
86110 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
86111 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
86112 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
86113 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
86114 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
86115 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
86116 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
86117 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
86118 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
86119 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
86120 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
86121 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
86122 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
86123 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
86124 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
86125 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
86126 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
86127
86128 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
86129
86130 * stdio-common/_itoa.h: Moved to ...
86131 * sysdeps/generic/_itoa.h: Here.
86132
86133 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
86134
86135 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
86136 instead of "_itoa.h" and "_itowa.h".
86137 * stdio-common/vfprintf.: Likewise.
86138
86139 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86140
86141 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86142 <bits/wordsize.h>.
86143 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86144 (__signbit): Likewise.
86145 (llrintf): Likewise.
86146 (llrint): Likewise.
86147
86148 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86149
86150 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86151 __WORDSIZE != 64.
86152
86153 2012-03-20 Joseph Myers <joseph@codesourcery.com>
86154
86155 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86156 OVERFLOW_EXCEPTION_OK.
86157 * math/libm-test.inc ("Philosophy"): Update comment about
86158 exception testing.
86159 (OVERFLOW_EXCEPTION): Define.
86160 (OVERFLOW_EXCEPTION_OK): Likewise.
86161 (INVALID_EXCEPTION_OK): Renumber.
86162 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86163 (IGNORE_ZERO_INF_SIGN): Likewise.
86164 (test_exceptions): Handle FE_OVERFLOW.
86165 (exp10_test): Expect overflow exceptions.
86166 (exp2_test): Likewise.
86167 (expm1_test): Likewise.
86168 (nextafter_test): Likewise.
86169 (pow_test): Likewise.
86170 (scalbn_test): Likewise.
86171 (scalbln_test): Likewise.
86172
86173 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86174
86175 * sysdeps/x86_64/bits/atomic.h
86176 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86177 64bit integer.
86178 (atomic_exchange_acq): Likewise.
86179 (__arch_exchange_and_add_body): Likewise.
86180 (__arch_add_body): Likewise.
86181 (atomic_add_negative): Likewise.
86182 (atomic_add_zero): Likewise.
86183
86184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86185
86186 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86187 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86188
86189 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86190
86191 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86192 Check __x86_64__ instead of __WORDSIZE.
86193
86194 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86195
86196 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86197
86198 2012-03-19 David S. Miller <davem@davemloft.net>
86199
86200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86201
86202 * sysdeps/sparc/fpu/fenv_private.h: New file.
86203 * sysdeps/sparc/fpu/math_private.h: Use it.
86204 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86205 Remove.
86206 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86207 (libc_feholdexcept_setroundl): Remove.
86208 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86209 Remove.
86210 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86211 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86212
86213 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86214
86215 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86216 int64_t instead of long int.
86217 (INSERT_WORDS64): Likewise.
86218
86219 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86220
86221 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86222 _Unwind_GetCFA return to _Unwind_Ptr first.
86223
86224 2012-03-19 Joseph Myers <joseph@codesourcery.com>
86225
86226 [BZ #13629]
86227 * math/s_clog.c: Include <float.h>.
86228 (__clog): Scale large or subnormal inputs.
86229 * math/s_clogf.c: Likewise.
86230 * math/s_clogl.c: Likewise.
86231 * math/s_clog10.c: Include <float.h>.
86232 (M_LOG10_2): Define.
86233 (__clog10): Scale large or subnormal inputs.
86234 * math/s_clog10f.c: Likewise.
86235 * math/s_clog10l.c: Likewise.
86236 * math/libm-test.inc (clog_test): Add more tests.
86237 (clog10_test): Likewise.
86238 * sysdeps/i386/fpu/libm-test-ulps: Update.
86239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86240
86241 [BZ #11451]
86242 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86243 x and y.
86244 * math/libm-test.inc (atan2_test): Add another test.
86245
86246 * Makerules (common-objdir-compile): Remove.
86247 * sysdeps/unix/Makefile (config-generated): Do not add
86248 $(unix-generated) to variable.
86249 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86250 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86251 Remove rule.
86252 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86253 Likewise.
86254 [generic bits/local_lim.h] (before-compile): Do not append to
86255 variable.
86256 [generic bits/local_lim.h] (common-generated): Likewise.
86257 [generic sys/param.h] (before-compile): Do not append to variable.
86258 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86259 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86260 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86261 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86262 include.
86263 [generic sys/param.h] (sys/param.h-includes): Remove variable.
86264 [generic sys/param.h] (sys/param.h-includes): Remove rule.
86265 [generic sys/param.h] ($(addprefix
86266 $(common-objpfx),$(sys/param.h-includes))): Likewise.
86267 [generic sys/param.h] (common-generated): Do not append to
86268 variable.
86269 [generic sys/param.h] (sysdep_headers): Likewise.
86270 [generic bits/errno.h] (before-compile): Do not append to
86271 variable.
86272 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86273 rule.
86274 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86275 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86276 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86277 [generic bits/errno.h] (common-generated): Do not append to
86278 variable.
86279 [generic bits/ioctls.h] (before-compile): Do not append to
86280 variable.
86281 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86282 rule.
86283 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86284 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86285 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86286 rule.
86287 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86288 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86289 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86290 [generic bits/ioctls.h] (common-generated): Do not append to
86291 variable.
86292 [generic sys/syscall.h] (syscall.h): Remove variable.
86293 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86294 rule.
86295 [generic sys/syscall.h] (before-compile): Do not append to
86296 variable.
86297 [generic sys/syscall.h] (common-generated): Likewise.
86298 * sysdeps/unix/errnos-tmpl.c: Remove file.
86299 * sysdeps/unix/errnos.awk: Likewise.
86300 * sysdeps/unix/ioctls-tmpl.c: Likewise.
86301 * sysdeps/unix/ioctls.awk: Likewise.
86302 * sysdeps/unix/mk-local_lim.c: Likewise.
86303 * sysdeps/unix/snarf-ioctls: Likewise.
86304
86305 2012-03-19 Richard Henderson <rth@twiddle.net>
86306
86307 * sysdeps/i386/fpu/fenv_private.h: New file.
86308 * sysdeps/i386/fpu/math_private.h: Use it.
86309 (math_opt_barrier, math_force_eval): Remove.
86310 (libc_feholdexcept_setround_53bit): Remove.
86311 (libc_feupdateenv_53bit): Remove.
86312 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86313 (math_opt_barrier, math_force_eval): Remove.
86314 (libc_feholdexcept): Remove.
86315 (libc_feholdexcept_setround): Remove.
86316 (libc_fetestexcept, libc_fesetenv): Remove.
86317 (libc_feupdateenv_test): Remove.
86318 (libc_feupdateenv, libc_feholdsetround): Remove.
86319 (libc_feresetround): Remove.
86320
86321 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86322 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86323
86324 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86325 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86326 (libc_feupdateenv_testl): New.
86327 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86328 (libc_feupdateenv_testf): New.
86329 (libc_feupdateenv): Use libc_feupdateenv_test.
86330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86331 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86332
86333 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86334 (libc_feholdsetroundf, libc_feholdsetroundl): New.
86335 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86336 (libc_feresetround_noex): New.
86337 (libc_feresetround_noexf): New.
86338 (libc_feresetround_noexl): New.
86339 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86340 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86341 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86342 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86343 SET_RESTORE_ROUND.
86344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86345 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86346 (__cos): Likewise.
86347 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86348 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86349 SET_RESTORE_ROUND_NOEX.
86350 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86351 SET_RESTORE_ROUND_NOEXF.
86352 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86353 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86354 (libc_feholdsetroundf): New.
86355 (libc_feresetround, libc_feresetroundf): New.
86356
86357 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86358 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86359 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86360
86361 * sysdeps/generic/math_private.h: Include <fenv.h>.
86362 (default_libc_feholdexcept): New.
86363 (default_libc_feholdexcept_setround): New.
86364 (default_libc_fesetenv, default_libc_feupdateenv): New.
86365 (libc_feholdexcept): Only define if undefined.
86366 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86367 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86368 (libc_feholdexcept_setroundl): Likewise.
86369 (libc_feholdexcept_setround_53bit): Likewise.
86370 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86371 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86372 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86373 (libc_feupdateenv_53bit): Likewise.
86374 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86375 (libc_feholdexcept): Convert from macro to inline function.
86376 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86377 (libc_fesetenv, libc_feupdateenv): Likewise.
86378
86379 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86380 not previously defined.
86381 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86382 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86383 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86384 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86385 * sysdeps/ieee754/flt-32/math_private.h: New file.
86386 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86387 math_private.h below SET_FLOAT_WORD.
86388 (__isnan, __isinf_ns, __finite): Remove.
86389 (__isnanf, __isinf_nsf, __finitef): Remove.
86390
86391 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86392
86393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86394
86395 2012-03-17 David S. Miller <davem@davemloft.net>
86396
86397 [BZ #6471]
86398 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86399 for 2.16.
86400
86401 2012-03-16 David S. Miller <davem@davemloft.net>
86402
86403 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86404 warnings.
86405
86406 [BZ #6471]
86407 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86408 properly.
86409 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86410 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86411 sysdep_routines when subdir is sysvipc.
86412 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86413 __getshmlba helper.
86414
86415 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86416
86417 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86418
86419 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86420 [__LP64__].
86421
86422 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86423
86424 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86425 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86426 (__lround): Renamed to ...
86427 (__llround): This. Replace long int with long long int.
86428 Define lround functions as aliases of llround functions.
86429 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86430
86431 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86432
86433 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86434 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86435 adresses to uintptr_t. Replace "long int" and "unsigned long
86436 int" with "greg_t" on va_arg.
86437
86438 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86439
86440 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86441 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86442
86443 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86444 Move e_machine check before EI_CLASS check. Handle x32
86445 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86446 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86447 SKIP_EM_IA_64 and include
86448 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86449
86450 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86451 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86452 (add_system_dir): New macro.
86453
86454 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86455 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86456
86457 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86458
86459 [BZ #2551]
86460 [BZ #2552]
86461 [BZ #2553]
86462 [BZ #2554]
86463 [BZ #2562]
86464 [BZ #2563]
86465 [BZ #2565]
86466 [BZ #2566]
86467 [BZ #2576]
86468 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86469 (y0): Likewise.
86470 * math/w_j0f.c (j0f): Likewise.
86471 (y0f): Likewise.
86472 * math/w_j0l.c (__j0l): Likewise.
86473 (__y0l): Likewise.
86474 * math/w_j1.c (j1): Likewise.
86475 (y1): Likewise.
86476 * math/w_j1f.c (j1f): Likewise.
86477 (y1f): Likewise.
86478 * math/w_j1l.c (__j1l): Likewise.
86479 (__y1l): Likewise.
86480 * math/w_jn.c (jn): Likewise.
86481 (yn): Likewise.
86482 * math/w_jnf.c (jnf): Likewise.
86483 (ynf): Likewise.
86484 * math/w_jnl.c (__jnl): Likewise.
86485 (__ynl): Likewise.
86486 * math/libm-test.inc (j0_test): Add more tests.
86487 (j1_test): Likewise.
86488 (jn_test): Likewise. Add trailing semicolon to existing test.
86489 (y0_test): Likewise.
86490 (y1_test): Likewise.
86491 * sysdeps/i386/fpu/libm-test-ulps: Update.
86492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86493
86494 [BZ #13851]
86495 [BZ #13854]
86496 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86497 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86498 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86499 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86500 (__tanl): Set errno for infinite argument.
86501 * sysdeps/i386/fpu/mptan.c: Remove.
86502 * sysdeps/i386/fpu/s_tan.S: Likewise.
86503 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86504 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86505 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86506 * math/libm-test.inc (tan_test): Add more tests and enable more
86507 tests for double and long double.
86508 * sysdeps/i386/fpu/libm-test-ulps: Update.
86509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86510
86511 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86512
86513 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86514 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86515
86516 2012-03-16 Roland McGrath <roland@hack.frob.com>
86517
86518 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86519 * configure.in: Use it for both main tree and add-ons.
86520 * configure: Regenerated.
86521
86522 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86523
86524 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86525
86526 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86527
86528 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86529 in comment.
86530
86531 [BZ #13851]
86532 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86533 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86534 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86535 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86536 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86537 infinite argument.
86538 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86540 != 0 for prec == 2.
86541 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86542 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86543 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86544 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86545 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86546 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86547 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86548 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86549 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86550 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86551 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86552 * math/libm-test.inc (cos_test): Add more tests and enable more
86553 tests for long double.
86554 (sin_test): Likewise.
86555 (sincos_test): Likewise.
86556 * sysdeps/i386/fpu/libm-test-ulps: Update.
86557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86558
86559 2012-03-16 David S. Miller <davem@davemloft.net>
86560
86561 * sysdeps/sparc/fpu/math_private.h: New file.
86562
86563 2012-03-15 David S. Miller <davem@davemloft.net>
86564
86565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86566 file.
86567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86569 file.
86570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86575 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86576 sysdep routines.
86577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86578
86579 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86580 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86581
86582 * sysdeps/sparc/sparc-ifunc.h: New file.
86583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86584 sparc-ifunc.h
86585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86587 Likewise.
86588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86589 Likewise.
86590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86594 Likewise.
86595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86600 Likewise.
86601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86602 Likewise.
86603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86627
86628 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86629
86630 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86631 scaling.
86632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86633
86634 2012-03-15 Andreas Jaeger <aj@suse.de>
86635
86636 [BZ #13852]
86637 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86638 ieee754/flt-32 implementation for sin, cos and sincos.
86639 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86640 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86641 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86642 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86643 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86644 ieee754/flt-32 implementation for tan.
86645
86646 * math/libm-test.inc (cos_test): Enable some large input tests for
86647 float as well
86648 (sin_test): Likewise.
86649 (sincos_test): Likewise.
86650 (tan_test): Add tests for large input.
86651
86652 * sysdeps/i386/fpu/libm-test-ulps: Update.
86653
86654 2012-03-15 Andreas Jaeger <aj@suse.de>
86655
86656 [BZ #13658]
86657 * math/libm-test.inc (cos_test): Add more test cases.
86658 (sin_test): Likewise.
86659 (sincos_test): Likewise.
86660
86661 2012-03-15 Andreas Jaeger <aj@suse.de>
86662
86663 [BZ #13837]
86664 * math/libm-test.inc (cos_test): Add a test case for large input
86665 value.
86666 (sin_test): Likewise.
86667 (sincos_test): Likewise.
86668
86669 2012-03-15 Andreas Jaeger <aj@suse.de>
86670 Joseph Myers <joseph@codesourcery.com>
86671
86672 [BZ #13658]
86673 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86674 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86675 * sysdeps/i386/fpu/branred.c: Likewise.
86676 * sysdeps/i386/fpu/dosincos.c: Likewise.
86677 * sysdeps/i386/fpu/mpa.c: Likewise.
86678 * sysdeps/i386/fpu/s_cos.S: Likewise.
86679 * sysdeps/i386/fpu/s_sin.S: Likewise.
86680 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86681 * sysdeps/i386/fpu/sincos32.c: Likewise.
86682
86683 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86684 Define.
86685 (libc_feupdateenv_53bit): Define.
86686 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86687 Define.
86688 (libc_feupdateenv_53bit): Define.
86689
86690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86691 53 bit (without extend i386 double precision).
86692
86693 * math/libm-test.inc (sincos_test): Add tests for large input.
86694 (sin): Likewise.
86695 (cos): Likewise.
86696
86697 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86698
86699 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86700
86701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86702
86703 2012-03-15 David S. Miller <davem@davemloft.net>
86704
86705 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86706 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86707 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86708 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86721 file.
86722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86724 file.
86725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86727 file.
86728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86730 file.
86731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86733 fmin/fmax sysdep routines.
86734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86735
86736 2012-03-14 David S. Miller <davem@davemloft.net>
86737
86738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86767 routines.
86768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86769 file.
86770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86772 file.
86773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86775 file.
86776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86778 file.
86779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86781 file.
86782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86784 file.
86785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86786 file.
86787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86788 file.
86789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86790 file.
86791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86792 New file.
86793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86794 file.
86795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86796 file.
86797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86799 file.
86800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86802 file.
86803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86805 file.
86806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86808 VIS3 routines.
86809
86810 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86811 New file.
86812
86813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86814
86815 * sysdeps/sparc/configure.in: New file.
86816 * sysdeps/sparc/configure: Generate.
86817 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86818 * configure: Regenerate.
86819 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86820 * config.make.in (have-as-vis3): New.
86821 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86822 available use -Av9d instead of -Av9a.
86823 * sysdeps/sparc/sparc64/Makefile: Likewise.
86824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86826 New file.
86827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86828 file.
86829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86830 New file.
86831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86832 file.
86833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86838
86839 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86840 fzeros/fnegs to load 0x80000000 into a float register instead of
86841 using the stack.
86842 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86843
86844 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86845
86846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86847 bits/syscall.h.
86848 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86849 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86850 ($(inst_includedir)/bits/syscall.h): Remove rule.
86851 ($(objpfx)bits/syscall.d): Include instead of
86852 $(objpfx)syscall-list.d.
86853 (generated): Change syscall-list.h and syscall-list.d to
86854 bits/syscall.h and bits/syscall.d.
86855
86856 2012-03-14 Roland McGrath <roland@hack.frob.com>
86857
86858 [BZ #13846]
86859 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86860
86861 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86862
86863 [BZ #13841]
86864 * math/s_csqrt.c: Include <float.h>.
86865 (__csqrt): Scale large or subnormal inputs.
86866 * math/s_csqrtf.c: Likewise.
86867 * math/s_csqrtl.c: Likewise.
86868 * math/libm-test.inc (csqrt_test): Add more tests.
86869 * sysdeps/i386/fpu/libm-test-ulps: Update.
86870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86871
86872 [BZ #13840]
86873 * math/libm-test.inc (hypot_test): Add more tests.
86874
86875 2012-03-13 David S. Miller <davem@davemloft.net>
86876
86877 [BZ #13840]
86878 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86879 double-precision for the calculation instead of scaling.
86880
86881 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86882
86883 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86884 manipulate bits before adding and subtracting TWO52[sx].
86885 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86886 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86887 Likewise.
86888 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86889
86890 2012-03-13 David S. Miller <davem@davemloft.net>
86891
86892 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86893 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86895 rtld-global-offsets.h
86896 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86897
86898 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86899 large parameters.
86900
86901 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86902
86903 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86904 'err' in the ifdef scope in which it is actually used.
86905
86906 * nss/nss_db/db-init.c: Include string.h
86907
86908 2012-03-12 David S. Miller <davem@davemloft.net>
86909
86910 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86911 masking out of the most significant byte of random value used.
86912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86913 Fix coding style in previous change.
86914
86915 * sysdeps/unix/sysv/linux/kernel-features.h
86916 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86917 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86918 expression.
86919 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86920 later.
86921
86922 2012-03-11 David S. Miller <davem@davemloft.net>
86923
86924 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86925 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86926 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86927 for 'resultvar' otherwise things get truncated on 64-bit.
86928
86929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86930 Fix masking out of the most significant byte of random value used.
86931
86932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86933
86934 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86935
86936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86937
86938 2012-03-09 David S. Miller <davem@davemloft.net>
86939
86940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86941 variables with appropriate CPP guards.
86942 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86943 from the frame pointer, not the stack pointer. Correct layout
86944 comments. Fix test on resulting framesize and the management of
86945 the outregs buffer for pltexit. Preserve floating point return
86946 values across _dl_call_pltexit call.
86947 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86948 framesize and the management of the outregs buffer for pltexit.
86949 Preserve floating point return values across _dl_call_pltexit
86950 call.
86951 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86952 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86953 (la_sparc64_gnu_pltexit): New functions.
86954 (print_exit): Fix format string for return register value.
86955
86956 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86957
86958 * sunrpc/Makefile (others): Add rpcgen.
86959 ($(objpfx)rpcgen): Remove special build rule and dependency on
86960 libc.
86961 * sunrpc/rpcgen.c: New file.
86962
86963 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86964
86965 [BZ #13673]
86966 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86967 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86968 * sysdeps/i386/crti.S: Likewise.
86969 * sysdeps/i386/crtn.S: Likewise.
86970 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86971 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86972 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86973 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86974 * sysdeps/sh/crti.S: Likewise.
86975 * sysdeps/sh/crtn.S: Likewise.
86976 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86977
86978 [BZ #13673]
86979 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86980 with URL.
86981 * locale/programs/locfile-kw.gperf: Likewise.
86982 * locale/programs/charmap-kw.h: Regenerated.
86983 * locale/programs/locfile-kw.h: Likewise.
86984
86985 [BZ #13673]
86986 * intl/plural.y: Replace FSF snail mail address with URL.
86987 * intl/plural.c: Regenerated.
86988
86989 2012-03-09 Richard Henderson <rth@twiddle.net>
86990
86991 * include/math_private.h: Remove file.
86992 * math/math_private.h: Move file ...
86993 * sysdeps/generic/math_private.h: ... here.
86994
86995 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86996 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86997 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86998
86999 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
87000 and <math_private.h>.
87001 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87002 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87003 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87004 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87005 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87006 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
87007 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87009 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87012 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87013 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87015 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87016 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87018 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87019 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87020 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87023 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87025 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
87026 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87031 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87033 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
87034 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87035 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87036 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87037 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87038 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87039 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87040 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87041 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
87042 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87043 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87044 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
87045 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
87046 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87047 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
87048 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
87049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87050 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87051 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
87052 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
87053 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
87054 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87055 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
87056 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87057 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87058 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
87059 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
87060 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
87061 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87062 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
87063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87064 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87065 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
87066 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87067 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87068 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87069 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
87070 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
87071 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
87072 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87073 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
87074 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87075 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
87076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
87077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
87078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
87080 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
87081 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
87082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
87083 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
87084 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87085 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
87087 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
87088 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
87089 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87092 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87094 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87095 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87105 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87106 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87107 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87108 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87113 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87115 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
87116 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87117 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87118 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87119 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87120 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87121 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87122 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87123 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87124 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
87125 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87126 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87127 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87128 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
87129 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87130 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
87131 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
87132 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87133 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87134 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
87135 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
87136 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87137 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87138 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87139 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87140 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87141 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87142 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87143 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87144 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87145 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87146 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87147 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87148 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87149 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87150 * sysdeps/ieee754/k_standard.c: Likewise.
87151 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87152 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87153 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87154 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87155 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87156 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87157 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87158 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87159 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87160 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87161 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87162 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87163 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87164 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87165 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87166 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87167 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87168 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87169 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87170 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87171 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87172 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87174 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87175 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87176 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87177 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87178 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87179 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87181 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87182 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87183 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87184 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87185 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87186 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87187 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87188 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87189 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87190 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87191 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87192 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87193 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87194 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87195 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87196 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87197 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87199 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87201 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87202 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87203 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87204 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87205 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87206 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87207 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87208 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87209 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87210 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87211 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87212 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87213 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87217 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87218 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87219 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87221 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87227 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87228 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87230 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87231 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87232 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87233 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87235 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87236 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87237 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87238 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87239 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87241 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87242 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87243 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87244 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87245 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87246 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87247 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87248 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87249 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87250 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87252 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87255 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87256 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87257 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87258 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87259 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87260 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87261 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87262 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87263 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87264 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87265 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87266 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87267 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87269 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87270 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87271 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87272 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87273 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87274 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87276 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87277 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87278 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87279 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87281 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87282 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87283 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87284 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87285 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87286 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87287 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87288 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87289 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87290 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87291 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87292 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87293 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87294 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87295 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87296 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87297 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87298 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87299 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87300 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87301 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87302 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87305 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87306 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87307 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87308 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87309 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87310 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87311 * sysdeps/ieee754/s_lib_version.c: Likewise.
87312 * sysdeps/ieee754/s_matherr.c: Likewise.
87313 * sysdeps/ieee754/s_signgam.c: Likewise.
87314 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87315 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87316 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87317 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87318 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87319 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87320 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87321 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87322 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87323 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87324 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87325 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87326 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87327 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87328 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87329 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87330 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87331 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87332 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87335
87336 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87337
87338 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87339 * sunrpc/rpc_main.c: Likewise.
87340 * sunrpc/rpc_svcout.c: Likewise.
87341
87342 2012-03-09 David S. Miller <davem@davemloft.net>
87343
87344 * include/math_private.h: New file.
87345
87346 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87347
87348 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87349 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87350 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87351 from <bits/socket_type.h>.
87352 (enum __socket_type): Don't define here.
87353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87355 bits/socket_type.h.
87356
87357 [BZ #13566]
87358 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87359 checking __USE_GNU.
87360
87361 * Makerules ($(inst_includedir)/%.h): New rule.
87362 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87363 (install-others): Remove variable setting.
87364 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87365
87366 2012-03-08 Richard Henderson <rth@twiddle.net>
87367
87368 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87369 from macro to inline function; merge with the
87370 !__LIBC_INTERNAL_MATH_INLINES version.
87371 (__ieee754_sqrtf): Likewise.
87372
87373 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87374 to inline function.
87375 (__rintf, __floor, __floorf): Likewise.
87376
87377 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87378 macro to inline function.
87379 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87380
87381 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87382 not <math/math_private.h>.
87383
87384 2012-03-08 David S. Miller <davem@davemloft.net>
87385
87386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87387 copyright year.
87388 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87389
87390 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
87391
87392 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87393 normalization.
87394 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87395 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87396
87397 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87398
87399 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87400 be defined individually, they must be defined as a block. Define
87401 S for printing a string instead of hidint the different by using a
87402 macro for adding the 'l'.
87403 * stdio-common/tst-fphex-wide.c: Adjust.
87404
87405 2012-03-07 Marek Polacek <polacek@redhat.com>
87406
87407 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87408
87409 2012-03-08 Marek Polacek <polacek@redhat.com>
87410
87411 [BZ #13806]
87412 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87413 * stdio-common/tst-fphex.c: Define a few macros to make the
87414 test reusable. Use them.
87415 * stdio-common/tst-fphex-wide.c: New file.
87416
87417 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87418
87419 [BZ #6911]
87420 * manual/macros.texi (gnusystems): New macro.
87421 (nongnusystems): Likewise.
87422 (gnulinuxhurdsystems): Likewise.
87423 (gnuhurdsystems): Likewise..
87424 (gnulinuxsystems): Likewise.
87425 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87426 variants of the GNU system, not "GNU system".
87427 * manual/conf.texi: Likewise.
87428 * manual/errno.texi: Likewise. Update example of errno macro
87429 expansion.
87430 * manual/filesys.texi: Likewise.
87431 (getumask): Document as specific to GNU/Hurd.
87432 * manual/install.texi: Likewise. Reword some references to
87433 GNU/Linux.
87434 * manual/intro.texi: Likewise.
87435 * manual/io.texi: Likewise.
87436 (File Name Portability): Detail which constraints are inapplicable
87437 to all GNU systems and which are only inapplicable to GNU/Hurd.
87438 * manual/job.texi: Likewise.
87439 * manual/llio.texi: Likewise.
87440 (O_NOCTTY): Document as present on GNU/Linux.
87441 * manual/maint.texi: Likewise.
87442 * manual/memory.texi: Likewise.
87443 * manual/pattern.texi: Likewise.
87444 * manual/pipe.texi: Likewise.
87445 * manual/process.texi: Likewise.
87446 * manual/resource.texi: Likewise.
87447 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87448 child on GNU/Hurd.
87449 * manual/setjmp.texi: Likewise.
87450 * manual/signal.texi: Likewise.
87451 * manual/startup.texi: Likewise.
87452 * manual/stdio.texi: Likewise.
87453 * manual/terminal.texi: Likewise.
87454 (ONLCR): Document as POSIX.
87455 (OXTABS): Document availability on GNU/Linux as XTABS.
87456 (ONOEOT): Document availability separately from other bits.
87457 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87458 * manual/time.texi: Likewise.
87459 * manual/users.texi: Likewise.
87460 * INSTALL: Regenerated.
87461 * sysdeps/gnu/errlist.c: Regenerated.
87462
87463 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87464 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87465 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87466 puts.
87467 * configure: Regenerated.
87468
87469 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87470
87471 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87472 default includes instead of AC_HEADER_CHECK.
87473 * sysdeps/i386/configure: Regenerated.
87474
87475 [BZ #10716]
87476 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87477 * math/s_cacoshf.c (__cacoshf): Likewise.
87478 * math/s_cacoshl.c (__cacoshl): Likewise.
87479 * math/s_casinh.c (__casinh): Set signs of result from argument.
87480 * math/s_casinhf.c (__casinhf): Likewise.
87481 * math/s_casinhl.c (__casinhl): Likewise.
87482 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87483 (casinh_test): Add more tests.
87484 * sysdeps/i386/fpu/libm-test-ulps: Update.
87485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87486
87487 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87488
87489 * po/zh_TW.po: Update from translation team.
87490
87491 * login/Makefile (distribute): Remove variable.
87492 * catgets/Makefile: Likewise.
87493 * mach/Makefile: Likewise.
87494 * malloc/Makefile: Likewise.
87495 * misc/Makefile: Likewise.
87496 * iconv/Makefile: Likewise.
87497 * nscd/Makefile: Likewise.
87498 * hurd/Makefile: Likewise.
87499 * manual/Makefile: Likewise.
87500 * locale/Makefile: Likewise.
87501 * intl/Makefile: Likewise.
87502 * conform/Makefile: Likewise.
87503 * nss/Makefile: Likewise.
87504 * time/Makefile: Likewise.
87505 * soft-fp/Makefile: Likewise.
87506 * dirent/Makefile: Likewise.
87507 * gmon/Makefile: Likewise.
87508 * po/Makefile: Likewise.
87509 * rt/Makefile: Likewise.
87510 * socket/Makefile: Likewise.
87511 * math/Makefile: Likewise.
87512 * signal/Makefile: Likewise.
87513 * debug/Makefile: Likewise.
87514 * elf/Makefile: Likewise.
87515 * timezone/Makefile: Likewise.
87516 * stdlib/Makefile: Likewise.
87517 * iconvdata/Makefile: Likewise.
87518 * sunrpc/Makefile: Likewise.
87519 * io/Makefile: Likewise.
87520 * argp/Makefile: Likewise.
87521 * inet/Makefile: Likewise.
87522 * hesiod/Makefile: Likewise.
87523 * grp/Makefile: Likewise.
87524 * csu/Makefile: Likewise.
87525 * wctype/Makefile: Likewise.
87526 * crypt/Makefile: Likewise.
87527 * libio/Makefile: Likewise.
87528 * string/Makefile: Likewise.
87529 * nis/Makefile: Likewise.
87530 * resolv/Makefile: Likewise.
87531 * stdio-common/Makefile: Likewise.
87532 * wcsmbs/Makefile: Likewise.
87533 * dlfcn/Makefile: Likewise.
87534 * posix/Makefile: Likewise.
87535
87536 [BZ #6959]
87537 * timezone/Makefile: Don't install timezone files, just the programs
87538 and scripts.
87539
87540 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87541
87542 * nss/databases.def: Add missing gshadow entry.
87543
87544 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87545
87546 2012-03-06 Marek Polacek <polacek@redhat.com>
87547
87548 [BZ #13726]
87549 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87550 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87551 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87552 * stdio-common/tst-long-dbl-fphex.c: New file.
87553
87554 2012-03-06 David S. Miller <davem@davemloft.net>
87555
87556 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87557 (set_obp_int): New function.
87558 (get_obp_int): New function.
87559 (__get_clockfreq_via_dev_openprom): Likewise.
87560 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87561 Avoid unused variable warnings on 'val' and use builtin_expect.
87562 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87563 __builtin_expect.
87564 (INLINE_CLONE_SYSCALL): Likewise.
87565
87566 2012-03-05 David S. Miller <davem@davemloft.net>
87567
87568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87569
87570 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87571
87572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87573
87574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87575 only for |x| >= 40.
87576 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87577
87578 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87579
87580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87581 Replace gettimeofday with __vdso_gettimeofday.
87582
87583 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87584 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87585 __vdso_clock_gettime and __vdso_getcpu.
87586
87587 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87588 time with __vdso_time.
87589
87590 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87591
87592 * manual/lang.texi (size_t): Note types to which size_t may be
87593 equivalent with the GNU C Library, but do not describe when
87594 differences between them are significant.
87595
87596 2012-03-05 Andreas Jaeger <aj@suse.de>
87597
87598 * sysdeps/i386/fpu/libm-test-ulps: Update.
87599
87600 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87601
87602 [BZ #3976]
87603 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87604 (__ieee754_pow): Save and restore rounding mode and use
87605 round-to-nearest for main computations.
87606 * math/libm-test.inc (pow_test_tonearest): New function.
87607 (pow_test_towardzero): Likewise.
87608 (pow_test_downward): Likewise.
87609 (pow_test_upward): Likewise.
87610 (main): Call the new functions.
87611 * sysdeps/i386/fpu/libm-test-ulps: Update.
87612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87613
87614 [BZ #3976]
87615 * math/libm-test.inc (cosh_test_tonearest): New function.
87616 (cosh_test_towardzero): Likewise.
87617 (cosh_test_downward): Likewise.
87618 (cosh_test_upward): Likewise.
87619 (sinh_test_tonearest): Likewise.
87620 (sinh_test_towardzero): Likewise.
87621 (sinh_test_downward): Likewise.
87622 (sinh_test_upward): Likewise.
87623 (main): Call the new functions.
87624 * sysdeps/i386/fpu/libm-test-ulps: Update.
87625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87626
87627 2012-03-05 Tom de Vries <tom@codesourcery.com>
87628
87629 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87630 default stack guard is set in last bytes.
87631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87632
87633 2012-03-05 Kees Cook <keescook@chromium.org>
87634
87635 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87636
87637 [BZ #13656]
87638 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87639 possibly allocate from heap instead of stack.
87640 * stdio-common/bug-vfprintf-nargs.c: New file.
87641 * stdio-common/Makefile (tests): Add nargs overflow test.
87642
87643 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87644
87645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87646
87647 2012-03-03 Marek Polacek <polacek@redhat.com>
87648
87649 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87650 * math/math_private.h: Likewise.
87651 * stdlib/tst-strtod.c: Likewise.
87652 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87653 * sysdeps/x86_64/bits/atomic.h: Likewise.
87654
87655 2012-03-02 David S. Miller <davem@davemloft.net>
87656
87657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87661 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87662 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87663 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87664 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87665
87666 2012-03-02 Roland McGrath <roland@hack.frob.com>
87667
87668 [BZ #13792]
87669 * manual/examples/README: New file, says the example source files
87670 can be used under GPL>=2.
87671 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87672 line containing just "*/".
87673 * manual/examples/add.c: Add copyright header (GPL>=2).
87674 * manual/examples/argp-ex1.c: Likewise.
87675 * manual/examples/argp-ex2.c: Likewise.
87676 * manual/examples/argp-ex3.c: Likewise.
87677 * manual/examples/argp-ex4.c: Likewise.
87678 * manual/examples/atexit.c: Likewise.
87679 * manual/examples/db.c: Likewise.
87680 * manual/examples/dir.c: Likewise.
87681 * manual/examples/dir2.c: Likewise.
87682 * manual/examples/execinfo.c: Likewise.
87683 * manual/examples/filecli.c: Likewise.
87684 * manual/examples/filesrv.c: Likewise.
87685 * manual/examples/fmtmsgexpl.c: Likewise.
87686 * manual/examples/genpass.c: Likewise.
87687 * manual/examples/inetcli.c: Likewise.
87688 * manual/examples/inetsrv.c: Likewise.
87689 * manual/examples/isockad.c: Likewise.
87690 * manual/examples/longopt.c: Likewise.
87691 * manual/examples/memopen.c: Likewise.
87692 * manual/examples/memstrm.c: Likewise.
87693 * manual/examples/mkfsock.c: Likewise.
87694 * manual/examples/mkisock.c: Likewise.
87695 * manual/examples/mygetpass.c: Likewise.
87696 * manual/examples/pipe.c: Likewise.
87697 * manual/examples/popen.c: Likewise.
87698 * manual/examples/rprintf.c: Likewise.
87699 * manual/examples/search.c: Likewise.
87700 * manual/examples/select.c: Likewise.
87701 * manual/examples/setjmp.c: Likewise.
87702 * manual/examples/sigh1.c: Likewise.
87703 * manual/examples/sigusr.c: Likewise.
87704 * manual/examples/stpcpy.c: Likewise.
87705 * manual/examples/strdupa.c: Likewise.
87706 * manual/examples/strftim.c: Likewise.
87707 * manual/examples/strncat.c: Likewise.
87708 * manual/examples/subopt.c: Likewise.
87709 * manual/examples/swapcontext.c: Likewise.
87710 * manual/examples/termios.c: Likewise.
87711 * manual/examples/testopt.c: Likewise.
87712 * manual/examples/testpass.c: Likewise.
87713 * manual/examples/timeval_subtract.c: Likewise.
87714
87715 [BZ #13792]
87716 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87717 function to ...
87718 * manual/timeval_subtract.c.texi: ... here, new file.
87719
87720 2012-03-02 David S. Miller <davem@davemloft.net>
87721
87722 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87723
87724 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87725
87726 [BZ #3976]
87727 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87728 (__sin): Save and restore rounding mode and use round-to-nearest
87729 for all computations.
87730 (__cos): Save and restore rounding mode and use round-to-nearest
87731 for all computations.
87732 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87733 <fenv.h>.
87734 (tan): Save and restore rounding mode and use round-to-nearest for
87735 all computations.
87736 * math/libm-test.inc (cos_test_tonearest): New function.
87737 (cos_test_towardzero): Likewise.
87738 (cos_test_downward): Likewise.
87739 (cos_test_upward): Likewise.
87740 (sin_test_tonearest): Likewise.
87741 (sin_test_towardzero): Likewise.
87742 (sin_test_downward): Likewise.
87743 (sin_test_upward): Likewise.
87744 (tan_test_tonearest): Likewise.
87745 (tan_test_towardzero): Likewise.
87746 (tan_test_downward): Likewise.
87747 (tan_test_upward): Likewise.
87748 (main): Call the new functions.
87749 * sysdeps/i386/fpu/libm-test-ulps: Update.
87750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87751
87752 [BZ #10135]
87753 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87754 small n, then large n, before computing and testing k+n.
87755 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87757 Likewise.
87758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87759 Likewise.
87760 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87761 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87762 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87763 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87765 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87767 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87768 * math/libm-test.inc (scalbn_test): Add more tests.
87769 (scalbln_test): Likewise.
87770
87771 * manual/filesys.texi (mode_t): Describe constraints on size and
87772 signedness, not exact equivalence to a particular type.
87773 (ino_t): Likewise.
87774 (ino64_t): Likewise.
87775 (dev_t): Likewise.
87776 (nlink_t): Likewise.
87777 (blkcnt_t): Likewise.
87778 (blkcnt64_t): Likewise.
87779 * manual/llio.texi (off_t): Likewise.
87780
87781 [BZ #3976]
87782 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87783 (__ieee754_exp): Save and restore rounding mode and use
87784 round-to-nearest for all computations.
87785 * math/libm-test.inc (exp_test_tonearest): New function.
87786 (exp_test_towardzero): Likewise.
87787 (exp_test_downward): Likewise.
87788 (exp_test_upward): Likewise.
87789 (main): Call the new functions.
87790 * sysdeps/i386/fpu/libm-test-ulps: Update.
87791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87792
87793 2012-03-01 Chris Demetriou <cgd@google.com>
87794
87795 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87796 have predictable order.
87797
87798 2012-03-01 David S. Miller <davem@davemloft.net>
87799
87800 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87801
87802 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87803 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87804 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87805 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87806
87807 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87808 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87809 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87811 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87812 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87813 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87814 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87815 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87816
87817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87818
87819 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87820 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87821 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87822
87823 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87824 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87825 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87830 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87831 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87832 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87833 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87834 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87836 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87837 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87839 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87840 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87841 * sysdeps/sparc/elf/configure: Regenerated.
87842
87843 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87844
87845 * configure.in (AS, LD): Require binutils 2.20 or later.
87846 * configure: Regenerated.
87847 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87848 as required minimum version.
87849 * INSTALL: Regenerated.
87850
87851 [BZ #2541]
87852 [BZ #4108]
87853 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87854 before squaring exponent.
87855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87856 bottom long double and 27 bits of top long double before squaring
87857 exponent.
87858 * math/libm-test.inc (erfc_test): Add more tests.
87859 * sysdeps/i386/fpu/libm-test-ulps: Update.
87860 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87862
87863 2012-03-01 Kai Tietz <ktietz@redhat.com>
87864
87865 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87866 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87867 containing bit-fields.
87868 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87869 * soft-fp/single.h (_FP_UNION_S): Likewise.
87870 * soft-fp/double.h (_FP_UNION_D): Likewise.
87871
87872 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87873
87874 [BZ #13786]
87875 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87876 not include ../strcmp.S.
87877 [USE_AS_STRNCASECMP_L]: Likewise.
87878 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87879 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87880 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87881 (__strncasecmp_l_ia32): Define as alias to
87882 __strncasecmp_l_nonascii.
87883
87884 [BZ #5794]
87885 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87886 * sysdeps/i386/fpu/libm-test-ulps: Update.
87887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87888
87889 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87891
87892 2012-02-29 Jeff Law <law@redhat.com>
87893
87894 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87895 out of bounds read.
87896
87897 2012-02-29 Marek Polacek <polacek@redhat.com>
87898
87899 [BZ #13706]
87900 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87901 * elf/Makefile: Add rules to run tst-unused-dep.out.
87902
87903 2012-02-28 David S. Miller <davem@davemloft.net>
87904
87905 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87906 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87907 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87908 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87909 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87910 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87911
87912 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87913
87914 * math/libm-test.inc (llround_test): Move one test from
87915 lround_test. Use TEST_f_L in moved test.
87916 (lround_test): Move misplaced test to llround_test. Add testcase
87917 from bug 2561.
87918
87919 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87920
87921 * sysdeps/x86_64/fpu/e_expf.S: New file.
87922 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87923
87924 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87925
87926 [BZ #13637]
87927 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87928 of remain_len that may cause incomplete multi-byte character and
87929 false match.
87930 * posix/bug-regex33.c: New file.
87931 * posix/Makefile (tests): Add bug-regex33.
87932
87933 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87934
87935 * manual/macros.texi: New file.
87936 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87937 * manual/libc.texinfo: Include macros.texi.
87938 * manual/creatute.texi: Likewise.
87939 * manual/install.texi: Likewise.
87940 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87941 @glibcadj{} in references to the GNU C Library.
87942 * manual/charset.texi: Likewise.
87943 * manual/conf.texi: Likewise.
87944 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87945 when not using those macros.
87946 * manual/creature.texi: Likewise.
87947 * manual/crypt.texi: Likewise.
87948 * manual/errno.texi: Likewise.
87949 * manual/filesys.texi: Likewise.
87950 * manual/header.texi: Likewise.
87951 * manual/install.texi: Likewise.
87952 * manual/intro.texi: Likewise.
87953 * manual/io.texi: Likewise.
87954 * manual/job.texi: Likewise.
87955 * manual/lang.texi: Likewise.
87956 * manual/libc.texiinfo: Likewise.
87957 * manual/llio.texi: Likewise.
87958 * manual/locale.texi: Likewise.
87959 * manual/maint.texi: Likewise.
87960 * manual/math.texi: Likewise.
87961 * manual/memory.texi: Likewise.
87962 * manual/message.texi: Likewise.
87963 * manual/nss.texi: Likewise.
87964 * manual/pattern.texi: Likewise.
87965 * manual/process.texi: Likewise.
87966 * manual/resource.texi: Likewise.
87967 * manual/search.texi: Likewise.
87968 * manual/setjmp.texi: Likewise.
87969 * manual/signal.texi: Likewise.
87970 * manual/socket.texi: Likewise.
87971 * manual/startup.texi: Likewise.
87972 * manual/stdio.texi: Likewise.
87973 * manual/string.texi: Likewise.
87974 * manual/sysinfo.texi: Likewise.
87975 * manual/syslog.texi: Likewise.
87976 * manual/terminal.texi: Likewise.
87977 * manual/time.texi: Likewise.
87978 * manual/users.texi: Likewise.
87979 * INSTALL: Regenerated.
87980 * NOTES: Regenerated.
87981 * sysdeps/gnu/errlist.c: Regenerated.
87982
87983 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87984
87985 * include/dirent.h: Include <dirstream.h> before
87986 <dirent/dirent.h>.
87987
87988 2012-02-28 David S. Miller <davem@davemloft.net>
87989
87990 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87991 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87992 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87993 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87994
87995 2012-02-27 David S. Miller <davem@davemloft.net>
87996
87997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87999 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
88000 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
88001
88002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
88003 frame pointer instead of stack pointer relative arg slot.
88004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88007
88008 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
88009
88010 [BZ #3992]
88011 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
88012
88013 2012-02-27 David S. Miller <davem@davemloft.net>
88014
88015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
88016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
88018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
88019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88021 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
88022 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
88023
88024 2012-02-27 Joseph Myers <joseph@codesourcery.com>
88025
88026 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
88027 later. Allow versions 5-9.
88028 * configure: Regenerated.
88029 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
88030 required minimum version and 4.6 as recommended version. Do not
88031 mention bugs in GCC 2.7 and 2.8.
88032 * INSTALL: Regenerated.
88033
88034 2012-02-27 David S. Miller <davem@davemloft.net>
88035
88036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
88037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
88038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
88039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
88040 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
88041 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
88042 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
88043 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
88044
88045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
88046 manipulate bits before adding and subtracting TWO112[sx].
88047 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
88048
88049 2012-02-27 Roland McGrath <roland@hack.frob.com>
88050
88051 [BZ #13775]
88052 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
88053 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
88054 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
88055 being in POSIX, because they are in 1003.1-2008.
88056
88057 * rt/tst-aio.c: Include <fcntl.h>.
88058 * rt/tst-aio7.c: Likewise.
88059 * rt/tst-aio64.c: Likewise.
88060
88061 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
88062
88063 2012-02-27 Joseph Myers <joseph@codesourcery.com>
88064
88065 * manual/install.texi (--with-headers): Describe headers as
88066 interface headers, not private headers.
88067 (Specific advice for GNU/Linux systems): Describe use of headers
88068 from "make headers_install", not private headers from older
88069 kernels.
88070 * INSTALL: Regenerated.
88071 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
88072 Change to 2.6.19.
88073 * sysdeps/unix/sysv/linux/configure: Regenerated.
88074
88075 * manual/llio.texi (fclean): Remove documentation.
88076
88077 * manual/Makefile (libc-texi-generated): New variable. Include
88078 version.texi.
88079 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
88080 $(libc-texi-generated), not duplicated list of files.
88081 (version.texi, stamp-version): New rules.
88082 (realclean): Remove $(libc-texi-generated), not individual files
88083 from that list. Do not remove dir-add.texinfo.
88084 * manual/libc.texinfo: Comment out uses of edition numbers and
88085 references to printed manual. Remove last-updated dates.
88086 (EDITION): Comment out.
88087 (ISBN): Likewise.
88088 (VERSION, UPDATED): Remove.
88089 (version.texi): Include.
88090
88091 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
88092
88093 * sysdeps/posix/spawni.c: Include <signal.h>.
88094 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
88095 * sysdeps/pthread/aio_fsync.c: Likewise.
88096
88097 2012-02-26 Ulrich Drepper <drepper@gmail.com>
88098
88099 * conform/Makefile (tests): Run only when not cross-compiling and
88100 when fast-check is not defined.
88101
88102 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
88103 * conform/data/limits.h-data: Fixes for POSIX2008.
88104 * conform/run-conformtest.sh: Run all tests.
88105 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
88106 headers.
88107 * include/bits/dlfcn.h: Likewise.
88108 * include/langinfo.h: Likewise.
88109 * include/monetary.h: Likewise.
88110 * include/sys/poll.h: Likewise.
88111
88112 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
88113 for __USE_GNU.
88114 * posix/spawn.h: Define __need_sigset_t.
88115 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
88116 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
88117 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
88118 to get sigevent_t only.
88119 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
88120 only for __USE_GNU.
88121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88122 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88123 process_vm_writev only for __USE_GNU.
88124 * termios/termios.h: Declare tcgetsid also for POSIX2008.
88125
88126 * conform/Makefile: For now ignore errors from run-conformtest.
88127 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
88128 POSIX to avoid namespace pollution. Don't prepend headers.
88129 * conform/data/aio.h-data: Fixes for POSIX testing.
88130 * conform/data/fcntl.h-data: Likewise.
88131 * conform/data/glob.h-data: Likewise.
88132 * conform/data/grp.h-data: Likewise.
88133 * conform/data/pthread.h-data: Likewise.
88134 * conform/data/pwd.h-data: Likewise.
88135 * conform/data/signal.h-data: Likewise.
88136 * conform/data/spawn.h-data: Likewise.
88137 * conform/data/stdio.h-data: Likewise.
88138 * conform/data/stdlib.h-data: Likewise.
88139 * conform/data/stropts.h-data: Likewise.
88140 * conform/data/sys/mman.h-data: Likewise.
88141 * conform/data/sys/stat.h-data: Likewise.
88142 * conform/data/sys/types.h-data: Likewise.
88143 * conform/data/sys/wait.h-data: Likewise.
88144 * conform/data/time.h-data: Likewise.
88145 * conform/data/unistd.h-data: Likewise.
88146 * conform/data/utime.h-data: Likewise.
88147
88148 * io/sys/stat.h: fchmod was always in POSIX.
88149 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88150 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88151 * rt/aio.h: Define __need_timespec before including <time.h>.
88152 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88153 struct. Add forward declaration of pthread_attr_t and use it in
88154 sigevent.
88155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88157 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88158 always remove CLK_TCK definition.
88159
88160 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
88161
88162 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88163
88164 2012-02-25 Ulrich Drepper <drepper@gmail.com>
88165
88166 * conform/run-conformtest.sh: New file.
88167 * conform/Makefile: Run run-conformtest for tests.
88168 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
88169 support.
88170
88171 * conform/data/uchar.h-data: New file.
88172 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88173 * conform/data/arpa/inet.h-data: Likewise.
88174 * conform/data/assert.h-data: Likewise.
88175 * conform/data/complex.h-data: Likewise.
88176 * conform/data/cpio.h-data: Likewise.
88177 * conform/data/ctype.h-data: Likewise.
88178 * conform/data/dirent.h-data: Likewise.
88179 * conform/data/dlfcn.h-data: Likewise.
88180 * conform/data/errno.h-data: Likewise.
88181 * conform/data/fcntl.h-data: Likewise.
88182 * conform/data/float.h-data: Likewise.
88183 * conform/data/fmtmsg.h-data: Likewise.
88184 * conform/data/fnmatch.h-data: Likewise.
88185 * conform/data/ftw.h-data: Likewise.
88186 * conform/data/glob.h-data: Likewise.
88187 * conform/data/grp.h-data: Likewise.
88188 * conform/data/iconv.h-data: Likewise.
88189 * conform/data/inttypes.h-data: Likewise.
88190 * conform/data/langinfo.h-data: Likewise.
88191 * conform/data/libgen.h-data: Likewise.
88192 * conform/data/limits.h-data: Likewise.
88193 * conform/data/locale.h-data: Likewise.
88194 * conform/data/math.h-data: Likewise.
88195 * conform/data/monetary.h-data: Likewise.
88196 * conform/data/mqueue.h-data: Likewise.
88197 * conform/data/ndbm.h-data: Likewise.
88198 * conform/data/net/if.h-data: Likewise.
88199 * conform/data/netdb.h-data: Likewise.
88200 * conform/data/netinet/in.h-data: Likewise.
88201 * conform/data/nl_types.h-data: Likewise.
88202 * conform/data/poll.h-data: Likewise.
88203 * conform/data/pthread.h-data: Likewise.
88204 * conform/data/pwd.h-data: Likewise.
88205 * conform/data/regex.h-data: Likewise.
88206 * conform/data/sched.h-data: Likewise.
88207 * conform/data/search.h-data: Likewise.
88208 * conform/data/semaphore.h-data: Likewise.
88209 * conform/data/setjmp.h-data: Likewise.
88210 * conform/data/signal.h-data: Likewise.
88211 * conform/data/spawn.h-data: Likewise.
88212 * conform/data/stdarg.h-data: Likewise.
88213 * conform/data/stdio.h-data: Likewise.
88214 * conform/data/stdlib.h-data: Likewise.
88215 * conform/data/string.h-data: Likewise.
88216 * conform/data/strings.h-data: Likewise.
88217 * conform/data/stropts.h-data: Likewise.
88218 * conform/data/sys/ipc.h-data: Likewise.
88219 * conform/data/sys/mman.h-data: Likewise.
88220 * conform/data/sys/msg.h-data: Likewise.
88221 * conform/data/sys/resource.h-data: Likewise.
88222 * conform/data/sys/select.h-data: Likewise.
88223 * conform/data/sys/sem.h-data: Likewise.
88224 * conform/data/sys/shm.h-data: Likewise.
88225 * conform/data/sys/socket.h-data: Likewise.
88226 * conform/data/sys/stat.h-data: Likewise.
88227 * conform/data/sys/statvfs.h-data: Likewise.
88228 * conform/data/sys/time.h-data: Likewise.
88229 * conform/data/sys/timeb.h-data: Likewise.
88230 * conform/data/sys/times.h-data: Likewise.
88231 * conform/data/sys/types.h-data: Likewise.
88232 * conform/data/sys/uio.h-data: Likewise.
88233 * conform/data/sys/un.h-data: Likewise.
88234 * conform/data/sys/utsname.h-data: Likewise.
88235 * conform/data/sys/wait.h-data: Likewise.
88236 * conform/data/syslog.h-data: Likewise.
88237 * conform/data/tar.h-data: Likewise.
88238 * conform/data/termios.h-data: Likewise.
88239 * conform/data/utime.h-data: Likewise.
88240 * conform/data/utmpx.h-data: Likewise.
88241 * conform/data/varargs.h-data: Likewise.
88242 * conform/data/wchar.h-data: Likewise.
88243 * conform/data/wctype.h-data: Likewise.
88244 * conform/data/wordexp.h-data: Likewise.
88245
88246 * include/stropts.h: New file.
88247 * include/uchar.h: New file.
88248 * include/aio.h: Changes to allow conformtest.pl to use the headers.
88249 * include/assert.h: Likewise.
88250 * include/ctype.h: Likewise.
88251 * include/dirent.h: Likewise.
88252 * include/dlfcn.h: Likewise.
88253 * include/fcntl.h: Likewise.
88254 * include/fnmatch.h: Likewise.
88255 * include/glob.h: Likewise.
88256 * include/grp.h: Likewise.
88257 * include/libio.h: Likewise.
88258 * include/locale.h: Likewise.
88259 * include/math.h: Likewise.
88260 * include/net/if.h: Likewise.
88261 * include/netdb.h: Likewise.
88262 * include/netinet/in.h: Likewise.
88263 * include/pthread.h: Likewise.
88264 * include/pwd.h: Likewise.
88265 * include/regex.h: Likewise.
88266 * include/sched.h: Likewise.
88267 * include/search.h: Likewise.
88268 * include/setjmp.h: Likewise.
88269 * include/signal.h: Likewise.
88270 * include/stdio.h: Likewise.
88271 * include/stdlib.h: Likewise.
88272 * include/string.h: Likewise.
88273 * include/sys/cdefs.h: Likewise.
88274 * include/sys/mman.h: Likewise.
88275 * include/sys/msg.h: Likewise.
88276 * include/sys/resource.h: Likewise.
88277 * include/sys/select.h: Likewise.
88278 * include/sys/socket.h: Likewise.
88279 * include/sys/stat.h: Likewise.
88280 * include/sys/statvfs.h: Likewise.
88281 * include/sys/time.h: Likewise.
88282 * include/sys/times.h: Likewise.
88283 * include/sys/uio.h: Likewise.
88284 * include/sys/utsname.h: Likewise.
88285 * include/sys/wait.h: Likewise.
88286 * include/termios.h: Likewise.
88287 * include/time.h: Likewise.
88288 * include/ulimit.h: Likewise.
88289 * include/unistd.h: Likewise.
88290 * include/utime.h: Likewise.
88291 * include/wchar.h: Likewise.
88292 * include/wctype.h: Likewise.
88293 * include/wordexp.h: Likewise.
88294
88295 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88296
88297 * time/time.h: TIME_UTC must be a macro.
88298 Make timespec_get available for ISO C11 only as well.
88299
88300 2012-02-24 Ulrich Drepper <drepper@gmail.com>
88301
88302 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88303 Reported by Peng Haitao <penght@cn.fujitsu.com>.
88304
88305 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88306
88307 * configure.in: Use -o not -a in test for unsupported multi-arch.
88308
88309 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88310
88311 * manual/texinfo.tex: Update to version 2012-01-19.16.
88312
88313 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88314
88315 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88316
88317 2012-02-24 Roland McGrath <roland@hack.frob.com>
88318
88319 [BZ #13738]
88320 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88321 * manual/fdl-1.3.texi: New file.
88322 * manual/fdl-1.1.texi: File removed.
88323
88324 [BZ #13738]
88325 * manual/libc.texinfo (FDL_VERSION): New @set.
88326 Use it for mention of FDL in cover text.
88327 (Documentation License): Use it in @include file name.
88328
88329 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88330 Roland McGrath <roland@hack.frob.com>
88331
88332 [BZ #5461]
88333 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88334 (not LONG_LONG_MAX and LONG_LONG_MIN.
88335 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88336 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
88337 name.
88338 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88339
88340 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88341
88342 [BZ #2547]
88343 [BZ #11365]
88344 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88345 manipulate bits before adding and subtracting TWO23[sx].
88346 * math/libm-test.inc (nearbyint_test): Add more tests.
88347
88348 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88349
88350 [BZ #2548]
88351 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88352 bits before adding and subtracting TWO23[sx].
88353 * math/libm-test.inc (rint_test): Add more tests.
88354 (rint_test_tonearest): Likewise.
88355 (rint_test_towardzero): Likewise.
88356 (rint_test_downward): Likewise.
88357 (rint_test_upward: Likewise.
88358
88359 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88360
88361 [BZ #10110]
88362 * include/stdc-predef.h: New file. Extracted from features.h.
88363 * include/features.h: Include stdc-predef.h.
88364 * Makefile (headers): Add stdc-predef.h.
88365 * CONFORMANCE (Compiler limitations): Update.
88366
88367 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88368
88369 * manual/libc.texinfo (VERSION, UPDATED): Revert.
88370
88371 2012-02-21 David S. Miller <davem@davemloft.net>
88372
88373 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88374 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88375
88376 2012-02-20 David S. Miller <davem@davemloft.net>
88377
88378 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88379 using a normal save/restore sequence, rather than allocating a
88380 dummy stack frame just to store a frame pointer and restore.
88381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88382
88383 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88384
88385 * manual/install.texi: Fix stray word in line-wrapped comment.
88386
88387 2012-02-20 David S. Miller <davem@davemloft.net>
88388
88389 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88390 both binutils and gcc support GOTDATA.
88391
88392 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88393 "rd %pc" in the PIC register setup sequences.
88394
88395 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88396 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88397 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88398 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88399 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88401 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88402 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88404 (SYSCALL_ERROR_HANDLER): Likewise.
88405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88406 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88407 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88408 (SYSCALL_ERROR_HANDLER): Likewise.
88409
88410 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88411 (HAVE_GCC_GOTDATA): New.
88412 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88413 relocation support in both binutils and gcc.
88414 * sysdeps/sparc/elf/configure: Regenerate.
88415
88416 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88417 * sysdeps/sparc/sparc32/elf/configure: Delete.
88418 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88419 * sysdeps/sparc/sparc64/elf/configure: Delete.
88420 * sysdeps/sparc/elf/configure.in: New file.
88421 * sysdeps/sparc/elf/configure: Generate.
88422
88423 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88424 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88425 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88426 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88427 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88428
88429 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88430
88431 * manual/install.texi: Do not mention specific glibc version
88432 numbers.
88433 * manual/libc.texinfo (VERSION, UPDATED): Update.
88434 (@copying): Use @copyright{} and range of years.
88435
88436 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88437
88438 [BZ #13695]
88439 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88440 [crti.S not in sysdirs] (generated): Do not append.
88441 [crti.S not in sysdirs] (omit-deps): Likewise.
88442 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88443 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88444 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88445 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88446 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88447 Likewise.
88448 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88449 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88450 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88451 * csu/defs.awk: Remove file.
88452 * sysdeps/generic/initfini.c: Likewise.
88453 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88454 variable.
88455 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88456 Likewise.
88457
88458 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88459
88460 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88461 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88462 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88463 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88464 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88465 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88466 <bits/epoll.h>.
88467 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88468 (__EPOLL_PACKED): Define to empty if not defined by
88469 <bits/epoll.h>.
88470 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88472 bits/epoll.h.
88473
88474 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88475
88476 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88477 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88478 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88479 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88480 <bits/timerfd.h>.
88481 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88483 bits/timerfd.h.
88484
88485 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88486
88487 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88488 in C locale.
88489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88490 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88491 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88493
88494 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88495
88496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88497 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88498
88499 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88500
88501 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88502 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88503 defined.
88504 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88505 Likewise.
88506 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88507 entry for 2.16.
88508
88509 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88510
88511 * math/w_acos.c: Use non-signaling floating-point comparisons.
88512 * math/w_acosf.c: Likewise.
88513 * math/w_acosh.c: Likewise.
88514 * math/w_acoshf.c: Likewise.
88515 * math/w_acoshl.c: Likewise.
88516 * math/w_acosl.c: Likewise.
88517 * math/w_asin.c: Likewise.
88518 * math/w_asinf.c: Likewise.
88519 * math/w_asinl.c: Likewise.
88520 * math/w_atanh.c: Likewise.
88521 * math/w_atanhf.c: Likewise.
88522 * math/w_atanhl.c: Likewise.
88523 * math/w_exp2.c: Likewise.
88524 * math/w_exp2f.c: Likewise.
88525 * math/w_exp2l.c: Likewise.
88526 * math/w_j0.c: Likewise.
88527 * math/w_j0f.c: Likewise.
88528 * math/w_j0l.c: Likewise.
88529 * math/w_j1.c: Likewise.
88530 * math/w_j1f.c: Likewise.
88531 * math/w_j1l.c: Likewise.
88532 * math/w_jn.c: Likewise.
88533 * math/w_jnf.c: Likewise.
88534 * math/w_log.c: Likewise.
88535 * math/w_log10.c: Likewise.
88536 * math/w_log10f.c: Likewise.
88537 * math/w_log10l.c: Likewise.
88538 * math/w_log2.c: Likewise.
88539 * math/w_log2f.c: Likewise.
88540 * math/w_log2l.c: Likewise.
88541 * math/w_logf.c: Likewise.
88542 * math/w_logl.c: Likewise.
88543 * math/w_sqrt.c: Likewise.
88544 * math/w_sqrtf.c: Likewise.
88545 * math/w_sqrtl.c: Likewise.
88546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88547 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88548 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88549 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88550 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88551
88552 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88553
88554 [BZ #9739]
88555 * manual/string.texi (strnlen): Use correct parameter name in
88556 equivalent expression.
88557
88558 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88559
88560 [BZ #11174]
88561 * manual/users.texi (seteuid): Consistently use neweuid for
88562 argument name.
88563
88564 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88565
88566 [BZ #13704]
88567 * manual/nss.texi (Services in the NSS configuration): Correct
88568 list of services in example configuration file.
88569
88570 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88571
88572 [BZ #11322]
88573 * manual/arith.texi: Remove statements about negative zero
88574 behaving identically to zero.
88575
88576 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88577
88578 [BZ #5993]
88579 * manual/install.texi: Do not document upgrading from libc5.
88580
88581 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88582
88583 [BZ #4596]
88584 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88585
88586 2012-02-18 David S. Miller <davem@davemloft.net>
88587
88588 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88589 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88590 %o7 across the call.
88591 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88592 instead.
88593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88594 SETUP_PIC_REG_LEAF.
88595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88596 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88597 * sysdeps/sparc/crtn.S: Likewise.
88598
88599 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88600
88601 * aout/Makefile: Remove.
88602
88603 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88604
88605 [BZ #13058]
88606 * manual/examples/argp-ex1.c (main): Format definition in GNU
88607 style.
88608 * manual/examples/argp-ex2.c (main): Likewise.
88609 * manual/examples/argp-ex3.c (main): Likewise.
88610 * manual/examples/argp-ex4.c (main): Likewise.
88611 * manual/examples/longopt.c (main): Use new-style prototype
88612 definition.
88613 * manual/examples/strncat.c (main): Specify return type and use
88614 (void) for arguments.
88615 * manual/examples/subopt.c (main): Use char **argv argument.
88616
88617 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88618
88619 [BZ #5077]
88620 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88621 rounding modes.
88622
88623 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88624
88625 [BZ #6907]
88626 * manual/string.texi (strchr): Change when strchrnul is
88627 recommended.
88628
88629 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88630
88631 [BZ #174]
88632 * manual/locale.texi (setlocale): Document LOCPATH.
88633
88634 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88635
88636 [BZ #10210]
88637 * manual/process.texi (execle): Move @dots{} before last argument.
88638
88639 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88640
88641 [BZ #12047]
88642 * manual/charset.texi (Generic Charset Conversion): Fix typo
88643 (LC_TYPE -> LC_CTYPE).
88644
88645 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88646
88647 [BZ #5805]
88648 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88649 (scalbnf): Likewise.
88650 (scalbnl): Likewise.
88651 (scalbln): Likewise.
88652 (scalblnf): Likewise.
88653 (scalblnl): Likewise.
88654 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88655 (vwarnx): Likewise.
88656 (verr): Likewise.
88657 (verrx): Likewise.
88658 * manual/filesys.texi (telldir): Use braces around return type.
88659 * manual/llio.texi (mmap): Add space after comma.
88660 (mmap64): Likewise.
88661 * manual/math.texi (jn): Use @var{} on parameter names.
88662 (jnf): Likewise.
88663 (jnl): Likewise.
88664 (yn): Likewise.
88665 (ynf): Likewise.
88666 (ynl): Likewise.
88667 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88668 line.
88669 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88670 "...".
88671 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88672 (sched_get_priority_max): Likewise.
88673 * manual/signal.texi (sigvec): Add space after comma.
88674 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88675 names.
88676 (if_indextoname): Likewise.
88677 (if_freenameindex): Likewise.
88678 (sendto): Use ',' instead of '.' in prototype.
88679 * manual/startup.texi (syscall): Use @dots{} instead of literal
88680 "...".
88681 * manual/stdio.texi (__fpending): Separate initial words of
88682 paragraph from @deftypefun line.
88683 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88684 "...".
88685 (vsyslog): Use @var{} on parameter names.
88686 * manual/terminal.texi (stty): Use @var{} on parameter names.
88687 * manual/users.texi (getutmp): Use @var{} on parameter names.
88688 (getutmpx): Likewise.
88689
88690 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88691
88692 [BZ #6884]
88693 * manual/stdio.texi (fopen): Fix typos in description of
88694 ",ccs=STRING".
88695
88696 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88697
88698 [BZ #4026]
88699 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88700 get clock_id definition.
88701
88702 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88703
88704 [BZ #4822]
88705 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88706 (madvise): Cast every argument to void on its own.
88707
88708 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88709
88710 [BZ #9902]
88711 * manual/startup.texi (Exit Status): Fix typo.
88712
88713 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88714
88715 [BZ #10140]
88716 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88717 * manual/examples/argp-ex2.c: Likewise.
88718 * manual/examples/argp-ex3.c: Likewise.
88719
88720 2012-02-16 Richard Henderson <rth@redhat.com>
88721
88722 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88723 * sysdeps/s390/s390-32/initfini.c: Remove.
88724 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88725 * sysdeps/s390/s390-64/initfini.c: Remove.
88726
88727 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88728
88729 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88730 compiler output for sysdeps/generic/initfini.c.
88731 * sysdeps/sh/elf/initfini.c: Remove file.
88732
88733 2012-02-16 David S. Miller <davem@davemloft.net>
88734
88735 [BZ #11494]
88736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88737
88738 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88739 * sysdeps/sparc/crti.S: New file.
88740 * sysdeps/sparc/crtn.S: New file.
88741 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88742 * sysdeps/sparc/sparc64/Makefile: Likewise.
88743
88744 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88745
88746 [BZ #3335]
88747 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88748
88749 2012-02-15 Roland McGrath <roland@hack.frob.com>
88750
88751 [BZ #4822]
88752 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88753
88754 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88755 (write, read, close): Likewise.
88756 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88757
88758 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88759
88760 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88761 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88762 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88763 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88764 <bits/signalfd.h>.
88765 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88767 bits/signalfd.h.
88768
88769 2012-02-14 Marek Polacek <polacek@redhat.com>
88770
88771 * sysdeps/x86_64/crti.S: New file.
88772 * sysdeps/x86_64/crtn.S: New file.
88773 * sysdeps/x86_64/elf/initfini.c: Remove file.
88774
88775 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88776
88777 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88778 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88779 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88780 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88781 <bits/inotify.h>.
88782 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88784 bits/inotify.h.
88785
88786 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88787
88788 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88789 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88790 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88791 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88792 <bits/eventfd.h>.
88793 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88795 bits/eventfd.h.
88796
88797 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88798
88799 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88800 __feraiseexcept instead of feraiseexcept.
88801
88802 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88803 nanosleep invocations.
88804 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88805 strings, and add error checking for a nanosleep invocations.
88806
88807 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88808
88809 Replace FSF snail mail address with URLs, as per GNU coding standards.
88810 Most of the snail mail addresses were wrong anyway, and omitting
88811 them makes the source code easier to maintain. Almost all of the
88812 changes are to license notices and to locale LC_IDENTIFICATION
88813 addresses, except for this one:
88814 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88815 not its snail mail address.
88816
88817 2012-02-09 Richard Henderson <rth@twiddle.net>
88818
88819 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88820 of kernel-features.h.
88821
88822 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88823
88824 2012-02-08 Marek Polacek <polacek@redhat.com>
88825
88826 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88827 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88828 * sysdeps/gnu/_G_config.h: Likewise.
88829 * sysdeps/generic/_G_config.h: Likewise.
88830
88831 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88832
88833 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88834 tests.
88835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88836
88837 * sysdeps/powerpc/powerpc32/crti.S: New file.
88838 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88839 * sysdeps/powerpc/powerpc64/crti.S: New file.
88840 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88841
88842 * Makeconfig (have-initfini): Don't set.
88843 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88844 * configure.in (nopic_initfini): Don't substitute.
88845 * config.h.in (HAVE_INITFINI): Don't #undef.
88846 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88847 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88848
88849 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88850
88851 Support crti.S and crtn.S provided directly by architectures.
88852 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88853 [crti.S in sysdirs] (omit-deps): Likewise.
88854 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88855 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88856 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88857 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88858 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88859 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88860 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88861 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88862 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88863 compiler output for sysdeps/generic/initfini.c.
88864 * sysdeps/i386/elf/Makefile: Remove file.
88865 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88866
88867 2012-02-07 Marek Polacek <polacek@redhat.com>
88868
88869 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88870 * sysdeps/gnu/_G_config.h: Likewise.
88871 * sysdeps/mach/hurd/_G_config.h: Likewise.
88872
88873 2012-02-07 Marek Polacek <polacek@redhat.com>
88874
88875 * math/Makefile (tests): Add tst-CMPLX2.
88876 * math/tst-CMPLX2.c: New file.
88877
88878 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88879
88880 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88881
88882 * math/libm-test.inc (jn_test): Add missing L suffix.
88883
88884 2012-02-06 Marek Polacek <polacek@redhat.com>
88885
88886 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88887 * sysdeps/i386/fpu/e_powf.S: Likewise.
88888 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88889 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88890 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88891 * sysdeps/i386/fpu/e_pow.S: Likewise.
88892 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88893 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88894 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88895 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88896 * sysdeps/i386/fpu/e_log2.S: Likewise.
88897 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88899 * sysdeps/i386/fpu/e_powl.S: Likewise.
88900 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88901 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88902 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88903 * sysdeps/i386/fpu/e_logl.S: Likewise.
88904 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88905 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88906 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88907 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88908 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88909 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88910 * sysdeps/i386/fpu/e_log.S: Likewise.
88911 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88912 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88913 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88914 * sysdeps/i386/fpu/e_logf.S: Likewise.
88915 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88916 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88917 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88918 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88919 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88920 * sysdeps/i386/fpu/e_log10.S: Likewise.
88921 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88922 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88923 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88924 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88925 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88926 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88927 * sysdeps/i386/asm-syntax.h: Likewise.
88928 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88929 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88930 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88931 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88932 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88933 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88934 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88935 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88936 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88937 * sysdeps/powerpc/sysdep.h: Likewise.
88938 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88939 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88940
88941 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88942
88943 [BZ #411]
88944 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88945
88946 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88947
88948 * sysdeps/i386/sysdep.h: Include <features.h>.
88949 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88950 version.
88951
88952 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88953
88954 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88955 Define.
88956 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88957 LOAD_PIC_REG_STR.
88958
88959 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88960
88961 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88962 (SETUP_PIC_REG): Use GET_PC_THUNK.
88963 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88964 macro.
88965
88966 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88967
88968 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88969 for non-PIC compilation.
88970 (SETUP_PIC_REG): Add .p2align directive.
88971 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88972 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88973 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88974 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88975 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88976 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88977 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88979 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88980 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88981 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88982 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88983 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88984 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88985 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88986 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88987 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88988 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88989 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88990 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88993 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88994 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88997 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88998 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88999 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
89000 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
89001 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
89002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89003 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
89004 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
89005 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
89006 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
89007 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
89008 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
89009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
89010 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
89011 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
89012
89013 2012-02-03 Joseph Myers <joseph@codesourcery.com>
89014
89015 * math/tst-CMPLX.c: Include <stdio.h>.
89016
89017 2012-01-31 Joseph Myers <joseph@codesourcery.com>
89018
89019 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
89020 float.
89021 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89022 * sysdeps/sparc/bits/mathdef.h: Likewise.
89023
89024 2012-01-31 Marek Polacek <polacek@redhat.com>
89025
89026 * libio/libio.h: Don't define _PARAMS.
89027 * locale/programs/config.h: Don't define PARAMS.
89028 * stdlib/strtol_l.c: Likewise.
89029 (__strtol_l): Remove PARAMS from the prototype.
89030
89031 2012-01-31 Ulrich Drepper <drepper@gmail.com>
89032
89033 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
89034 names. Just use the correct names. Remove unnecessary wrapper
89035 functions.
89036 * malloc/arena.c: Likewise.
89037 * malloc/hooks.c: Likewise.
89038
89039 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
89040 ARENA_TEST says not to. Simplify test for creation of a new arena.
89041 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
89042
89043 2012-01-30 Ulrich Drepper <drepper@gmail.com>
89044
89045 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
89046 into tail calls.
89047 (update_get_addr): New function.
89048 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
89049 GET_ADDR_MODULE parameter.
89050
89051 2012-01-30 Joseph Myers <joseph@codesourcery.com>
89052
89053 * crypt/cert.c: Remove __STDC__ conditionals.
89054 * crypt/crypt-entry.c: Likewise.
89055 * crypt/crypt_util.c: Likewise.
89056 * libio/filedoalloc.c: Likewise.
89057 * libio/fileops.c: Likewise.
89058 * libio/genops.c: Likewise.
89059 * libio/iofclose.c: Likewise.
89060 * libio/iofdopen.c: Likewise.
89061 * libio/iofopen.c: Likewise.
89062 * libio/iofopen64.c: Likewise.
89063 * libio/iogetdelim.c: Likewise.
89064 * libio/iopopen.c: Likewise.
89065 * libio/obprintf.c: Likewise.
89066 * libio/oldfileops.c: Likewise.
89067 * libio/oldiofclose.c: Likewise.
89068 * libio/oldiofdopen.c: Likewise.
89069 * libio/oldiofopen.c: Likewise.
89070 * libio/oldiopopen.c: Likewise.
89071 * libio/wfiledoalloc.c: Likewise.
89072 * libio/wgenops.c: Likewise.
89073 * locale/programs/xmalloc.c: Likewise.
89074 * misc/syslog.c: Likewise.
89075 * stdio-common/xbug.c: Likewise.
89076 * string/memchr.c: Likewise.
89077 * string/memcmp.c: Likewise.
89078 * string/memrchr.c: Likewise.
89079 * string/rawmemchr.c: Likewise.
89080 * sysdeps/posix/getcwd.c: Likewise.
89081 * time/strftime_l.c: Likewise.
89082
89083 2012-01-30 Joseph Myers <joseph@codesourcery.com>
89084
89085 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
89086 * config.make.in (config-cflags-sse2avx): Define.
89087 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
89088 Fix typo.
89089
89090 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
89091
89092 * scripts/config.guess: Update from upstream config git repository.
89093 * scripts/config.sub: Likewise.
89094
89095 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
89096
89097 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
89098 (EM_NUM): Update.
89099 (R_TILEPRO_*, R_TILEGX_*): New macros.
89100
89101 * scripts/firstversions.awk: Fix bug in version range handling.
89102
89103 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
89104
89105 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
89106
89107 * include/sys/epoll.h: New file.
89108 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
89109 libc_hidden_def.
89110
89111 2012-01-28 Ulrich Drepper <drepper@gmail.com>
89112
89113 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
89114 Avoid unnecessary __WORDSIZE == 64 test.
89115 (fmaxf): Use VEX format if possible.
89116 (fmax): Likewise.
89117 (fminf): Likewise.
89118 (fmin): Likewise.
89119
89120 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
89121 * math/math_private.h: Remove libc_fegetround* and
89122 libc_fesetround*.
89123 * sysdeps/i386/configure.in: Check for -msse2avx.
89124 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
89125 also if SSE2AVX is defined.
89126 Remove libc_fegetround* and libc_fesetround*.
89127 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
89128 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
89129 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
89130 of HAS_YMM_USABLE.
89131 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89132 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89133 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89134 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89135 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89136
89137 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
89138
89139 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89140
89141 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89142 size is not set.
89143 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89144
89145 2012-01-27 Ulrich Drepper <drepper@gmail.com>
89146
89147 [BZ #13618]
89148 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89149 relocation.
89150 * Makeconfig (libm): Define.
89151 * elf/Makefile: Add rules to build and run tst-relsort1.
89152 * elf/tst-relsort1.c: New file.
89153 * elf/tst-relsort1mod1.c: New file.
89154 * elf/tst-relsort1mod2.c: New file.
89155
89156 2012-01-27 Joseph Myers <joseph@codesourcery.com>
89157
89158 * math/s_ldexp.c: Remove __STDC__ conditionals.
89159 * math/s_ldexpf.c: Likewise.
89160 * math/s_ldexpl.c: Likewise.
89161 * math/s_nextafter.c: Likewise.
89162 * math/s_nexttowardf.c: Likewise.
89163 * math/s_significand.c: Likewise.
89164 * math/s_significandf.c: Likewise.
89165 * math/s_significandl.c: Likewise.
89166 * math/w_jnl.c: Likewise.
89167 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89168 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89169 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89170 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89171 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89173 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89174 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89176 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89177 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89178 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89179 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89180 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89181 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89182 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89183 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89184 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89186 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89187 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89188 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89189 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89190 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89191 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89192 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89193 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89194 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89195 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89196 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89197 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89198 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89199 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89200 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89201 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89202 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89203 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89204 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89205 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89206 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89207 * sysdeps/ieee754/k_standard.c: Likewise.
89208 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89210 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89211 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89212 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89213 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89215 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89216 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89217 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89218 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89219 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89220 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89221 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89222 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89224 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89225 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89226 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89227 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89228 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89229 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89230 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89231 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89232 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89233 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89237 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89238 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89239 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89240 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89241 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89243 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89244 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89245 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89246 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89247 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89248 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89250 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89251 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89252 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89253 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89254 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89257 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89258 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89261 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89262 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89263 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89264 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89265 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89267 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89268 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89269 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89270 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89271 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89272 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89273 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89274 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89275 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89276 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89277 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89278 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89279 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89280 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89281 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89282 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89283 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89284 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89285 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89286 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89287 * sysdeps/ieee754/s_matherr.c: Likewise.
89288 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89289 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89292
89293 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89294
89295 * crypt/md5.h: Remove __STDC__ conditionals.
89296 * libio/libioP.h: Likewise.
89297 * locale/programs/config.h: Likewise.
89298 * sysdeps/generic/sysdep.h: Likewise.
89299 * sysdeps/i386/asm-syntax.h: Likewise.
89300 * sysdeps/s390/asm-syntax.h: Likewise.
89301 * sysdeps/unix/sysdep.h: Likewise.
89302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89304
89305 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89306
89307 * libio/libio.h: Remove __STDC__ conditionals.
89308 * malloc/obstack.h: Likewise.
89309 * math/complex.h: Likewise.
89310 * math/math.h: Likewise.
89311 * sysdeps/generic/_G_config.h: Likewise.
89312 * sysdeps/gnu/_G_config.h: Likewise.
89313 * sysdeps/mach/hurd/_G_config.h: Likewise.
89314 * sysdeps/powerpc/bits/mathdef.h: Likewise.
89315 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89316 * sysdeps/sparc/bits/mathdef.h: Likewise.
89317
89318 2012-01-26 Ulrich Drepper <drepper@gmail.com>
89319
89320 [BZ #13583]
89321 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89322 Clean up HAS_* macros.
89323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89324 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89325 possible.
89326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89327 HAS_AVX.
89328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89333
89334 2012-01-25 Joseph Myers <joseph@codesourcery.com>
89335
89336 * elf/tst-unique3.cc (gets): Remove declaration.
89337 * elf/tst-unique3lib.cc (gets): Likewise.
89338 * elf/tst-unique3lib2.cc (gets): Likewise.
89339 * elf/tst-unique4.cc (gets): Likewise.
89340
89341 2012-01-24 Ulrich Drepper <drepper@gmail.com>
89342
89343 * include/stdio.h: Add C++ protection. Add gets declarations and
89344 definitions.
89345 * debug/tst-chk1.c: Don't declare gets here.
89346 * stdio-common/tst-gets.c: Likewise.
89347
89348 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89349
89350 * posix/glob: Remove directory.
89351
89352 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89353
89354 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89355
89356 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
89357
89358 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89359 of the non-standard EPFNOSUPPORT.
89360
89361 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
89362
89363 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89364 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89365 ANYWHERE set to 1 only on KERN_NO_SPACE error.
89366
89367 2012-01-21 Ulrich Drepper <drepper@gmail.com>
89368
89369 * wcsmbs/uchar.h: Test __STDC_VERSION__.
89370
89371 2012-01-20 Ulrich Drepper <drepper@gmail.com>
89372
89373 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89374 transient errors.
89375 * nscd/grpcache.c (cache_addgr): Likewise.
89376 * nscd/hstcache.c (cache_addhst): Likewise.
89377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89378 * nscd/pwdcache.c (cache_addpw): Likewise.
89379 * nscd/servicescache.c (cache_addserv): Likewise.
89380
89381 2012-01-16 Ulrich Drepper <drepper@gmail.com>
89382
89383 * malloc/malloc.c: Various cleanups.
89384 * malloc/hooks.c: Likewise.
89385
89386 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89387 * stdlib/bug-fmtmsg1.c: New file.
89388
89389 * stdlib/fmtmsg.c (init): Add missing unlock.
89390 Patch by Peng Haitao <penght@cn.fujitsu.com>.
89391
89392 2012-01-12 Marek Polacek <polacek@redhat.com>
89393
89394 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89395 and _GNU_SOURCE.
89396
89397 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89398
89399 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89400 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89401 macro to ensure uniqueness of label name.
89402 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89403 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89404
89405 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89406
89407 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89408
89409 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89410 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89411 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89413
89414 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89415
89416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89417
89418 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89419 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89420 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89421
89422 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89423
89424 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89425 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89426 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89428
89429 * math/bits/math-finite.h: Add ldexp support.
89430
89431 2012-01-10 Marek Polacek <polacek@redhat.com>
89432
89433 * locale/programs/localedef.h (show_archive_content): Add noreturn
89434 attribute.
89435
89436 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89437
89438 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89439
89440 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89441
89442 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89443
89444 * io/Makefile (headers): Add bits/poll2.h.
89445
89446 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89447
89448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89449 typo #include statement.
89450
89451 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89452
89453 * include/sys/cdefs.h: Define __attribute_alloc_size.
89454 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89455 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89456 * elf/pldd.c: Likewise.
89457 * iconv/iconv_charmap.c: Likewise.
89458 * iconv/iconvconfig.c: Likewise.
89459 * iconv/strtab.c: Likewise.
89460 * locale/programs/locale.c: Likewise.
89461 * locale/programs/localedef.h: Likewise.
89462 * locale/programs/simple-hash.c: Likewise.
89463 * nscd/nscd.h: Likewise.
89464 * nss/makedb.c: Likewise.
89465 * sysdeps/generic/ldconfig.h: Likewise.
89466 * locale/programs/localedef.c: Remove xmalloc prototype.
89467 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89468
89469 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89470
89471 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89472 appropriate.
89473
89474 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89475
89476 * math/Makefile (tests): Add tst-CMPLX.
89477 * math/tst-CMPLX.c: New file.
89478
89479 * math/complex.h (CMPLXL): Fix typo.
89480
89481 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89482 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89483 GLIBC_2.16.
89484 * debug/tst-chk1.c: Add poll and ppoll tests.
89485 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89486 * include/sys/poll.h: Add hidden proto for ppoll.
89487 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89488 * sysdeps/mach/hurd/ppoll.c: Likewise.
89489 * io/ppoll.c: Likewise.
89490 * debug/poll_chk.c: New file.
89491 * debug/ppoll_chk.c: New file.
89492 * include/bits/poll2.h: New file.
89493 * io/bits/poll2.h: New file.
89494
89495 [BZ #1350]
89496 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89497
89498 * configure.in: static is always set to yes. Remove.
89499 * config.make.in: Don't set build-static.
89500 * Makeconfig: Remove use of build-static.
89501 * dlfcn/Makefile: Likewise.
89502 * elf/Makefile: Likewise.
89503 * math/Makefile: Likewise.
89504 * misc/Makefile: Likewise.
89505 * nptl/Makefile: Likewise.
89506 * sysdeps/mach/hurd/Makefile: Likewise.
89507
89508 * configure.in: PWD_P is not used anymore.
89509 * config.make.in: Remove PWD_P entry.
89510
89511 * configure.in: Remove last remnants of RANLIB.
89512 No need to check for signed size_t anymore.
89513 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89514 and IA-64.
89515 Remove __builtin_expect test because we require at least gcc 3.4.
89516 * aclocal.m4: Likewise.
89517
89518 * wcsmbs/mbrtoc16.c: Implement using towc function.
89519 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89520 * wcsmbs/wcsmbsload.c: Likewise.
89521 * iconv/gconv_simple.c: Likewise.
89522 * iconv/gconv_int.h: Likewise.
89523 * iconv/gconv_builtin.h: Likewise.
89524 * iconv/iconv_prog.c: Remove CHAR16 handling.
89525
89526 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89527
89528 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89529
89530 * configure.in: Remove --with-elf and --enable-bounded options.
89531 Dont set base_machine for ia64. More non-ELF conditions removed.
89532 Remove testing and setting of leading underscore information.
89533 * config.make.in (build-bounded): Set to no.
89534 * config.h.in: Remove NO_UNDERSCORES entry.
89535 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89536 them.
89537 * csu/start.c: Remove !NO_UNDERSCORE code.
89538 * locale/localeinfo.h: Likewise.
89539 * sysdeps/generic/machine-gmon.h: Likewise.
89540 * sysdeps/generic/sysdep.h: Likewise.
89541 * sysdeps/i386/sysdep.h: Likewise.
89542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89543 * sysdeps/mach/sysdep.h: Likewise.
89544 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89545 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89546 * sysdeps/sh/sysdep.h: Likewise.
89547 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89548 * sysdeps/unix/i386/sysdep.S: Likewise.
89549 * sysdeps/unix/sparc/start.c: Likewise.
89550 * sysdeps/unix/sparc/sysdep.S: Likewise.
89551 * sysdeps/unix/sparc/sysdep.h: Likewise.
89552 * sysdeps/unix/start.c: Likewise.
89553 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89554 * sysdeps/x86_64/sysdep.h: Likewise.
89555
89556 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89557
89558 [BZ #13553]
89559 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89560 for non-gcc.
89561 * argp/argp-fmtstream.h: Use const instead __const.
89562 * argp/argp.h: Likewise.
89563 * assert/assert.h: Likewise.
89564 * bits/fenv.h: Likewise.
89565 * bits/sched.h: Likewise.
89566 * bits/sigset.h: Likewise.
89567 * bits/sigthread.h: Likewise.
89568 * catgets/nl_types.h: Likewise.
89569 * conform/data/pthread.h-data: Likewise.
89570 * crypt/crypt-private.h: Likewise.
89571 * crypt/crypt.h: Likewise.
89572 * crypt/crypt_util.c: Likewise.
89573 * ctype/ctype.h: Likewise.
89574 * debug/execinfo.h: Likewise.
89575 * debug/mbsnrtowcs_chk.c: Likewise.
89576 * debug/mbsrtowcs_chk.c: Likewise.
89577 * debug/wcsnrtombs_chk.c: Likewise.
89578 * debug/wcsrtombs_chk.c: Likewise.
89579 * debug/wcstombs_chk.c: Likewise.
89580 * dirent/dirent.h: Likewise.
89581 * dlfcn/dlfcn.h: Likewise.
89582 * elf/neededtest4.c: Likewise.
89583 * grp/grp.h: Likewise.
89584 * gshadow/gshadow.h: Likewise.
89585 * iconv/gconv.h: Likewise.
89586 * iconv/gconv_int.h: Likewise.
89587 * iconv/gconv_simple.c: Likewise.
89588 * iconv/iconv.h: Likewise.
89589 * iconv/loop.c: Likewise.
89590 * iconv/skeleton.c: Likewise.
89591 * include/aio.h: Likewise.
89592 * include/aliases.h: Likewise.
89593 * include/argz.h: Likewise.
89594 * include/arpa/inet.h: Likewise.
89595 * include/assert.h: Likewise.
89596 * include/dirent.h: Likewise.
89597 * include/dlfcn.h: Likewise.
89598 * include/execinfo.h: Likewise.
89599 * include/fcntl.h: Likewise.
89600 * include/fenv.h: Likewise.
89601 * include/glob.h: Likewise.
89602 * include/grp.h: Likewise.
89603 * include/libintl.h: Likewise.
89604 * include/mntent.h: Likewise.
89605 * include/netdb.h: Likewise.
89606 * include/pwd.h: Likewise.
89607 * include/rpc/netdb.h: Likewise.
89608 * include/sched.h: Likewise.
89609 * include/search.h: Likewise.
89610 * include/shadow.h: Likewise.
89611 * include/signal.h: Likewise.
89612 * include/stdio.h: Likewise.
89613 * include/stdlib.h: Likewise.
89614 * include/string.h: Likewise.
89615 * include/sys/socket.h: Likewise.
89616 * include/sys/stat.h: Likewise.
89617 * include/sys/statfs.h: Likewise.
89618 * include/sys/statvfs.h: Likewise.
89619 * include/sys/syslog.h: Likewise.
89620 * include/sys/time.h: Likewise.
89621 * include/sys/uio.h: Likewise.
89622 * include/time.h: Likewise.
89623 * include/unistd.h: Likewise.
89624 * include/utmp.h: Likewise.
89625 * include/wchar.h: Likewise.
89626 * include/wctype.h: Likewise.
89627 * inet/aliases.h: Likewise.
89628 * inet/arpa/inet.h: Likewise.
89629 * inet/netinet/ether.h: Likewise.
89630 * inet/netinet/in.h: Likewise.
89631 * intl/libintl.h: Likewise.
89632 * io/bits/fcntl2.h: Likewise.
89633 * io/fcntl.h: Likewise.
89634 * io/ftw.h: Likewise.
89635 * io/sys/poll.h: Likewise.
89636 * io/sys/stat.h: Likewise.
89637 * io/sys/statfs.h: Likewise.
89638 * io/sys/statvfs.h: Likewise.
89639 * io/utime.h: Likewise.
89640 * libio/bits/stdio.h: Likewise.
89641 * libio/bits/stdio2.h: Likewise.
89642 * libio/libio.h: Likewise.
89643 * libio/libioP.h: Likewise.
89644 * libio/stdio.h: Likewise.
89645 * locale/lc-ctype.c: Likewise.
89646 * locale/locale.h: Likewise.
89647 * login/utmp.h: Likewise.
89648 * malloc/arena.c: Likewise.
89649 * malloc/malloc.c: Likewise.
89650 * malloc/malloc.h: Likewise.
89651 * malloc/mcheck.c: Likewise.
89652 * malloc/mtrace.c: Likewise.
89653 * math/bits/mathcalls.h: Likewise.
89654 * math/fenv.h: Likewise.
89655 * math/math_private.h: Likewise.
89656 * misc/bits/error.h: Likewise.
89657 * misc/bits/syslog.h: Likewise.
89658 * misc/err.h: Likewise.
89659 * misc/error.h: Likewise.
89660 * misc/fstab.h: Likewise.
89661 * misc/mntent.h: Likewise.
89662 * misc/regexp.h: Likewise.
89663 * misc/search.h: Likewise.
89664 * misc/sgtty.h: Likewise.
89665 * misc/sys/mman.h: Likewise.
89666 * misc/sys/syslog.h: Likewise.
89667 * misc/sys/uio.h: Likewise.
89668 * misc/sys/xattr.h: Likewise.
89669 * misc/ttyent.h: Likewise.
89670 * nis/rpcsvc/ypclnt.h: Likewise.
89671 * nss/nss.h: Likewise.
89672 * posix/bits/unistd.h: Likewise.
89673 * posix/fnmatch.h: Likewise.
89674 * posix/glob.h: Likewise.
89675 * posix/sched.h: Likewise.
89676 * posix/spawn.h: Likewise.
89677 * posix/sys/wait.h: Likewise.
89678 * posix/unistd.h: Likewise.
89679 * posix/wordexp.h: Likewise.
89680 * pwd/pwd.h: Likewise.
89681 * resolv/netdb.h: Likewise.
89682 * resource/sys/resource.h: Likewise.
89683 * rt/aio.h: Likewise.
89684 * rt/bits/mqueue2.h: Likewise.
89685 * rt/mqueue.h: Likewise.
89686 * shadow/shadow.h: Likewise.
89687 * signal/signal.h: Likewise.
89688 * socket/send.c: Likewise.
89689 * socket/sendto.c: Likewise.
89690 * socket/sys/socket.h: Likewise.
89691 * stdio-common/printf.h: Likewise.
89692 * stdlib/bits/stdlib.h: Likewise.
89693 * stdlib/fmtmsg.h: Likewise.
89694 * stdlib/monetary.h: Likewise.
89695 * stdlib/stdlib.h: Likewise.
89696 * stdlib/ucontext.h: Likewise.
89697 * streams/stropts.h: Likewise.
89698 * string/argz.h: Likewise.
89699 * string/bits/string2.h: Likewise.
89700 * string/string.h: Likewise.
89701 * string/strings.h: Likewise.
89702 * sunrpc/rpc/auth.h: Likewise.
89703 * sunrpc/rpc/auth_des.h: Likewise.
89704 * sunrpc/rpc/clnt.h: Likewise.
89705 * sunrpc/rpc/netdb.h: Likewise.
89706 * sunrpc/rpc/pmap_clnt.h: Likewise.
89707 * sunrpc/rpc/xdr.h: Likewise.
89708 * sysdeps/generic/inttypes.h: Likewise.
89709 * sysdeps/generic/net/if.h: Likewise.
89710 * sysdeps/generic/sys/swap.h: Likewise.
89711 * sysdeps/gnu/net/if.h: Likewise.
89712 * sysdeps/gnu/utmpx.h: Likewise.
89713 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89714 * sysdeps/i386/i486/bits/string.h: Likewise.
89715 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89716 * sysdeps/s390/bits/string.h: Likewise.
89717 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89718 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89719 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89720 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89721 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89722 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89723 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89724 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89725 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89726 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89727 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89728 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89729 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89730 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89731 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89732 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89733 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89737 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89738 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89739 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89740 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89741 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89742 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89743 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89744 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89745 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89747 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89748 * sysvipc/sys/ipc.h: Likewise.
89749 * sysvipc/sys/msg.h: Likewise.
89750 * sysvipc/sys/sem.h: Likewise.
89751 * sysvipc/sys/shm.h: Likewise.
89752 * termios/termios.h: Likewise.
89753 * time/sys/time.h: Likewise.
89754 * time/time.h: Likewise.
89755 * wcsmbs/bits/wchar2.h: Likewise.
89756 * wcsmbs/uchar.h: Likewise.
89757 * wcsmbs/wchar.h: Likewise.
89758 * wctype/wctype.h: Likewise.
89759
89760 [BZ #13551]
89761 * Makeconfig: Remove all but ELF support including AIX support.
89762 * Makerules: Likewise.
89763 * config.h.in: Likewise.
89764 * config.make.in: Likewise.
89765 * configure: Likewise.
89766 * configure.in: Likewise.
89767 * csu/Makefile: Likewise.
89768 * csu/version.c: Likewise.
89769 * debug/Makefile: Likewise.
89770 * dlfcn/Makefile: Likewise.
89771 * elf/Makefile: Likewise.
89772 * extra-lib.mk: Likewise.
89773 * iconv/Makefile: Likewise.
89774 * include/libc-symbols.h: Likewise.
89775 * include/shlib-compat.h: Likewise.
89776 * resolv/Makefile: Likewise.
89777 * resolv/res_libc.c: Likewise.
89778 * rt/Makefile: Likewise.
89779 * sysdeps/i386/asm-syntax.h: Likewise.
89780 * sysdeps/i386/sysdep.h: Likewise.
89781 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89782 * sysdeps/mach/sysdep.h: Likewise.
89783 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89784 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89785 * sysdeps/s390/asm-syntax.h: Likewise.
89786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89788 * sysdeps/sh/sysdep.h: Likewise.
89789 * sysdeps/unix/sparc/sysdep.h: Likewise.
89790 * sysdeps/wordsize-32/divdi3.c: Likewise.
89791 * sysdeps/x86_64/sysdep.h: Likewise.
89792
89793 * argp/Versions: Remove _argp_unlock_xxx.
89794
89795 [BZ #13559]
89796 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89797 * abilist/libBrokenLocale.abilist: Likewise.
89798 * abilist/libanl.abilist: Likewise.
89799 * abilist/libc.abilist: Likewise.
89800 * abilist/libcrypt.abilist: Likewise.
89801 * abilist/libdl.abilist: Likewise.
89802 * abilist/libm.abilist: Likewise.
89803 * abilist/libnsl.abilist: Likewise.
89804 * abilist/libpthread.abilist: Likewise.
89805 * abilist/libresolv.abilist: Likewise.
89806 * abilist/librt.abilist: Likewise.
89807 * abilist/libthread_db.abilist: Likewise.
89808 * abilist/libutil.abilist: Likewise.
89809 * abilist/libnss_db.abilist: New file.
89810
89811 * scripts/abilist.awk: Add support for indirect functions.
89812
89813 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89814
89815 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89816
89817 * shlib-versions: Remove entries for ports architectures.
89818
89819 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89820 files in ports.
89821 * elf/stackguard-macros.h: Remove support for IA-64.
89822 * elf/tst-auditmod1.c: Likewise.
89823 * sysdeps/generic/ldsodefs.h: Likewise.
89824
89825 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89826 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89827 configure files.
89828
89829 [BZ #13552]
89830 * configure.in: Remove --enable-omitfp support.
89831 * FAQ.in: Adjust.
89832 * config.make.in: Likewise.
89833 * Makeconfig: Likewise.
89834 * manual/install.texi: Likewise.
89835
89836 In case anyone cares, the IA-64 architecture could move to ports.
89837 * sysdeps/ia64/*: Removed.
89838 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89839 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89840
89841 [BZ #13555]
89842 * configure.in: Remove entries for unsupported architectures.
89843
89844 [BZ #13533]
89845 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89846 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89847 routines.
89848 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89849 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89850 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89851 fall back to using wcrtomb.
89852 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89853 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89854 renaming.
89855 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89856 * wcsmbs/tst-c16c32-1.c: New file.
89857
89858 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89859 local variable.
89860
89861 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89862
89863 * elf/tst-unique3.cc: Add explicit declaration of gets.
89864 * elf/tst-unique3lib.cc: Likewise.
89865 * elf/tst-unique3lib2.cc: Likewise.
89866 * elf/tst-unique4.cc: Likewise.
89867
89868 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89869
89870 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89871
89872 [BZ #13566]
89873 * assert/assert.h (static_assert): Don't define for C++.
89874 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89875 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89876
89877 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89878
89879 * iconv/loop.c (single loop): Fix assertion in storing of
89880 remaining bytes.
89881
89882 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89883
89884 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89885
89886 * posix/getconf.c: Update copyright year.
89887 * nss/getent.c: Likewise.
89888 * nss/makedb.c: Likewise.
89889 * iconv/iconvconfig.c: Likewise.
89890 * iconv/iconv_prog.c: Likewise.
89891 * elf/ldconfig.c: Likewise.
89892 * elf/pldd.c: Likewise.
89893 * elf/sotruss.ksh: Likewise.
89894 * catgets/gencat.c: Likewise.
89895 * csu/version.c: Likewise.
89896 * elf/ldd.bash.in: Likewise.
89897 * elf/sprof.c (print_version): Likewise.
89898 * locale/programs/locale.c: Likewise.
89899 * locale/programs/localedef.c: Likewise.
89900 * login/programs/pt_chown.c: Likewise.
89901 * nscd/nscd.c (print_version): Likewise.
89902 * debug/xtrace.sh: Likewise.
89903 * malloc/memusage.sh: Likewise.
89904 * malloc/mtrace.pl: Likewise.
89905 * debug/catchsegv.sh: Likewise.
89906
89907 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89908
89909 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89910 pure attribute.
89911
89912 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89913
89914 [BZ #13533]
89915 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89916 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89917 transformations.
89918 * iconv/gconv_int.h: Likewise.
89919 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89920 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89921 from libc for GLIBC_2.16.
89922 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89923 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89924 * wcsmbs/uchar.h: Really define mbstate_t.
89925 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89926 * wcsmbs/c16rtomb.c: New file.
89927 * wcsmbs/mbrtoc16.c: New file.
89928 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89929 for C/POSIX locale.
89930 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89931 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89932
89933 * wcsmbs/wchar.h: Add missing __restrict.
89934
89935 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89936
89937 [BZ #13532]
89938 * time/Makefile (routines): Add timespec_get.
89939 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89940 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89941 timespec for ISO C11.
89942 * time/timespec_get.c: New file.
89943 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89944 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89945
89946 [BZ #13531]
89947 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89948 * stdlib/stdlib.h: Declare aligned_alloc.
89949 * Versions.def: Add GLIBC_2.16 for libc.
89950 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89951
89952 [BZ 13527]
89953 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89954 ISO C11.
89955
89956 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89957 code.
89958
89959 [BZ #13528]
89960 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89961
89962 [BZ #13529]
89963 * assert/assert.h (static_assert): Define.
89964
89965 * version.h: Update for 2.16 development version.
89966
89967 [BZ #13526]
89968 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89969 _ISOC11_SOURCE.
89970
89971 * version.h (RELEASE): Bump for 2.15 release.
89972 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89973
89974 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89975 Patch by Marek Polacek <mpolacek@redhat.com>.
89976
89977 * bits/byteswap.h: Protect long long constants with __extension__.
89978 * sysdeps/i386/bits/byteswap.h: Likewise.
89979 * sysdeps/ia64/bits/byteswap.h: Likewise.
89980 * sysdeps/s390/bits/byteswap.h: Likewise.
89981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89982
89983 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89984
89985 [BZ #13540]
89986 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89987 destination buffer.
89988 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89989
89990 2011-12-23 Marek Polacek <polacek@redhat.com>
89991
89992 * elf/dl-addr.c (determine_info): Add inline keyword.
89993 * elf/tst-auditmod4b.c (check_avx): Likewise.
89994 * elf/tst-auditmod6b.c (check_avx): Likewise.
89995 * elf/tst-auditmod6c.c (check_avx): Likewise.
89996 * elf/tst-auditmod7b.c (check_avx): Likewise.
89997
89998 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89999
90000 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
90001 !__SSE_MATH__.
90002
90003 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90004
90005 [BZ #13540]
90006 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
90007 processing for last bytes.
90008
90009 2011-08-06 Bruno Haible <bruno@clisp.org>
90010
90011 [BZ #13061]
90012 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
90013 U+0385, not to U+1FEE.
90014
90015 [BZ #13062]
90016 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
90017 entry for U+00A5 U+0301.
90018
90019 2011-12-22 Ulrich Drepper <drepper@gmail.com>
90020
90021 [BZ #13166]
90022 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
90023 buffer for the output is too small.
90024
90025 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
90026 optimization.
90027
90028 [BZ #13185]
90029 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
90030 SSE flags if possible.
90031
90032 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90033
90034 [BZ #13540]
90035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
90036 processing for last bytes.
90037
90038 2011-12-22 Joseph Myers <joseph@codesourcery.com>
90039
90040 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
90041 (syscall-list-default-options, syscall-list-default-condition)
90042 (syscall-list-includes): Define.
90043 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
90044 list of ABIs and options and #if conditions for each ABI. Do not
90045 handle common syscalls between ABIs specially.
90046 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
90047 Remove.
90048 (syscall-list-variants, syscall-list-32bit-options)
90049 (syscall-list-32bit-condition, syscall-list-64bit-options)
90050 (syscall-list-64bit-condition): Define.
90051 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
90052 (syscall-list-variants, syscall-list-32bit-options)
90053 (syscall-list-32bit-condition, syscall-list-64bit-options)
90054 (syscall-list-64bit-condition): Define.
90055 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
90056 Remove.
90057 (syscall-list-variants, syscall-list-32bit-options)
90058 (syscall-list-32bit-condition, syscall-list-64bit-options)
90059 (syscall-list-64bit-condition): Define.
90060 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
90061 Remove.
90062 (syscall-list-variants, syscall-list-32bit-options)
90063 (syscall-list-32bit-condition, syscall-list-64bit-options)
90064 (syscall-list-64bit-condition): Define.
90065
90066 2011-12-22 Ulrich Drepper <drepper@gmail.com>
90067
90068 * locale/iso-639.def: Add brx entry.
90069
90070 [BZ #13328]
90071 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
90072 Proposed by Mariusz_Cukr <marcukr@op.pl>.
90073
90074 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
90075 __feraiseexcept_renamed.
90076
90077 2011-12-21 Ulrich Drepper <drepper@gmail.com>
90078
90079 [BZ #13538]
90080 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
90081 EPOLLET with unsigned values.
90082 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
90083 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
90084
90085 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
90086 to large cancellation.
90087 * math/s_cacoshf.c: Likewise.
90088 * math/s_cacoshl.c: Likewise.
90089
90090 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
90091
90092 [BZ #13305]
90093 [BZ #12786]
90094 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
90095 * math/s_cacoshf.c: Likewise.
90096 * math/s_cacoshl.c: Likewise.
90097
90098 2011-12-21 Ulrich Drepper <drepper@gmail.com>
90099
90100 [BZ #13439]
90101 * iconv/gconv.h: Define __GCONV_SWAP.
90102 * iconvdata/unicode.c: The swap bit must be stored in __flags.
90103 * iconvdata/utf-16.c: Likewise.
90104 * iconvdata/utf-32.c: Likewise.
90105
90106 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
90107
90108 [BZ #13524]
90109 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
90110 numerator after shifting it by one limb.
90111
90112 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
90113
90114 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
90115 under [__USE_EXTERN_INLINES].
90116
90117 2011-12-17 Ulrich Drepper <drepper@gmail.com>
90118
90119 [BZ #13446]
90120 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
90121
90122 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90123
90124 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
90125 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
90126 optimized code.
90127 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
90128 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
90129 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
90130 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
90131 for strncasecmp/strncasecmp_l compilation.
90132 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
90133 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
90134
90135 2011-12-08 Marek Polacek <mpolacek@redhat.com>
90136
90137 [BZ #13484]
90138 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90139 of __asm__.
90140
90141 2011-12-17 Ulrich Drepper <drepper@gmail.com>
90142
90143 [BZ #13506]
90144 * time/tzfile.c (__tzfile_read): Check values from file header.
90145
90146 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
90147
90148 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90149 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90150 * powerpc/powerpc32/dl-start.S: Likewise.
90151 * powerpc/powerpc32/elf/start.S: Likewise.
90152 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90153 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90154 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90155 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90156 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90157 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90158 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90159 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90160 * powerpc/powerpc32/fpu/s_round.S: Likewise.
90161 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90162 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90163 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90164 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90165 * powerpc/powerpc32/memset.S: Likewise.
90166 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90167 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90168 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90169 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90170 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90171 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90172 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90173 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90174 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90175 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90176 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90177 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90178 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90179
90180 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90181
90182 * math/libm-test.inc: Added more nearbyint tests.
90183 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90184 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90187
90188 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
90189
90190 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90191 FD_CLOEXEC.
90192
90193 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90194
90195 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90196 Add wcscpy-ssse3 wcscpy-c.
90197 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90198 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90199 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90200 * sysdeps/x86_64/wcschr.S: New file.
90201 * sysdeps/x86_64/wcsrchr.S: New file.
90202 * string/test-strcmp.c: Remove checking of wcscmp function for
90203 wrong alignments.
90204 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90205 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90206 wcsrchr-sse2 wcsrchr-c.
90207 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90208 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90209 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90210 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90211 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90212 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90213 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90214 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90215 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90216 * wcsmbc/wcschr.c (WCSCHR): New macro.
90217
90218 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90219
90220 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90221 * wcsmbs/test-wcsrchr.c: New file.
90222 * string/test-strrchr.c: Add wcsrchr support.
90223 (WIDE): New macro.
90224 * wcsmbs/test-wcscpy.c: New file.
90225 * string/test-strcpy.c: Add wcscpy support.
90226 (WIDE): New macro.
90227
90228 2011-12-10 Ulrich Drepper <drepper@gmail.com>
90229
90230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90231 the inner loop.
90232
90233 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
90234
90235 [BZ #13472]
90236 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90237
90238 2011-12-04 Ulrich Drepper <drepper@gmail.com>
90239
90240 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90241 Minor optimizations.
90242
90243 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90244 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90245 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90246
90247 2011-12-03 Ulrich Drepper <drepper@gmail.com>
90248
90249 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90250 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90251 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90252 for gcc to avoid warnings.
90253 * inet/Makefile (tests): Add tst-checks.
90254 * inet/tst-checks.c: New file.
90255
90256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90257 warning.
90258
90259 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90260 __wmemcmp_sse2.
90261
90262 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90263 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90264
90265 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90266
90267 2011-12-02 Ulrich Drepper <drepper@gmail.com>
90268
90269 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90270 problem.
90271
90272 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90273
90274 2011-11-29 Joseph Myers <joseph@codesourcery.com>
90275
90276 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90277 conditional on GCC version.
90278 (__arch_compare_and_exchange_val_8_acq)
90279 (__arch_compare_and_exchange_val_16_acq)
90280 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90281 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90282 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90283
90284 2011-12-02 Joseph Myers <joseph@codesourcery.com>
90285
90286 * sysdeps/sh/backtrace.c: New file.
90287
90288 2011-12-02 Andreas Schwab <schwab@redhat.com>
90289
90290 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
90291 parenthesis.
90292
90293 2011-12-01 Andreas Schwab <schwab@redhat.com>
90294
90295 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90296 falling back to utime.
90297
90298 2011-11-30 Andreas Schwab <schwab@redhat.com>
90299
90300 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90301 expectations for float.
90302
90303 2011-11-29 Andreas Schwab <schwab@redhat.com>
90304
90305 * locale/weight.h (findidx): Add parameter len.
90306 * locale/weightwc.h (findidx): Likewise.
90307 * posix/fnmatch_loop.c (FCT): Adjust caller.
90308 * posix/regcomp.c (build_equiv_class): Likewise.
90309 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90310 * posix/regexec.c (check_node_accept_bytes): Likewise.
90311 * string/strcoll_l.c (STRCOLL): Likewise.
90312 * string/strxfrm_l.c (STRXFRM): Likewise.
90313
90314 2011-11-17 Ulrich Drepper <drepper@gmail.com>
90315
90316 * Makefile.in: Remove CVSOPT handling.
90317 * configure.in: Remove use of AC_REVISION.
90318 * iconvdata/Makefile (distribute): No need to filter out CVS.
90319 * scripts/list-sources.sh: Remove CVS, subversion and monotone
90320 handling.
90321
90322 2011-11-16 Andreas Schwab <schwab@redhat.com>
90323
90324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90325 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90326 [USE_AS_STRNCASECMP_L]: Likewise.
90327 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90328 NO_TLS_DIRECT_SEG_REFS.
90329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90330 Fix argument offsets for non-PIC.
90331 [USE_AS_STRNCASECMP_L]: Likewise.
90332 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90333 NO_TLS_DIRECT_SEG_REFS.
90334
90335 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90336
90337 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90338 O_CLOEXEC.
90339 * locale/loadlocale.c (_nl_load_locale): Likewise.
90340
90341 2011-11-15 Andreas Schwab <schwab@redhat.com>
90342
90343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90344 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90345 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90346 (SYSCALL_GETTIME): Set errno on error.
90347
90348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90349 count references to noai6ai_cached.
90350
90351 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90352
90353 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90354
90355 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90356 FD_CLOEXEC for /proc/self/maps.
90357
90358 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90359 FD_CLOEXEC for /proc/meminfo.
90360
90361 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90362 gai.conf.
90363
90364 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90365 FD_CLOEXEC for given file.
90366
90367 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90368
90369 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90370 FD_CLOEXEC for /etc/hosts.
90371 (_gethtent): Likewise.
90372
90373 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90374
90375 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90376 cancellation and set FD_CLOEXEC for /etc/netgroup.
90377
90378 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90379 reading /etc/publickey.
90380
90381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90382 allow cancellation when reading /etc/group.
90383
90384 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90385 cancellation.
90386 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
90387
90388 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90389 when using data file.
90390
90391 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90392
90393 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90394 (write_nis_obj): Use "c" and "e" in fopen.
90395
90396 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90397
90398 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90399
90400 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90401
90402 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90403
90404 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90405 locale.alias.
90406
90407 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90408
90409 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90410
90411 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90412
90413 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90414 file parsing and set FD_CLOEXEC.
90415
90416 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90417
90418 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90419
90420 2011-11-14 Andreas Schwab <schwab@redhat.com>
90421
90422 * malloc/arena.c (arena_get2): Don't call reused_arena when
90423 _int_new_arena failed.
90424
90425 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90426
90427 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90428 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90430 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90431 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90433 to compile strcasecmp and strncasecmp.
90434 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90435 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90436
90437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90438
90439 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90440
90441 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90442 locale-defines.sym to gen-as-const-headers.
90443 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90444 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90446 to compile strcasecmp and strncasecmp.
90447 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90448 strcasecmp_l and strncasecmp_l.
90449 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90450 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90451 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90452 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90453 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90454 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90455 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90456 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90457 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90458 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90459 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90460
90461 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90462
90463 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90464 result of SYSDEP_GETTIME_CPU to retval.
90465 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90466 parameter list to macro. Remove trailing semicolon. Adjust users.
90467
90468 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90469 variable.
90470
90471 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90472 mantissa words.
90473 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90474
90475 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90476 from unused variable.
90477
90478 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90479 DWARF definitions.
90480 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90481 for assembling.
90482
90483 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90484 over namespaces.
90485
90486 * sunrpc/rpc_prot.c (rejected): Fix case value.
90487
90488 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90489 unsigned long long int to avoid warnings in shift.
90490
90491 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90492 of use of trans.
90493 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90494 variable tmp.
90495
90496 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90497 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90498 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90499
90500 * nis/nis_table.c (nis_list): Use variable of correct type for
90501 result of __follow_path call.
90502
90503 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90504
90505 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90506 of math functions ceil, trunc, floor, round, and sqrt, when
90507 avaliable on the platform.
90508 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90509 name clash.
90510 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90511 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90512 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90513
90514 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90515
90516 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90518
90519 2011-11-11 Roland McGrath <roland@hack.frob.com>
90520
90521 * include/unistd.h: Fix __readlink return type.
90522 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90523
90524 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90525
90526 * stdlib/ucontext.h: Undo last change for makecontext.
90527
90528 2011-11-11 Andreas Schwab <schwab@redhat.com>
90529
90530 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90531
90532 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90533 * setjmp/setjmp.h: Mark functions as non-leaf.
90534 * setjmp/bits/setjmp2.h: Likewise.
90535 * stdlib/ucontext.h: Likewise.
90536
90537 2011-11-10 Andreas Schwab <schwab@redhat.com>
90538
90539 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90540 (reused_arena): Don't check arena limit.
90541 (arena_get2): Atomically check arena limit.
90542
90543 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90544
90545 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90546 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90547
90548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90549 instructions.
90550
90551 2011-11-07 Andreas Schwab <schwab@redhat.com>
90552
90553 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90554 handler when locking.
90555
90556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90557 Fix size of allocated buffer.
90558
90559 2011-11-04 Andreas Schwab <schwab@redhat.com>
90560
90561 [BZ #10103]
90562 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90563 declarations for long double functions.
90564 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90565
90566 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90567
90568 2011-11-03 Andreas Schwab <schwab@redhat.com>
90569
90570 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90571 installed.
90572
90573 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90574 is disabled.
90575
90576 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90577
90578 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90579
90580 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90581
90582 * include/alloca.h (stackinfo_alloca_round): Define.
90583 (extend_alloca): Use it.
90584 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90585 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90586 here.
90587
90588 * scripts/check-local-headers.sh: Ignore libaudit.h.
90589
90590 * nscd/Makefile (extra-objs): Make recursively expanded.
90591
90592 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90593
90594 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90595 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90596
90597 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90598 * posix/tst-rfc3484-2.c: Likewise.
90599 * posix/tst-rfc3484-3.c: Likewise.
90600
90601 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90602 process_vm_writev.
90603 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90604 process_vm_writev.
90605 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90606 process_vm_writev from libc using GLIBC_2.15 version.
90607
90608 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90609
90610 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90611
90612 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90613 stack usage.
90614
90615 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90616
90617 [BZ #13367]
90618 * nss/getent.c (initgroups_keys): Show error message in case no group
90619 names are given.
90620
90621 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90622 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90623 __bump_nl_timestamp.
90624 * nscd/connections (nscd_init): When host database is served open
90625 netlink socket and request notification about configuration changes.
90626 (main_loop_poll): Track netlink file descriptor and bump timestamp
90627 in case data becomes available.
90628 (main_loop_epoll): Likewise.
90629 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90630 (database_pers_head): Add extra_data fileds.
90631 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90632 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90633 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90634 Adjust caller.
90635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90636 in6ai data, call __free_in6ai.
90637 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90638 Add -DHAVE_NETLINK.
90639 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90640 interface information. Reuse previous data if netlink timestamp
90641 is not changed.
90642 (__bump_nl_timestamp): New function.
90643 (__free_in6ai): New function.
90644
90645 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90646
90647 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90648 close_not_cancel_no_status here.
90649 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90650
90651 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90652
90653 [BZ #13276]
90654 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90655 return value.
90656
90657 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90658 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90659 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90660
90661 2011-07-03 Andreas Jaeger <aj@suse.de>
90662
90663 [BZ #10709]
90664 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90665 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90666 * math/libm-test.inc (sin_test): Add test case.
90667
90668 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90669
90670 [BZ #13337]
90671 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90672 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90673
90674 * elf/chroot_canon.c (chroot_canon): Cleanups.
90675
90676 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90677
90678 [BZ #13335]
90679 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90680 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90681
90682 * string/test-strchr.c: Make usable for strchrnul testing.
90683 * string/test-strchrnul.c: New file.
90684 * string/Makefile (strop-tests): Add strchrnul.
90685
90686 * po/it.po: Update from translation team.
90687 * po/es.po: Likewise.
90688
90689 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90690
90691 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90692 the three constants needed as parameters. Drop the others.
90693 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90694 __m128i_strloadu_tolower.
90695 Create and initialize variable zero and use it in all the places
90696 where _mm_setzero_si128 was used.
90697
90698 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90699 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90700 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90702 anymore.
90703 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90704 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90705 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90706 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90707 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90708 __mpranred, __mptan.
90709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90713 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90714 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90715 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90716 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90717 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90718
90719 2011-10-28 Andreas Schwab <schwab@redhat.com>
90720
90721 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90722 redefine if SHARED.
90723 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90724
90725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90726 wide char related routines to wcsmbs subdir.
90727
90728 2011-10-27 Andreas Schwab <schwab@redhat.com>
90729
90730 [BZ #13344]
90731 * misc/sys/cdefs.h (__THROWNL): Define.
90732 * posix/unistd.h: Use __THREADNL instead of __THREAD
90733 for memory synchronization functions.
90734
90735 2011-10-26 Roland McGrath <roland@hack.frob.com>
90736
90737 [BZ #13349]
90738 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90739 doesn't exist.
90740 * manual/stdio.texi (Obstack Streams): Node removed.
90741
90742 2011-10-26 Andreas Schwab <schwab@redhat.com>
90743
90744 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90745 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90746 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90747
90748 * math/math_private.h (math_force_eval): Allow non-addressable
90749 arguments.
90750 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90751
90752 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90753
90754 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90755 file is not needed.
90756
90757 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90759 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90760 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90761 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90763 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90764 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90765 Add AVX variants.
90766 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90767 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90768 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90769 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90770 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90771 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90772 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90773 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90774 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90775 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90776 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90777 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90778 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90779 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90780 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90781 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90782 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90783 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90784 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90785
90786 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90787 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90788
90789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90790 place. Use VEX encoding when compiling for AVX.
90791
90792 2011-10-25 Andreas Schwab <schwab@redhat.com>
90793
90794 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90795 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90796
90797 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90798
90799 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90800
90801 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90802 useless if() expression.
90803 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90804 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90805 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90807 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90808 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90809 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90810 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90811 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90812 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90813 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90815 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90816 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90817 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90818 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90820 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90821 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90822
90823 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90824
90825 2011-10-25 Andreas Schwab <schwab@redhat.com>
90826
90827 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90828 condition.
90829 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90830
90831 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90832
90833 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90834 .text section. Avoid duplicate constants.
90835 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90836 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90839 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90843 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90844 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90845 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90846 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90847 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90848 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90849 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90850 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90851 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90852 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90853 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90855 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90856 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90857 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90858 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90859 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90860 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90861 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90863 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90864 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90865 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90866 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90868 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90869 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90871 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90873 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90874 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90875 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90876 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90877 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90878 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90879 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90880
90881 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90882
90883 * sysdeps/x86_64/dla.h: Move to ...
90884 * sysdeps/x86_64/fpu/dla.h: ...here.
90885 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90886 situations. Use __builtin_fma only for gcc 4.6 and up.
90887
90888 * config.make.in: Add have-mfma4 entry.
90889 * configure.in: Substitute libc_cv_cc_fma4.
90890 * math/Makefile (dbl-only-routines): Add sincostab.
90891 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90892 Use __sincostab not sincos.
90893 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90894 name is a macro.
90895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90899 using __copysign.
90900 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90901 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90902 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90903 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90904 and __inv.
90905 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90906 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90907 __copysign.
90908 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90909 define aliases when function name is a macro.
90910 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90911 sysdeps/ieee754/dbl-64/sincos.tbl.
90912 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90913 fma4-enabled routines.
90914 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90915 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90916 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90917 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90918 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90919 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90920 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90921 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90922 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90923 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90924 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90925 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90926 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90927 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90929 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90930 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90931 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90932 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90934 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90935 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90936 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90937 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90938 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90939 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90941 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90942 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90943 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90944
90945 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90946 rename.
90947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90955
90956 2011-10-24 Andreas Schwab <schwab@redhat.com>
90957
90958 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90959
90960 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90961
90962 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90963
90964 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90965 prediction.
90966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90967
90968 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90969 Remove unused variable magic_bits.
90970 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90971
90972 * string/strnlen.c: Define and use STRNLEN macro.
90973 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90974 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90976 * wcsmbs/wcslen.c: Define and use WCSLEN.
90977 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90978 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90979 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90980 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90981 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90982 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90983 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90984
90985 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90986
90987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90988 strnlen-sse2-no-bsf.
90989 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90990 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90991 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90992 Add strnlen support.
90993 (USE_AS_STRNLEN): New macro.
90994 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90995 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90996 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90997 * sysdeps/x86_64/wcslen.S: New file.
90998
90999 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
91000
91001 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
91002 XMM-moves are used for copying on small sizes.
91003
91004 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91005
91006 * wcsmbs/Makefile (strop-tests): Add wcschr.
91007 * wcsmbs/test-wcschr.c: New file.
91008 * string/test-strchr.c: Update.
91009 Add wcschr support.
91010 (WIDE): New macro.
91011
91012 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91013
91014 * wcsmbs/Makefile (strop-tests): Add wcslen.
91015 * wcsmbs/test-wcslen.c: New file.
91016 * string/test-strlen.c: Update.
91017 Add wcslen support.
91018 (WIDE): New macro.
91019
91020 2011-10-23 Ulrich Drepper <drepper@gmail.com>
91021
91022 * po/it.po: Update from translation team.
91023
91024 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91025
91026 * sysdeps/x86_64/wcscmp.S: Update.
91027 Fix wrong comparison semantics.
91028 wcscmp shall use signed comparison not unsigned.
91029 Don't use substraction to avoid overflow bug.
91030 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
91031 * wcsmbc/wcscmp.c: Likewise.
91032 * string/test-strcmp.c: Likewise.
91033 Add new tests to check cases with negative values.
91034
91035 2011-10-23 Ulrich Drepper <drepper@gmail.com>
91036
91037 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
91038 * sysdeps/x86_64/dla.h: ...here. New file.
91039 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
91040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91048
91049 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
91050
91051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
91052 __ynl_finite aliases.
91053
91054 2011-10-22 Ulrich Drepper <drepper@gmail.com>
91055
91056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
91057
91058 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
91059 define DLA_FMA.
91060 [DLA_FMA] (EMULV): Use DLA_FMA.
91061 [DLA_FMA] (MUL12): Use EMULV.
91062 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
91063 that are not needed.
91064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91069 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91071
91072 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
91073
91074 * math/s_nan.c: Undef __nan.
91075 * math/s_nanf.c: Undef __nanf.
91076 * math/s_nanl.c: Undef __nanl.
91077 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
91078 "math_private.h".
91079
91080 2011-10-22 Ulrich Drepper <drepper@gmail.com>
91081
91082 * math/s_catan.c: Add branch predictions.
91083 * math/s_catanf.c: Likewise.
91084 * math/s_catanh.c: Likewise.
91085 * math/s_catanhf.c: Likewise.
91086 * math/s_catanhl.c: Likewise.
91087 * math/s_catanl.c: Likewise.
91088 * math/s_cexp.c: Likewise.
91089 * math/s_cexpf.c: Likewise.
91090 * math/s_cexpl.c: Likewise.
91091 * math/s_clog.c: Likewise.
91092 * math/s_clog10.c: Likewise.
91093 * math/s_clog10f.c: Likewise.
91094 * math/s_clog10l.c: Likewise.
91095 * math/s_clogf.c: Likewise.
91096 * math/s_clogl.c: Likewise.
91097 * math/s_csqrt.c: Likewise.
91098 * math/s_csqrtf.c: Likewise.
91099 * math/s_csqrtl.c: Likewise.
91100 * math/s_ctanf.c: Likewise.
91101 * math/s_ctanh.c: Likewise.
91102 * math/s_ctanhf.c: Likewise.
91103 * math/s_ctanhl.c: Likewise.
91104 * math/s_ctanl.c: Likewise.
91105
91106 * math/math_private.h: Define __nan, __nanf, __nanl.
91107 * math/s_cacosh.c: Include <math_private.h>.
91108 * math/s_cacoshl.c: Likewise.
91109 * math/s_casinh.c: Likewise.
91110 * math/s_casinhf.c: Likewise.
91111 * math/s_casinhl.c: Likewise.
91112 * math/s_ccos.c: Rely entire on ccosh.
91113 * math/s_ccosf.c: Rely entire on ccoshf.
91114 * math/s_ccosl.c: Rely entirely on ccoshl.
91115 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
91116 Remove tests for FE_INVALID.
91117 * math/s_ccoshf.c: Likewise.
91118 * math/s_ccoshl.c: Likewise.
91119 * math/s_csin.c: Likewise.
91120 * math/s_csinf.c: Likewise.
91121 * math/s_csinh.c Likewise.
91122 * math/s_csinhf.c: Likewise.
91123 * math/s_csinhl.c: Likewise.
91124 * math/s_csinl.c: Likewise.
91125 * math/s_ctan.c: Likewise.
91126 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
91127 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
91128 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
91129
91130 2011-10-21 Ulrich Drepper <drepper@gmail.com>
91131
91132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
91133 compilation problems.
91134
91135 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
91136 __builtin_expect.
91137
91138 2011-10-20 Ulrich Drepper <drepper@gmail.com>
91139
91140 * sysdeps/i386/configure.in: Test for -mfma4 option.
91141 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91142 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91143 COMMON_CPUID_INDEX_80000001.
91144 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91145 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91146 use it if FMA3 is not supported.
91147 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91148
91149 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91150 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91151
91152 2011-10-20 Andreas Schwab <schwab@redhat.com>
91153
91154 [BZ #12892]
91155 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91156 it would create a cycle with a link time dependency.
91157
91158 2011-10-19 Ulrich Drepper <drepper@gmail.com>
91159
91160 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91161 instruction.
91162 * string/Makefile (strop-tests): Add rawmemchr.
91163 * string/test-rawmemchr.c: New file.
91164
91165 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
91167 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
91168 when compiling str{,n}casecmp and when AVX is available. Hook up
91169 new optimized code in initializers.
91170
91171 2011-10-19 Andreas Schwab <schwab@redhat.com>
91172
91173 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91174 __feraiseexcept instead of feraiseexcept.
91175
91176 2011-10-18 Ulrich Drepper <drepper@gmail.com>
91177
91178 * math/math_private.h: Define defaults for libc_fetestexcept and
91179 libc_feupdateenv.
91180 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91181 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91182 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91183 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91184 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91185 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91186 libc_fetestexcept and libc_feupdateenv.
91187
91188 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91189 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91190 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91191 * sysdeps/x86_64/fpu/math_private.h: Define special version of
91192 libc_feholdexcept_setround.
91193
91194 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91195 Add s_nearbyint-c and s_nearbyintf-c.
91196 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91197 nearbyintf inlines.
91198 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91199 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91200 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91201 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91202
91203 * math/math_private.h: Define defaults for libc_fegetround,
91204 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91205 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91206 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91207 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91208 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91209 standard functions.
91210 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91211 Remove comments and hacks for old compiler versions.
91212 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91213 libc_fegetround, libc_fesetround, libc_feholdexcept, and
91214 libc_feholdexceptl.
91215
91216 2011-10-18 Andreas Schwab <schwab@redhat.com>
91217
91218 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91219 (__feraiseexcept_renamed): Add __NTH.
91220 (feraiseexcept): Add __NTH. Rename local variables to fix
91221 namespace violations.
91222
91223 2011-10-17 Ulrich Drepper <drepper@gmail.com>
91224
91225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91226
91227 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91228
91229 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91230 recently added interfaces.
91231 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91232
91233 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91234 about macro parameter expansion.
91235
91236 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91237 __NO_MATH_INLINES is defined. Cleanups.
91238
91239 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91240 and __floorf is target has SSE4.1.
91241 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91242 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91243 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91244 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91245
91246 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91247 name.
91248 (floorf): Likewise.
91249
91250 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91251
91252 2011-10-17 Andreas Schwab <schwab@redhat.com>
91253
91254 * misc/sys/cdefs.h: Fix last change.
91255
91256 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91257 database lookup.
91258
91259 2011-10-16 Ulrich Drepper <drepper@gmail.com>
91260
91261 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91262
91263 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91264 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91265 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91267 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91268 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91269 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91270 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91271 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91272 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91273 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91274 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91275 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91276 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91277 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91278 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91279 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91280 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91281 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91282 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91283 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91284 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91285
91286 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91287 ceil, ceilf, floor, floorf.
91288
91289 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91290 Perform IRELATIVE relocations last.
91291
91292 * elf/do-rel.h: Add another parameter nrelative, replacing the
91293 local variable with the same name. Change name of the function
91294 to end in Rel or Rela (uppercase).
91295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91296 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
91297 elf_dynamic_do_##reloc function.
91298
91299 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91300
91301 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91302 is sufficient, at least on modern CPUs.
91303
91304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91305
91306 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91307 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91308
91309 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91310 __expl_finite.
91311 * math/bits/math-finite.h: Add entries for exp.
91312 * math/e_expl.c: Add __*_finite alias.
91313 * sysdeps/i386/fpu/e_exp.S: Likewise.
91314 * sysdeps/i386/fpu/e_expf.S: Likewise.
91315 * sysdeps/i386/fpu/e_expl.c: Likewise.
91316 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91317 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91318 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91320 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91321 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91322 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91323
91324 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91325 is sufficient, at least on modern CPUs.
91326
91327 * ctype/ctype-info.c (__ctype_init): Define.
91328 * include/ctype.h (__ctype_init): Declare.
91329 (__ctype_b_loc): The variable is always initialized.
91330 (__ctype_toupper_loc): Likewise.
91331 (__ctype_tolower_loc): Likewise.
91332 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91333 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91334
91335 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
91336
91337 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91338
91339 * configure.in: Also look in $cxxmachine/include for C++ system
91340 headers.
91341
91342 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91343
91344 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91345 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91346 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91347 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
91348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91349 (USE_AS_WMEMCMP): New macro.
91350 Fixing indents.
91351 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91352 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91353 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91354 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91356 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91357 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91358 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91359 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91360 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91361 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91362 (USE_AS_WMEMCMP): New macro.
91363 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91364 * sysdeps/string/test-memcmp.c: Update.
91365 Fix simple_wmemcmp.
91366 Add new tests.
91367 * wcsmbs/wmemcmp.c: Update.
91368 (WMEMCMP): New macro.
91369 Fix overflow bug.
91370
91371 2011-10-12 Andreas Jaeger <aj@suse.de>
91372
91373 [BZ #13268]
91374 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91375
91376 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91377
91378 * libio/iofwide.c (do_length): Avoid warning.
91379
91380 * ctype/ctype.h (__isctype_f): Add missing __THROW.
91381
91382 2011-10-14 Ulrich Drepper <drepper@gmail.com>
91383
91384 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91385
91386 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91387 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91388 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91389 * sysdeps/i386/i686/fpu/e_log.S: New file.
91390 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91391 * sysdeps/i386/i686/fpu/e_logl.S: New file.
91392
91393 * ctype/ctype.h: Add support for inlined isXXX functions when
91394 compiling C++ code.
91395
91396 2011-10-14 Andreas Schwab <schwab@redhat.com>
91397
91398 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91399
91400 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91401
91402 2011-10-13 Roland McGrath <roland@hack.frob.com>
91403
91404 [BZ #13291]
91405 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91406
91407 2011-10-13 Andreas Schwab <schwab@redhat.com>
91408
91409 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91410 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91411 feraiseexcept.
91412
91413 * sysdeps/x86_64/memrchr.S: Check for zero size.
91414
91415 * string/stratcliff.c: Add memrchr tests.
91416
91417 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91418
91419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91420 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91421 rawmemchr-sse2 rawmemchr-sse2-bsf.
91422 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91423 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91424 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91425 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91426 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91427 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91428 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91429 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91430 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91431 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91432 * string/memrchr.c (MEMRCHR): New macro.
91433
91434 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91435
91436 Add integration with gcc's -ffinite-math-only and optimize wrapper
91437 functions in libm.
91438 * Versions.def: Define GLIBC_2.15 version for libm.
91439 * math/Makefile (headers): Add bits/math-finite.h.
91440 * math/bits/math-finite.h: New file.
91441 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91442 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91443 * math/e_acoshl.c: Add __*_finite alias.
91444 * math/e_acosl.c: Likewise.
91445 * math/e_asinl.c: Likewise.
91446 * math/e_atan2l.c: Likewise.
91447 * math/e_atanhl.c: Likewise.
91448 * math/e_coshl.c: Likewise.
91449 * math/e_exp10.c: Likewise.
91450 * math/e_exp10f.c: Likewise.
91451 * math/e_exp10l.c: Likewise.
91452 * math/e_exp2l.c: Likewise.
91453 * math/e_fmodl.c: Likewise.
91454 * math/e_gammal_r.c: Likewise.
91455 * math/e_hypotl.c: Likewise.
91456 * math/e_j0l.c: Likewise.
91457 * math/e_j1l.c: Likewise.
91458 * math/e_jnl.c: Likewise.
91459 * math/e_lgammal_r.c: Likewise.
91460 * math/e_log10l.c: Likewise.
91461 * math/e_log2l.c: Likewise.
91462 * math/e_logl.c: Likewise.
91463 * math/e_powl.c: Likewise.
91464 * math/e_sinhl.c: Likewise.
91465 * math/e_sqrtl.c: Likewise.
91466 * math/e_scalb.c: Completely rewritten and optimized.
91467 * math/e_scalbf.c: Likewise.
91468 * math/e_scalbl.c: Likewise.
91469 * math/w_acos.c: Likewise.
91470 * math/w_acosf.c: Likewise.
91471 * math/w_acosl.c: Likewise.
91472 * math/w_acosh.c: Likewise.
91473 * math/w_acoshf.c: Likewise.
91474 * math/w_acoshl.c: Likewise.
91475 * math/w_asin.c: Likewise.
91476 * math/w_asinf.c: Likewise.
91477 * math/w_asinl.c: Likewise.
91478 * math/w_atan2.c: Likewise.
91479 * math/w_atan2f.c: Likewise.
91480 * math/w_atan2l.c: Likewise.
91481 * math/w_atanh.c: Likewise.
91482 * math/w_atanhf.c: Likewise.
91483 * math/w_atanhl.c: Likewise.
91484 * math/w_exp10.c: Likewise.
91485 * math/w_exp10f.c: Likewise.
91486 * math/w_exp10l.c: Likewise.
91487 * math/w_fmod.c: Likewise.
91488 * math/w_fmodf.c: Likewise.
91489 * math/w_fmodl.c: Likewise.
91490 * math/w_j0.c: Likewise.
91491 * math/w_j0f.c: Likewise.
91492 * math/w_j0l.c: Likewise.
91493 * math/w_j1.c: Likewise.
91494 * math/w_j1f.c: Likewise.
91495 * math/w_j1l.c: Likewise.
91496 * math/w_jn.c: Likewise.
91497 * math/w_jnf.c: Likewise.
91498 * math/w_log.c: Likewise.
91499 * math/w_logf.c: Likewise.
91500 * math/w_logl.c: Likewise.
91501 * math/w_log10.c: Likewise.
91502 * math/w_log10f.c: Likewise.
91503 * math/w_log10l.c: Likewise.
91504 * math/w_log2.c: Likewise.
91505 * math/w_log2f.c: Likewise.
91506 * math/w_log2l.c: Likewise.
91507 * math/w_pow.c: Likewise.
91508 * math/w_powf.c: Likewise.
91509 * math/w_powl.c: Likewise.
91510 * math/w_remainder.c: Likewise.
91511 * math/w_remainderf.c: Likewise.
91512 * math/w_remainderl.c: Likewise.
91513 * math/w_scalb.c: Likewise.
91514 * math/w_scalbf.c: Likewise.
91515 * math/w_scalbl.c: Likewise.
91516 * math/w_sqrt.c: Likewise.
91517 * math/w_sqrtf.c: Likewise.
91518 * math/w_sqrtl.c: Likewise.
91519 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91520 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91521 used.
91522 * math/math_private.h: Declare __kernel_standard_f.
91523 * math/w_cosh.c: Remove cruft and optimize a bit.
91524 * math/w_coshf.c: Likewise.
91525 * math/w_coshl.c: Likewise.
91526 * math/w_exp2.c: Likewise.
91527 * math/w_exp2f.c: Likewise.
91528 * math/w_exp2l.c: Likewise.
91529 * math/w_hypot.c: Likewise.
91530 * math/w_hypotf.c: Likewise.
91531 * math/w_hypotl.c: Likewise.
91532 * math/w_lgamma.c: Likewise.
91533 * math/w_lgamma_r.c: Likewise.
91534 * math/w_lgammaf.c: Likewise.
91535 * math/w_lgammaf_r.c: Likewise.
91536 * math/w_lgammal.c: Likewise.
91537 * math/w_lgammal_r.c: Likewise.
91538 * math/w_sinh.c: Likewise.
91539 * math/w_sinhf.c: Likewise.
91540 * math/w_sinhl.c: Likewise.
91541 * math/w_tgamma.c: Likewise.
91542 * math/w_tgammaf.c: Likewise.
91543 * math/w_tgammal.c: Likewise.
91544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91546 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91547 Minor optimizations. Pretty printing. Remove cruft.
91548 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91549 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91550 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91551 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91552 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91553 * sysdeps/i386/fpu/e_asin.S: Likewise.
91554 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91555 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91556 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91557 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91558 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91559 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91560 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91561 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91562 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91563 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91564 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91565 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91566 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91567 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91568 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91569 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91570 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91571 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91572 * sysdeps/i386/fpu/e_log.S: Likewise.
91573 * sysdeps/i386/fpu/e_log10.S: Likewise.
91574 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91575 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91576 * sysdeps/i386/fpu/e_log2.S: Likewise.
91577 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91578 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91579 * sysdeps/i386/fpu/e_logf.S: Likewise.
91580 * sysdeps/i386/fpu/e_logl.S: Likewise.
91581 * sysdeps/i386/fpu/e_pow.S: Likewise.
91582 * sysdeps/i386/fpu/e_powf.S: Likewise.
91583 * sysdeps/i386/fpu/e_powl.S: Likewise.
91584 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91585 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91586 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91587 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91588 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91590 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91591 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91592 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91593 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91596 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91597 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91598 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91599 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91602 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91603 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91604 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91606 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91607 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91609 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91610 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91613 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91614 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91615 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91616 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91617 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91618 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91619 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91620 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91621 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91622 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91623 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91624 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91625 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91626 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91627 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91628 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91629 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91630 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91631 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91632 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91633 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91634 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91635 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91636 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91637 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91638 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91639 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91640 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91641 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91642 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91643 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91644 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91645 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91646 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91647 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91648 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91649 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91650 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91651 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91652 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91653 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91654 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91657 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91661 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91663 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91664 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91667 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91669 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91672 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91673 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91674 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91675 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91676 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91677 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91678 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91679 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91680 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91681 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91682 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91683 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91684 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91685 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91686 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91687 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91688 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91689 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91690 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91691 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91692 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91693 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91694 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91695 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91696 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91697 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91698 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91699 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91700 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91701 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91702 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91703 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91704 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91705 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91706 (__isnanf): Likewise.
91707 (__isinf_ns): Likewise.
91708 (__isinf_nsf): Likewise.
91709 (__finite): Likewise.
91710 (__finitef): Likewise.
91711 (__ieee754_sqrt): Define as macro.
91712 (__ieee754_sqrtf): Define as macro.
91713 (__ieee754_sqrtl): Define as macro.
91714 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91715 inlined copy.
91716 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91717 __FINITE_MATH_ONLY__ consistent.
91718 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91719
91720 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91721
91722 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91723 of rawmemchr.
91724
91725 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91726
91727 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91728
91729 * po/ja.po: Update from translation team.
91730
91731 2011-10-08 Roland McGrath <roland@hack.frob.com>
91732
91733 * locale/programs/locarchive.c (prepare_address_space): New function.
91734 (create_archive, enlarge_archive, open_archive): Use it.
91735
91736 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91737 inside [SHARED], where it is used.
91738
91739 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91740
91741 * nss/getent.c (netgroup_keys): Remove unused variable.
91742 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91743
91744 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91745
91746 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91747 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91750 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91751 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91752 * math/Makefile (libm-calls): Add s_isinf_ns.
91753 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91754 * math/multc3.c: Likewise.
91755 * math/s_casin.c: Likewise.
91756 * math/s_casinf.c: Likewise.
91757 * math/s_casinl.c: Likewise.
91758 * math/s_ccos.c: Likewise.
91759 * math/s_ccosf.c: Likewise.
91760 * math/s_ccosl.c: Likewise.
91761 * math/s_ctan.c: Likewise.
91762 * math/s_ctanf.c: Likewise.
91763 * math/s_ctanh.c: Likewise.
91764 * math/s_ctanhf.c: Likewise.
91765 * math/s_ctanhl.c: Likewise.
91766 * math/s_ctanl.c: Likewise.
91767 * math/w_fmod.c: Likewise.
91768 * math/w_fmodf.c: Likewise.
91769 * math/w_fmodl.c: Likewise.
91770 * math/w_remainder.c: Likewise.
91771 * math/w_remainderf.c: Likewise.
91772 * math/w_remainderl.c: Likewise.
91773 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91774 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91777 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91778 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91779 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91780 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91781
91782 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91783 of the number.
91784 * stdio-common/printf_fphex.c: Likewise.
91785 * stdio-common/printf_size.c: Likewise.
91786
91787 * math/e_exp10.c: Include math_private.h using <...> not "...".
91788 * math/e_exp10f.c: Likewise.
91789 * math/e_exp10l.c: Likewise.
91790 * math/e_exp2l.c: Likewise.
91791 * math/e_j0l.c: Likewise.
91792 * math/e_j1l.c: Likewise.
91793 * math/e_jnl.c: Likewise.
91794 * math/e_lgammal_r.c: Likewise.
91795 * math/e_rem_pio2l.c: Likewise.
91796 * math/e_scalb.c: Likewise.
91797 * math/e_scalbf.c: Likewise.
91798 * math/e_scalbl.c: Likewise.
91799 * math/k_cosl.c: Likewise.
91800 * math/k_sinl.c: Likewise.
91801 * math/k_tanl.c: Likewise.
91802 * math/s_cacoshf.c: Likewise.
91803 * math/s_catan.c: Likewise.
91804 * math/s_catanf.c: Likewise.
91805 * math/s_catanh.c: Likewise.
91806 * math/s_catanhf.c: Likewise.
91807 * math/s_catanhl.c: Likewise.
91808 * math/s_catanl.c: Likewise.
91809 * math/s_ccosh.c: Likewise.
91810 * math/s_ccoshf.c: Likewise.
91811 * math/s_ccoshl.c: Likewise.
91812 * math/s_cexp.c: Likewise.
91813 * math/s_cexpf.c: Likewise.
91814 * math/s_cexpl.c: Likewise.
91815 * math/s_clog.c: Likewise.
91816 * math/s_clog10.c: Likewise.
91817 * math/s_clog10f.c: Likewise.
91818 * math/s_clog10l.c: Likewise.
91819 * math/s_clogf.c: Likewise.
91820 * math/s_clogl.c: Likewise.
91821 * math/s_csin.c: Likewise.
91822 * math/s_csinf.c: Likewise.
91823 * math/s_csinh.c: Likewise.
91824 * math/s_csinhf.c: Likewise.
91825 * math/s_csinhl.c: Likewise.
91826 * math/s_csinl.c: Likewise.
91827 * math/s_csqrt.c: Likewise.
91828 * math/s_csqrtf.c: Likewise.
91829 * math/s_csqrtl.c: Likewise.
91830 * math/s_ctan.c: Likewise.
91831 * math/s_ctanf.c: Likewise.
91832 * math/s_ctanh.c: Likewise.
91833 * math/s_ctanhf.c: Likewise.
91834 * math/s_ctanhl.c: Likewise.
91835 * math/s_ctanl.c: Likewise.
91836 * math/s_ldexp.c: Likewise.
91837 * math/s_ldexpf.c: Likewise.
91838 * math/s_ldexpl.c: Likewise.
91839 * math/s_significand.c: Likewise.
91840 * math/s_significandf.c: Likewise.
91841 * math/s_significandl.c: Likewise.
91842 * math/w_acos.c: Likewise.
91843 * math/w_acosf.c: Likewise.
91844 * math/w_acosh.c: Likewise.
91845 * math/w_acoshf.c: Likewise.
91846 * math/w_acoshl.c: Likewise.
91847 * math/w_acosl.c: Likewise.
91848 * math/w_asin.c: Likewise.
91849 * math/w_asinf.c: Likewise.
91850 * math/w_asinl.c: Likewise.
91851 * math/w_atan2.c: Likewise.
91852 * math/w_atan2f.c: Likewise.
91853 * math/w_atan2l.c: Likewise.
91854 * math/w_atanh.c: Likewise.
91855 * math/w_atanhf.c: Likewise.
91856 * math/w_atanhl.c: Likewise.
91857 * math/w_cosh.c: Likewise.
91858 * math/w_coshf.c: Likewise.
91859 * math/w_coshl.c: Likewise.
91860 * math/w_dremf.c: Likewise.
91861 * math/w_exp10.c: Likewise.
91862 * math/w_exp10f.c: Likewise.
91863 * math/w_exp10l.c: Likewise.
91864 * math/w_exp2.c: Likewise.
91865 * math/w_exp2f.c: Likewise.
91866 * math/w_fmod.c: Likewise.
91867 * math/w_fmodf.c: Likewise.
91868 * math/w_fmodl.c: Likewise.
91869 * math/w_hypot.c: Likewise.
91870 * math/w_hypotf.c: Likewise.
91871 * math/w_hypotl.c: Likewise.
91872 * math/w_j0.c: Likewise.
91873 * math/w_j0f.c: Likewise.
91874 * math/w_j0l.c: Likewise.
91875 * math/w_j1.c: Likewise.
91876 * math/w_j1f.c: Likewise.
91877 * math/w_j1l.c: Likewise.
91878 * math/w_jn.c: Likewise.
91879 * math/w_jnf.c: Likewise.
91880 * math/w_jnl.c: Likewise.
91881 * math/w_lgamma.c: Likewise.
91882 * math/w_lgamma_r.c: Likewise.
91883 * math/w_lgammaf.c: Likewise.
91884 * math/w_lgammaf_r.c: Likewise.
91885 * math/w_lgammal.c: Likewise.
91886 * math/w_lgammal_r.c: Likewise.
91887 * math/w_log.c: Likewise.
91888 * math/w_log10.c: Likewise.
91889 * math/w_log10f.c: Likewise.
91890 * math/w_log10l.c: Likewise.
91891 * math/w_log2.c: Likewise.
91892 * math/w_log2f.c: Likewise.
91893 * math/w_log2l.c: Likewise.
91894 * math/w_logf.c: Likewise.
91895 * math/w_logl.c: Likewise.
91896 * math/w_pow.c: Likewise.
91897 * math/w_powf.c: Likewise.
91898 * math/w_powl.c: Likewise.
91899 * math/w_remainder.c: Likewise.
91900 * math/w_remainderf.c: Likewise.
91901 * math/w_remainderl.c: Likewise.
91902 * math/w_scalb.c: Likewise.
91903 * math/w_scalbf.c: Likewise.
91904 * math/w_scalbl.c: Likewise.
91905 * math/w_sinh.c: Likewise.
91906 * math/w_sinhf.c: Likewise.
91907 * math/w_sinhl.c: Likewise.
91908 * math/w_sqrt.c: Likewise.
91909 * math/w_sqrtf.c: Likewise.
91910 * math/w_sqrtl.c: Likewise.
91911 * math/w_tgamma.c: Likewise.
91912 * math/w_tgammaf.c: Likewise.
91913 * math/w_tgammal.c: Likewise.
91914
91915 * po/ja.po: Update from translation team.
91916
91917 2011-09-29 Andreas Jaeger <aj@suse.de>
91918
91919 [BZ #13179]
91920 * sunrpc/netname.c (netname2host): Fix logic.
91921
91922 [BZ #6779]
91923 [BZ #6783]
91924 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91925 correctly.
91926 * math/w_remainder.c (__remainder): Likewise.
91927 * math/w_remainderf.c (__remainderf): Likewise.
91928 * math/libm-test.inc (remainder_test): Add test cases.
91929
91930 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91931
91932 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91933 sdiv_qrnnd.
91934
91935 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91936
91937 * string/test-memcmp.c: Avoid unncessary #defines.
91938 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91939
91940 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91941
91942 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91943 Use new sse2 version for core i3 - i7 as it's faster
91944 than sse42 version.
91945 (bit_Prefer_PMINUB_for_stringop): New.
91946 * sysdeps/x86_64/rawmemchr.S: Update.
91947 Replace with faster SSE2 version.
91948 * sysdeps/x86_64/memrchr.S: New file.
91949 * sysdeps/x86_64/memchr.S: Update.
91950 Replace with faster SSE2 version.
91951
91952 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91953
91954 * elf/dl-load.c (lose): Add cast to avoid warning.
91955
91956 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91957
91958 * po/ca.po: Update from translation team.
91959
91960 * inet/getnetgrent_r.c: Hook up nscd.
91961 * nscd/Makefile (routines): Add nscd_netgroup.
91962 (nscd-modules): Add netgroupcache.
91963 (CFLAGS-netgroupcache.c): Define.
91964 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91965 (cache_search): Add const to second parameter.
91966 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91967 INNETGR.
91968 (dbs): Add netgrdb entry.
91969 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91970 (verify_persistent_db): Handle netgrdb.
91971 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91972 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91973 GETFDNETGR.
91974 (netgroup_response_header): Define.
91975 (innetgroup_response_header): Define.
91976 (datahead): Add netgroup_response_header and innetgroup_response_header
91977 elements.
91978 * nscd/nscd.conf: Add entries for netgroup cache.
91979 * nscd/nscd.h (dbtype): Add netgrdb.
91980 (_PATH_NSCD_NETGROUP_DB): Define.
91981 (netgroup_iov_disabled): Declare.
91982 (xmalloc, xcalloc, xrealloc): Move declarations here.
91983 (cache_search): Adjust prototype.
91984 Add netgroup-related prototypes.
91985 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91986 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91987 (__nscd_innetgr): Declare.
91988 * nscd/selinux.c (perms): Use access_vector_t as element type and
91989 add netgroup-related initializers.
91990 * nscd/netgroupcache.c: New file.
91991 * nscd/nscd_netgroup.c: New file.
91992 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91993 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91994 For four parameters use innetgr.
91995 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91996 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91997 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91998 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91999
92000 * nscd/connections.c (register_traced_file): Don't register file
92001 for disabled databases.
92002
92003 2011-10-06 Ulrich Drepper <drepper@gmail.com>
92004
92005 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
92006
92007 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
92008 from tree and freeing node.
92009
92010 2011-09-25 Jiri Olsa <jolsa@redhat.com>
92011
92012 * nss/nsswitch.c (__nss_database_lookup): Handle
92013 nss_parse_service_list out of memory case.
92014
92015 2011-09-15 Jiri Olsa <jolsa@redhat.com>
92016
92017 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
92018 out of memory case.
92019
92020 2011-10-04 Andreas Schwab <schwab@redhat.com>
92021
92022 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
92023 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
92024 pass it down.
92025 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
92026 elf_machine_rela, elf_machine_lazy_rel.
92027 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
92028 (ELF_DYNAMIC_DO_REL): Likewise.
92029 (ELF_DYNAMIC_DO_RELA): Likewise.
92030 (ELF_DYNAMIC_RELOCATE): Likewise.
92031 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
92032 to ELF_DYNAMIC_DO_REL.
92033 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
92034 (dl_main): In trace mode always set __RTLD_NOIFUNC.
92035 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
92036 elf_machine_rela.
92037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
92038 skip_ifunc, don't call ifunc function if non-zero.
92039 (elf_machine_rela): Likewise.
92040 (elf_machine_lazy_rel): Likewise.
92041 (elf_machine_lazy_rela): Likewise.
92042 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
92043 (elf_machine_lazy_rel): Likewise.
92044 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
92045 Likewise.
92046 (elf_machine_lazy_rel): Likewise.
92047 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92048 Likewise.
92049 (elf_machine_lazy_rel): Likewise.
92050 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
92051 (elf_machine_lazy_rel): Likewise.
92052 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
92053 (elf_machine_lazy_rel): Likewise.
92054 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
92055 (elf_machine_lazy_rel): Likewise.
92056 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
92057 (elf_machine_lazy_rel): Likewise.
92058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
92059 (elf_machine_lazy_rel): Likewise.
92060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
92061 (elf_machine_lazy_rel): Likewise.
92062
92063 2011-09-28 Ulrich Drepper <drepper@gmail.com>
92064
92065 * nss/nss_files/files-init.c (_nss_files_init): Use static
92066 initialization for all the *_traced_file variables.
92067
92068 2011-09-28 Andreas Schwab <schwab@redhat.com>
92069
92070 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92071
92072 2011-09-27 Roland McGrath <roland@hack.frob.com>
92073
92074 [BZ #13226]
92075 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
92076
92077 2011-09-27 Andreas Schwab <schwab@redhat.com>
92078
92079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
92080 Reread the line before reparsing it.
92081
92082 2011-09-26 Andreas Schwab <schwab@redhat.com>
92083
92084 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
92085
92086 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
92087 Maxim Kuvyrkov <maxim@codesourcery.com>
92088 Joseph Myers <joseph@codesourcery.com>
92089
92090 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
92091 if needed for __stack_chk_guard.
92092
92093 2011-09-19 Roland McGrath <roland@hack.frob.com>
92094
92095 * sysdeps/posix/spawni.c (script_execute): Always define it.
92096 It will be optimized away if unused.
92097 (maybe_script_execute): New function.
92098 (__spawni): Call it.
92099
92100 * Makerules: Don't include tls.make.
92101 (config-tls): Always set to thread.
92102 * tls.make.c: File removed.
92103
92104 2011-09-19 Mike Frysinger <vapier@gentoo.org>
92105
92106 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
92107 * config.make.in (CPPFLAGS-config): New substituted variable.
92108
92109 2011-09-15 Ulrich Drepper <drepper@gmail.com>
92110
92111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
92112
92113 [BZ #13192]
92114 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
92115 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
92116
92117 2011-09-15 Roland McGrath <roland@hack.frob.com>
92118
92119 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
92120 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
92121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92122 (CALL_FAIL): Likewise.
92123 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
92124 (CALL_FAIL): Macro removed.
92125 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
92126
92127 2011-09-15 Ulrich Drepper <drepper@gmail.com>
92128
92129 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
92130 for __FINITE_MATH_ONLY__ == 1.
92131
92132 2011-09-15 Andreas Schwab <schwab@redhat.com>
92133
92134 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
92135 __ieee754_sqrt instead of sqrt.
92136 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
92137 __ieee754_sqrtf instead of sqrtf.
92138 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92139 __floorf instead of floorf.
92140 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92141 __floorf, __truncf instead of floorf, truncf.
92142
92143 2011-09-14 Ulrich Drepper <drepper@gmail.com>
92144
92145 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92146
92147 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92148 __extern_always_inline.
92149 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92150 32-bit.
92151
92152 2011-09-14 Andreas Schwab <schwab@redhat.com>
92153
92154 * elf/rtld.c (dl_main): Also relocate in dependency order when
92155 doing symbol dependency testing.
92156
92157 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
92158
92159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92160 Always define `refsym'.
92161
92162 2011-09-13 Andreas Schwab <schwab@redhat.com>
92163
92164 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92165 (__FD_ELT): Renamed from __FDELT.
92166 * misc/bits/select2.h (__FD_ELT): Likewise.
92167 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92168 __FD_MASK instead of __FDELT, __FDMASK.
92169 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92170 Likewise.
92171 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92172 Likewise.
92173
92174 * elf/Makefile (gen-ldd): Fix pattern.
92175
92176 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92177 (init_tls): Likewise.
92178
92179 2011-09-12 Ulrich Drepper <drepper@gmail.com>
92180
92181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92182
92183 2011-09-12 Andreas Schwab <schwab@redhat.com>
92184
92185 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92186 `struct cmsghdr *' instead of `void *'.
92187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92188 Likewise.
92189
92190 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
92191
92192 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92193 if non-absolute.
92194 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92195 ldd_rewrite_script.
92196
92197 2011-09-11 Ulrich Drepper <drepper@gmail.com>
92198
92199 * configure.in: Remove --with-tls option.
92200 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92201 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92202 out in case it is missing.
92203 * sysdeps/ia64/elf/configure.in: Likewise.
92204 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92205 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92206 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92207 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92208 * sysdeps/sh/elf/configure.in: Likewise.
92209 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92210 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92211 * sysdeps/x86_64/elf/configure.in: Likewise.
92212 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92213 * sysdeps/mach/hurd/tls.h: Likewise.
92214
92215 [BZ #13067]
92216 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92217
92218 [BZ #13090]
92219 * configure.in: Fix use of AC_INIT.
92220
92221 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92222
92223 2011-09-10 Ulrich Drepper <drepper@gmail.com>
92224
92225 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92226 __set_errno.
92227 * malloc/hooks.c: Likewise.
92228
92229 [BZ #11929]
92230 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
92231 variables statically.
92232 (narenas): Initialize.
92233 (list_lock): Initialize.
92234 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
92235 initializtion of main_arena and list_lock. Small cleanups.
92236 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92237 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
92238 Add initializers to main_arena and mp_.
92239 (malloc_state): Remove pagesize member. Change all users to use
92240 GLRO(dl_pagesize).
92241
92242 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92243 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
92244 is always initialized.
92245
92246 * malloc/malloc.c: Removed unused configurations and dead code.
92247 * malloc/arena.c: Likewise.
92248 * malloc/hooks.c: Likewise.
92249 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92250
92251 * include/tls.h: Removed. USE___THREAD must always be defined.
92252 * bits/libc-tsd.h: Don't handle !USE___THREAD.
92253 * elf/dl-libc.c: Likewise.
92254 * elf/dl-tsd.c: Likewise.
92255 * include/errno.h: Likewise.
92256 * include/netdb.h: Likewise.
92257 * include/resolv.h: Likewise.
92258 * inet/herrno-loc.c: Likewise.
92259 * inet/herrno.c: Likewise.
92260 * malloc/arena.c: Likewise.
92261 * malloc/hooks.c: Likewise.
92262 * malloc/malloc.c: Likewise.
92263 * resolv/res-state.c: Likewise.
92264 * resolv/res_libc.c: Likewise.
92265 * sysdeps/i386/dl-machine.h: Likewise.
92266 * sysdeps/ia64/dl-machine.h: Likewise.
92267 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92268 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92269 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92270 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92271 * sysdeps/sh/dl-machine.h: Likewise.
92272 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92273 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92274 * sysdeps/unix/i386/sysdep.S: Likewise.
92275 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92276 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92281 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92285 * sysdeps/unix/x86_64/sysdep.S: Likewise.
92286 * sysdeps/x86_64/dl-machine.h: Likewise.
92287 * tls.make.c: Likewise.
92288
92289 * configure.in: Remove --with-__thread option. Make tests for
92290 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92291 tls_model attribute fail if no support is available. Remove
92292 USE_IN_LIBIO.
92293 * Makeconfig: Adjust for dropped configure option. All features are
92294 now mandatory.
92295 * Makerules: Likewise.
92296 * Versions.def: Likewise.
92297 * argp/argp-fmtstream.c: Likewise.
92298 * argp/argp-fmtstream.h: Likewise.
92299 * argp/argp-help.c: Likewise.
92300 * assert/assert.c: Likewise.
92301 * config.h.in: Likewise.
92302 * config.make.in: Likewise.
92303 * configure: Likewise.
92304 * configure.in: Likewise.
92305 * csu/Versions: Likewise.
92306 * csu/init.c: Likewise.
92307 * elf/tst-audit2.c: Likewise.
92308 * elf/tst-tls10.c: Likewise.
92309 * elf/tst-tls10.h: Likewise.
92310 * elf/tst-tls11.c: Likewise.
92311 * elf/tst-tls12.c: Likewise.
92312 * elf/tst-tls14.c: Likewise.
92313 * elf/tst-tlsmod11.c: Likewise.
92314 * elf/tst-tlsmod12.c: Likewise.
92315 * elf/tst-tlsmod13.c: Likewise.
92316 * elf/tst-tlsmod13a.c: Likewise.
92317 * elf/tst-tlsmod14a.c: Likewise.
92318 * elf/tst-tlsmod15b.c: Likewise.
92319 * elf/tst-tlsmod16a.c: Likewise.
92320 * elf/tst-tlsmod16b.c: Likewise.
92321 * elf/tst-tlsmod7.c: Likewise.
92322 * elf/tst-tlsmod8.c: Likewise.
92323 * elf/tst-tlsmod9.c: Likewise.
92324 * gmon/gmon.c: Likewise.
92325 * grp/fgetgrent_r.c: Likewise.
92326 * grp/putgrent.c: Likewise.
92327 * hurd/fopenport.c: Likewise.
92328 * include/libc-symbols.h: Likewise.
92329 * include/tls.h: Likewise.
92330 * intl/gettextP.h: Likewise.
92331 * intl/loadinfo.h: Likewise.
92332 * locale/global-locale.c: Likewise.
92333 * locale/localeinfo.h: Likewise.
92334 * mach/devstream.c: Likewise.
92335 * malloc/arena.c: Likewise.
92336 * malloc/set-freeres.c: Likewise.
92337 * misc/err.c: Likewise.
92338 * misc/getttyent.c: Likewise.
92339 * misc/mntent_r.c: Likewise.
92340 * posix/getopt.c: Likewise.
92341 * posix/wordexp.c: Likewise.
92342 * pwd/fgetpwent_r.c: Likewise.
92343 * resolv/Versions: Likewise.
92344 * resolv/res_hconf.c: Likewise.
92345 * shadow/fgetspent_r.c: Likewise.
92346 * shadow/putspent.c: Likewise.
92347 * stdio-common/printf_fphex.c: Likewise.
92348 * stdio-common/tmpfile.c: Likewise.
92349 * stdlib/abort.c: Likewise.
92350 * stdlib/fmtmsg.c: Likewise.
92351 * sunrpc/auth_unix.c: Likewise.
92352 * sunrpc/clnt_perr.c: Likewise.
92353 * sunrpc/clnt_tcp.c: Likewise.
92354 * sunrpc/clnt_udp.c: Likewise.
92355 * sunrpc/clnt_unix.c: Likewise.
92356 * sunrpc/openchild.c: Likewise.
92357 * sunrpc/svc_simple.c: Likewise.
92358 * sunrpc/svc_tcp.c: Likewise.
92359 * sunrpc/svc_udp.c: Likewise.
92360 * sunrpc/svc_unix.c: Likewise.
92361 * sunrpc/xdr.c: Likewise.
92362 * sunrpc/xdr_array.c: Likewise.
92363 * sunrpc/xdr_rec.c: Likewise.
92364 * sunrpc/xdr_ref.c: Likewise.
92365 * sunrpc/xdr_stdio.c: Likewise.
92366
92367 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92368
92369 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92370
92371 2011-07-03 Andreas Jaeger <aj@suse.de>
92372
92373 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92374 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92375 regenerate with gen-libm-tests.pl.
92376
92377 2010-05-12 Petr Baudis <pasky@suse.cz>
92378
92379 [BZ #11589]
92380 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92381 around j0() zero points by switching to j1().
92382 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92383 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92384 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92386
92387 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92388
92389 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92390 instead of 0.
92391 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92392 instead of 0.
92393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92394 Patch in part by Pavel Roskin <proski@gnu.org>.
92395
92396 [BZ #13138]
92397 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92398 realloc.
92399 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92400 Free memory block if necessary.
92401
92402 [BZ #12847]
92403 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92404 be NULL. Don't lock in this case.
92405
92406 2011-09-09 Roland McGrath <roland@hack.frob.com>
92407
92408 * elf/elf.h (ELFOSABI_GNU): New macro.
92409 (ELFOSABI_LINUX): Define to that.
92410
92411 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92412
92413 * string/strncat.c (strncat): Undef the symbol in case it has been
92414 defined in bits/string.h.
92415
92416 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92417
92418 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92419
92420 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92421 link map.
92422
92423 2011-08-17 Andreas Jaeger <aj@suse.de>
92424
92425 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92426
92427 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92428 Ian Lance Taylor <iant@google.com>
92429
92430 * math/libm-test.inc (lround_test): New testcase.
92431 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92432
92433 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92434
92435 * Makefile: Remove support for automatic cvs check-ins.
92436 * Makerules: Likewise.
92437 * config.make.in: Likewise.
92438 * configure.in: Likewise.
92439 * intl/Makefile: Likewise.
92440 * locale/Makefile: Likewise.
92441 * po/Makefile: Likewise.
92442 * posix/Makefile: Likewise.
92443 * sysdeps/gnu/Makefile: Likewise.
92444 * sysdeps/mach/hurd/Makefile: Likewise.
92445 * sysdeps/sparc/sparc32/Makefile: Likewise.
92446
92447 [BZ #13118]
92448 * posix/Makefile (bug-regex32-ENV): Define.
92449 Patch by John Stanley <jpsinthemix@verizon.net>.
92450
92451 * misc/Makefile (headers): Add bits/select2.h.
92452 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92453 * misc/bits/select2.h: New file.
92454 * include/bits/select2.h: New file.
92455 * debug/Makefile (routines): Add fdelt_chk.
92456 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92457 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92458 FD_ISSET.
92459 * debug/fdelt_chk.c: New file.
92460
92461 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92462 * wcsmbs/test-wmemcmp.c: Likewise.
92463 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92464 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92465
92466 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92467
92468 * string/Makefile (strop-tests): Add memcmp.
92469 * string/test-wmemcmp.c: New file.
92470 * string/test-memcmp.c: Add wmemcmp support.
92471
92472 2011-09-08 Roland McGrath <roland@hack.frob.com>
92473
92474 [BZ #13153]
92475 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92476 2011-07-19 change.
92477
92478 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92479 garbage value in a __mach_port_mod_refs call in the cases of the
92480 task-self and thread-self ports.
92481
92482 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92483
92484 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92485
92486 2011-09-08 Andreas Schwab <schwab@redhat.com>
92487
92488 * elf/dl-load.c (lose): Check for non-null L.
92489
92490 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92491
92492 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92493
92494 * elf/dl-libc.c (dlerror_run): Pass back error code from
92495 dl_catch_error.
92496
92497 [BZ #13123]
92498 * elf/dl-load.c (lose): Free l_origin if it is valid.
92499
92500 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92501 names.
92502 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92503 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92505 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92506 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92507 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92508
92509 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92510
92511 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92512 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92513 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92514 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92515 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92516 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92517 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92518 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92519 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92520 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92521
92522 2011-08-15 Alan Modra <amodra@gmail.com>
92523
92524 [BZ #13092]
92525 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92526 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92527 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92528 ppc_mcount to static-only-routines.
92529 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92530 __mcount_internal.
92531 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92532 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92533
92534 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92535
92536 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92537 for finite and infinity parameters.
92538
92539 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92540
92541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92542 and add nop instructions for throughput optimization.
92543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92544
92545 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92546
92547 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92548 aligned copy for power7 with vector-scalar instructions.
92549 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92550
92551 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92552
92553 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92554 AVX check.
92555
92556 2011-09-07 Andreas Schwab <schwab@redhat.com>
92557
92558 [BZ #13144]
92559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92560 last change.
92561
92562 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92563
92564 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92565 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92566 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92567 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92568 clock_gettime.
92569
92570 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92571
92572 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92573 Forgot to demangle the pointer.
92574
92575 * sysdeps/i386/sysdep.h: Define atom_text_section.
92576 * sysdeps/x86_64/sysdep.h: Likewise.
92577 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92578 section with atom_text_section.
92579 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92580 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92581 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92583 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92584
92585 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92586 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92587 already be defined. Change to take two parameters and don't assign
92588 result to variable. Adjust all users.
92589 Define INTERNAL_GETTIME if not already defined.
92590 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92591 call.
92592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92593 HAVE_CLOCK_GETTIME_VSYSCALL.
92594 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92595
92596 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92597 gettimeofday vsyscall, just use time.
92598
92599 2011-09-06 Andreas Schwab <schwab@redhat.com>
92600
92601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92602 <errno.h>.
92603
92604 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92605
92606 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92607 syscall on x86-64.
92608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92609 syscall.
92610 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92611 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92612 syscall if possible.
92613
92614 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92615
92616 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92617 e_ident. Don't pass to find_mapsXX.
92618 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92619
92620 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92621
92622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92623 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92624 * sysdeps/x86_64/multiarch/strchr.S: Update.
92625 Check bit_slow_BSF bit.
92626 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92627 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92628 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92629
92630 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92631
92632 [BZ #13134]
92633 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92634 before glibc 2.15.
92635 (tryshell): Define.
92636 (__spawni): Change last parameter to be flag. Test
92637 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92638 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92639 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92640 * posix/spawni.c: Likewise.
92641 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92642 * posix/spawnp.c: Likewise. Change normal version to use
92643 SPAWN_XFLAGS_USE_PATH.
92644 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92645 SPAWN_XFLAGS_TRY_SHELL.
92646
92647 [BZ #13150]
92648 * posix/glob.h: Remove gcc 1.x support.
92649
92650 [BZ #13068]
92651 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92652
92653 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92654
92655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92656 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92657 strrchr-sse2-bsf
92658 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92659 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92660 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92661 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92662 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92663 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92664
92665 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92666
92667 * sysdeps/x86_64/wcscmp.S: New file.
92668
92669 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92670 wcscmp-c wcscmp-sse2
92671 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92672 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92673 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92674 * wcsmbs/wcscmp.c: Allow renaming.
92675
92676 2011-09-05 David S. Miller <davem@davemloft.net>
92677
92678 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92679 stack slot, rather than the struct return pointer slot.
92680 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92681 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92683 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92684
92685 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92686
92687 * po/ja.po: Update from translation team.
92688
92689 [BZ #13144]
92690 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92691 kernel in 64-bit binaries.
92692
92693 2011-09-01 David S. Miller <davem@davemloft.net>
92694
92695 * elf/elf.h (HWCAP_SPARC_*): Move to..
92696 * sysdeps/sparc/sysdep.h: this new file and add new values.
92697 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92698 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92699 _DL_HWCAP_COUNT to 24.
92700 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92701 entries.
92702 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92703 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92704 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92705 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92706 instead of magic constants.
92707 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92708
92709 2011-08-31 David S. Miller <davem@davemloft.net>
92710
92711 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92713 Reimplement to do errno handling inline.
92714 (SYSCALL_ERROR_HANDLER): New macro.
92715 (__SYSCALL_STRING): Do not do errno handling in asm.
92716 (__CLONE_SYSCALL_STRING): Delete.
92717 (__INTERNAL_SYSCALL_STRING): Delete.
92718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92719 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92720 (PSEUDO): Reimplement to do errno handling inline.
92721 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92722 (SYSCALL_ERROR_HANDLER): New macro.
92723 (__SYSCALL_STRING): Do not do errno handling in asm.
92724 (__CLONE_SYSCALL_STRING): Delete.
92725 (__INTERNAL_SYSCALL_STRING): Delete.
92726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92727 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92728 i386.
92729 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92730 (inline_syscall*): Add 'err' argument.
92731 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92732 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92733 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92734 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92735
92736 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92737 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92738
92739 2011-08-30 Andreas Schwab <schwab@redhat.com>
92740
92741 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92742
92743 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92744
92745 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92746 directive.
92747
92748 2011-08-24 David S. Miller <davem@davemloft.net>
92749
92750 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92751
92752 2011-08-24 Andreas Schwab <schwab@redhat.com>
92753
92754 * elf/Makefile: Add rules to build and run unload8 test.
92755 * elf/unload8.c: New file.
92756 * elf/unload8mod1.c: New file.
92757 * elf/unload8mod1x.c: New file.
92758 * elf/unload8mod2.c: New file.
92759 * elf/unload8mod3.c: New file.
92760
92761 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92762 it wasn't used.
92763
92764 2011-08-23 David S. Miller <davem@davemloft.net>
92765
92766 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92767 subtract stack bias.
92768 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92769 %sp not %fp in calculations.
92770 (_JMPBUF_UNWINDS_ADJ): Likewise.
92771
92772 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92773 (aio_suspend): Call it to force an exception region around the
92774 AIO_MISC_WAIT() invocation.
92775
92776 2011-08-23 Andreas Schwab <schwab@redhat.com>
92777
92778 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92779 backslash.
92780
92781 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92782
92783 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92784 protection macro.
92785 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92786 and <dl-machine.h>.
92787 (Elf64_FuncDesc): Remove.
92788
92789 2011-08-22 David S. Miller <davem@davemloft.net>
92790
92791 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92792 sigaltstack check, add missing cfi directives.
92793 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92794 missing cfi directives, and sigaltstack handling.
92795
92796 2011-08-16 Andreas Schwab <schwab@redhat.com>
92797
92798 [BZ #11724]
92799 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92800 object is seen twice.
92801 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92802
92803 * elf/Makefile (distribute): Add tst-initorder2.c.
92804 (tests): Add tst-initorder2.
92805 (modules-names): Add tst-initorder2a tst-initorder2b
92806 tst-initorder2c tst-initorder2d. Add rules to build them.
92807 ($(objpfx)tst-initorder2.out): New rule.
92808 * elf/tst-initorder2.c: New file.
92809 * elf/tst-initorder2.exp: New file.
92810
92811 2011-08-22 Andreas Schwab <schwab@redhat.com>
92812
92813 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92814
92815 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92816 dependencies back to end of function.
92817
92818 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92819 $(elfobjdir)/ld.so.
92820
92821 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92822
92823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92824 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92826 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92827 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92828 of __vdso_gettimeofday.
92829 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92830 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92831 attribute_hidden.
92832 (_libc_vdso_platform_setup): Remove initialization of
92833 __vdso_gettimeofday and __vdso_time.
92834
92835 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92836
92837 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92838 and fgetc_unlocked.
92839 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92840 getc_unlocked.
92841
92842 * elf/dl-open.c (add_to_global): Report additions to the global scope
92843 for LD_DEBUG=scopes.
92844 (dl_open_worker): Also print scope of newly loaded dependencies.
92845 (_dl_show_scope): Indicate if there is no scope.
92846
92847 [BZ #13114]
92848 * stdio-common/Makefile (tests): Add bug24.
92849 * stdio-common/bug24.c: New file.
92850
92851 2011-08-19 Andreas Jaeger <aj@suse.de>
92852
92853 [BZ #13114]
92854 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92855 non-existant file when using close-on-exec mode.
92856
92857 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92858
92859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92860 the very first instruction.
92861
92862 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92863 the CFI state in the end.
92864 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92865 inclusion of dl-trampoline.h.
92866 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92867
92868 2011-08-19 Andreas Schwab <schwab@redhat.com>
92869
92870 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92871 expectations for long double.
92872
92873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92874 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92875
92876 2011-08-14 David S. Miller <davem@davemloft.net>
92877
92878 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92879 artificual limit depends upon the system page size.
92880
92881 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92882
92883 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92884 * resolv/Makefile: Define CFLAGS-libresolv.
92885
92886 2011-08-17 Andreas Schwab <schwab@redhat.com>
92887
92888 * nss/makedb.c (compute_tables): Make variables used in nested
92889 function static.
92890
92891 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92892
92893 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92894 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92895 if buffer was too small.
92896
92897 * elf/pldd.c (main): Attach to all threads in the process.
92898 Rewrite /proc handling to use *at functions.
92899
92900 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92901
92902 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92903 specifies first scope to show.
92904 (dl_open_worker): Update callers. Move printing scope of new
92905 object to before the relocation.
92906 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92907 * sysdeps/generic/ldsodefs.h: Update declaration.
92908
92909 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92910 string for the scope number.
92911
92912 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92913
92914 * nscd/servicescache.c (cache_addserv): Make sure written is always
92915 initialized.
92916
92917 2011-08-14 Roland McGrath <roland@hack.frob.com>
92918
92919 * sysdeps/i386/i486/bits/atomic.h
92920 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92921 statement expression, so as to suppress "set but not used" warning.
92922 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92923
92924 * string/strncat.c (STRNCAT): Use prototype definition.
92925
92926 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92927 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92928 -Iprograms here.
92929 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92930 (localedef-modules): Add localedef.
92931 (locale-modules): Add locale.
92932
92933 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92934 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92935 to avoid a warning.
92936
92937 2011-08-14 David S. Miller <davem@davemloft.net>
92938
92939 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92940 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92941
92942 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92943
92944 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92945 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92946 * elf/rtld.c (dl_main): Set l_name of vDSO.
92947 Call _dl_show_scope when DL_DEBUG_SCOPES.
92948 (process_dl_debug): Recognize scopes flag and also set it for all.
92949 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92950 Declare _dl_show_scope.
92951
92952 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92953 (do_dlopen): Pass caller_dlopen to dl_open.
92954 (__libc_dlopen_mode): Initialize caller_dlopen.
92955
92956 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92957 of libc. Make tolower call locale-independent. Optimize a bit by
92958 using isdigit instead of isalnum.
92959 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92960
92961 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92962
92963 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92964 was a dependency or dynamically loaded.
92965
92966 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92967
92968 * intl/l10nflist.c: Allow architecture-specific pop function.
92969 * sysdeps/x86_64/l10nflist.c: New file.
92970
92971 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92972 classification.
92973
92974 2011-08-10 Andreas Schwab <schwab@redhat.com>
92975
92976 * include/dirent.h: Add libc_hidden_proto for scandirat and
92977 scandirat64. Don't declare __scandirat64.
92978 * dirent/scandirat.c: Add libc_hidden_def.
92979 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92980 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92981
92982 2011-08-10 David S. Miller <davem@davemloft.net>
92983
92984 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92985 enum.
92986 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92987 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92988 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92989
92990 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92991
92992 * Versions.def [libc]: Add GLIBC_2.15.
92993 * dirent/Makefile (routines): Add scandirat and scandirat64.
92994 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92995 GLIBC_2.15.
92996 * dirent/dirent.h: Declare scandirat and scandirat64.
92997 * dirent/scandirat.c: New file.
92998 * dirent/scandirat64.c: New file.
92999 * sysdeps/wordsize-64/scandirat.c: New file.
93000 * sysdeps/wordsize-64/scandirat64.c: New file.
93001 * dirent/opendir.c: Define opendirat.
93002 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
93003 using scandirat.
93004 * dirent/scandir64.c: Adjust for scandir.c change.
93005 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
93006 __scandirat64, and __scandir_cancel_handler.
93007 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
93008 additional parameter and use openat instead of open (outside of ld.so).
93009 Add new __opendir as wrapper around __opendirat.
93010 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
93011 here without requiring old scandirat implementation.
93012
93013 2011-08-08 Ulrich Drepper <drepper@gmail.com>
93014
93015 * dirent/scandir.c (cancel_handler): Renamed to
93016 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
93017 defined. Adjust users.
93018 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
93019 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
93020
93021 2011-08-04 Ulrich Drepper <drepper@gmail.com>
93022
93023 * string/test-string.h (IMPL): Use __STRING to expand name and then
93024 stringify it.
93025
93026 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
93027 of cleanups.
93028
93029 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
93030
93031 * string/Makefile: Update.
93032 (strop-tests): Append strncat.
93033 * string/test-wcscmp.c: New file.
93034 New comprehensive test for wcscmp.
93035 * string/test-strcmp.c: Update.
93036 (WIDE): New define.
93037
93038 2011-07-22 Andreas Schwab <schwab@redhat.com>
93039
93040 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
93041 line.
93042
93043 2011-07-26 Andreas Schwab <schwab@redhat.com>
93044
93045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93046 encoding to ACE if AI_IDN.
93047
93048 2011-08-01 Jakub Jelinek <jakub@redhat.com>
93049
93050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
93051 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
93052
93053 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93054
93055 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
93056 Fix overflow bug in strncat.
93057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
93058
93059 * string/test-strncat.c: Update.
93060 Add new tests for checking overflow bugs.
93061
93062 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93063
93064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93065 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
93066 * sysdeps/i386/i686/multiarch/strcat.S: New file.
93067 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
93068 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
93069 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
93070 * sysdeps/i386/i686/multiarch/strncat.S: New file.
93071 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
93072 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
93073
93074 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
93075 (USE_AS_STRCAT): Define.
93076 Add strcat and strncat support.
93077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
93078
93079 2011-07-25 Andreas Schwab <schwab@redhat.com>
93080
93081 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
93082 __n bigger than INT_MAX+1.
93083 (__strncmp_g): Likewise.
93084
93085 2011-07-23 Ulrich Drepper <drepper@gmail.com>
93086
93087 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
93088 * libio/stido.h: Likewise.
93089
93090 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
93091 (AF_NFC): Define.
93092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
93093 (AF_NFC): Define.
93094
93095 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
93096 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93097 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
93099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93100
93101 [BZ #13021]
93102 * scripts/test-installation.pl: Don't expect libnss_test1 to be
93103 installed.
93104
93105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
93106 typo.
93107 (_dl_x86_64_save_sse): Likewise.
93108
93109 2011-07-22 Ulrich Drepper <drepper@gmail.com>
93110
93111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
93112 OSXSAVE.
93113 (_dl_x86_64_save_sse): Likewise.
93114
93115 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
93116
93117 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
93118
93119 2011-07-21 Andreas Schwab <schwab@redhat.com>
93120
93121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
93122 change.
93123 (_dl_x86_64_save_sse): Use correct AVX check.
93124
93125 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
93126
93127 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
93128 bug in strncpy/strncat.
93129 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
93130
93131 2011-07-21 Ulrich Drepper <drepper@gmail.com>
93132
93133 * string/tester.c (test_strcat): Add tests for different alignments
93134 of source and destination.
93135 (test_strncat): Likewise.
93136
93137 2011-07-20 Ulrich Drepper <drepper@gmail.com>
93138
93139 [BZ #12852]
93140 * posix/glob.c (glob): Check passed in values before using them in
93141 expressions to avoid some overflows.
93142 (glob_in_dir): Likewise.
93143
93144 [BZ #13007]
93145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93146 check for AVX enablement so that we don't crash with old kernels and
93147 new hardware.
93148 * elf/tst-audit4.c: Add same checks here.
93149 * elf/tst-audit6.c: Likewise.
93150
93151 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93152
93153 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
93154
93155 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93156
93157 2011-07-20 Ulrich Drepper <drepper@gmail.com>
93158
93159 * po/cs.po: Update from translation team.
93160 * po/bg.po: Likewise.
93161
93162 2011-07-12 Marek Polacek <mpolacek@redhat.com>
93163
93164 * misc/sys/cdefs.h: Add support for const attribute.
93165 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93166 to gnu_dev_{major,minor,makedev} functions.
93167
93168 2011-07-20 Marek Polacek <mpolacek@redhat.com>
93169
93170 * intl/dcigettext.c (get_output_charset): Add missing bracket.
93171
93172 2011-07-20 Andreas Schwab <schwab@redhat.com>
93173
93174 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93175 strlen results.
93176
93177 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93178
93179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93180 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93181 register in order to avoid conflicts with the soft frame pointer
93182 being held in r11 when necessary.
93183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93184 (INTERNAL_VSYSCALL_NCS): Likewise.
93185
93186 2011-07-14 Marek Polacek <mpolacek@redhat.com>
93187
93188 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93189 * elf/dl-fini.c (_dl_fini): Adjust caller.
93190 * elf/dl-close.c (_dl_close_worker): Likewise.
93191 * sysdeps/generic/ldsodefs.h: Adjust declaration.
93192
93193 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93194
93195 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93196 "aux_cache->nlibs < 0".
93197
93198 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93199 in the reload-count case.
93200
93201 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93202
93203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93204 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93205 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93206 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93207 * sysdeps/x86_64/multiarch/strcat.S: New file.
93208 * sysdeps/x86_64/multiarch/strncat.S: New file.
93209 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93211 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93212 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93213 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93214 (USE_AS_STRCAT): Define.
93215 Add strcat and strncat support.
93216 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93217 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93218 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93219 * string/strncat.c: Update.
93220 (USE_AS_STRNCAT): Define.
93221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93222 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93223 and i7.
93224 * sysdeps/x86_64/multiarch/init-arch.h
93225 (bit_Prefer_PMINUB_for_stringop): New.
93226 (index_Prefer_PMINUB_for_stringop): Likewise.
93227 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93228 bit_Prefer_PMINUB_for_stringop.
93229
93230 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93231
93232 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93233 buffer64.
93234 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93235 of casting of buffer.
93236 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93237 buffer32 and buffer64.
93238 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93239 writes instead of casting of buffer.
93240 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93241 buffer32.
93242 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93243 casting of buffer.
93244
93245 2011-07-19 Andreas Schwab <schwab@redhat.com>
93246
93247 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93248
93249 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93250
93251 * nscd/nscd.c (termination_handler): Don't do anything for a database
93252 if it has not yet been initialized.
93253
93254 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93255
93256 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93257
93258 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93259
93260 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93261
93262 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93263
93264 * po/nl.po: Update from translation team.
93265 * po/sv.po: Likewise.
93266
93267 2011-07-16 Roland McGrath <roland@hack.frob.com>
93268
93269 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93270 now disallowed by GCC.
93271
93272 * configure.in (use-default-link): Default to yes if a test -shared
93273 link meets our qualifications.
93274 * configure: Regenerated.
93275
93276 * config.make.in (output-format): New variable.
93277 * configure.in: Check for ld --print-output-format support.
93278 * configure: Regenerated.
93279 * Makerules ($(common-objpfx)format.lds)
93280 [$(output-format) != unknown]: Just use $(output-format),
93281 instead of the linker-script munging.
93282
93283 2011-07-14 Roland McGrath <roland@hack.frob.com>
93284
93285 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93286 of $(common-objpfx)shlib.lds.
93287 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93288
93289 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93290 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93291
93292 * configure.in (-z relro check): Adjust test code to add a large
93293 writable data section after it.
93294 * configure: Regenerated.
93295
93296 2011-07-11 Roland McGrath <roland@hack.frob.com>
93297
93298 * configure.in (-z relro check): Fix test code to make the variable
93299 truly const.
93300 * configure: Regenerated.
93301
93302 2011-07-11 Ulrich Drepper <drepper@gmail.com>
93303
93304 * nscd/nscd.h (struct traced_file): Define.
93305 (struct database_dyn): Remove inotify_descr, reset_res, and filename
93306 elements. Add traced_files.
93307 (inotify_fd): Declare.
93308 (register_traced_file): Declare.
93309 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93310 (inotify_fd): Export.
93311 (resolv_conf_descr): Remove.
93312 (nscd_init): Move inotify descriptor creation to main.
93313 Don't register files for notification here.
93314 (register_traced_file): New function.
93315 (invalidate_cache): Don't use reset_res to determine whether to call
93316 res_init, go through the list of registered files.
93317 (main_loop_poll): The inotify descriptors are now stored in the
93318 structures for the traced files.
93319 (main_loop_epoll): Likewise.
93320 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
93321 to __nss_disable_nscd.
93322 * nscd/cache.c (prune_cache): There is no single inotify descriptor
93323 for a database anymore. Check the records for all the registered
93324 files instead.
93325 * nss/Makefile (libnss_files-routines): Add files-init.
93326 (libnss_db-routines): Add db-init.
93327 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93328 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93329 * nss/nss_db/db-init.c: New file.
93330 * nss/nss_files/files-init.c: New file.
93331 * nss/nsswitch.c (nss_load_library): New function. Broken out of
93332 __nss_lookup_function.
93333 (__nss_lookup_function): Call nss_load_library.
93334 (nss_load_all_libraries): New function.
93335 (__nss_disable_nscd): Take parameter with callback function for files
93336 to register. Set is_nscd. Load all the DSOs for the NSS modules
93337 used for the cached services.
93338 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93339 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93340 options for features to all the files in nscd.
93341
93342 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93343
93344 2011-07-10 Roland McGrath <roland@hack.frob.com>
93345
93346 * csu/elf-init.c (__libc_csu_init): Comment typo.
93347
93348 2011-07-09 Ulrich Drepper <drepper@gmail.com>
93349
93350 * po/pl.po: Update from translation team.
93351 * po/ja.po: Likewise.
93352 * po/ru.po: Likewise.
93353 * po/ko.po: Likewise.
93354 * po/fr.po: Likewise.
93355
93356 2011-07-09 Roland McGrath <roland@hack.frob.com>
93357
93358 * configure.in (.ctors/.dtors header and trailer check):
93359 Use an empirical test on a built program.
93360 * configure: Regenerated.
93361
93362 * configure.in (-z relro check): Use an empirical test on a built DSO.
93363 Detect, but do not require, on ia64.
93364 * configure: Regenerated.
93365
93366 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93367 Update tests that use readelf to use $READELF instead.
93368 * configure: Regenerated.
93369
93370 2011-07-08 Ulrich Drepper <drepper@gmail.com>
93371
93372 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93373 if the result is not used.
93374
93375 2011-07-05 Andreas Jaeger <aj@suse.de>
93376
93377 [BZ #9696]
93378 * stdlib/tst-strtod.c: Add testcase.
93379
93380 2011-07-07 Ulrich Drepper <drepper@gmail.com>
93381
93382 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93383 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93384 The latter has a higher limit. Take additional parameter to pass to
93385 the new function.
93386 (__pathconf): Pass file to __statfs_link_max.
93387 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93388 __statfs_link_max.
93389 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93390 __statfs_link_max.
93391
93392 [BZ #12868]
93393 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93394 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93395 Handle Lustre.
93396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93397 (__statfs_filesize_max): Likewise.
93398 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93399
93400 2011-07-05 Andreas Jaeger <aj@suse.de>
93401
93402 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93403
93404 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93405
93406 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93407 `status' variable.
93408 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93409 Likewise.
93410
93411 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93412
93413 * Makefile (strop-tests): Add strncat.
93414 * string/test-strncat.c: New file.
93415
93416 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93417
93418 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93419
93420 2011-06-21 Andreas Jaeger <aj@suse.de>
93421
93422 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93423 Copy rule from iconvdata/Makefile.
93424
93425 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93426
93427 [BZ #12922]
93428 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93429 but no long options are defined, just return 'W'.
93430
93431 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93432
93433 [BZ #9696]
93434 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93435
93436 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93437
93438 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93439 netgroups to read.
93440 (innetgr): Likewise.
93441
93442 2011-07-05 Roland McGrath <roland@hack.frob.com>
93443
93444 * config.make.in (install_root): Default to $(DESTDIR).
93445
93446 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93447
93448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93449
93450 2011-07-02 Roland McGrath <roland@hack.frob.com>
93451
93452 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93453
93454 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93455 containing directory rather than embedding absolute directory names.
93456
93457 * scripts/check-local-headers.sh: Rewritten using awk.
93458 Match by word, not by line. Print error messages for matches.
93459 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93460
93461 * Makerules [shlib-lds-flags empty]:
93462 ($(common-objpfx)libc_pic.opts): New target.
93463 ($(common-objpfx)libc_pic.os.clean): New target.
93464 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93465
93466 * config.make.in (OBJCOPY): New variable.
93467 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93468 * configure: Regenerated.
93469
93470 * config.make.in (use-default-link): New variable.
93471 * configure.in (use_default_link): Grok --with-default-link to set it.
93472 * configure: Regenerated.
93473 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93474 (shlib-lds, shlib-lds-flags): Define to empty.
93475
93476 * Makerules (shlib-lds): New variable.
93477 (shlib-lds-flags): New variable.
93478 (build-shlib, build-moduile, build-module-asneeded): Use it.
93479 ($(common-objpfx)libc.so): Use $(shlib-lds).
93480 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93481 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93482
93483 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93484 DT_FLAGS/DT_FLAGS_1 with zero flags.
93485
93486 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93487 linker script munging.
93488
93489 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93490
93491 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93492 as 128-bit value.
93493 * crypt/sha512.c (sha512_process_block): Perform total addition using
93494 128-bit if possible.
93495 (__sha512_finish_ctx): Likewise.
93496 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93497 as 64-bit value.
93498 * crypt/sha256.c (SWAP64): Define.
93499 (sha256_process_block): Perform total addition using 64-bit if
93500 possible.
93501 (__sha256_finish_ctx): Likewise.
93502
93503 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93504
93505 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93507 * nscd/hstcache.c (cache_addhst): Likewise.
93508 * nscd/grpcache.c (cache_addgr): Likewise.
93509 * nscd/aicache.c (addhstaiX): Likewise.
93510 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93511
93512 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93513
93514 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93516 * nscd/hstcache.c (cache_addhst): Likewise.
93517 * nscd/grpcache.c (cache_addgr): Likewise.
93518 * nscd/aicache.c (addhstaiX): Likewise.
93519
93520 2011-07-01 Andreas Schwab <schwab@redhat.com>
93521
93522 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93523 domain only when needed.
93524
93525 2011-06-30 Andreas Schwab <schwab@redhat.com>
93526
93527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93528 is always restored.
93529
93530 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93531
93532 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93533 are re-adding the entry.
93534 * nscd/servicescache.c (cache_addserv): Likewise.
93535
93536 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93537
93538 * sysdeps/generic/dl-irel.h: fix protection against multiple
93539 inclusions.
93540 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93541
93542 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93543
93544 [BZ #12935]
93545 * malloc/memusage.sh: Fix quoting in message.
93546 * debug/xtrace.sh: Likewise.
93547
93548 * configure.in: Remove support for --experimental-malloc option, make
93549 it the default.
93550 * config.make.in: Likewise.
93551 * malloc/Makefile: Likewise.
93552
93553 2011-06-27 Andreas Schwab <schwab@redhat.com>
93554
93555 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93556 two-byte characters.
93557
93558 2011-06-27 Roland McGrath <roland@hack.frob.com>
93559
93560 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93561 AC_CACHE_CHECK invocation.
93562 * configure: Regenerated.
93563
93564 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93565
93566 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93567
93568 [BZ #12350]
93569 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93570 bit from old_res_options.
93571
93572 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93573
93574 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93575 value type for setfct.
93576
93577 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93578
93579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93580 __gettimeofday instead of gettimeofday.
93581
93582 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93583
93584 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93585
93586 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93587
93588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93589
93590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93591 info.
93592
93593 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93594
93595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93596 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93597 strcpy-sse2-unaligned strncpy-sse2-unaligned
93598 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93599 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93600 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93601 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93602 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93603 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93605 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93606 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93607 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93608 (STRCPY): Support SSE2 and SSSE3 versions.
93609
93610 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93611
93612 [BZ #12874]
93613 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93614 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93615 kernels which artificially limit size of requests.
93616
93617 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93618
93619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93620 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93621 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93622 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93623 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93624 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93625 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93626 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93627 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93629 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93630 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93631 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93632 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93633 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93635 Enable unaligned load optimization for Intel Core i3, i5 and i7
93636 processors.
93637 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93638 Define.
93639 (index_Fast_Unaligned_Load): Define.
93640 (HAS_FAST_UNALIGNED_LOAD): Define.
93641
93642 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93643
93644 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93645
93646 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93647
93648 [BZ #12907]
93649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93650 until it is clear that the information is realy needed.
93651 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93652
93653 2011-06-22 Andreas Schwab <schwab@redhat.com>
93654
93655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93656
93657 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93658
93659 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93660 /sys/devices/system/cpu/online if it is usable.
93661
93662 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93663 reading the information from the /proc filesystem to once a second.
93664
93665 2011-06-21 Andreas Jaeger <aj@suse.de>
93666
93667 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93668 NULL after inclusion of kernel headers.
93669
93670 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93671
93672 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93673 calls to internal_setent.
93674
93675 [BZ #12885]
93676 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93677 addresses using gethostbyname4_r ignore IPv4 addresses.
93678
93679 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93680 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93681
93682 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93683
93684 2011-06-20 David S. Miller <davem@davemloft.net>
93685
93686 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93687 inclusions.
93688 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93689
93690 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93691 (elf_irel): Use it.
93692 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93693 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93694 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93695 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93696 * sysdeps/x86_64/dl-irel.h: Likewise.
93697
93698 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93699 * elf/dl-sym.c: Likewise.
93700
93701 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93702
93703 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93704 need to dereference resplen2.
93705
93706 2011-06-14 Andreas Schwab <schwab@redhat.com>
93707
93708 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93709
93710 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93711
93712 * Makeconfig: Define vardbdir and inst_vardbdir.
93713 * nss/Makefile: Add rules to install db-Makefile.
93714
93715 * nss/nss_db/db-XXX.c: Cleanup.
93716
93717 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93718 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93719 GLIBC_PRIVATE.
93720 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93721 * nss/makedb.c: Implement -g option to specify that value strings
93722 are generated and should not be added to table iterated over for
93723 get*ent calls.
93724 * nss/nss_db/db-initgroups.c: New file.
93725
93726 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93727 interface.
93728
93729 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93730 (internal_getgrouplist): Adjust to name change.
93731 Update use_initgroups_entry if this is not the first call.
93732 * nss/databases.def: Add initgroups entry.
93733
93734 * nss/makedb.c (compute_tables): Check result of multiple hash table
93735 sizes to minimize maximum chain length.
93736
93737 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93738
93739 * Versions.def: Add entry for libnss_db.
93740 * shlib-versions: Likewise.
93741 * nss/Makefile: Add rules to build libnss_db.
93742 * nss/Versions: Add libnss_db information. Organize libnss_files
93743 entries better.
93744 * nss/db-Makefile: Add gshadow support. Change rules for the new
93745 makedb progra. Some minor improvements to generate smaller files.
93746 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93747 here from...
93748 * nss/makedb.c: ...here.
93749 Improve database format to be smaller and require less memory at
93750 runtime.
93751 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93752 db anymore.
93753 * nss/nss_db/db-netgrp.c: Likewise.
93754 * nss/nss_db/db-open.c: Likewise.
93755 * nss/nss_files/flies-XXX.x: Adjust comments.
93756 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93757 * nss/nss_files/files-grp.c: Likewise.
93758 * nss/nss_files/files-hosts.c: Likewise.
93759 * nss/nss_files/files-network.c: Likewise.
93760 * nss/nss_files/files-proto.c: Likewise.
93761 * nss/nss_files/files-pwd.c: Likewise.
93762 * nss/nss_files/files-rpc.c: Likewise.
93763 * nss/nss_files/files-service.c: Likewise.
93764 * nss/nss_files/files-sgrp.c: Likewise.
93765 * nss/nss_files/files-spwd.c: Likewise.
93766 * nss/nss_db/db-alias.c: Removed.
93767 * nss/nss_db/dummy-db.h: Removed.
93768
93769 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93770
93771 * nss/makedb.c: Rewritten to not use database library.
93772 * nss/Makefile: Update to build new makedb program.
93773
93774 2011-06-14 Andreas Jaeger <aj@suse.de>
93775
93776 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93777 memset declaration.
93778
93779 2011-06-10 Andreas Schwab <schwab@redhat.com>
93780
93781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93782 tmpbuf.
93783
93784 2011-06-10 Roland McGrath <roland@hack.frob.com>
93785
93786 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93787 * elf/Makefile ($(objpfx)ld.so): Likewise.
93788
93789 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93790 Don't list ld.so twice in dependencies.
93791
93792 * posix/bug-regex31.c: Include <stdlib.h>.
93793
93794 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93795
93796 * nis/nss_compat/compat-spwd.c
93797 (getspent_next_nss_netgr): Remove unused variable.
93798 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93799
93800 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93801 nonmembers" output to use the right array.
93802
93803 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93804
93805 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93806
93807 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93808 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93809 * catgets/gencat.c (read_input_file): Likewise.
93810 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93811
93812 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93813 variable definition inside #if's controlling its use.
93814
93815 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93816
93817 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93818
93819 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93820
93821 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93822 unreachable code.
93823
93824 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93825
93826 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93827 * configure: Regenerated.
93828
93829 * Makerules: Revert last change.
93830 * elf/Makefile: Likewise.
93831
93832 2011-06-09 Roland McGrath <roland@hack.frob.com>
93833
93834 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93835 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93836 (reloc-link): Likewise.
93837
93838 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93839
93840 * elf/Makefile: Add rules to build pldd.
93841 * elf/pldd.c: New file.
93842 * elf/pldd-xx.c: New file.
93843
93844 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93845
93846 * version.h: Update for 2.15 development version.
93847
93848 2011-06-07 David S. Miller <davem@davemloft.net>
93849
93850 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93851 ifuncs.
93852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93853 elf_machine_lazy_rel): Likewise.
93854 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93856 elf_machine_lazy_rel): Likewise.
93857 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93858 dl_hwcap via passed in argument.
93859 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93860 Likewise.
93861
93862 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93863
93864 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93865
93866 2011-06-06 Roland McGrath <roland@hack.frob.com>
93867
93868 [BZ #12849]
93869 * manual/fdl-1.1.texi: New file, verbatim from:
93870 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93871 * manual/lgpl-2.1.texi: New file, verbatim from:
93872 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93873 * manual/Makefile (licenses): New variable, list those new file names.
93874 (texis): Use it.
93875 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93876
93877 * manual/fdl.texi: File removed.
93878 * manual/lesser.texi: File removed.
93879 * manual/libc.texinfo (Copying, Documentation License):
93880 Use new @include file names, put @appendix directive before @include.
93881
93882 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93883
93884 [BZ #12841]
93885 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93886 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93887 (mq_open): Add __NTH.
93888
93889 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93890
93891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93892 Assume Intel Core i3/i5/i7 processor if AVX is available.
93893
93894 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93895
93896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93897 typo.
93898
93899 2011-05-31 Andreas Schwab <schwab@redhat.com>
93900
93901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93902 memory. Use alloca_account. Fix memory leak when retrying.
93903
93904 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93905
93906 * version.h (RELEASE): Bump for 2.14 release.
93907 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93908
93909 * config.make.in (RANLIB): Remove entry.
93910
93911 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93912
93913 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93914 (libc.pot): Work around missing support for .ksh extension in xgettext.
93915
93916 [BZ #12684]
93917 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93918 if both request failed.
93919 (send_dg): In case of server errors clear resplen or *resplen2.
93920
93921 [BZ #12454]
93922 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93923 when there are multiple maps.
93924 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93925 (_dl_fini): Remove test here.
93926
93927 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93928
93929 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93930
93931 [BZ #12350]
93932 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93933 bit from old_res_options.
93934 (gaih_inet): Likewise.
93935
93936 [BZ #11099]
93937 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93938 as signed.
93939
93940 * resolv/res_init.c (res_setoptions): Make the code more compact.
93941
93942 [BZ #11558]
93943 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93944 set RES_USEVC.
93945
93946 [BZ #11634]
93947 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93948
93949 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93950
93951 [BZ #11781]
93952 * malloc/malloc.h: Declare malloc hook variables as volatile.
93953
93954 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93955 in last patch.
93956
93957 [BZ #11799]
93958 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93959 raise in the comment.
93960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93962 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93963
93964 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93965
93966 [BZ #12811]
93967 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93968 grow the buffers more if it already has to be sufficient.
93969 (build_wcs_upper_buffer): Likewise.
93970 * posix/regexec.c (check_matching): Likewise.
93971 (clean_state_log_if_needed): Likewise.
93972 (extend_buffers): Don't enlarge buffers beyond size of the input
93973 buffer.
93974 Patches mostly by Emil Wojak <emil@wojak.eu>.
93975 * posix/bug-regex32.c: New file.
93976 * posix/Makefile (tests): Add bug-regex32.
93977
93978 * locale/findlocale.c (_nl_find_locale): Return right away if
93979 _nl_explode_name failed.
93980 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93981
93982 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93983
93984 * debug/xtrace.sh: Unify messages.
93985 * malloc/memusage.sh: Likewise.
93986
93987 [BZ #12813]
93988 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93989 time symbol from vDSO. Substitute with vsyscall if not available.
93990 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93991 __vdso_time.
93992
93993 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93994 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93995 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93996 Add sendmmsg and internal_sendmmsg.
93997 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93998 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93999 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
94000
94001 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
94002 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
94003 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
94004
94005 2011-05-27 Ulrich Drepper <drepper@gmail.com>
94006
94007 [BZ #12813]
94008 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
94009 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
94010 available.
94011 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
94012 __vdso_getcpu.
94013
94014 [BZ #12814]
94015 * iconvdata/Makefile (tests): Add bug-iconv9.
94016 * iconvdata/bug-iconv9.c: New file.
94017
94018 2011-05-27 Andreas Schwab <schwab@redhat.com>
94019
94020 [BZ #12814]
94021 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
94022
94023 2011-05-25 Jakub Jelinek <jakub@redhat.com>
94024
94025 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94026 (struct user_regs_struct): Change intcs field back to cs.
94027
94028 2011-05-25 Ulrich Drepper <drepper@gmail.com>
94029
94030 * po/ja.po: Update from translation team.
94031
94032 2011-05-23 Ulrich Drepper <drepper@gmail.com>
94033
94034 [BZ #12795]
94035 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
94036 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
94037
94038 2011-05-20 Andreas Schwab <schwab@redhat.com>
94039
94040 * stdlib/longlong.h: Update from GCC.
94041
94042 2011-05-23 Andreas Schwab <schwab@redhat.com>
94043
94044 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
94045 parameter name.
94046 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
94047 Add parameter name.
94048 (__sysconf): Pass it down.
94049
94050 2011-05-22 Ulrich Drepper <drepper@gmail.com>
94051
94052 [BZ #12671]
94053 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
94054 some situations.
94055 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
94056 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
94057 add in in __libc_use_alloca calls. Adjust callers.
94058 (glob): Use malloc in some situations.
94059
94060 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
94061 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
94062 pltexit.
94063
94064 2011-05-21 Ulrich Drepper <drepper@gmail.com>
94065
94066 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
94067 and CLOCK_BOOTTIME_ALARM.
94068
94069 [BZ #12782]
94070 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
94071 is returned.
94072
94073 * string/_strerror.c (__strerror_r): Print negative errors as signed
94074 numbers.
94075
94076 [BZ #12777]
94077 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
94078 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
94079 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
94080
94081 * configure.in: Fix typo in redirection and correct removal of test
94082 files in two cases.
94083
94084 [BZ #12788]
94085 * locale/setlocale.c (new_composite_name): Fix test to check for
94086 identical name of all categories.
94087
94088 [BZ #12792]
94089 * libio/filedoalloc.c (local_isatty): New function.
94090 (_IO_file_doallocate): Use local_isatty.
94091 * stdio-common/perror.c (perror): In case a new stream is used
94092 forward the stream error.
94093 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
94094 error flag.
94095
94096 2011-05-20 Ulrich Drepper <drepper@gmail.com>
94097
94098 [BZ #11884]
94099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
94100 alloca.
94101 * include/alloca.h (extend_alloca_account): Define.
94102
94103 [BZ #11857]
94104 * posix/regex.h: Fix comments with documentation of user-accessible
94105 fields after compilation and describe correct free'ing of pattern
94106 after re_compile_pattern.
94107 Patch by Reuben Thomas <rrt@sc3d.org>.
94108
94109 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
94110
94111 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
94112 and -mno-altivec to prevent the compiler from using Altivec and/or
94113 VSX instructions when the corresponding registers are not available.
94114
94115 2011-05-19 Andreas Schwab <schwab@redhat.com>
94116
94117 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
94118
94119 2011-05-19 Ulrich Drepper <drepper@gmail.com>
94120
94121 * libio/freopen.c (freopen): Use __dup2, not dup2.
94122 * libio/freopen64.c (freopen64): Likewise.
94123
94124 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
94125
94126 [BZ #12775]
94127 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
94128 * math/Makefile (tests): Add test-powl.
94129 (CFLAGS-test-powl.c): Define.
94130 * math/test-powl.c: New file.
94131
94132 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
94133
94134 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
94135
94136 2011-05-17 Ulrich Drepper <drepper@gmail.com>
94137
94138 [BZ #11837]
94139 * iconvdata/gb18030.c: Update to GB18020-2005.
94140
94141 2011-05-16 Ulrich Drepper <drepper@gmail.com>
94142
94143 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94144 RE_SYNTAX_POSIX_AWK): Update to match recent development.
94145 Patch by Aharon Robbins <arnold@skeeve.com>.
94146
94147 [BZ #11892]
94148 * stdlib/putenv.c (putenv): Don't always create copy of the variable
94149 on the stack.
94150
94151 [BZ #11895]
94152 * misc/pselect.c (__pselect): Handle timeout value errors hidden
94153 through underflows.
94154
94155 [BZ #12766]
94156 * misc/error.c (error_at_line): Ensure file_name and old_file_name
94157 point to strings before performing equality test for error_one_per_line
94158 mode.
94159
94160 [BZ #11697]
94161 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94162
94163 [BZ #11820]
94164 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94165 (struct user_fpregs_struct): Avoid __uint*_t types.
94166
94167 [BZ #6420]
94168 * malloc/mtrace.c (tr_where): Add additional parameter to point to
94169 symbol info. Use it instead of calling _dl_addr locally.
94170 (lock_and_info): New function.
94171 (tr_freehook): Call lock_and_info and pass symbol info as additional
94172 parameter to tr_where.
94173 (tr_mallochook): Likewise.
94174 (tr_reallochook): Likewise.
94175 (tr_memalignhook): Likewise.
94176
94177 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
94178 used and couldn't be at all thread-safe.
94179
94180 2011-05-15 Ulrich Drepper <drepper@gmail.com>
94181
94182 * libio/freopen.c (freopen): Don't close old file descriptor
94183 before the new one is opened. Instead dup the new file descriptor
94184 to the old one after the new stream is created.
94185 * libio/freopen64.c (freopen64): Likewise.
94186 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94187 * libio/fileops.c (_IO_new_file_close_it): Handle new
94188 _IO_FLAGS2_NOCLOSE flag.
94189 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94190 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94191 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94192 _IO_FLAGS2_NOCLOSE flag.
94193 * include/unistd.h: Add hidden_proto for dup3.
94194 Define __have_dup3.
94195 * io/dup3.c: Define hidden symbol.
94196 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94197
94198 [BZ #7101]
94199 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94200 when an incomplete long option is used.
94201 * posix/tst-getopt_long1.c: New file.
94202 * posix/Makefile (tests): Add tst-getopt_long1.
94203
94204 [BZ #10138]
94205 * scripts/config.guess: Update from autoconf-2.68.
94206 * scripts/config.sub: Likewise.
94207
94208 [BZ #10157]
94209 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94210 tests into ...
94211 (has_cpuclock): ...this. New function.
94212 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94213 macro here based on has_cpuclock code.
94214
94215 [BZ #10149]
94216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94217 First byte (not low byte) is now always NUL.
94218 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94219
94220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94221 Use non-cancelable interfaces.
94222
94223 [BZ #9809]
94224 * locale/iso-639.def: Add entry for Sorani.
94225
94226 [BZ #11901]
94227 * include/stdlib.h: Move include protection to the right place.
94228 Define abort_msg_s. Declare __abort_msg with it.
94229 * stdlib/abort.c (__abort_msg): Adjust type.
94230 * assert/assert.c (__assert_fail_base): New function. Majority
94231 of code from __assert_fail. Allocate memory for __abort_msg with
94232 mmap.
94233 (__assert_fail): Now call __assert_fail_base.
94234 * assert/assert-perr.c: Remove bulk of implementation. Use
94235 __assert_fail_base.
94236 * include/assert.hL Declare __assert_fail_base.
94237 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94238 mmap.
94239 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94240
94241 2011-05-14 Ulrich Drepper <drepper@gmail.com>
94242
94243 [BZ #11952]
94244 [BZ #12453]
94245 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94246 until all modules are registered in the DTV.
94247 * elf/Makefile: Add rules to build and run tst-tls19.
94248 * elf/tst-tls19.c: New file.
94249 * elf/tst-tls19mod1.c: New file.
94250 * elf/tst-tls19mod2.c: New file.
94251 * elf/tst-tls19mod3.c: New file.
94252 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94253
94254 [BZ #12083]
94255 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94256 correctly.
94257
94258 [BZ #12601]
94259 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94260 two-byte sequence errors.
94261 * iconvdata/Makefile (tests): Add bug-iconv8.
94262 * iconvdata/bug-iconv8.c: New file.
94263
94264 [BZ #12626]
94265 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94266 buf2 definition.
94267
94268 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94269
94270 [BZ #12432]
94271 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94272 (dummy_getcfa): New function.
94273 (init): Get _Unwind_GetCFA address, use dummy if not found.
94274 (backtrace_helper): In recursion check, also check whether CFA changes.
94275 (__backtrace): Completely initialize arg.
94276
94277 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94278 storing incomplete byte sequence in state object. Avoid testing for
94279 guaranteed too small input if we know there is enough data available.
94280
94281 2011-05-11 Andreas Schwab <schwab@redhat.com>
94282
94283 * Makeconfig (+link-pie): Indent.
94284 * Rules (binaries-pie): Define if $(have-fpie) and
94285 $(build-shared).
94286 (binaries-shared): Also filter out $(binaries-pie).
94287 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94288 * nscd/Makefile (others-pie): Add nscd.
94289 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94290 ($(objpfx)nscd): Remove command override.
94291 * login/Makefile (others-pie): Add pt_chown.
94292 ($(objpfx)pt_chown): Remove command override.
94293 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94294 remove command overrides.
94295
94296 2011-05-13 Ulrich Drepper <drepper@gmail.com>
94297
94298 * libio/tst_putwc.c: Fix error messages.
94299
94300 [BZ #12724]
94301 * libio/fileops.c (_IO_new_file_close_it): Always flush when
94302 currently writing and seek to current position when not.
94303 * libio/Makefile (tests): Add bug-fclose1.
94304 * libio/bug-fclose1.c: New file.
94305
94306 2011-05-12 Ulrich Drepper <drepper@gmail.com>
94307
94308 [BZ #12511]
94309 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94310 don't set DF_1_NODELETE here.
94311 (do_lookup_x): When entering new entry test for copy relocation
94312 and if necessary set DF_1_NODELETE flag.
94313 * elf/tst-unique4.cc: New file.
94314 * elf/tst-unique4.h: New file.
94315 * elf/tst-unique4lib.cc: New file.
94316 * elf/Makefile: Add rules to build and run tst-unique4.
94317 Patch by Piotr Bury <pbury@goahead.com>.
94318
94319 2011-05-11 Ulrich Drepper <drepper@gmail.com>
94320
94321 [BZ #12052]
94322 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94323
94324 [BZ #12625]
94325 * misc/mntent_r.c (addmntent): Flush the stream after the output
94326
94327 [BZ #12393]
94328 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94329 (is_trusted_path_normalize): Skip initial colon. Append slash
94330 to empty buffer. Duplicate is_trusted_path code but allow
94331 constructed patch to be prefix.
94332 (is_dst): Allow $ORIGIN followed by /.
94333 (_dl_dst_substitute): Correct clearing of check_for_trusted.
94334 Correct testing of result of is_trusted_path_normalize
94335 (decompose_rpath): Fix warning.
94336
94337 2011-05-10 Ulrich Drepper <drepper@gmail.com>
94338
94339 [BZ #11257]
94340 * grp/initgroups.c (internal_getgrouplist): When we found the service
94341 list through the initgroups entry in nsswitch.conf do not always
94342 continue on a successful lookup. Don't always use the
94343 __nss_group_database value if it is set.
94344 * nss/nsswitch.conf (initgroups): Change action for successful db
94345 lookup to continue for compatibility.
94346
94347 2011-05-09 Ulrich Drepper <drepper@gmail.com>
94348
94349 [BZ #11532]
94350 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94351 and CP774 modules.
94352 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94353 and CP774 modules.
94354 * iconvdata/tst-tables.sh: Likewise.
94355 * iconvdata/cp770.c: New file.
94356 * iconvdata/cp771.c: New file.
94357 * iconvdata/cp772.c: New file.
94358 * iconvdata/cp773.c: New file.
94359 * iconvdata/cp774.c: New file.
94360 * iconvdata/testdata/CP770: New file.
94361 * iconvdata/testdata/CP770..UTF8: New file.
94362 * iconvdata/testdata/CP771: New file.
94363 * iconvdata/testdata/CP771..UTF8: New file.
94364 * iconvdata/testdata/CP772: New file.
94365 * iconvdata/testdata/CP772..UTF8: New file.
94366 * iconvdata/testdata/CP773: New file.
94367 * iconvdata/testdata/CP773..UTF8: New file.
94368 * iconvdata/testdata/CP774: New file.
94369 * iconvdata/testdata/CP774..UTF8: New file.
94370
94371 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94372 END CHARMAP line.
94373 * iconvdata/gen-8bit-gap.sh: Likewise.
94374 * iconvdata/gen-8bit.sh: Likewise.
94375
94376 * locale/iso-639.def: Add ary entry.
94377
94378 [BZ #11258]
94379 * locale/C-translit.h.in: Add U20A1 transliteration.
94380
94381 [BZ #12178]
94382 * locale/iso-639.def: Add wae entry.
94383 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94384
94385 [BZ #12545]
94386 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94387 for n.
94388
94389 [BZ #12711]
94390 * locale/C-translit.h.in: Add entry for U20B9.
94391 Patch by pravin.d.s@gmail.com.
94392
94393 2011-05-08 Ulrich Drepper <drepper@gmail.com>
94394
94395 [BZ #12713]
94396 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94397 ENAMETOOLONG use generic getcwd.
94398 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94399 in rtld. Use *stat64.
94400 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94401 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94402 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94403 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94404 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94405 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94406 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94407 __fstatat64 macros.
94408 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94409 * dirent/rewinddir.c: Add libc_hidden_def.
94410 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94411 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94412
94413 * include/dirent.h (__alloc_dir): Add flags parameter.
94414 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94415 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94416 __alloc_dir.
94417 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94418 from fdopendir if O_CLOEXEC is already set.
94419
94420 2011-03-15 Alan Modra <amodra@gmail.com>
94421
94422 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94423 l_tls_firstbyte_offset non-zero. Save padding offset in
94424 l_tls_firstbyte_offset for later use.
94425 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94426 freeing static tls block.
94427
94428 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94429
94430 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94431 where #ifdef was intended. The intent is to prevent ARG_MAX from
94432 being defined by the kernel headers.
94433
94434 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94435
94436 [BZ #12734]
94437 * resolv/resolv.h: Define RES_NOTLDQUERY.
94438 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94439 no-tld-query and set RES_NOTLDQUERY.
94440 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94441 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94442 modern BIND to search name as TLD unless forbidden.
94443
94444 2011-05-07 Petr Baudis <pasky@suse.cz>
94445 Ulrich Drepper <drepper@gmail.com>
94446
94447 [BZ #12393]
94448 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94449 (is_trusted_path): ...to here.
94450 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94451 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94452 using is_trusted_path_normalize() in setuid scripts.
94453
94454 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94455
94456 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94457 __BEGIN/__END_DECLS.
94458
94459 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94460
94461 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94462 NSS_STATUS_NOTFOUND if no record was found.
94463
94464 2011-05-05 Andreas Schwab <schwab@redhat.com>
94465
94466 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94467 (headers-not-in-tirpc): Remove rpc/netdb.h
94468 * resolv/netdb.h: Revert last change.
94469
94470 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94471
94472 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94473 circular dependency between libgcc.a and libc.a.
94474
94475 2011-05-05 Andreas Schwab <schwab@redhat.com>
94476
94477 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94478 * nis/Makefile: Don't install rpcsvc/*.
94479 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94480 instead of <rpc/types.h>.
94481 (MAXHOSTNAMELEN): Define.
94482
94483 2011-05-03 Andreas Schwab <schwab@redhat.com>
94484
94485 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94486
94487 2011-04-28 Maciej Babinski <mbabinski@google.com>
94488
94489 [BZ #12714]
94490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94491 gethostbyname4_r when IPv6 results are possible.
94492
94493 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94494
94495 [BZ #12723]
94496 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94497 _PC_PIPE_BUF handling.
94498
94499 2011-04-30 Bruno Haible <bruno@clisp.org>
94500
94501 [BZ #12717]
94502 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94503 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94504 to 'int'.
94505 * inet/getnameinfo.c (getnameinfo): Likewise.
94506
94507 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94508
94509 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94510 to groups setting in database lookup.
94511 * nss/nsswitch.conf: Add initgroups entry.
94512
94513 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94514
94515 [BZ #12685]
94516 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94517 mode string.
94518 Patch by Eric Blake <eblake@redhat.com>.
94519
94520 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94521
94522 * sunrpc/Makefile (need-export-routines): Add svc_run.
94523 (routines): Remove svc_run.
94524 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94525 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94526 * sunrpc/svc_run.c (svc_run): Likewise.
94527 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94528
94529 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94530
94531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94532 problem in reallocation in last patch.
94533
94534 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94535
94536 * sunrpc/Makefile: Move inclusion of Rules.
94537
94538 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94539
94540 * nss/nss_files/files-initgroups.c: New file.
94541 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94542 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94543 _nss_files_initgroups_dyn.
94544
94545 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94546
94547 * elf/elf.h (R_ARM_IRELATIVE): Define.
94548
94549 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94550
94551 * po/ru.po: Update from translation team.
94552
94553 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94554
94555 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94556 dependencies.
94557
94558 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94559
94560 [BZ #12653]
94561 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94562 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94563 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94566
94567 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94568
94569 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94570 differing bytes.
94571 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94572 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94574
94575 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94576
94577 [BZ #12420]
94578 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94579 storing it.
94580 * stdlib/bug-getcontext.c: New file.
94581 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94582
94583 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94584
94585 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94586 instructions into .machine "z9-109".
94587 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94588 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94589
94590 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94591
94592 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94593 between environment variables and auxiliary vector.
94594
94595 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94596
94597 * Makefile: Add rules to build linkobj/libc.so.
94598 * include/libc-symbols.h: Define libc_hidden_nolink.
94599 * include/rpc/auth.h: Mark functions which are to be hidden.
94600 * include/rpc/auth_des.h: Likewise.
94601 * include/rpc/auth_unix.h: Likewise.
94602 * include/rpc/clnt.h: Likewise.
94603 * include/rpc/des_crypt.h: Likewise.
94604 * include/rpc/key_prot.h: Likewise.
94605 * include/rpc/pmap_clnt.h: Likewise.
94606 * include/rpc/pmap_prot.h: Likewise.
94607 * include/rpc/pmap_rmt.h: Likewise.
94608 * include/rpc/rpc_msg.h: Likewise.
94609 * include/rpc/svc.h: Likewise.
94610 * include/rpc/svc_auth.h: Likewise.
94611 * include/rpc/xdr.h: Likewise.
94612 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94613 * nss/Makefile: Likewise.
94614 * sunrpc/Makefile: Don't install headers. Build library with normal
94615 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94616 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94617 for the compat linking library. Remove use of INTDEF/INTUSE.
94618 * sunrpc/auth_none.c: Likewise.
94619 * sunrpc/auth_unix.c: Likewise.
94620 * sunrpc/authdes_prot.c: Likewise.
94621 * sunrpc/authuxprot.c: Likewise.
94622 * sunrpc/clnt_gen.c: Likewise.
94623 * sunrpc/clnt_perr.c: Likewise.
94624 * sunrpc/clnt_raw.c: Likewise.
94625 * sunrpc/clnt_simp.c: Likewise.
94626 * sunrpc/clnt_tcp.c: Likewise.
94627 * sunrpc/clnt_udp.c: Likewise.
94628 * sunrpc/clnt_unix.c: Likewise.
94629 * sunrpc/des_crypt.c: Likewise.
94630 * sunrpc/des_soft.c: Likewise.
94631 * sunrpc/get_myaddr.c: Likewise.
94632 * sunrpc/key_call.c: Likewise.
94633 * sunrpc/key_prot.c: Likewise.
94634 * sunrpc/netname.c: Likewise.
94635 * sunrpc/pm_getmaps.c: Likewise.
94636 * sunrpc/pm_getport.c: Likewise.
94637 * sunrpc/pmap_clnt.c: Likewise.
94638 * sunrpc/pmap_prot.c: Likewise.
94639 * sunrpc/pmap_prot2.c: Likewise.
94640 * sunrpc/pmap_rmt.c: Likewise.
94641 * sunrpc/publickey.c: Likewise.
94642 * sunrpc/rpc_cmsg.c: Likewise.
94643 * sunrpc/rpc_common.c: Likewise.
94644 * sunrpc/rpc_dtable.c: Likewise.
94645 * sunrpc/rpc_prot.c: Likewise.
94646 * sunrpc/rpc_thread.c: Likewise.
94647 * sunrpc/rtime.c: Likewise.
94648 * sunrpc/svc.c: Likewise.
94649 * sunrpc/svc_auth.c: Likewise.
94650 * sunrpc/svc_authux.c: Likewise.
94651 * sunrpc/svc_raw.c: Likewise.
94652 * sunrpc/svc_run.c: Likewise.
94653 * sunrpc/svc_simple.c: Likewise.
94654 * sunrpc/svc_tcp.c: Likewise.
94655 * sunrpc/svc_udp.c: Likewise.
94656 * sunrpc/svc_unix.c: Likewise.
94657 * sunrpc/svcauth_des.c: Likewise.
94658 * sunrpc/xcrypt.c: Likewise.
94659 * sunrpc/xdr.c: Likewise.
94660 * sunrpc/xdr_array.c: Likewise.
94661 * sunrpc/xdr_float.c: Likewise.
94662 * sunrpc/xdr_intXX_t.c: Likewise.
94663 * sunrpc/xdr_mem.c: Likewise.
94664 * sunrpc/xdr_rec.c: Likewise.
94665 * sunrpc/xdr_ref.c: Likewise.
94666 * sunrpc/xdr_sizeof.c: Likewise.
94667 * sunrpc/xdr_stdio.c: Likewise.
94668
94669 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94670
94671 [BZ #12650]
94672 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94673 * sysdeps/ia64/dl-tls.h: Likewise.
94674 * sysdeps/powerpc/dl-tls.h: Likewise.
94675 * sysdeps/s390/dl-tls.h: Likewise.
94676 * sysdeps/sh/dl-tls.h: Likewise.
94677 * sysdeps/sparc/dl-tls.h: Likewise.
94678 * sysdeps/x86_64/dl-tls.h: Likewise.
94679 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94680
94681 2011-03-14 Andreas Schwab <schwab@redhat.com>
94682
94683 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94684 rpath element also skip the following colon.
94685 (expand_dynamic_string_token): Add is_path parameter and pass
94686 down to DL_DST_REQUIRED and _dl_dst_substitute.
94687 (decompose_rpath): Call expand_dynamic_string_token with
94688 non-zero is_path. Ignore empty rpaths.
94689 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94690 with zero is_path.
94691
94692 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94693
94694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94695 Make cancelable.
94696
94697 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94698
94699 [BZ #12655]
94700 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94701 Patch by Filipe David Manana <fdmanana@apache.org>.
94702
94703 2011-04-07 Andreas Schwab <schwab@redhat.com>
94704
94705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94706 Maintain aligned stack.
94707 (CHECK_RSP): Remove unused macro.
94708
94709 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94710
94711 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94712 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94713
94714 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94715
94716 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94717
94718 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94719
94720 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94721
94722 [BZ #12518]
94723 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94724 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94725 * sysdeps/x86_64/memmove.c: New file.
94726 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94727 (memcpy): Renamed to ...
94728 (__new_memcpy): This.
94729 (memcpy): Provide GLIBC_2_14 memcpy.
94730 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94731 (memcpy): Provide GLIBC_2_2_5 memcpy.
94732
94733 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94734
94735 [BZ #12631]
94736 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94737
94738 2011-03-30 Andreas Schwab <schwab@redhat.com>
94739
94740 * misc/syncfs.c: New file.
94741 * misc/Makefile (routines): Add syncfs.
94742 * posix/unistd.h: Declare syncfs.
94743 * sysdeps/unix/syscalls.list: Add syncfs.
94744
94745 2011-04-01 Andreas Schwab <schwab@redhat.com>
94746
94747 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94748 open_by_handle_at.
94749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94752 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94754 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94755 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94756
94757 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94758
94759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94760 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94761 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94766
94767 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94768 sync_file_range.c with -fexceptions.
94769 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94770 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94771 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94772 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94773 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94774 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94775 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94776 sync_file_range as cancellation point
94777 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94778 now a wrapper around __call_sync_file_range with cancellation handling.
94779 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94780 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94781 function name to __call_sync_file_range.
94782 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94783 Add call_sync_file_range.
94784
94785 2011-04-01 Andreas Schwab <schwab@redhat.com>
94786
94787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94788 bits/timex.h.
94789
94790 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94791
94792 * iconv/iconv.h: Fix typo in comment.
94793 * io/fcntl.h: Likewise.
94794 * libio/stdio.h: Likewise.
94795 * posix/spawn.h: Likewise.
94796 * posix/unistd.h: Likewise.
94797 * stdlib/stdlib.h: Likewise.
94798 * time/time.h: Likewise.
94799 * wcsmbs/wchar.h: Likewise.
94800
94801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94802 open_by_handle): Add.
94803 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94804 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94805 Augment a few comments.
94806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94811 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94812 open_by_handle.
94813
94814 * io/fcntl.h (AT_EMPTY_PATH): Define.
94815
94816 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94817
94818 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94819 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94820 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94821 to...
94822 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94823 * Versions.def: Add GLIBC_2.14.
94824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94825 Export.
94826
94827 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94828
94829 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94830 round counter.
94831 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94832
94833 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94834
94835 [BZ #12597]
94836 * string/test-strncmp.c (do_page_test): New function.
94837 (check2): Likewise.
94838 (test_main): Call check2.
94839 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94840
94841 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94842
94843 [BZ #12587]
94844 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94845 Handle cache information in CPU leaf 4.
94846 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94847
94848 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94849
94850 [BZ #12583]
94851 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94852 character representation.
94853 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94854
94855 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94856
94857 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94858 END(__isnan) to END(__isnanf) to match function entry point/label
94859 EALIGN(__isnanf,...).
94860
94861 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94862
94863 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94864
94865 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94866
94867 [BZ #12510]
94868 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94869 copy from the symbol referenced in the relocation to initialize the
94870 used variable.
94871 Patch by Piotr Bury <pbury@goahead.com>.
94872 * elf/Makefile: Add rules to build and tst-unique3.
94873 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94874 * elf/tst-unique3.cc: New file.
94875 * elf/tst-unique3.h: New file.
94876 * elf/tst-unique3lib.cc: New file.
94877 * elf/tst-unique3lib2.cc: New file.
94878
94879 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94880
94881 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94882
94883 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94884 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94885 to _start.
94886
94887 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94888
94889 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94890 to-be-loaded object along a path to loader is ld.so.
94891
94892 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94893 Ulrich Drepper <drepper@gmail.com>
94894
94895 * sysdeps/x86_64/memset.S: After aligning destination, code
94896 branches to different locations depending on the value of
94897 misalignment, when multiarch is enabled. Fix this.
94898
94899 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94900
94901 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94902 Set _x86_64_preferred_memory_instruction for AMD processsors.
94903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94904 Set bit_Prefer_SSE_for_memop for AMD processors.
94905
94906 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94907
94908 * libio/fmemopen.c (fmemopen): Optimize a bit.
94909
94910 2011-03-03 Andreas Schwab <schwab@redhat.com>
94911
94912 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94913
94914 2011-03-03 Roland McGrath <roland@redhat.com>
94915
94916 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94917
94918 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94919
94920 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94921 __bzero_ultra1 instead of __memset_ultra1.
94922
94923 2011-02-23 Andreas Schwab <schwab@redhat.com>
94924 Ulrich Drepper <drepper@gmail.com>
94925
94926 [BZ #12509]
94927 * include/link.h (struct link_map): Add l_orig_initfini.
94928 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94929 returning unsuccessfully.
94930 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94931 close of a file loaded at startup, restore the original l_initfini
94932 list.
94933 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94934 list, store the pointer.
94935 * elf/Makefile ($(objpfx)noload-mem): New rule.
94936 (noload-ENV): Define.
94937 (tests): Add $(objpfx)noload-mem.
94938 * elf/noload.c: Include <memcheck.h>.
94939 (main): Call mtrace. Close all opened handles.
94940
94941 2011-02-17 Andreas Schwab <schwab@redhat.com>
94942
94943 [BZ #12454]
94944 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94945 dependencies are missing.
94946
94947 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94948
94949 Fix __if_freereq crash: Unlike the generic version which uses free,
94950 Hurd needs munmap.
94951 * sysdeps/mach/hurd/ifreq.h: New file.
94952
94953 2011-01-27 Petr Baudis <pasky@suse.cz>
94954 Ulrich Drepper <drepper@gmail.com>
94955
94956 [BZ 12445]#
94957 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94958 to extend_alloca().
94959 * stdio-common/bug23.c: New file.
94960 * stdio-common/Makefile (tests): Add bug23.
94961
94962 2010-09-28 Andreas Schwab <schwab@redhat.com>
94963 Ulrich Drepper <drepper@gmail.com>
94964
94965 [BZ #12489]
94966 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94967 before performing relro protection. At old place add assertion
94968 to make sure nothing changed.
94969
94970 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94971 Glauber de Oliveira Costa <glommer@gmail.com>
94972
94973 * elf/elf.h: Add new ARM TLS relocs.
94974
94975 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94976
94977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94978 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94979 cast from r3.
94980 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94981 'tests' variable.
94982 * sysdeps/wordsize-64/tst-writev.c: New file.
94983
94984 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94985
94986 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94987 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94988 insns in _dl_start to prevent a TOC reference before relocs are
94989 resolved.
94990
94991 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94992
94993 [BZ #12469]
94994 * Makeconfig: Remove RANLIB definition.
94995 * Makerules: Don't use RANLIB.
94996 * aclocal.m4: Remove ranlib test.
94997 * configure.in: No need to check for ranlib.
94998 * elf/rtld-Rules: Don't use RANLIB.
94999
95000 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
95001
95002 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
95003 protection macro.
95004 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
95005 inclusion protection macro.
95006
95007 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
95008 SIGRTMIN and SIGRTMAX and print information in that case only when
95009 SIGRTMIN is defined.
95010
95011 2011-02-11 Jakub Jelinek <jakub@redhat.com>
95012
95013 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
95014 arginfo fn returning -1.
95015
95016 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
95017 and thousands string is zero terminated.
95018
95019 2011-02-03 Andreas Schwab <schwab@redhat.com>
95020
95021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
95022 sysdeps/unix/sysv/linux/bits/socket.h.
95023
95024 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
95025
95026 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
95027 (__CPU_COUNT): Remove old macros.
95028 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
95029 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
95030 (__CPU_ALLOC, __CPU_FREE): Add macros.
95031 (__sched_cpualloc, __sched_cpufree): Add declarations.
95032
95033 2011-02-05 Ulrich Drepper <drepper@gmail.com>
95034
95035 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
95036 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
95037 * nscd/aicache.c (addhstaiX): Return timeout of added value.
95038 (readdhstai): Return value of addhstaiX call.
95039 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
95040 (addgrbyX): Return value returned by cache_addgr.
95041 (readdgrbyname): Return value returned by addgrbyX.
95042 (readdgrbygid): Likewise.
95043 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
95044 (addpwbyX): Return value returned by cache_addpw.
95045 (readdpwbyname): Return value returned by addhstbyX.
95046 (readdpwbyuid): Likewise.
95047 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
95048 (addservbyX): Return value returned by cache_addserv.
95049 (readdservbyname): Return value returned by addservbyX:
95050 (readdservbyport): Likewise.
95051 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
95052 (addhstbyX): Return value returned by cache_addhst.
95053 (readdhstbyname): Return value returned by addhstbyX.
95054 (readdhstbyaddr): Likewise.
95055 (readdhstbynamev6): Likewise.
95056 (readdhstbyaddrv6): Likewise.
95057 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
95058 (readdinitgroups): Return value returned by addinitgroupsX.
95059 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
95060 (prune_cache): Keep track of timeout value of re-added entries.
95061 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
95062 * nscd/nscd.h: Adjust prototypes of readd* functions.
95063
95064 2011-02-04 Roland McGrath <roland@redhat.com>
95065
95066 * nis/nis_server.c (nis_servstate): Use the right name for 0.
95067 (nis_stats): Likewise.
95068 * nis/nis_modify.c (nis_modify): Likewise.
95069 * nis/nis_remove.c (nis_remove): Likewise.
95070 * nis/nis_add.c (nis_add): Likewise.
95071
95072 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
95073
95074 * posix/fnmatch_loop.c: Add some consts.
95075
95076 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
95077
95078 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
95079
95080 [BZ #12460]
95081 * config.make.in (config-cflags-novzeroupper): Define.
95082 * configure.in: Substitute libc_cv_cc_novzeroupper.
95083 * elf/Makefile (AVX-CFLAGS): Define.
95084 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
95085 (CFLAGS-tst-auditmod4a.c): Likewise.
95086 (CFLAGS-tst-auditmod4b.c): Likewise.
95087 (CFLAGS-tst-auditmod6b.c): Likewise.
95088 (CFLAGS-tst-auditmod6c.c): Likewise.
95089 (CFLAGS-tst-auditmod7b.c): Likewise.
95090 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
95091
95092 2011-02-02 Ulrich Drepper <drepper@gmail.com>
95093
95094 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
95095 function to the callback.
95096 Patch partly by Jiri Olsa <jolsa@redhat.com>.
95097
95098 2011-02-02 Andreas Schwab <schwab@redhat.com>
95099
95100 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
95101 of errno.
95102
95103 2011-01-19 Ulrich Drepper <drepper@gmail.com>
95104
95105 [BZ #11724]
95106 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
95107 of constructors.
95108 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
95109 of destructors.
95110 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
95111
95112 [BZ #11724]
95113 * elf/Makefile: Add rules to build and run new test.
95114 * elf/tst-initorder.c: New file.
95115 * elf/tst-initorder.exp: New file.
95116 * elf/tst-initordera1.c: New file.
95117 * elf/tst-initordera2.c: New file.
95118 * elf/tst-initordera3.c: New file.
95119 * elf/tst-initordera4.c: New file.
95120 * elf/tst-initorderb1.c: New file.
95121 * elf/tst-initorderb2.c: New file.
95122 * elf/tst-order-a1.c: New file.
95123 * elf/tst-order-a2.c: New file.
95124 * elf/tst-order-a3.c: New file.
95125 * elf/tst-order-a4.c: New file.
95126 * elf/tst-order-b1.c: New file.
95127 * elf/tst-order-b2.c: New file.
95128 * elf/tst-order-main.c: New file.
95129 New test case by George Gensure <werkt0@gmail.com>.
95130
95131 2010-10-01 Andreas Schwab <schwab@redhat.com>
95132
95133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
95134 decoding ACE if AI_CANONIDN.
95135
95136 2011-01-18 Ulrich Drepper <drepper@gmail.com>
95137
95138 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
95139
95140 2011-01-17 Ulrich Drepper <drepper@gmail.com>
95141
95142 * version.h (RELEASE): Bump for 2.13 release.
95143 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
95144
95145 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
95146
95147 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95148 MADV_NOHUGEPAGE.
95149 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95150 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95152 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95155
95156 * posix/getconf.c: Update copyright year.
95157 * catgets/gencat.c: Likewise.
95158 * csu/version.c: Likewise.
95159 * debug/catchsegv.sh: Likewise.
95160 * debug/xtrace.sh: Likewise.
95161 * elf/ldconfig.c: Likewise.
95162 * elf/ldd.bash.in: Likewise.
95163 * elf/sprof.c (print_version): Likewise.
95164 * iconv/iconv_prog.c: Likewise.
95165 * iconv/iconvconfig.c: Likewise.
95166 * locale/programs/locale.c: Likewise.
95167 * locale/programs/localedef.c: Likewise.
95168 * malloc/memusage.sh: Likewise.
95169 * malloc/mtrace.pl: Likewise.
95170 * nscd/nscd.c (print_version): Likewise.
95171 * nss/getent.c: Likewise.
95172
95173 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95174 PF_CAIF, and PF_ALG.
95175 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95176
95177 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
95178
95179 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95180 (modules-names): Use them.
95181 (ifunc-test-modules, ifunc-pie-tests): Define.
95182 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95183 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95184 (test-extras): Likewise.
95185 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95186 $(compile-command.c).
95187 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95188 (all-built-dso): Define.
95189 (check-textrel.out, check-execstack.out): Depend on it.
95190
95191 * configure.in: Don't override --enable-multi-arch.
95192
95193 2011-01-15 Ulrich Drepper <drepper@gmail.com>
95194
95195 [BZ #6812]
95196 * nscd/hstcache.c (tryagain): Define.
95197 (cache_addhst): Return tryagain not notfound for temporary errors.
95198 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95199 failed.
95200
95201 2011-01-14 Ulrich Drepper <drepper@gmail.com>
95202
95203 [BZ #10563]
95204 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95205 to make the syscall.
95206 * sysdeps/unix/sysv/linux/setgroups.c: New file.
95207
95208 [BZ #12378]
95209 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95210 and fall back to matching as normal character if the string ends before
95211 the matching ']' is found. This is what POSIX requires.
95212 * posix/testfnm.c: Adjust test result.
95213 * posix/globtest.sh: Adjust test result. Add new test.
95214 * posix/tst-fnmatch.input: Likewise.
95215 * posix/tst-fnmatch2.c: Add new test.
95216
95217 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
95218
95219 * elf/Makefile (check-execstack): Revert last change. Depend on
95220 check-execstack.h.
95221 (check-execstack.h): New target.
95222 (generated): Add check-execstack.h.
95223 * elf/check-execstack.c: Include "check-execstack.h".
95224 (main): Revert last change.
95225 (handle_file): Return zero if GNU_STACK is absent and
95226 DEFAULT_STACK_PERMS doesn't include PF_X.
95227
95228 2011-01-13 Ulrich Drepper <drepper@gmail.com>
95229
95230 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95231 in child fails because the descriptor is already closed.
95232 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95233 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95234 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95235
95236 [BZ #12397]
95237 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95238 syscall.
95239
95240 [BZ #10484]
95241 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95242 temporary buffer used to handle multi lookups locally.
95243 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95244
95245 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95246
95247 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95248 loader is ld.so.
95249
95250 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
95251
95252 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95253 alignment for SSE2.
95254
95255 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95256
95257 [BZ #12394]
95258 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95259 characters. When rounding increased number of integer digits recompute
95260 number of groups.
95261 * stdio-common/tst-grouping.c: New file.
95262 * stdio-common/Makefile: Add rules to build and run tst-grouping.
95263
95264 2011-01-09 Ulrich Drepper <drepper@gmail.com>
95265
95266 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95267 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
95268
95269 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95270 void.
95271 * bits/select.h: Likewise.
95272
95273 2011-01-08 Ulrich Drepper <drepper@gmail.com>
95274
95275 * po/ja.po: Update from translation team.
95276
95277 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
95278
95279 [BZ #11155]
95280 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95281 implementation just like for lxstat, fxstatat, et al.
95282
95283 2010-12-27 Jim Meyering <meyering@redhat.com>
95284
95285 [BZ #12348]
95286 * posix/regexec.c (build_trtable): Return failure indication upon
95287 calloc failure. Otherwise, re_search_internal could infloop on OOM.
95288
95289 2010-12-25 Ulrich Drepper <drepper@gmail.com>
95290
95291 [BZ #12201]
95292 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95293 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95294 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95296
95297 [BZ #12207]
95298 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95299
95300 [BZ #12204]
95301 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95302 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95303
95304 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
95305
95306 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95307 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95308 script has SORT_BY_INIT_PRIORITY.
95309 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95310 NO_CTORS_DTORS_SECTIONS is defined.
95311 * elf/soinit.c: Likewise.
95312 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95313 NO_CTORS_DTORS_SECTIONS is defined.
95314 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95315 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95316 * sysdeps/sh/init-first.c: Likewise.
95317 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95318
95319 2010-12-24 Ulrich Drepper <drepper@gmail.com>
95320
95321 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95322 always use the slow path.
95323
95324 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
95325
95326 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95327 similar rule which adds the sysdep directories to the header search in
95328 order to pick up the correct platform stackinfo.h.
95329 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95330 perform test if it is, otherwise return successfully without testing.
95331 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95332 DEFAULT_STACK_PERMS define in stackinfo.h.
95333 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95334 defined in stackinfo.h.
95335 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95336 DEFAULT_STACK_PERMS defined in stackinfo.h.
95337 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95338 * sysdeps/ia64/stackinfo.h: Likewise.
95339 * sysdeps/s390/stackinfo.h: Likewise.
95340 * sysdeps/sh/stackinfo.h: Likewise.
95341 * sysdeps/sparc/stackinfo.h: Likewise.
95342 * sysdeps/x86_64/stackinfo.h: Likewise.
95343 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95344 PF_X for powerpc64. Retain PF_X for powerpc32.
95345
95346 2010-12-19 Ulrich Drepper <drepper@gmail.com>
95347
95348 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95349 accurately.
95350 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95351 GETDENTS_64BIT_ALIGNED.
95352
95353 2010-12-14 Ulrich Drepper <dreper@gmail.com>
95354
95355 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95356
95357 2010-12-10 Andreas Schwab <schwab@redhat.com>
95358
95359 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95360 _GNU_SOURCE.
95361
95362 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95363 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95364 Remove __restrict.
95365 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95366 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95367
95368 2010-12-09 Ulrich Drepper <drepper@gmail.com>
95369
95370 [BZ #11655]
95371 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95372 are initialized.
95373
95374 2010-12-09 Jakub Jelinek <jakub@redhat.com>
95375
95376 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95377
95378 2010-12-03 Ulrich Drepper <drepper@gmail.com>
95379
95380 * po/it.po: Update from translation team.
95381
95382 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
95383
95384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95385 unused codes.
95386
95387 2010-11-30 Ulrich Drepper <drepper@gmail.com>
95388
95389 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95390
95391 2010-11-24 Andreas Schwab <schwab@redhat.com>
95392
95393 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95394 specially.
95395 (gaih_getanswer_slice): Likewise.
95396
95397 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95398
95399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95400
95401 2010-05-31 Petr Baudis <pasky@suse.cz>
95402
95403 [BZ #11149]
95404 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95405 silently even in the chroot mode.
95406
95407 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95408
95409 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95410 last patch a bit. Pretty printing
95411
95412 2010-05-31 Petr Baudis <pasky@suse.cz>
95413
95414 [BZ #10085]
95415 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95416 initialization of skip_initgroups_dyn.
95417
95418 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95419
95420 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95421 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95422
95423 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95424
95425 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95426
95427 2010-11-11 Andreas Schwab <schwab@redhat.com>
95428
95429 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95430 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95431 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95432 ($(objpfx)tst-fnmatch-mem): New rule.
95433 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95434 * posix/tst-fnmatch.c (main): Call mtrace.
95435
95436 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95437
95438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95439 Support Intel processor model 6 and model 0x2c.
95440
95441 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95442
95443 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95444 signed comparison.
95445
95446 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95447
95448 [BZ #12205]
95449 * string/test-strncasecmp.c (check_result): New function.
95450 (do_one_test): Use it.
95451 (check1): New function.
95452 (test_main): Use it.
95453 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95454 Support strcasecmp and strncasecmp.
95455
95456 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95457
95458 [BZ #12194]
95459 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95460 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95461
95462 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95463
95464 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95465 IFUNC support.
95466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95467 memset-x86-64.
95468 * sysdeps/x86_64/multiarch/bzero.S: New file.
95469 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95470 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95471 * sysdeps/x86_64/multiarch/memset.S: New file.
95472 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95474 Set bit_Prefer_SSE_for_memop for Intel processors.
95475 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95476 Define.
95477 (index_Prefer_SSE_for_memop): Define.
95478 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95479
95480 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95481
95482 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95483 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95484
95485 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95486
95487 [BZ #12191]
95488 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95489 (__x86_64_raw_data_cache_size_half): Likewise.
95490 (__x86_64_raw_shared_cache_size): Likewise.
95491 (__x86_64_raw_shared_cache_size_half): Likewise.
95492
95493 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95494 (__x86_64_raw_data_cache_size_half): Likewise.
95495 (__x86_64_raw_shared_cache_size): Likewise.
95496 (__x86_64_raw_shared_cache_size_half): Likewise.
95497 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95498 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95499 and __x86_64_raw_shared_cache_size_half. Round
95500 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95501 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95502 to multiple of 256 bytes.
95503
95504 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95505
95506 [BZ #12167]
95507 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95508 of inacessible symlinks. Verify result of symlink before returning it.
95509 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95510 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95511
95512 2010-10-28 Erich Ritz <erichritz@gmail.com>
95513
95514 * math/math.h (isinf): Fix typo in comment.
95515
95516 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95517
95518 * po/da.po: Update from translation team.
95519
95520 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95521
95522 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95523 is added to the list.
95524
95525 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95526 Ulrich Drepper <drepper@gmail.com>
95527
95528 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95529 the global list here. Move code to...
95530 (_dl_add_to_namespace_list): ...here. New function.
95531 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95532 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95533 * elf/dl-load.c (lose): Don't remove the element from the list.
95534 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95535 (_dl_map_object): Likewise.
95536
95537 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95538
95539 [BZ #12159]
95540 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95541 into all bytes of SSE register.
95542 Patch by Richard Li <richardpku@gmail.com>.
95543
95544 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95545
95546 [BZ #12140]
95547 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95548 perturbing.
95549
95550 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95551
95552 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95553 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95554 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95555 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95557 submachine.
95558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95559
95560 2010-10-22 Andreas Schwab <schwab@redhat.com>
95561
95562 * include/dlfcn.h (__RTLD_SECURE): Define.
95563 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95564 mode & __RTLD_SECURE instead.
95565 (open_path): Rename preloaded parameter to secure.
95566 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95567 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95568 * elf/dl-deps.c (openaux): Likewise.
95569 * elf/rtld.c (struct map_args): Remove is_preloaded.
95570 (map_doit): Don't use it.
95571 (dl_main): Likewise.
95572 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95573 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95574
95575 2010-09-09 Andreas Schwab <schwab@redhat.com>
95576
95577 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95578 (sysd-rules-targets): Remove duplicates.
95579 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95580 rtld-%.$o dependency.
95581
95582 2010-10-18 Andreas Schwab <schwab@redhat.com>
95583
95584 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95585 _dl_map_object do it.
95586
95587 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95588
95589 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95590 fast fma builtins, define the macros in the C99 standard.
95591 (FP_FAST_FMAF): Likewise.
95592 (FP_FAST_FMAL): Likewise.
95593 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95594
95595 * bits/mathdef.h: Update copyright year.
95596 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95597
95598 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95599
95600 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95601 builtins, define the macros in the C99 standard.
95602 (FP_FAST_FMAF): Likewise.
95603 (FP_FAST_FMAL): Likewise.
95604 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95605 multiply/add.
95606 (FP_FAST_FMAF): Likewise.
95607
95608 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95609
95610 [BZ #3268]
95611 * math/libm-test.inc (fma_test): Some new testcases.
95612 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95613 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95614 y and infinite z. Do multiplication by C already in long double.
95615 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95617 y and infinite z. Do bitwise or of inexact bit into u.d.
95618 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95619 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95620 * sysdeps/i386/fpu/s_fma.S: Removed.
95621 * sysdeps/i386/fpu/s_fmal.S: Removed.
95622
95623 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95624
95625 [BZ #3268]
95626 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95628 computation is not scheduled after fetestexcept. Fix value
95629 of minimum denormal long double.
95630
95631 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95632
95633 [BZ #3268]
95634 * math/libm-test.inc (fma_test): Add some more tests.
95635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95636 correctly.
95637
95638 2010-10-15 Andreas Schwab <schwab@redhat.com>
95639
95640 * scripts/data/localplt-s390-linux-gnu.data: New file.
95641 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95642
95643 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95644
95645 [BZ #3268]
95646 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95647 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95648 instead of dbl-64.
95649 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95650 inlines.
95651 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95653 if one of x and y is very large and the other is subnormal.
95654 * sysdeps/s390/fpu/s_fmaf.c: New file.
95655 * sysdeps/s390/fpu/s_fma.c: New file.
95656 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95657 * sysdeps/powerpc/fpu/s_fma.S: New file.
95658 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95659 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95660 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95661
95662 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95663
95664 [BZ #3268]
95665 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95666 fma tests.
95667 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95668 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95669 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95670 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95671 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95672 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95673 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95674
95675 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95676
95677 [BZ #12078]
95678 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95679 * posix/bug-regex31.input: Add test case.
95680
95681 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95682
95683 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95684 * posix/bug-regex31.input: New file.
95685
95686 [BZ #12078]
95687 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95688 (parse_sub_exp): Fix last change, use postorder.
95689
95690 * posix/bug-regex31.c: New file.
95691 * posix/Makefile: Add rules to build and run bug-regex31.
95692
95693 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95694
95695 [BZ #12078]
95696 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95697
95698 [BZ #12108]
95699 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95700 to have entries in sys_siglist.
95701
95702 [BZ #12093]
95703 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95704 be NULL.
95705
95706 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95707
95708 [BZ #3268]
95709 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95710 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95711 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95712 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95713 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95714 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95715 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95716 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95717 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95718 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95719 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95720 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95721 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95722 * math/ftestexcept.c (fetestexcept): Likewise.
95723 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95724 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95725 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95726 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95727 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95728 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95729 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95730
95731 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95732
95733 [BZ #12107]
95734 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95735 newline.
95736
95737 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95738
95739 * string/bug-strstr1.c: New file.
95740 * string/Makefile: Add rules to build and run bug-strstr1.
95741
95742 2010-10-05 Eric Blake <eblake@redhat.com>
95743
95744 [BZ #12092]
95745 * string/str-two-way.h (two_way_long_needle): Always clear memory
95746 when skipping input due to the shift table.
95747
95748 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95749
95750 [BZ #12005]
95751 * malloc/mcheck.c: Handle large requests.
95752
95753 [BZ #12077]
95754 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95755 for strncmp and strncasecmp.
95756 * string/stratcliff.c: Add tests for strcmp and strncmp.
95757 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95758
95759 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95760
95761 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95762 __set_fpscr.
95763
95764 2010-09-30 Andreas Jaeger <aj@suse.de>
95765
95766 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95767 (CGROUP_SUPER_MAGIC): Define.
95768 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95769 Handle btrfs and cgroup file systems.
95770 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95771 Likewise.
95772
95773 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95774
95775 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95776 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95777
95778 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95779
95780 [BZ #12067]
95781 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95782 trying to locate the ELF header.
95783
95784 2010-09-27 Andreas Schwab <schwab@redhat.com>
95785
95786 [BZ #11611]
95787 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95788 Mask out sign-bit copies when constructing f_fsid.
95789
95790 2010-09-24 Petr Baudis <pasky@suse.cz>
95791
95792 * debug/stack_chk_fail_local.c: Add missing licence exception.
95793 * debug/warning-nop.c: Likewise.
95794
95795 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95796
95797 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95798 implementing getdents64 using getdents syscall, set d_type if
95799 __ASSUME_GETDENTS32_D_TYPE.
95800
95801 2010-09-16 Andreas Schwab <schwab@redhat.com>
95802
95803 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95804 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95805
95806 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95807
95808 [BZ #12037]
95809 * posix/unistd.h: Undo change of feature selection for ftruncate from
95810 2010-01-11.
95811
95812 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95813
95814 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95815 detection.
95816
95817 2010-09-20 Andreas Schwab <schwab@redhat.com>
95818
95819 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95820 fanotify_mark.
95821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95822
95823 2010-09-14 Andreas Schwab <schwab@redhat.com>
95824
95825 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95826 variables after CHECK_SP call.
95827 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95828
95829 2010-09-13 Andreas Schwab <schwab@redhat.com>
95830 Ulrich Drepper <drepper@redhat.com>
95831
95832 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95833 re-relocationg ld.so.
95834 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95835 _dl_init_paths call.
95836 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95837 here anymore.
95838
95839 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95840
95841 * resolv/res_init.c (__res_vinit): Count the default server we added.
95842
95843 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95844 Ulrich Drepper <drepper@redhat.com>
95845
95846 [BZ #11968]
95847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95848 (____longjmp_chk): Use %ebx for saving value across system call.
95849 Add unwind info.
95850
95851 2010-09-06 Andreas Schwab <schwab@redhat.com>
95852
95853 * manual/Makefile: Don't mix pattern rules with normal rules.
95854
95855 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95856
95857 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95858 operation.
95859 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95860 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95861 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95862 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95863 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95864 Likewise.
95865
95866 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95867
95868 [BZ #11979]
95869 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95870 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95871
95872 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95873
95874 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95875 * sysdeps/x86_64/addmul_1.S: Likewise.
95876 * sysdeps/x86_64/lshift.S: Likewise.
95877 * sysdeps/x86_64/mul_1.S: Likewise.
95878 * sysdeps/x86_64/rshift.S: Likewise.
95879 * sysdeps/x86_64/sub_n.S: Likewise.
95880 * sysdeps/x86_64/submul_1.S: Likewise.
95881
95882 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95883
95884 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95885 Define __sched_param instead of SCHED_* and sched_param when
95886 <bits/sched.h> is included with __need_schedparam defined.
95887 * bits/sched.h [__need_schedparam]
95888 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95889 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95890 (__defined_schedparam): Define to 1.
95891 (__sched_param): New structure, identical to sched_param.
95892 (__need_schedparam): Undefine.
95893
95894 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95895
95896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95897 (epoll_create1): Declare.
95898
95899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95900
95901 2010-08-31 Andreas Schwab <schwab@redhat.com>
95902
95903 [BZ #7066]
95904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95905 shifting retval into place.
95906
95907 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95908
95909 * nis/rpcsvc/nis.h: Update copyright notice.
95910 * nis/rpcsvc/nis.x: Likewise.
95911 * nis/rpcsvc/nis_callback.h: Likewise.
95912 * nis/rpcsvc/nis_callback.x: Likewise.
95913 * nis/rpcsvc/nis_object.x: Likewise.
95914 * nis/rpcsvc/nis_tags.h: Likewise.
95915 * nis/rpcsvc/yp.h: Likewise.
95916 * nis/rpcsvc/yp.x: Likewise.
95917 * nis/rpcsvc/ypupd.h: Likewise.
95918 * nis/yp_xdr.c: Likewise.
95919 * nis/ypupdate_xdr.c: Likewise.
95920
95921 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95922 mainly the body of pmap_getport. Add parameters to specify timeouts.
95923 (pmap_getport): Use __libc_rpc_getport.
95924 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95925 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95926 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95927
95928 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95929
95930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95931 fanotify_mark.
95932
95933 2010-08-27 Roland McGrath <roland@redhat.com>
95934
95935 * sysdeps/i386/i686/multiarch/Makefile
95936 (CFLAGS-varshift.c): New variable.
95937
95938 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95939
95940 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95941 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95942
95943 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95944
95945 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95946
95947 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95948
95949 * sysdeps/x86_64/strlen.S: Unroll the loop.
95950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95951 strlen-sse2 strlen-sse2-bsf.
95952 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95953 __strlen_no_bsf if bit_Slow_BSF is set.
95954 (__strlen_sse42): Removed.
95955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95956 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95957
95958 2010-08-25 Roland McGrath <roland@redhat.com>
95959
95960 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95961 * sysdeps/x86_64/multiarch/varshift.c: New file.
95962 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95963 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95964 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95965 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95966
95967 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95968
95969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95970 strlen-sse2 strlen-sse2-bsf.
95971 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95972 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95973 (__strlen_sse2): Removed.
95974 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95977 bit_Slow_BSF for Atom.
95978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95979 (index_Slow_BSF): Define.
95980 (HAS_SLOW_BSF): Define.
95981
95982 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95983
95984 [BZ #10851]
95985 * resolv/res_init.c (__res_vinit): When no server address at all
95986 is given default to loopback.
95987
95988 2010-08-24 Roland McGrath <roland@redhat.com>
95989
95990 * configure.in: Remove config-name.h generation.
95991 * configure: Regenerated.
95992 * config-name.in: File removed.
95993 * scripts/config-uname.sh: New file.
95994 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95995 ($(objdir)config-name.h): New target.
95996
95997 * sunrpc/rpc_parse.h: Avoid nested comment.
95998
95999 2010-08-24 Richard Henderson <rth@redhat.com>
96000 Ulrich Drepper <drepper@redhat.com>
96001 H.J. Lu <hongjiu.lu@intel.com>
96002
96003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
96004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
96005 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
96006 Replace _mm_srli_si128 with __m128i_shift_right. Replace
96007 _mm_alignr_epi8 with _mm_loadu_si128.
96008 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
96009 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
96010 (__m128i_shift_right): Removed.
96011 * sysdeps/i386/i686/multiarch/varshift.h: New file.
96012 * sysdeps/i386/i686/multiarch/varshift.S: New file.
96013 * sysdeps/x86_64/multiarch/varshift.h: New file.
96014 * sysdeps/x86_64/multiarch/varshift.S: New file.
96015
96016 2010-08-21 Mike Frysinger <vapier@gentoo.org>
96017
96018 * configure.in: Move assembler checks to before sysdep dir checking.
96019
96020 2010-08-20 Petr Baudis <pasky@suse.cz>
96021
96022 * LICENSES: Sync the sunrpc license.
96023
96024 2010-08-19 Ulrich Drepper <drepper@redhat.com>
96025
96026 * sunrpc/auth_des.c: Update copyright notice once again.
96027 * sunrpc/auth_none.c: Likewise.
96028 * sunrpc/auth_unix.c: Likewise.
96029 * sunrpc/authdes_prot.c: Likewise.
96030 * sunrpc/authuxprot.c: Likewise.
96031 * sunrpc/bindrsvprt.c: Likewise.
96032 * sunrpc/clnt_gen.c: Likewise.
96033 * sunrpc/clnt_perr.c: Likewise.
96034 * sunrpc/clnt_raw.c: Likewise.
96035 * sunrpc/clnt_simp.c: Likewise.
96036 * sunrpc/clnt_tcp.c: Likewise.
96037 * sunrpc/clnt_udp.c: Likewise.
96038 * sunrpc/clnt_unix.c: Likewise.
96039 * sunrpc/des_crypt.c: Likewise.
96040 * sunrpc/des_soft.c: Likewise.
96041 * sunrpc/get_myaddr.c: Likewise.
96042 * sunrpc/getrpcport.c: Likewise.
96043 * sunrpc/key_call.c: Likewise.
96044 * sunrpc/key_prot.c: Likewise.
96045 * sunrpc/openchild.c: Likewise.
96046 * sunrpc/pm_getmaps.c: Likewise.
96047 * sunrpc/pm_getport.c: Likewise.
96048 * sunrpc/pmap_clnt.c: Likewise.
96049 * sunrpc/pmap_prot.c: Likewise.
96050 * sunrpc/pmap_prot2.c: Likewise.
96051 * sunrpc/pmap_rmt.c: Likewise.
96052 * sunrpc/rpc/auth.h: Likewise.
96053 * sunrpc/rpc/auth_unix.h: Likewise.
96054 * sunrpc/rpc/clnt.h: Likewise.
96055 * sunrpc/rpc/des_crypt.h: Likewise.
96056 * sunrpc/rpc/key_prot.h: Likewise.
96057 * sunrpc/rpc/netdb.h: Likewise.
96058 * sunrpc/rpc/pmap_clnt.h: Likewise.
96059 * sunrpc/rpc/pmap_prot.h: Likewise.
96060 * sunrpc/rpc/pmap_rmt.h: Likewise.
96061 * sunrpc/rpc/rpc.h: Likewise.
96062 * sunrpc/rpc/rpc_des.h: Likewise.
96063 * sunrpc/rpc/rpc_msg.h: Likewise.
96064 * sunrpc/rpc/svc.h: Likewise.
96065 * sunrpc/rpc/svc_auth.h: Likewise.
96066 * sunrpc/rpc/types.h: Likewise.
96067 * sunrpc/rpc/xdr.h: Likewise.
96068 * sunrpc/rpc_clntout.c: Likewise.
96069 * sunrpc/rpc_cmsg.c: Likewise.
96070 * sunrpc/rpc_common.c: Likewise.
96071 * sunrpc/rpc_cout.c: Likewise.
96072 * sunrpc/rpc_dtable.c: Likewise.
96073 * sunrpc/rpc_hout.c: Likewise.
96074 * sunrpc/rpc_main.c: Likewise.
96075 * sunrpc/rpc_parse.c: Likewise.
96076 * sunrpc/rpc_parse.h: Likewise.
96077 * sunrpc/rpc_prot.c: Likewise.
96078 * sunrpc/rpc_sample.c: Likewise.
96079 * sunrpc/rpc_scan.c: Likewise.
96080 * sunrpc/rpc_scan.h: Likewise.
96081 * sunrpc/rpc_svcout.c: Likewise.
96082 * sunrpc/rpc_tblout.c: Likewise.
96083 * sunrpc/rpc_util.c: Likewise.
96084 * sunrpc/rpc_util.h: Likewise.
96085 * sunrpc/rpcinfo.c: Likewise.
96086 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
96087 * sunrpc/rpcsvc/key_prot.x: Likewise.
96088 * sunrpc/rpcsvc/klm_prot.x: Likewise.
96089 * sunrpc/rpcsvc/mount.x: Likewise.
96090 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
96091 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
96092 * sunrpc/rpcsvc/rex.x: Likewise.
96093 * sunrpc/rpcsvc/rstat.x: Likewise.
96094 * sunrpc/rpcsvc/rusers.x: Likewise.
96095 * sunrpc/rpcsvc/sm_inter.x: Likewise.
96096 * sunrpc/rpcsvc/spray.x: Likewise.
96097 * sunrpc/rpcsvc/yppasswd.x: Likewise.
96098 * sunrpc/rtime.c: Likewise.
96099 * sunrpc/svc.c: Likewise.
96100 * sunrpc/svc_auth.c: Likewise.
96101 * sunrpc/svc_authux.c: Likewise.
96102 * sunrpc/svc_raw.c: Likewise.
96103 * sunrpc/svc_run.c: Likewise.
96104 * sunrpc/svc_simple.c: Likewise.
96105 * sunrpc/svc_tcp.c: Likewise.
96106 * sunrpc/svc_udp.c: Likewise.
96107 * sunrpc/svc_unix.c: Likewise.
96108 * sunrpc/svcauth_des.c: Likewise.
96109 * sunrpc/xcrypt.c: Likewise.
96110 * sunrpc/xdr.c: Likewise.
96111 * sunrpc/xdr_array.c: Likewise.
96112 * sunrpc/xdr_float.c: Likewise.
96113 * sunrpc/xdr_mem.c: Likewise.
96114 * sunrpc/xdr_rec.c: Likewise.
96115 * sunrpc/xdr_ref.c: Likewise.
96116 * sunrpc/xdr_sizeof.c: Likewise.
96117 * sunrpc/xdr_stdio.c: Likewise.
96118
96119 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
96120 handling.
96121
96122 2010-08-19 Andreas Schwab <schwab@redhat.com>
96123
96124 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
96125
96126 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
96127
96128 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
96129 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
96130 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
96131 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
96132 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
96133 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
96134 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
96135 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
96136 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
96137 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
96138 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96139 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96140 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96141 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
96142
96143 2010-07-26 Anton Blanchard <anton@samba.org>
96144
96145 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96146 * malloc/arena.c (heap_trim): Likewise.
96147
96148 2010-08-16 Ulrich Drepper <drepper@redhat.com>
96149
96150 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96151 here. Not...
96152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96153 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96154
96155 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
96156
96157 * sysdeps/i386/elf/Makefile: New file.
96158
96159 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96160
96161 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96162 from fanotify_init.
96163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96164 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96165
96166 2010-08-15 Ulrich Drepper <drepper@redhat.com>
96167
96168 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96169 of strncasecmp_l.
96170 * sysdeps/multiarch/strcmp.S: Likewise.
96171
96172 2010-08-14 Ulrich Drepper <drepper@redhat.com>
96173
96174 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96175 strncase_l-nonascii.
96176 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96177 Add strncase_l-ssse3.
96178 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96179 * sysdeps/x86_64/strcmp.S: Likewise.
96180 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96181 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96182 * sysdeps/x86_64/strncase.S: New file.
96183 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96184 * sysdeps/x86_64/strncase_l.S: New file.
96185 * string/Makefile (strop-tests): Add strncasecmp.
96186 * string/test-strncasecmp.c: New file.
96187
96188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96189 warning.
96190
96191 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96192 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96193
96194 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96195
96196 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96197
96198 2010-08-12 Ulrich Drepper <drepper@redhat.com>
96199
96200 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96201 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96202 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96203
96204 2010-05-01 Alan Modra <amodra@gmail.com>
96205
96206 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96207 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96208 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96209 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96210 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96211 tidying. Don't tail-call __sigjmp_save for static lib.
96212 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96213 save location.
96214 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96215 (CALL_MCOUNT): Add eh info, and nop after bl.
96216 (TAIL_CALL_SYSCALL_ERROR): New macro.
96217 (PSEUDO_RET): Use it.
96218 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96219 Correct save location of integer regs and cr.
96220 (_dl_profile_resolve): Correct cr save location. Delete nops
96221 after bl when SHARED. Reduce cfi size a little by better
96222 placement of cfi directives.
96223 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96224 make a stack frame. Instead use parm save area as a temp.
96225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96226 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
96227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96228 Don't make a stack frame for parent, use parm save area.
96229 Increase child stack frame to 112 bytes. Don't save unused reg,
96230 and adjust reg usage. Set up cfi on error recovery and
96231 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96233 (__makecontext): Add dummy nop after jump to exit.
96234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96235 Use correct parm save area and cr save, reduce stack frame.
96236 Correct cfi for possible PSEUDO_RET frame setup.
96237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96238 Branch to local label emitted by PSEUDO_RET rather than
96239 __syscall_error.
96240
96241 2010-08-12 Andreas Schwab <schwab@redhat.com>
96242
96243 [BZ #11904]
96244 * locale/programs/locale.c (print_assignment): New function.
96245 (show_locale_vars): Use it.
96246
96247 2010-08-11 Ulrich Drepper <drepper@redhat.com>
96248
96249 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96250 field.
96251 (struct statfs64): Likewise.
96252 (_STATFS_F_FLAGS): Define.
96253 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96254 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96255 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96256 (ST_VALID): Define locally.
96257 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96258 __statvfs_getflags, use the provided value.
96259 * sysdeps/unix/sysv/linux/kernel-features.h: Define
96260 __ASSUME_STATFS_F_FLAGS.
96261
96262 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96263
96264 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96265 Add sys/fanotify.h.
96266 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96267 fanotify_mask for GLIBC_2.13.
96268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96269 fanotify_init and fanotify_mark.
96270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96271 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96272
96273 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96274 Add prlimit.
96275 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96276 prlimit64 for GLIBC_2.13.
96277 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96278 prlimit64.
96279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96280 syscall.
96281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96282 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96283 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96284 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
96286 add prlimit alias.
96287 * sysdeps/unix/sysv/linux/prlimit.c: New file.
96288
96289 [BZ #11903]
96290 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96291 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96292
96293 * nss/Makefile: Add rules to build and run tst-nss-test1.
96294 * shlib-versions: Add entry for libnss_test1.
96295 * nss/nss_test1.c: New file.
96296 * nss/tst-nss-test1.c: New file.
96297
96298 * nss/nsswitch.c (__nss_database_custom): Define new variable.
96299 (__nss_configure_lookup): Set appropriate entry in
96300 __nss_configure_lookup to true.
96301 * nss/nsswitch.h: Define enum with indeces of databases in
96302 databases and __nss_database_custom arrays. Declare
96303 __nss_database_custom.
96304 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96305 to avoid using nscd when custom rules are installed.
96306 * nss/getXXbyYY_r.c: Likewise.
96307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96308
96309 * nss/nss_files/files-parse.c: Whitespace fixes.
96310
96311 2010-08-09 Ulrich Drepper <drepper@redhat.com>
96312
96313 [BZ #11883]
96314 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96315 * posix/fnmatch_loop.c: Likewise.
96316
96317 2010-07-17 Andi Kleen <ak@linux.intel.com>
96318
96319 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96320 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96321 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96322 * Versions.def [GLIBC_2.13]: Add.
96323
96324 2010-08-06 Ulrich Drepper <drepper@redhat.com>
96325
96326 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96327 Also fail if tpwd after pwuid call is NULL.
96328
96329 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
96330
96331 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96332 when converting to ms.
96333
96334 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
96335
96336 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96337 EOPNOTSUPP errors with ENOTTY.
96338 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96339 EOPNOTSUPP errors with ENOTTY.
96340
96341 2010-07-31 Ulrich Drepper <drepper@redhat.com>
96342
96343 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96344 Add strcasecmp_l-ssse3.
96345 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96346 strcasecmp.
96347 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96348 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96349 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96350
96351 2010-07-30 Ulrich Drepper <drepper@redhat.com>
96352
96353 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96354
96355 * string/Makefile (strop-tests): Add strcasecmp.
96356 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96357 strcasecmp_l-nonascii.
96358 (gen-as-const-headers): Add locale-defines.sym.
96359 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96360 * sysdeps/x86_64/strcasecmp.S: New file.
96361 * sysdeps/x86_64/strcasecmp_l.S: New file.
96362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96363 * sysdeps/x86_64/locale-defines.sym: New file.
96364 * string/test-strcasecmp.c: New file.
96365
96366 * string/test-strcasestr.c: Test both ends of the range of characters.
96367 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96368
96369 2010-07-29 Roland McGrath <roland@redhat.com>
96370
96371 [BZ #11856]
96372 * manual/locale.texi (Yes-or-No Questions): Fix example code.
96373
96374 2010-07-27 Ulrich Drepper <drepper@redhat.com>
96375
96376 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96377 for ld.so.
96378
96379 2010-07-27 Andreas Schwab <schwab@redhat.com>
96380
96381 * manual/memory.texi (Malloc Tunable Parameters): Document
96382 M_PERTURB.
96383
96384 2010-07-26 Roland McGrath <roland@redhat.com>
96385
96386 [BZ #11840]
96387 * configure.in (-fgnu89-inline check): Set and substitute
96388 gnu89_inline, not libc_cv_gnu89_inline.
96389 * configure: Regenerated.
96390 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96391
96392 2010-07-26 Ulrich Drepper <drepper@redhat.com>
96393
96394 * string/test-strnlen.c: New file.
96395 * string/Makefile (strop-tests): Add strnlen.
96396 * string/tester.c (test_strnlen): Add a few more test cases.
96397 * string/tst-strlen.c: Better error reporting.
96398
96399 * sysdeps/x86_64/strnlen.S: New file.
96400
96401 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96402
96403 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96404 lower-latency instructions.
96405
96406 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96407
96408 * string/test-strcasestr.c: New file.
96409 * string/test-strstr.c: New file.
96410 * string/Makefile (strop-tests): Add strstr and strcasestr.
96411 * string/str-two-way.h: Don't undefine MAX.
96412 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96413
96414 2010-07-21 Andreas Schwab <schwab@redhat.com>
96415
96416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96417 strcasestr-nonascii.
96418 (CFLAGS-strcasestr-nonascii.c): Define.
96419 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96420 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96421 Remove unused attribute.
96422
96423 2010-07-20 Roland McGrath <roland@redhat.com>
96424
96425 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96426 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96427 ld.so.cache was broken. With it, there is no way to disable dsocaps
96428 like LD_HWCAP_MASK can disable hwcaps.
96429
96430 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96431
96432 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96433
96434 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96435
96436 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96437 call in strcasestr.
96438 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96439 __strcasestr_sse42_nonascii.
96440 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96441 strcasestr-nonascii.c.
96442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96443
96444 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96445
96446 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96448 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96450
96451 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96452
96453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96454 fcntl.
96455
96456 2010-07-06 Andreas Schwab <schwab@redhat.com>
96457
96458 [BZ #11577]
96459 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96460 dl_signal_cerror.
96461
96462 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96463
96464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96465 _PC_PIPE_BUF using F_GETPIPE_SZ.
96466
96467 2010-07-05 Roland McGrath <roland@redhat.com>
96468
96469 * manual/arith.texi (Rounding Functions): Fix rint description
96470 implicit in round description.
96471
96472 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96473
96474 * elf/Makefile: Fix linking for a few tests to make recent linker
96475 happy.
96476
96477 2010-06-30 Andreas Schwab <schwab@redhat.com>
96478
96479 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96480 $(common-objpfx)libc_nonshared.a.
96481
96482 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96483
96484 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96485 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96486 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96487 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96488 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96489 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96490 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96491 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96506 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96507 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96508 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96509 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96510 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96511 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96512 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96513 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96514 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96515 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96516 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96517 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96532
96533 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96534
96535 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96536 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96537 * string/memmove.c (memmove): Renamed to ...
96538 (MEMMOVE): ...this. Default to memmove.
96539 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96540 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96541 (END_CHK): Define.
96542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96543 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96544 mempcpy-ssse3-back memmove-ssse3-back.
96545 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96546 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96547 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96548 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96549 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96550 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96551 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96552 * sysdeps/x86_64/multiarch/memmove.c: New file.
96553 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96554 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96555 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96556 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96557 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96559 Define.
96560 (index_Fast_Copy_Backward): Define.
96561 (HAS_ARCH_FEATURE): Define.
96562 (HAS_FAST_REP_STRING): Define.
96563 (HAS_FAST_COPY_BACKWARD): Define.
96564
96565 2010-06-21 Andreas Schwab <schwab@redhat.com>
96566
96567 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96568 Restore proper fallback handling.
96569
96570 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96571
96572 [BZ #11701]
96573 * posix/group_member.c (__group_member): Correct checking loop.
96574
96575 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96576 OOM in getpwuid_r correctly. Return error number when the caller
96577 should return, otherwise -1.
96578 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96579 call returning > 0 value.
96580 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96581
96582 2010-06-07 Andreas Schwab <schwab@redhat.com>
96583
96584 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96585 libc_nonshared.a from targets in modules-names.
96586
96587 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96588
96589 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96590 requires it.
96591
96592 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96593
96594 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96595 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96598
96599 2010-06-02 Andreas Schwab <schwab@redhat.com>
96600
96601 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96602
96603 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96604
96605 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96606 and F_GETPIPE_SZ.
96607 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96611 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96612 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96613
96614 2010-06-14 Roland McGrath <roland@redhat.com>
96615
96616 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96617
96618 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96619
96620 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96621 __REDIRECT followed by __THROW.
96622 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96623 * posix/getopt.h (getopt): Likewise.
96624
96625 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96626
96627 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96628 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96629 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96630 in AT_FLAGS.
96631 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96632 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96633
96634 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96635
96636 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96637
96638 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96639
96640 [BZ #11640]
96641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96642 Properly check family and model.
96643
96644 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96645
96646 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96647
96648 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96649
96650 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96651
96652 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96653
96654 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96655 symbol reference.
96656
96657 2010-05-19 Andreas Schwab <schwab@redhat.com>
96658
96659 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96660 symbol reference.
96661
96662 2010-05-21 Andreas Schwab <schwab@redhat.com>
96663
96664 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96665 and internal_recvmmsg.
96666 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96667 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96668 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96669 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96670
96671 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96672 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96673 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96674
96675 2010-05-20 Andreas Schwab <schwab@redhat.com>
96676
96677 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96678
96679 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96680
96681 POWER7 optimizations.
96682 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96683 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96684
96685 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96686
96687 * version.h: Update for 2.13 development version.
96688
96689 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96690
96691 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96692 exceptions. Return 0.
96693
96694 2010-05-07 Roland McGrath <roland@redhat.com>
96695
96696 * elf/ldconfig.c (main): Add a const.
96697
96698 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96699
96700 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96701 (args_options): Add no-idn option.
96702 (ahosts_keys_int): Add idn_flags to ai_flags.
96703 (parse_option): Handle 'i' option to clear idn_flags.
96704
96705 * malloc/malloc.c (_int_free): Possible race in the most recently
96706 added check. Only act on the data if no current modification
96707 happened.
96708
96709 See ChangeLog.17 for earlier changes.